@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");
:root { --bg:#0d0f12; --surface:#15181c; --text:#e6e6e6; --muted:#90949b; --accent:#ffc107; --line:#30343a; --max:1420px; --header:86px; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:calc(var(--header) + 15px); }
body { margin:0; background:var(--bg); color:var(--text); font-family:Montserrat, Arial, sans-serif; font-size:15px; line-height:1.7; overflow-x:hidden; }
body.dialog-open { overflow:hidden; }
img { max-width:100%; display:block; }
button,input,textarea { font:inherit; }
button { cursor:pointer; }
a { color:inherit; text-decoration:none; }
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
::selection { background:var(--accent); color:#111; }
.container { width:min(var(--max),calc(100% - 112px)); margin-inline:auto; }
.skip-link { position:absolute; top:-70px; left:12px; padding:12px; background:var(--accent); color:#111; z-index:100; }
.skip-link:focus { top:10px; }
.site-header { position:fixed; top:0; left:0; right:0; z-index:40; border-bottom:1px solid #ffffff1a; transition:background .3s,border-color .3s; background:#0d0f12b0; backdrop-filter:blur(16px); }
.site-header.scrolled { background:#0d0f12f0; border-color:#ffffff24; }
.header-inner { height:var(--header); display:flex; align-items:center; gap:30px; }
.brand { display:flex; align-items:center; gap:12px; flex:none; line-height:1; }
.desktop-nav { display:flex; justify-content:center; gap:20px; flex:1; }
.desktop-nav a { font-size:11px; font-weight:700; color:#c4c6c9; white-space:nowrap; transition:color .2s; }
.desktop-nav a:hover,.footer a:hover { color:var(--accent); }
.header-actions { display:flex; align-items:center; gap:15px; }
.header-phone { font-size:12px; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:25px; min-height:58px; padding:16px 25px; border:1px solid transparent; font-weight:800; font-size:12px; letter-spacing:.01em; line-height:1.2; transition:background .2s,color .2s,transform .2s,border-color .2s; }
.btn:hover { transform:translateY(-2px); }
.btn:active { transform:translateY(0); }
.btn span:last-child { font-size:18px; font-weight:400; }
.btn-small { min-height:43px; padding:10px 15px; gap:9px; white-space:nowrap; }
.btn-outline { background:transparent; color:var(--text); border-color:#74777b; }
.btn-outline:hover { border-color:var(--accent); color:var(--accent); }
.btn-yellow { background:var(--accent); color:#101114; }
.btn-yellow:hover { background:#ffcf35; }
.btn-glass { border-color:#ffffff6b; color:#fff; background:#ffffff0a; }
.btn-glass:hover { background:#ffffff20; }
.menu-toggle { display:none; width:44px; height:44px; background:transparent; border:1px solid #555; color:var(--text); align-items:center; justify-content:center; flex-direction:column; gap:7px; }
.menu-toggle span { display:block; width:19px; height:1px; background:currentColor; }
.mobile-menu { display:none; }
.hero { position:relative; min-height:790px; height:100svh; max-height:1120px; display:flex; align-items:center; isolation:isolate; background:#161a19; }
.hero-image { position:absolute; inset:0; z-index:-2; background-size:cover; background-position:center; }
.hero-video { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.hero-shade { position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(9,12,14,.94) 0%,rgba(9,12,14,.75) 34%,rgba(9,12,14,.17) 78%),linear-gradient(0deg,#0d0f12da,transparent 31%); }
.hero-content { padding-top:130px; position:relative; height:100%; display:flex; justify-content:center; align-items:flex-start; flex-direction:column; }
.eyebrow,.mini-label { font-size:11px; font-weight:800; letter-spacing:.19em; color:var(--muted); line-height:1.5; }
.eyebrow { display:flex; align-items:center; gap:12px; }
.gold-line { width:27px; height:2px; background:var(--accent); display:inline-block; flex:none; }
.hero-eyebrow { color:#e2e3e3; }
.hero h1 { font-size:clamp(56px,7.4vw,120px); letter-spacing:-.073em; line-height:1.08; margin:26px 0 26px; font-weight:800; max-width:1100px; }
.hero h1 em,h2 em { font-style:normal; color:var(--accent); }
.hero-lead { font-size:16px; line-height:1.9; color:#dedede; max-width:530px; margin:0 0 36px; }
.hero-buttons { display:flex; gap:13px; flex-wrap:wrap; }
.hero-foot { position:absolute; left:0; right:0; bottom:54px; display:flex; align-items:end; justify-content:space-between; gap:25px; }
.hero-facts { display:flex; gap:35px; }
.hero-facts span { display:flex; gap:10px; align-items:baseline; font-size:11px; color:#c0c3c5; white-space:nowrap; }
.hero-facts b { font-size:11px; color:var(--accent); }
.scroll-cue { display:flex; align-items:center; gap:15px; font-size:9px; letter-spacing:.17em; font-weight:800; }
.scroll-circle { display:grid; place-items:center; width:45px; height:45px; border:1px solid #ffffff85; border-radius:50%; font-size:18px; }
.section { padding:128px 0; }
.section-header { display:flex; align-items:end; justify-content:space-between; gap:50px; margin-bottom:53px; }
.section-header h2,h2 { font-weight:800; letter-spacing:-.065em; line-height:1.16; font-size:clamp(42px,5.2vw,75px); margin:19px 0 0; }
.section-intro { max-width:370px; color:var(--muted); font-size:14px; line-height:1.9; margin:0 0 6px; }
.featured-grid { display:grid; grid-template-columns:1.23fr 1fr; gap:20px; }
.featured-card { position:relative; overflow:hidden; min-height:375px; isolation:isolate; background:#25282c; display:flex; align-items:end; }
.featured-card:first-child { grid-row:span 2; min-height:770px; }
.featured-card img { position:absolute; width:100%; height:100%; object-fit:cover; inset:0; z-index:-2; transition:transform .65s; }
.featured-card:hover img { transform:scale(1.035); }
.featured-card:after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(0deg,#070909eb 0%,#07090922 60%); }
.featured-card-body { padding:32px; width:100%; display:flex; justify-content:space-between; align-items:end; gap:14px; }
.featured-card h3 { font-size:27px; line-height:1.15; letter-spacing:-.04em; margin:11px 0 4px; }
.featured-card p { margin:0; color:#c2c2c2; font-size:12px; }
.featured-card .mini-label { color:var(--accent); }
.section-bottom { display:flex; align-items:center; justify-content:space-between; gap:20px; border-top:1px solid var(--line); margin-top:38px; padding-top:27px; }
.section-bottom p { font-size:15px; color:var(--muted); margin:0; }
.text-link { border:0; border-bottom:1px solid var(--accent); background:none; color:var(--text); padding:0 0 8px; text-align:left; font-size:13px; font-weight:800; display:inline-flex; gap:35px; justify-content:space-between; align-items:center; }
.text-link span { color:var(--accent); font-size:20px; }
.text-link:hover { color:var(--accent); }
.catalog-section { background:#131619; }
.catalog-filter { display:flex; align-items:center; gap:28px; border-bottom:1px solid var(--line); margin-bottom:30px; overflow:auto; }
.filter-btn { border:0; background:transparent; color:#8f949a; padding:0 0 16px; font-weight:700; font-size:12px; white-space:nowrap; position:relative; }
.filter-btn.active { color:var(--text); }
.filter-btn.active:after { content:""; position:absolute; height:2px; bottom:0; left:0; right:0; background:var(--accent); }
.filter-btn span { color:var(--accent); font-size:10px; margin-left:4px; }
.catalog-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.catalog-card { background:#1d2125; min-width:0; display:flex; flex-direction:column; }
.catalog-picture { position:relative; aspect-ratio:1.35; overflow:hidden; background:#30343a; }
.catalog-picture img { width:100%; height:100%; object-fit:cover; transition:transform .6s; }
.catalog-card:hover img { transform:scale(1.045); }
.catalog-tag { position:absolute; top:15px; left:15px; font-size:9px; letter-spacing:.11em; font-weight:800; background:#101215d9; padding:6px 10px; }
.catalog-card-body { padding:25px; display:flex; flex-direction:column; flex:1; }
.catalog-card-title { font-size:21px; line-height:1.2; letter-spacing:-.04em; margin:0 0 17px; }
.spec-row { display:grid; grid-template-columns:1fr 1fr; gap:13px; margin-bottom:24px; }
.spec-row div { border-top:1px solid var(--line); padding-top:9px; }
.spec-row small { display:block; font-size:10px; color:var(--muted); }
.spec-row strong { font-size:14px; }
.catalog-card-footer { margin-top:auto; border-top:1px solid var(--line); padding-top:19px; display:flex; align-items:end; justify-content:space-between; gap:8px; }
.price-label { font-size:10px; color:var(--muted); }
.price-value { font-size:14px; font-weight:800; display:block; }
.card-buttons { display:flex; gap:8px; }
.card-buttons button { border:1px solid #666; background:transparent; color:var(--text); font-size:11px; font-weight:700; padding:10px; }
.card-buttons button:last-child { border-color:var(--accent); color:var(--accent); }
.card-buttons button:hover { background:var(--accent); color:#111; }
.catalog-note { font-size:11px; color:var(--muted); margin:22px 0 0; max-width:900px; }
.tech-layout { display:grid; grid-template-columns:1fr .94fr; gap:55px; }
.tech-list { border-top:1px solid var(--line); }
.tech-item { border-bottom:1px solid var(--line); }
.tech-trigger { width:100%; padding:23px 0; background:none; border:0; color:var(--text); display:flex; align-items:center; text-align:left; gap:18px; }
.tech-index { color:var(--accent); font-size:10px; width:30px; }
.tech-name { flex:1; font-size:clamp(18px,2vw,28px); font-weight:800; letter-spacing:-.045em; }
.tech-plus { font-size:24px; color:var(--muted); }
.tech-trigger[aria-expanded=true] .tech-plus { color:var(--accent); }
.tech-detail { padding:0 35px 26px 48px; color:var(--muted); font-size:12px; line-height:1.85; }
.tech-detail[hidden] { display:none; }
.tech-detail p { margin:0 0 12px; }
.tech-detail button { margin-top:14px; }
.tech-visual { min-height:570px; position:relative; overflow:hidden; background:#1e2426; }
.tech-visual img { width:100%; height:100%; position:absolute; inset:0; object-fit:cover; }
.tech-visual:after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,#090b0ed9,transparent 55%); }
.tech-visual-caption { position:absolute; z-index:1; bottom:27px; left:29px; right:29px; display:flex; align-items:end; justify-content:space-between; gap:20px; }
.tech-visual-caption span { font-size:10px; letter-spacing:.2em; }
.tech-visual-caption strong { font-size:32px; }
.about-section { background:#16191c; }
.about-layout { display:grid; grid-template-columns:1fr 1fr; gap:clamp(50px,7vw,125px); align-items:center; }
.about-photo { height:730px; position:relative; background:#292c2b; }
.about-photo img { height:100%; width:100%; object-fit:cover; }
.about-photo-tag { position:absolute; bottom:22px; left:22px; background:var(--accent); color:#141414; padding:9px 14px; font-size:10px; font-weight:800; letter-spacing:.12em; }
.about-content h2 { margin-bottom:28px; }
.about-content>p { color:var(--muted); font-size:14px; line-height:2; }
.about-content .about-lead { color:var(--text); font-size:18px; font-weight:600; }
.about-principles { margin:33px 0; }
.about-principles>div { display:grid; grid-template-columns:40px 1fr; column-gap:13px; padding:17px 0; border-top:1px solid var(--line); }
.about-principles span { grid-row:span 2; color:var(--accent); font-size:11px; }
.about-principles strong { font-size:13px; }
.about-principles p { margin:4px 0 0; font-size:12px; color:var(--muted); }
/* Фотографии с объектов. */
.work-gallery-section { background:var(--bg); border-bottom:1px solid var(--line); }
.work-gallery-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.work-photo { display:block; position:relative; overflow:hidden; aspect-ratio:4 / 3; border-radius:var(--radius-feature); background:var(--surface); cursor:zoom-in; }
.work-photo img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.work-photo:hover img { transform:scale(1.04); }
.work-gallery-more { margin-top:28px; }
.work-gallery-more summary { width:fit-content; max-width:100%; min-height:58px; margin-inline:auto; padding:17px 32px; border:1px solid var(--line); border-radius:var(--radius-control); cursor:pointer; list-style:none; font-size:14px; font-weight:800; text-align:center; }
.work-gallery-more summary::-webkit-details-marker { display:none; }
.work-gallery-more summary:hover { border-color:var(--accent); color:var(--accent); }
.work-gallery-more summary span span { margin-left:22px; color:var(--accent); }
.work-gallery-more .work-gallery-grid { margin-top:28px; }
.work-gallery-collapse, .work-gallery-more[open] .work-gallery-expand { display:none; }
.work-gallery-more[open] .work-gallery-collapse { display:inline; }
@media (max-width:1000px) {
	.work-gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
}
@media (max-width:520px) {
	.work-gallery-grid { gap:10px; }
	.work-photo { border-radius:14px; aspect-ratio:1; }
}
.process-section { background:var(--bg); }
.timeline-step h3 { font-size:18px; line-height:1.3; letter-spacing:-.03em; margin:auto 0 12px; }
.timeline-step p { font-size:11px; color:var(--muted); margin:0; }
.process-cta { margin-top:48px; border:1px solid #48412b; background:linear-gradient(110deg,#211f18,#141619); padding:44px 48px; display:flex; align-items:center; justify-content:space-between; gap:25px; }
.process-cta>span { font-size:10px; letter-spacing:.15em; color:var(--accent); }
.process-cta h3 { font-size:23px; line-height:1.35; max-width:380px; margin:0; }
.faq-section { background:#15181b; }
.faq-layout { display:grid; grid-template-columns:.8fr 1.2fr; gap:90px; }
.faq-layout>div:first-child>p { max-width:350px; color:var(--muted); font-size:14px; margin:23px 0 28px; }
.faq-list { border-top:1px solid var(--line); }
.faq-item { border-bottom:1px solid var(--line); }
.faq-icon { font-size:22px; font-weight:400; color:var(--accent); }
.faq-answer { padding:0 42px 24px 0; color:var(--muted); font-size:13px; line-height:1.9; }
.map-section { background:#15181b; }
.map-frame { position:relative; height:450px; background:repeating-linear-gradient(0deg,transparent,transparent 74px,#ffffff0b 75px),repeating-linear-gradient(90deg,#191d21,#191d21 74px,#ffffff0b 75px); border:1px solid var(--line); }
#yandex-map { width:100%; height:100%; }
.map-placeholder { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; flex-direction:column; text-align:center; padding:25px; background:#0d0f1285; }
.map-cross { font-size:65px; color:var(--accent); line-height:1; }
.map-placeholder h3 { font-size:27px; margin:17px 0 6px; }
.map-placeholder p { font-size:12px; line-height:1.8; color:var(--muted); max-width:430px; }
.map-state { margin-top:14px; padding:8px 12px; border:1px solid #665b2a; color:var(--accent); font-size:10px; letter-spacing:.11em; }
.contact-section { padding:140px 0; background:radial-gradient(ellipse at 20% 80%,#302a15 0%,#171819 35%,#111315 70%); }
.contact-layout { display:grid; grid-template-columns:1fr .85fr; gap:100px; }
.contact-copy h2 { font-size:clamp(48px,6vw,85px); margin:18px 0 23px; }
.contact-copy>p { font-size:16px; color:var(--muted); max-width:500px; }
.contact-meta { display:flex; flex-direction:column; margin-top:85px; gap:12px; }
.contact-meta>span { font-size:10px; letter-spacing:.15em; color:var(--muted); }
.contact-meta>strong { font-size:20px; }
.contact-meta>a { color:var(--accent); }
.messenger-links { display:flex; gap:12px; flex-wrap:wrap; margin-top:10px; }
.messenger-links a { font-size:11px; border:1px solid #64676a; padding:7px 12px; }
.messenger-links a:hover { border-color:var(--accent); }
.lead-form { background:#202327; padding:44px 42px; border:1px solid #42454a; }
.lead-form h3 { font-size:28px; letter-spacing:-.05em; margin:10px 0 26px; }
.form-field { margin-bottom:20px; }
.form-field label { font-size:11px; font-weight:700; display:block; margin-bottom:7px; }
.form-field label span,.required { color:var(--accent); }
.form-field input,.form-field textarea { display:block; width:100%; background:#151719; border:1px solid #46494d; border-radius:0; color:var(--text); padding:14px; min-height:49px; resize:vertical; font-size:13px; }
.form-field input::placeholder,.form-field textarea::placeholder { color:#74777d; }
.form-field input[aria-invalid=true] { border-color:#e9a46f; }
.form-field small,.consent-error { display:block; color:#ffb98e; font-size:11px; margin-top:5px; min-height:0; }
.consent { display:flex; gap:10px; align-items:start; color:#a8aab0; font-size:11px; line-height:1.6; }
.consent input { accent-color:var(--accent); width:18px; height:18px; flex:none; margin-top:2px; }
.consent a { text-decoration:underline; text-underline-offset:3px; color:var(--text); }
.form-submit { width:100%; margin-top:22px; }
.form-submit:disabled { opacity:.65; cursor:wait; }
.form-status { font-size:12px; margin:12px 0 0; color:#ffbd76; }
.footer { padding:72px 0 0; background:#090b0d; }
.footer-top { display:grid; grid-template-columns:1.55fr .7fr .7fr 1fr; gap:55px; padding-bottom:80px; }
.footer-top>div:first-child>p { font-size:12px; color:var(--muted); margin-top:28px; }
.footer-nav { display:flex; flex-direction:column; align-items:start; gap:11px; }
.footer-nav .mini-label,.footer-contact .mini-label { margin-bottom:10px; }
.footer-nav a { font-size:12px; color:#b4b5b8; }
.footer-contact strong { display:block; font-size:18px; line-height:1.4; margin:10px 0 20px; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:20px; border-top:1px solid var(--line); padding:20px 0; color:#777b80; font-size:10px; letter-spacing:.07em; }
.footer-bottom a { color:var(--accent); }
.site-dialog { position:fixed; inset:0; border:1px solid #444; background:#171a1e; color:var(--text); width:min(920px,calc(100% - 28px)); max-height:calc(100dvh - 28px); padding:0; overflow:auto; box-shadow:0 35px 120px #000a; }
.site-dialog::backdrop { background:#030507e8; backdrop-filter:blur(4px); }
.dialog-close { position:sticky; top:10px; float:right; z-index:5; margin:10px 10px -54px 0; width:43px; height:43px; background:#0c0e10e8; color:#fff; border:1px solid #777; font-size:25px; }
.project-dialog-top { position:relative; }
.project-dialog-top img { width:100%; height:390px; object-fit:cover; }
.project-dialog-info { padding:35px 42px 45px; }
.project-dialog-info h2 { font-size:46px; margin:10px 0 8px; }
.project-dialog-info>p { color:var(--muted); font-size:13px; }
.detail-specs { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; margin:25px 0; }
.detail-specs>div { border-top:1px solid var(--line); padding-top:10px; }
.detail-specs small { display:block; color:var(--muted); font-size:10px; }
.detail-specs strong { font-size:14px; }
.detail-thumbs { display:flex; gap:9px; margin:15px 0 30px; }
.detail-thumbs button { width:105px; height:76px; padding:0; border:1px solid #666; background:none; overflow:hidden; }
.detail-thumbs img { width:100%; height:100%; object-fit:cover; }
.gallery-dialog { width:min(1240px,calc(100% - 22px)); background:#090b0d; }
.gallery-stage { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:60px 20px 10px; }
.gallery-stage img { width:calc(100% - 120px); max-height:calc(100dvh - 160px); min-height:150px; object-fit:contain; }
.gallery-stage button { width:48px; height:48px; background:#272a2f; border:1px solid #666; color:white; font-size:24px; flex:none; }
.gallery-bottom { display:flex; justify-content:space-between; padding:15px 30px 25px; font-size:12px; color:var(--muted); }
.form-dialog { width:min(560px,calc(100% - 24px)); padding:38px; }
.modal-form-head h2 { font-size:38px; margin:14px 0; }
.modal-form-head p { color:var(--muted); font-size:12px; }
.form-dialog .lead-form { border:none; background:transparent; padding:10px 0 0; }
.form-dialog .lead-form>h3,.form-dialog .lead-form>.mini-label { display:none; }
.form-dialog .form-field input,.form-dialog .form-field textarea { background:#101214; }
@media (max-width:1350px) {
	.desktop-nav { gap:12px; }
	.desktop-nav a { font-size:10px; }
	.header-inner { gap:20px; }
	.container { width:min(var(--max),calc(100% - 72px)); }
}
@media (max-width:1100px) {
	:root { --header:74px; }
	.desktop-nav,.header-actions { display:none; }
	.header-inner { justify-content:space-between; }
	.menu-toggle { display:flex; }
	.mobile-menu { display:flex; flex-direction:column; position:absolute; top:100%; left:0; right:0; padding:20px 36px 30px; gap:0; background:#101215; border-bottom:1px solid var(--line); box-shadow:0 20px 40px #0008; transform:translateY(-12px); opacity:0; visibility:hidden; pointer-events:none; transition:.2s; }
	.mobile-menu.open { transform:translateY(0); opacity:1; visibility:visible; pointer-events:auto; }
	.mobile-menu a { padding:12px 0; border-bottom:1px solid var(--line); font-weight:700; }
	.mobile-menu .btn { margin-top:20px; }
	.hero-facts { gap:18px; }
	.tech-layout { gap:28px; }
	.about-layout { gap:45px; }
	.footer-top { gap:28px; }
	.contact-layout { gap:35px; }
}
@media (max-width:780px) {
	.container { width:calc(100% - 38px); }
	.section { padding:85px 0; }
	.hero { min-height:700px; height:92svh; }
	.hero-content { padding-top:88px; }
	.hero h1 { font-size:clamp(49px,10vw,78px); letter-spacing:-.07em; }
	.hero-lead { font-size:14px; max-width:420px; }
	.hero-foot { bottom:40px; }
	.hero-facts { flex-wrap:wrap; gap:8px 22px; max-width:500px; }
	.scroll-cue { display:none; }
	.section-header { display:block; margin-bottom:33px; }
	.section-intro { margin-top:25px; max-width:560px; }
	.featured-grid { grid-template-columns:1fr 1fr; gap:12px; }
	.featured-card:first-child { min-height:540px; }
	.featured-card { min-height:265px; }
	.featured-card h3 { font-size:21px; }
	.featured-card-body { padding:19px; }
	.catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
	.catalog-card-body { padding:18px; }
	.tech-layout,.about-layout,.faq-layout,.contact-layout { grid-template-columns:1fr; }
	.tech-visual { min-height:390px; }
	.about-photo { height:480px; }
	.about-content { max-width:650px; }
	.faq-layout { gap:38px; }
	.contact-meta { margin-top:45px; }
	.contact-section { padding:90px 0; }
	.footer-top { grid-template-columns:repeat(2,1fr); }
	.process-cta { padding:30px; flex-wrap:wrap; }
}
@media (max-width:520px) {
	.hero { min-height:730px; height:100svh; max-height:none; }
	.hero-image { background-position:62% center; }
	.hero-shade { background:linear-gradient(90deg,#0b0d0fdf,#0b0d0f4d),linear-gradient(0deg,#0b0d0fee,transparent 55%); }
	.hero-eyebrow { font-size:9px; }
	.hero h1 { font-size:clamp(46px,12vw,64px); margin:25px 0; }
	.hero-lead { font-size:13px; }
	.hero-buttons { width:100%; }
	.hero-buttons .btn { width:100%; justify-content:space-between; }
	.hero-foot { bottom:33px; }
	.hero-facts { display:grid; grid-template-columns:1fr 1fr; gap:11px; }
	.hero-facts span { font-size:9px; white-space:normal; line-height:1.5; }
	.section-header h2,h2 { font-size:clamp(39px,10vw,55px); }
	.featured-grid { grid-template-columns:1fr; }
	.featured-card:first-child { grid-row:auto; min-height:440px; }
	.featured-card { min-height:310px; }
	.featured-card h3 { font-size:25px; }
	.section-bottom { align-items:start; flex-direction:column; }
	.catalog-filter { gap:20px; }
	.catalog-grid { grid-template-columns:1fr; }
	.catalog-picture { aspect-ratio:1.5; }
	.catalog-card-title { font-size:23px; }
	.tech-trigger { padding:19px 0; }
	.tech-visual { min-height:310px; }
	.about-photo { height:390px; }
	.timeline-step h3 { font-size:15px; }
	.timeline-step p { font-size:10px; }
	.process-cta { padding:25px; }
	.process-cta h3 { font-size:20px; }
	.map-frame { height:390px; }
	.map-placeholder h3 { font-size:22px; }
	.lead-form { padding:26px 21px; }
	.footer-top { gap:40px 25px; }
	.footer-top>div:first-child,.footer-contact { grid-column:span 2; }
	.footer-bottom { flex-wrap:wrap; font-size:9px; }
	.project-dialog-top img { height:240px; }
	.project-dialog-info { padding:26px 22px; }
	.project-dialog-info h2 { font-size:35px; }
	.detail-specs { grid-template-columns:repeat(2,1fr); }
	.gallery-stage { padding:58px 8px 6px; gap:5px; }
	.gallery-stage button { width:32px; height:40px; font-size:19px; }
	.gallery-stage img { width:calc(100% - 75px); }
	.form-dialog { padding:24px; }
	.modal-form-head h2 { font-size:32px; }
}
@media (prefers-reduced-motion:reduce) {
	html { scroll-behavior:auto; }
	*,*:before,*:after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}
/* Дополнительные стили каталога, FAQ и команды. */
.brand { flex-shrink:0; }
.header-phone-placeholder { white-space:nowrap; color:var(--text); font-size:12px; font-weight:700; }
.hero-image { background-image:url("images/hero/hero-poster.jpg"); background-position:center 58%; }
.catalog-card[hidden] { display:none !important; }
.catalog-description { font-size:12px; color:var(--muted); line-height:1.7; }
.catalog-picture { border:0; padding:0; cursor:zoom-in; width:100%; }
.timeline-step > span { position:absolute; top:0; left:0; color:var(--accent); font-size:12px; }
.faq-layout { grid-template-columns:minmax(0, .8fr) minmax(0, 1.2fr); gap:clamp(28px, 6vw, 90px); }
.faq-list { min-width:0; }
.faq-item summary { display:flex; flex-direction:row; align-items:center; gap:20px; padding:23px 16px 23px 14px; cursor:pointer; list-style:none; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-icon { flex:0 0 32px; order:0; font-size:13px; text-align:left; color:var(--accent); }
.faq-question { min-width:0; flex:1; font-size:15px; font-weight:700; line-height:1.5; }
.faq-answer { padding:0 24px 24px 66px; overflow-wrap:anywhere; }
.team-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:20px; }
.person-card { min-width:0; background:var(--surface); border:1px solid var(--line); }
.person-photo { height:360px; overflow:hidden; background:var(--surface); }
.person-photo img { width:100%; height:100%; object-fit:cover; object-position:center top; }
.person-info { padding:26px; }
.person-info h3 { margin:10px 0; font-size:20px; line-height:1.35; }
.person-info p { color:var(--muted); font-size:13px; }
@media (max-width: 1100px) {
	.team-grid { gap:12px; }
}
@media (max-width: 780px) {
	.team-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 520px) {
	.team-grid { grid-template-columns:1fr; }
	.faq-item summary { gap:12px; padding-inline:10px; }
	.faq-answer { padding-left:54px; }
}
/* Дополнительная корректировка шапки для узких экранов */
@media (max-width: 1100px) {
	.header-phone-placeholder { display:none; }
}
/* Фирменный знак, таймлайн и FAQ. */
.brand { display:inline-flex; align-items:center; gap:10px; text-decoration:none; min-width:0; }
.brand-mark { display:block; flex:none; width:72px; height:54px; object-fit:contain; }
.brand-title { display:block; color:#e6e6e6; font-size:16px; font-weight:800; letter-spacing:.025em; line-height:1.08; white-space:nowrap; }
.brand-title strong { color:#ffc107; }
.brand-title small { display:block; margin-top:5px; font-size:7px; font-weight:600; letter-spacing:.19em; color:#e6e6e6; }
.footer-brand .brand-mark { width:75px; height:65px; }
/* Единая вертикальная шкала без конфликтов с прежней сеткой 4x2. */
#process .timeline { width:100%; max-width:1000px; margin-inline:auto; display:grid; grid-template-columns:minmax(0, 1fr); gap:0; border:0; position:relative; }
#process .timeline::before { content:""; display:block; position:absolute; top:34px; bottom:34px; left:27px; width:2px; height:auto; right:auto; background:rgba(255, 193, 7, .45); opacity:1; }
#process .timeline-step { display:grid; grid-template-columns:76px minmax(0, .8fr) minmax(0, 1.2fr); gap:20px; align-items:center; position:relative; box-sizing:border-box; width:100%; min-width:0; min-height:112px; padding:20px 12px 20px 0; border:0; border-bottom:1px solid var(--line); }
#process .timeline-step::before { content:""; position:absolute; top:50%; left:19px; width:16px; height:16px; transform:translateY(-50%); border:2px solid #ffc107; border-radius:50%; background:#0d0f12; box-sizing:border-box; z-index:1; }
#process .timeline-step > span { position:static; display:block; align-self:start; padding-top:2px; padding-left:46px; font-size:12px; color:#ffc107; font-weight:700; }
#process .timeline-step h3 { margin:0; font-size:clamp(16px, 2vw, 21px); line-height:1.3; min-width:0; }
#process .timeline-step p { margin:0; font-size:13px; line-height:1.7; min-width:0; overflow-wrap:break-word; }
.faq-item summary { display:flex; align-items:center; gap:18px; padding:23px 18px; }
.faq-icon { display:grid; flex:0 0 34px; width:34px; height:34px; place-items:center; border:1px solid rgba(255, 193, 7, .55); border-radius:50%; color:#ffc107; font-size:0; line-height:1; }
.faq-icon::before { content:"+"; font-size:23px; font-weight:400; }
.faq-item[open] .faq-icon::before { content:"−"; }
.faq-item summary:focus-visible { outline:2px solid #ffc107; outline-offset:-2px; }
.faq-answer { padding:0 20px 25px 70px; }
@media (max-width: 800px) {
	#process .timeline-step { grid-template-columns:76px minmax(0, 1fr); gap:4px 12px; padding:18px 8px 18px 0; }
	#process .timeline-step h3 { grid-column:2; }
	#process .timeline-step p { grid-column:2; }
	#process .timeline-step > span { grid-column:1; grid-row:1 / span 2; }
	.faq-layout { grid-template-columns:none; }
}
@media (max-width: 480px) {
	.brand-mark { width:48px; height:44px; }
	.brand-title { font-size:12px; }
	.brand-title small { font-size:5px; letter-spacing:.12em; }
	.faq-item summary { gap:12px; padding:20px 12px; }
	.faq-answer { padding-left:58px; }
}
/* Метка демонстрационного проекта. */
.catalog-tag { color:#fff; }
/* Таймлайн: центральная ось и чередование шагов справа / слева. */
@media (min-width: 801px) {
	#process .timeline { max-width:1100px; }
	#process .timeline::before { top:28px; bottom:28px; left:calc(50% - 1px); }
	#process .timeline-step { grid-template-columns:minmax(0, 1fr) 80px minmax(0, 1fr); grid-template-rows:auto auto; column-gap:0; row-gap:8px; min-height:140px; padding:26px 0; border-bottom:0; align-content:center; }
	#process .timeline-step::before { left:calc(50% - 8px); top:50%; }
	#process .timeline-step > span { grid-column:2; grid-row:1 / span 2; align-self:center; justify-self:center; padding:0; transform:translateY(-27px); position:relative; z-index:2; }
	#process .timeline-step h3, #process .timeline-step p { grid-column:3; text-align:left; padding-left:22px; }
	#process .timeline-step h3 { grid-row:1; align-self:end; }
	#process .timeline-step p { grid-row:2; align-self:start; }
	#process .timeline-step:nth-child(even) h3, #process .timeline-step:nth-child(even) p { grid-column:1; text-align:right; padding-left:0; padding-right:22px; }
}
/* Скругления цельных поверхностей. */
:root { --radius-control:10px; --radius-feature:24px; }
/* Кнопки и поля ввода — самостоятельные элементы. */
.btn, .btn-small, .card-buttons button, .messenger-links a, .menu-toggle, .dialog-close, .detail-thumbs button, .form-field input, .form-field textarea { border-radius:var(--radius-control); }
/* Цельные карточки с собственным фоном или изображением. */
.featured-card, .catalog-card, .person-card, .tech-visual, .about-photo, .map-frame, .lead-form, .process-cta, .site-dialog { border-radius:var(--radius-feature); }
/* Не даём изображению или заливке перекрывать скруглённые края. */
.featured-card, .catalog-card, .person-card, .tech-visual, .about-photo, .map-frame, .process-cta { overflow:hidden; }
/* Небольшие самостоятельные метки с заливкой или рамкой. */
.catalog-tag, .about-photo-tag { border-radius:var(--radius-control); }
/* У фильтров, пунктов FAQ, технологий и других строк-разделителей
	 скруглений нет: эти элементы оформлены одной линией. */
.catalog-filter, .filter-btn, .tech-item, .tech-trigger, .faq-item, .faq-item summary, .about-principles > div, .section-bottom, .catalog-card-footer, .spec-row > div { border-radius:0; }
/* Цифры у центральной оси: 01 вправо, 02 влево, далее по очереди. */
@media (min-width: 801px) {
	#process .timeline-step:nth-child(odd) > span { left:20px; }
	#process .timeline-step:nth-child(even) > span { left:-20px; }
}
@media (max-width: 800px) {
	#process .timeline-step > span { left:0; }
}

/* Телефоны и мессенджеры в шапке. */
.header-contacts { display:flex; align-items:center; gap:18px; }
.header-phones { display:flex; flex-direction:column; gap:2px; }
.header-phones a { white-space:nowrap; font-size:12px; font-weight:700; line-height:1.5; }
.header-phones a:hover { color:var(--accent); }
.header-messengers { margin-top:0; gap:6px; flex-wrap:nowrap; padding-left:18px; border-left:1px solid var(--line); }

.messenger-links:empty { display:none; }
.mobile-contacts { padding:14px 0 20px; }
.mobile-contacts .header-phones a { padding:7px 0; border:0; }

@media (min-width:1101px) and (max-width:1350px) {
    .header-cta { display:none; }
    .header-actions { margin-left:auto; }
}
@media (max-width:1100px) {
    .mobile-menu { max-height:calc(100dvh - var(--header)); overflow-y:auto; }
}

/* Единый ряд иконок мессенджеров. */
.messenger-links { align-items:center; gap:8px; }
.messenger-links .messenger-link { display:inline-flex; align-items:center; justify-content:center; flex:0 0 38px; width:38px; height:38px; padding:0; border:1px solid #ffffff26; border-radius:50%; background:#ffffff06; color:#c4c6c9; transition:color .2s,border-color .2s,background .2s; }
.messenger-link svg { display:block; width:19px; height:19px; fill:currentColor; }
.messenger-links .messenger-link:hover { color:var(--accent); border-color:var(--accent); background:#ffc1070d; }
.header-messengers .messenger-link { flex-basis:32px; width:32px; height:32px; }
.header-messengers .messenger-link svg { width:16px; height:16px; }
.footer-contact .messenger-links { margin:16px 0 20px; }
.footer-contact strong { margin-bottom:0; }
@media (min-width:1101px) and (max-width:1350px) {
    .header-inner { gap:14px; }
    .header-contacts { gap:12px; }
    .header-messengers { padding-left:12px; }
}

/* Переключатели темы и светлая палитра. */
:root { color-scheme:dark; }
.theme-toggle { display:inline-flex; align-items:center; justify-content:center; flex:none; width:44px; height:44px; padding:0; border:1px solid var(--line); border-radius:var(--radius-control); background:var(--surface); color:var(--text); font-size:12px; font-weight:600; letter-spacing:0; }
.footer-theme-toggle { display:flex; margin-top:20px; }
.theme-toggle[hidden] { display:none; }
.theme-toggle:hover { border-color:var(--accent); }
.theme-toggle svg { width:18px; height:18px; flex:none; }
.theme-toggle .theme-sun { display:none; }
:root[data-theme="light"] .theme-toggle .theme-sun { display:block; }
:root[data-theme="light"] .theme-toggle .theme-moon { display:none; }
.footer-bottom { flex-wrap:wrap; }
:root[data-theme="light"] { color-scheme:light; --bg:#fff; --surface:#f5f6f7; --text:#20252b; --muted:#606872; --accent:#856000; --line:#d9dde2; }
:root[data-theme="light"] .site-header { background:#ffffffb0; border-color:#20252b1a; }
:root[data-theme="light"] .site-header.scrolled { background:#fffffff0; border-color:#20252b24; }
:root[data-theme="light"] .desktop-nav a,
:root[data-theme="light"] .footer-nav a { color:#48515b; }
:root[data-theme="light"] .desktop-nav a:hover,
:root[data-theme="light"] .footer a:hover { color:var(--accent); }
:root[data-theme="light"] .brand-title,
:root[data-theme="light"] .brand-title small { color:var(--text); }
:root[data-theme="light"] .brand-title strong { color:var(--accent); }
:root[data-theme="light"] .mobile-menu { background:var(--bg); box-shadow:0 20px 40px #20252b18; }
:root[data-theme="light"] .menu-toggle,
:root[data-theme="light"] .btn-outline,
:root[data-theme="light"] .card-buttons button { border-color:#7b838c; }
:root[data-theme="light"] .btn-yellow { background:#ffc107; color:#101114; }
:root[data-theme="light"] .btn-yellow:hover { background:#ffcf35; }
/* Фотографии сохраняют тёмную подложку и светлые подписи. */
:root[data-theme="light"] .hero,
:root[data-theme="light"] .featured-card,
:root[data-theme="light"] .tech-visual { color:#e6e6e6; --accent:#ffc107; }
:root[data-theme="light"] .catalog-section,
:root[data-theme="light"] .about-section,
:root[data-theme="light"] .faq-section,
:root[data-theme="light"] .map-section { background:#f5f6f7; }
:root[data-theme="light"] .catalog-card { background:#fff; box-shadow:0 3px 18px #20252b0b; }
:root[data-theme="light"] .filter-btn { color:var(--muted); }
:root[data-theme="light"] .filter-btn.active { color:var(--text); }
:root[data-theme="light"] .card-buttons button:last-child { border-color:var(--accent); }
:root[data-theme="light"] .card-buttons button:hover { background:#ffc107; border-color:#ffc107; color:#111; }
:root[data-theme="light"] .about-photo-tag { background:#ffc107; }
:root[data-theme="light"] .process-cta { background:linear-gradient(110deg,#fff7dc,#f7f8f9); border-color:#e2d4a8; }
:root[data-theme="light"] #process .timeline-step::before { background:var(--bg); border-color:var(--accent); }
:root[data-theme="light"] #process .timeline-step > span,
:root[data-theme="light"] .faq-icon { color:var(--accent); }
:root[data-theme="light"] .faq-icon { border-color:#b58a2a; }
:root[data-theme="light"] .faq-item summary:focus-visible { outline-color:var(--accent); }
:root[data-theme="light"] .map-frame { background:repeating-linear-gradient(0deg,transparent,transparent 74px,#d9dde2 75px),repeating-linear-gradient(90deg,#f0f2f4,#f0f2f4 74px,#d9dde2 75px); }
:root[data-theme="light"] .map-placeholder { background:#ffffff85; }
:root[data-theme="light"] .map-state { border-color:#b58a2a; }
:root[data-theme="light"] .contact-section { background:radial-gradient(ellipse at 20% 80%,#fff4cf 0%,#fafaf8 40%,#fff 75%); }
:root[data-theme="light"] .lead-form { background:#fff; border-color:var(--line); }
:root[data-theme="light"] .form-field input,
:root[data-theme="light"] .form-field textarea { background:#f7f8f9; border-color:#a4acb5; }
:root[data-theme="light"] .form-field input::placeholder,
:root[data-theme="light"] .form-field textarea::placeholder { color:#69727d; }
:root[data-theme="light"] .form-field input[aria-invalid=true] { border-color:#a94419; }
:root[data-theme="light"] .form-field small,
:root[data-theme="light"] .consent-error,
:root[data-theme="light"] .form-status { color:#a13e16; }
:root[data-theme="light"] .consent { color:var(--muted); }
:root[data-theme="light"] .footer { background:#f1f3f5; }
:root[data-theme="light"] .footer-bottom { color:var(--muted); }
:root[data-theme="light"] .site-dialog { background:#fff; border-color:var(--line); box-shadow:0 35px 120px #20252b40; }
:root[data-theme="light"] .site-dialog::backdrop { background:#17202bb3; }
:root[data-theme="light"] .dialog-close,
:root[data-theme="light"] .gallery-stage button { background:#fff; color:var(--text); border-color:#a4acb5; }
:root[data-theme="light"] .form-dialog .lead-form { background:transparent; }
:root[data-theme="light"] .messenger-links .messenger-link { background:#fff; border-color:var(--line); color:#48515b; }
:root[data-theme="light"] .messenger-links .messenger-link:hover { color:var(--accent); border-color:var(--accent); background:#fff7dc; }

@media (max-width:1100px) {
    .header-inner { gap:8px; }
    .header-theme-toggle { margin-left:auto; }
    .menu-toggle { flex:none; }
}
/* Скрытый экран загрузки не должен перекрывать готовую карту. */
.map-placeholder[hidden] { display:none; }
.map-object-marker { position:relative; display:grid; place-items:center; width:58px; height:58px; padding:7px; transform:translate(-50%,-100%); border:2px solid #ffc107; border-radius:50% 50% 50% 8px; background:#fff; box-shadow:0 4px 15px #0004; isolation:isolate; }
/* Фирменный знак: графит вместо белого, с сохранением жёлтого акцента. */
.brand-mark-light { display:none; }
:root[data-theme="light"] .brand-mark-dark { display:none; }
:root[data-theme="light"] .brand-mark-light { display:block; }
.map-object-marker img { display:block; width:100%; height:100%; object-fit:contain; pointer-events:none; }
.map-object-marker:hover { box-shadow:0 5px 20px #0006; border-color:#b68000; }
.form-trap { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:780px) { .form-field input,.form-field textarea { font-size:16px; } }

@media(max-width:360px) { .header-inner { gap:6px; } .header-inner .brand { gap:6px; } .site-header .brand-mark { width:44px; } }

/* На узком экране факты идут после кнопок, не перекрывая их. */
@media(max-width:520px) { .hero { height:auto; min-height:max(730px,100svh); } .hero-content { height:auto; min-height:inherit; padding-top:120px; padding-bottom:32px; } .hero-foot { position:static; margin-top:32px; width:100%; } }
