/* СТИЛИ САЙТА. Размеры указаны в px, цвета — HEX. Первый экран настраивайте в showcase.css: он переопределяет старые правила этого файла. */
@font-face{font-family:Manrope;src:url('assets/manrope-latin-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122}
@font-face{font-family:Manrope;src:url('assets/manrope-cyrillic-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Manrope;src:url('assets/manrope-latin-700.woff2') format('woff2');font-weight:600 900;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122}
@font-face{font-family:Manrope;src:url('assets/manrope-cyrillic-700.woff2') format('woff2');font-weight:600 900;font-style:normal;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

/* ОБЩАЯ ПАЛИТРА: bg — фон, panel — панели, text — текст, muted — вторичный текст, yellow — акцент. Отдельные градиенты используют свои цвета. */
:root {
  --bg:#07101d; --panel:#101d2c; --text:#f3f5f6; --muted:#aab7c7;
  --yellow:#f5c518; --ink:#101724; --line:rgba(174,193,211,.15); color-scheme:dark;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:110px; }
body { margin:0; background:radial-gradient(ellipse at 10% 12%,#15243a 0,transparent 28%),radial-gradient(ellipse at 100% 45%,#182432 0,transparent 35%),var(--bg); color:var(--text); font:16px/1.65 Manrope,Arial,sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
button,input { font:inherit; }
button { cursor:pointer; }
button:disabled { cursor:default; }
img { display:block; max-width:100%; }
h1,h2,h3,p { margin:0; }
h1,h2,h3 { font-weight:700; line-height:1.16; letter-spacing:-.05em; }
h2 { font-size:clamp(34px,3.4vw,48px); }
h3 { font-size:28px; }
em { font-style:normal; }
[hidden] { display:none!important; }
/* ОБЩАЯ ШИРИНА: 1280px — предел контента, 64px — суммарный боковой отступ. Мобильные значения ниже в @media. */
.container { width:min(1280px,calc(100% - 64px)); margin-inline:auto; }
.section { padding-block:72px; }
.muted { color:var(--muted); }
.yellow { color:var(--yellow); }
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible { outline:3px solid var(--yellow); outline-offset:5px; }
.skip-link { position:fixed; top:-100px; left:20px; z-index:300; background:var(--yellow); color:var(--ink); padding:12px 20px; border-radius:20px; }
.skip-link:focus { top:10px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.arrow-icon { width:19px; height:19px; display:inline-block; vertical-align:middle; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }

/* Floating glass navigation */
.header { position:sticky; top:14px; z-index:100; width:min(1320px,calc(100% - 40px)); margin:18px auto; border:1px solid var(--line); border-radius:28px; background:#0b1322cc; backdrop-filter:blur(24px); box-shadow:0 12px 50px #0003,inset 0 1px #fff08; }
.header-inner { width:calc(100% - 40px); height:78px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:inline-flex; align-items:center; gap:11px; flex-shrink:0; }
.brand img { border-radius:13px; }
.brand>span { font-size:23px; line-height:1.2; letter-spacing:-.045em; font-weight:700; }
.brand strong { font-weight:700; }
.brand small { display:block; color:var(--muted); font-size:10px; letter-spacing:0; font-weight:400; margin-top:4px; }
.desktop-nav { display:flex; padding:5px; gap:1px; border:1px solid var(--line); border-radius:100px; background:linear-gradient(#ffffff0b,#ffffff04); }
.desktop-nav a { font-size:14px; padding:9px 15px; border-radius:100px; transition:background .2s,color .2s; }
.desktop-nav a:hover { background:#ffffff0d; color:var(--yellow); }
.header-phone { font-size:16px; font-weight:700; line-height:1.4; text-align:right; white-space:nowrap; }
.header-phone span { display:block; font-size:11px; color:var(--muted); font-weight:400; }
.header-phone .arrow-icon { width:12px; height:12px; }
.menu-toggle,.mobile-menu,.mobile-contact { display:none; }

/* Soft light, subtle circuits and the equipment carousel */
.hero { position:relative; isolation:isolate; border:1px solid #c4d7e01a; border-radius:42px; overflow:hidden; padding:40px 32px 18px; background:#0a1423; box-shadow:inset 0 1px #eaf4ff0b,0 25px 100px #0003; }
.hero-atmosphere { position:absolute; inset:0; z-index:-2; overflow:hidden; background:radial-gradient(ellipse at 92% 5%,#dac66f34,transparent 38%),radial-gradient(ellipse at 3% 85%,#46759833,transparent 37%),linear-gradient(135deg,#081322,#080f19); }
.hero-atmosphere:after { content:''; position:absolute; inset:0; opacity:.16; background-image:radial-gradient(#b2bacf 1px,transparent 1px); background-size:39px 39px; mask-image:linear-gradient(transparent 20%,#000); }
.hero-atmosphere span { position:absolute; width:420px; height:420px; border-radius:50%; filter:blur(70px); opacity:.12; background:#f7ce60; top:-160px; right:-140px; }
.hero-atmosphere span:nth-child(2) { width:280px; height:280px; background:#679ccb; top:auto; right:auto; left:-140px; bottom:100px; }
.hero-atmosphere span:nth-child(3) { width:500px; height:250px; background:#f6d886; top:auto; right:calc(50% - 250px); bottom:0; opacity:.08; }
.hero-circuits { position:absolute; inset:0; width:100%; height:100%; z-index:-1; fill:none; stroke:#c8d8dd; stroke-width:1; opacity:.14; pointer-events:none; }
.hero-circuits circle { fill:#f3d057; stroke:none; }
.hero-copy { position:relative; z-index:4; text-align:center; }
.eyebrow { display:flex; align-items:center; gap:9px; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.11em; color:#e2cb75; margin-bottom:20px; }
.hero-badge { width:fit-content; max-width:100%; margin:0 auto 19px; padding:7px 14px; border:1px solid #ffffff14; border-radius:100px; background:linear-gradient(100deg,#c5d6e50e,#c9d3dc05); font-size:12px; font-weight:400; text-transform:none; letter-spacing:.01em; color:#c6cdd4; }
.badge-spark { color:var(--yellow); font-size:18px; line-height:1; margin-left:8px; }
.status-dot,.signature-dot { width:6px; height:6px; background:var(--yellow); border-radius:50%; box-shadow:0 0 14px #f5c51870; flex-shrink:0; }
.hero h1 { font-size:clamp(42px,4.6vw,67px); line-height:1.09; font-weight:400; letter-spacing:-.052em; }
.hero h1 em { color:var(--yellow); font-weight:700; }
.hero-description { color:#b7c3ce; font-size:17px; line-height:1.7; margin-top:20px; }
.hero-actions { display:flex; justify-content:center; gap:12px; margin-top:24px; }
/* ОБЩИЕ КНОПКИ: min-height — высота, padding — внутренние отступы, border-radius — скругление, font-size — размер текста. */
.button { min-height:52px; display:inline-flex; align-items:center; justify-content:center; gap:18px; padding:13px 24px; border:1px solid transparent; border-radius:100px; font-size:15px; font-weight:700; transition:transform .2s,background .2s,box-shadow .2s; text-align:center; }
.button:hover { transform:translateY(-2px); }
.primary { background:linear-gradient(140deg,#ffe588,#f6ca32 65%,#ecc029); color:var(--ink); box-shadow:inset 0 1px #fff8,0 5px 25px #f5c51812; }
.primary:hover { box-shadow:inset 0 1px #fff8,0 7px 32px #f5c51835; }
.secondary { background:linear-gradient(130deg,#ffffff0c,#ffffff03); border-color:#ffffff24; color:var(--text); }
.secondary:hover { background:#ffffff12; }
.showcase { height:390px; position:relative; margin:6px auto 0; max-width:1120px; isolation:isolate; }
.showcase-grid { position:absolute; width:85%; height:170px; left:7.5%; bottom:-22px; border-radius:50%; background-image:linear-gradient(#b6c9d713 1px,transparent 1px),linear-gradient(90deg,#b6c9d713 1px,transparent 1px); background-size:48px 48px; transform:perspective(300px) rotateX(58deg); mask-image:radial-gradient(ellipse,#000,transparent 70%); }
.showcase-orbit { position:absolute; left:50%; top:50%; width:900px; height:170px; border:1px solid #c7d6e215; border-radius:50%; transform:translate(-50%,-14%) rotate(-4deg); z-index:-1; }
.orbit-front { width:1050px; height:210px; transform:translate(-50%,0) rotate(4deg); border-style:dashed; opacity:.55; }
.equipment-deck { position:absolute; inset:0; perspective:900px; }
.equipment-card { position:absolute; left:50%; top:130px; width:142px; height:152px; margin:-76px 0 0 -71px; padding:0; border:1px solid #fff9; border-radius:30px; color:#263443; background:linear-gradient(145deg,#fffff9,#d9dedb); box-shadow:0 22px 45px #0004,inset 0 2px 1px #fffd; transform:translate3d(var(--x),var(--y),0) rotate(var(--turn)); transition:transform 1050ms cubic-bezier(.22,.75,.16,1),opacity .7s,box-shadow .3s; will-change:transform,opacity; }
.equipment-card-content { display:flex; flex-direction:column; align-items:center; justify-content:center; width:100%; height:100%; animation:card-breathe 7s ease-in-out infinite; }
.equipment-card img { width:112px; height:112px; margin-top:-4px; }
.equipment-name { font-size:12px; font-weight:700; margin-top:-3px; padding-bottom:10px; }
.equipment-card[data-slot='0'] { --x:-405px; --y:90px; --turn:-20deg; opacity:.84; z-index:2; }
.equipment-card[data-slot='1'] { --x:-238px; --y:22px; --turn:-11deg; opacity:1; z-index:4; }
.equipment-card[data-slot='2'] { --x:0px; --y:55px; --turn:0deg; opacity:0; z-index:1; pointer-events:none; }
.equipment-card[data-slot='3'] { --x:238px; --y:22px; --turn:11deg; opacity:1; z-index:4; }
.equipment-card[data-slot='4'] { --x:405px; --y:90px; --turn:20deg; opacity:.84; z-index:2; }
.equipment-card[data-slot='5'] { --x:0px; --y:-30px; --turn:0deg; opacity:0; z-index:0; pointer-events:none; }
.equipment-card[aria-pressed=true] { background:linear-gradient(140deg,#fff9da,#efe1a4); border-color:#ffe284; box-shadow:0 20px 45px #0004,0 0 40px #f5c51813,inset 0 2px 1px #fffc; }
.equipment-card:focus-visible { outline-offset:8px; }
.equipment-card:nth-child(2n) .equipment-card-content { animation-delay:-3s; }
.team-center { position:absolute; width:300px; height:355px; left:50%; bottom:20px; transform:translateX(-50%); z-index:3; pointer-events:none; }
.team-halo { position:absolute; width:270px; height:270px; border-radius:50%; left:15px; top:55px; background:radial-gradient(circle,#e8cb693a,transparent 68%); filter:blur(24px); }
.team-cutout { position:absolute; bottom:0; width:100%; height:100%; object-fit:cover; object-position:center 15%; filter:drop-shadow(0 10px 30px #0006); mask-image:linear-gradient(#000 0%,#000 81%,transparent 100%); }
.team-signature { position:absolute; display:flex; align-items:center; gap:10px; bottom:9px; left:50%; transform:translateX(-50%); width:max-content; max-width:280px; padding:10px 18px; border:1px solid #e7e9de2b; border-radius:16px; background:linear-gradient(130deg,#172231ed,#0b1522eb); backdrop-filter:blur(18px); font-size:14px; font-weight:700; text-align:center; box-shadow:0 6px 30px #0004; }
.team-signature small { display:block; margin-top:2px; font-size:10px; font-weight:400; color:var(--muted); }
.scene-spark { position:absolute; color:#e7d896; font-size:29px; opacity:.6; }
.spark-one { left:20%; top:0; }.spark-two { right:16%; top:52%; font-size:20px; }
.showcase-caption { position:absolute; bottom:0; left:50%; transform:translateX(-50%); display:flex; align-items:center; justify-content:center; gap:7px; font-size:12px; color:#b9c4ce; width:100%; pointer-events:none; }
.caption-dot { width:4px; height:4px; border-radius:50%; background:var(--yellow); }
.hero-bottom { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:16px; position:relative; padding-top:16px; border-top:1px solid #c6d3dc12; }
.hero-bottom-note,.hero-scroll { font-size:11px; color:#9daeba; display:flex; gap:12px; align-items:center; }
.tiny-line { width:36px; height:1px; background:linear-gradient(90deg,#d1ba64,transparent); }
.hero-scroll span { width:28px; height:28px; background:#ffffff0a; border-radius:50%; display:grid; place-items:center; }
.hero-bottom > .showcase-controls { grid-column:2; }
.hero-bottom > .hero-scroll { grid-column:3; justify-self:end; }
.showcase-controls { display:flex; gap:6px; align-items:center; background:#ffffff05; border:1px solid #ffffff0c; border-radius:100px; padding:4px; }
.showcase-controls button { width:32px; height:32px; border-radius:50%; border:0; background:#ffffff09; color:#cbd2d9; display:grid; place-items:center; font-size:17px; }
.showcase-controls button:hover { background:#ffffff1a; }.showcase-controls button:disabled { opacity:.4; }
#equipmentCount { font-size:10px; color:#b8c0c8; padding-inline:5px; font-variant-numeric:tabular-nums; }
.showcase-controls svg { width:16px; height:16px; stroke:currentColor; stroke-width:1.5; fill:none; }
.showcase-controls .play-icon { fill:currentColor; stroke:none; display:none; }
#equipmentPause[aria-pressed=true] .play-icon { display:block; }#equipmentPause[aria-pressed=true] .pause-icon { display:none; }
.is-paused .equipment-card-content { animation-play-state:paused; }
@keyframes card-breathe { 0%,100% { transform:translateY(0); }50% { transform:translateY(-5px); } }

/* Compact, softly lit cards */
.principles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; padding-block:28px 12px; }
.principles>div { display:flex; align-items:center; gap:14px; padding:10px 20px; border-right:1px solid var(--line); }.principles>div:last-child { border-right:0; }
.principles>div>span { width:36px; height:36px; border:1px solid #dbc65b27; background:#f5c51805; color:#dac362; border-radius:50%; display:grid; place-items:center; font-size:11px; flex-shrink:0; }
.principles p { font-size:14px; font-weight:700; }.principles small { display:block; margin-top:4px; font-size:12px; font-weight:400; color:var(--muted); }
.section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:40px; margin-bottom:30px; }.section-heading .eyebrow { margin-bottom:16px; }
.section-intro { font-size:16px; color:var(--muted); max-width:370px; line-height:1.8; }
/* СЕТКА УСЛУГ: repeat(3,...) — три колонки на компьютере, gap — расстояние. Адаптивные колонки ниже. */
.services-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.service-card { position:relative; display:flex; flex-direction:column; padding:28px; border-radius:28px; border:1px solid #9bafc121; background:radial-gradient(ellipse at 90% 0,#8ba5b211,transparent 60%),linear-gradient(145deg,#162334cc,#0e1928cc); box-shadow:inset 0 1px #ffffff06; overflow:hidden; }
.service-main { background:radial-gradient(ellipse at 10% 0,#cfb05a22,transparent 62%),linear-gradient(145deg,#1c2630,#111d2c); border-color:#d7bc6f3a; }
.service-card:after { content:''; position:absolute; width:85px; height:85px; border:1px solid #c2d0d40c; border-radius:24px; right:-25px; bottom:75px; transform:rotate(30deg); pointer-events:none; }
.service-top { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:18px; }.service-object { width:74px; height:74px; margin:-10px 0 -4px -8px; }
.small-label { font-size:11px; font-weight:700; letter-spacing:.08em; }.service-top .small-label { font-size:9px; color:#aebbc7; text-align:right; }
.service-card h3 { font-size:27px; line-height:1.18; max-width:260px; }.service-card p { font-size:15px; color:var(--muted); line-height:1.75; margin-top:14px; }
.service-tags { display:flex; gap:6px; flex-wrap:wrap; margin:20px 0 22px; }.service-tags span { font-size:11px; padding:5px 10px; border:1px solid var(--line); border-radius:100px; color:#bac5d0; }
.service-link { display:flex; justify-content:space-between; align-items:center; margin-top:auto; padding-top:16px; border-top:1px solid var(--line); font-size:14px; font-weight:700; }.service-link>span { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:#f5c5180a; color:#efd172; }.service-link:hover { color:var(--yellow); }
.projects-section { position:relative; background:radial-gradient(ellipse at 50% 80%,#22324655,transparent 65%); }
.text-link { display:inline-flex; gap:16px; align-items:center; font-size:14px; font-weight:700; }.text-link>span { display:grid; place-items:center; width:36px; height:36px; border-radius:50%; border:1px solid var(--line); color:#f0d178; }.text-link:hover { color:var(--yellow); }
.filter-row { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px; }.filter { min-height:44px; border:1px solid var(--line); border-radius:100px; background:#ffffff04; color:var(--muted); padding:10px 19px; font-size:13px; }.filter[aria-pressed=true] { background:#f5cf66; color:var(--ink); border-color:#f5cf66; font-weight:700; }
.project-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; min-height:280px; }.project-card { display:block; min-width:0; width:100%; padding:0 0 10px; border:0; background:transparent; color:var(--text); text-align:left; }
.project-image { position:relative; overflow:hidden; aspect-ratio:1.4; border-radius:26px; border:1px solid #cbd8e31c; }.project-image img { width:100%; height:100%; object-fit:cover; transition:transform .45s; }.project-card:hover img { transform:scale(1.04); }.project-arrow { display:grid; place-items:center; position:absolute; right:14px; bottom:14px; width:38px; height:38px; border-radius:50%; background:#f5d77c; color:var(--ink); }.project-arrow:before { content:''; width:10px; height:10px; border-top:1.5px solid; border-right:1.5px solid; position:absolute; right:11px; top:11px; }.project-arrow:after { content:''; width:15px; height:1.5px; background:currentColor; transform:rotate(-45deg); }
.project-category { position:absolute; top:14px; left:14px; background:#0a1725bd; backdrop-filter:blur(10px); border:1px solid #ffffff1a; border-radius:100px; padding:6px 11px; font-size:9px; letter-spacing:.07em; font-weight:700; }
.project-card h3 { margin-top:16px; font-size:23px; line-height:1.3; }.project-card p { font-size:14px; color:var(--muted); margin-top:6px; }.project-note { font-size:13px; color:var(--muted); margin-top:24px; text-align:right; }
.project-empty { grid-column:1/-1; display:grid; place-content:center; gap:12px; padding:32px; border:1px dashed var(--line); border-radius:24px; color:var(--muted); text-align:center; }.project-empty a { color:var(--yellow); text-decoration:underline; }
.calculator-section { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:70px; }.calculator-copy>p:not(.eyebrow) { font-size:17px; line-height:1.85; max-width:400px; color:var(--muted); margin-top:22px; }.calculator-note { display:flex; gap:14px; max-width:380px; margin:24px 0 30px; }.calculator-note>span { font-size:28px; line-height:1; color:#e5c967; }.calculator-note p { font-size:14px; color:var(--muted); }
.calculator-panel { padding:32px; border:1px solid #b8cbd12b; border-radius:32px; background:radial-gradient(ellipse at 85% 0,#cebe7522,transparent 65%),linear-gradient(140deg,#172838,#0e1b2a); box-shadow:0 20px 70px #0003,inset 0 1px #ffffff0b; }
.calculator-panel fieldset { margin:0; padding:0; border:0; min-width:0; }.calculator-panel legend,.field-label { font-size:16px; font-weight:700; margin-bottom:15px; }
.tariff-options { display:grid; grid-template-columns:1fr 1fr; gap:8px; }.tariff-option { position:relative; cursor:pointer; }.tariff-option input { position:absolute; opacity:0; inset:0; pointer-events:none; }.tariff-option span { display:flex; align-items:center; justify-content:center; min-height:46px; padding:9px 10px; border:1px solid #b6c7d425; border-radius:14px; background:#060e192b; color:#b5c2cc; font-size:13px; text-align:center; }.tariff-option input:checked+span { color:#f5d573; border-color:#e7cb6959; background:#d9b95512; }.tariff-option input:focus-visible+span { outline:3px solid var(--yellow); outline-offset:3px; }
.area-label { display:flex; align-items:center; justify-content:space-between; margin-top:24px; }.area-control { display:flex; align-items:center; gap:3px; padding-right:13px; border:1px solid #c2d6dd25; border-radius:14px; background:#040e1980; }.area-control input { width:78px; min-width:0; padding:9px 6px 9px 16px; background:none; color:var(--text); border:0; font-size:19px; font-weight:700; appearance:textfield; }.area-control input::-webkit-inner-spin-button { appearance:none; }.area-control>span { color:var(--muted); font-size:14px; font-weight:400; }
.calculator-panel input[type=range] { width:100%; height:24px; accent-color:#f4d273; cursor:pointer; margin:4px 0 0; }.range-limits { display:flex; justify-content:space-between; font-size:12px; color:var(--muted); }.field-error { min-height:20px; margin-top:4px; color:#ffc0a9; font-size:12px; }
.checkbox-label { display:flex; gap:10px; align-items:flex-start; font-size:13px; color:#c0cbd3; line-height:1.6; margin-top:6px; }.checkbox-label input { width:17px; height:17px; accent-color:#f4d273; flex-shrink:0; margin-top:2px; }
.budget-result { margin-top:22px; padding:20px 0; border-top:1px solid var(--line); }.budget-result>.small-label { color:var(--muted); }.budget-result output { display:block; margin-top:9px; color:#f5d57b; font-size:clamp(28px,2.8vw,39px); font-weight:700; line-height:1.2; letter-spacing:-.055em; font-variant-numeric:tabular-nums; }.budget-result p { font-size:12px; margin-top:9px; color:var(--muted); }.calculator-panel .button { display:flex; }.fine-print { font-size:11px; color:#9eafbe; line-height:1.65; text-align:center; margin-top:12px; }
.process-section { border-block:1px solid #c6d9e40c; }.steps { list-style:none; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; padding:0; margin:32px 0 0; }.steps li { padding:24px; border:1px solid var(--line); border-radius:24px; background:linear-gradient(140deg,#ffffff05,#ffffff01); }.steps li>span { display:grid; place-items:center; width:40px; height:40px; border:1px solid #e2c36330; border-radius:14px; color:#e8ce7d; background:#f5c51806; font-size:12px; }.steps h3 { margin:20px 0 12px; font-size:23px; }.steps p { font-size:14px; color:var(--muted); line-height:1.75; }
.team-section { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }.team-visual { display:grid; grid-template-columns:1fr 1fr; gap:16px; align-items:start; }.team-person { border:1px solid var(--line); border-radius:28px; background:radial-gradient(ellipse at 50% 20%,#5771872e,transparent 70%),linear-gradient(140deg,#182637,#0f1a28); overflow:hidden; }.team-person:nth-child(2) { margin-top:32px; }.team-person img { width:112px; height:136px; object-fit:cover; object-position:center top; margin:24px auto 0; border-radius:18px; }.team-person>span { display:block; padding:20px; font-size:21px; font-weight:700; }.team-person small { display:block; font-size:12px; color:var(--muted); margin-top:4px; font-weight:400; }.team-copy>p:not(.eyebrow) { font-size:16px; margin-top:20px; color:#c2cbd4; }.team-copy .text-link { margin-top:24px; }
.business-section { display:flex; align-items:center; justify-content:space-between; gap:40px; padding:38px 42px; border:1px solid #dbc97735; border-radius:32px; background:radial-gradient(ellipse at 100% 0,#b7984620,transparent 50%),linear-gradient(120deg,#202e35,#111e2d); }.business-section h2 { font-size:34px; }.business-section p:not(.eyebrow) { font-size:16px; max-width:560px; color:var(--muted); margin-top:16px; }.business-section .business-cities { color:#d4d6bf!important; font-size:13px!important; }.business-cities span { color:var(--yellow); margin-inline:10px; }.business-section .button { flex-shrink:0; max-width:310px; }
.faq-section { display:grid; grid-template-columns:1fr 1.5fr; gap:70px; }.faq-list { display:grid; gap:10px; }.faq-list details { border:1px solid var(--line); border-radius:18px; background:linear-gradient(110deg,#ffffff05,#ffffff01); }.faq-list summary { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:19px 22px; list-style:none; cursor:pointer; font-size:15px; font-weight:700; }.faq-list summary::-webkit-details-marker { display:none; }.faq-list summary span { font-size:25px; color:#dfc26c; font-weight:400; line-height:1; transition:transform .2s; }.faq-list details[open] summary span { transform:rotate(45deg); }.faq-list details p { padding:0 22px 22px; color:var(--muted); font-size:14px; line-height:1.8; }
.contact-section { width:min(1320px,calc(100% - 40px)); margin-inline:auto; border:1px solid #dfca7d65; border-radius:36px; overflow:hidden; padding-block:52px; color:#121a26; background:radial-gradient(ellipse at 100% 0,#fff4c8,transparent 60%),linear-gradient(130deg,#edd081,#f2ca54); box-shadow:inset 0 1px #ffffffe0,0 12px 80px #dbb3420b; }.contact-inner { display:grid; grid-template-columns:1.3fr 1fr; align-items:center; gap:50px; width:calc(100% - 72px); }.contact-inner .eyebrow { color:#67552a; }.contact-inner h2 { font-size:clamp(32px,3.7vw,50px); }.contact-inner h2 em { color:#7a6631; }.contact-inner p:not(.eyebrow) { font-size:16px; line-height:1.8; margin-top:18px; }.contact-phone { display:block; font-size:31px; line-height:1.3; font-weight:700; letter-spacing:-.04em; }.contact-phone span { display:block; margin-top:8px; font-size:13px; letter-spacing:0; font-weight:400; }.messenger-links { display:flex; gap:10px; margin-top:22px; }.messenger-links a { padding:12px 23px; border:1px solid #1b263a40; border-radius:100px; background:#ffffff15; font-size:15px; font-weight:700; }.messenger-links a:hover { color:var(--text); background:var(--bg); }.second-phone { display:inline-block; margin-top:20px; font-size:13px; }.contact-section a:focus-visible { outline-color:var(--ink); }
.footer { padding-block:32px; }.footer-top { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-bottom:26px; border-bottom:1px solid var(--line); }.footer-top>span,.footer-top>a:not(.brand) { color:var(--muted); font-size:12px; }.footer-top .brand>span { font-size:21px; }.footer-bottom { display:flex; justify-content:space-between; gap:36px; padding-top:22px; font-size:11px; color:var(--muted); line-height:1.8; }.footer-bottom p { max-width:460px; }
.project-dialog { width:min(800px,calc(100% - 28px)); max-height:90dvh; overflow:auto; padding:0; border:1px solid var(--line); border-radius:28px; background:var(--panel); color:var(--text); box-shadow:0 20px 100px #0008; }.project-dialog::backdrop { background:#030b15d9; backdrop-filter:blur(10px); }.dialog-close { position:absolute; top:14px; right:14px; z-index:2; width:44px; height:44px; border:1px solid #fff4; border-radius:50%; font-size:28px; color:white; background:#0a1725df; }.project-dialog>img { width:100%; max-height:58dvh; object-fit:contain; background:#050d17; }.dialog-body { padding:24px; }.dialog-body h2 { font-size:26px; line-height:1.3; }.dialog-body>p { margin-top:10px; font-size:15px; color:var(--muted); white-space:pre-line; }.dialog-counter { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; color:var(--muted); font-size:13px; }.dialog-counter button { width:44px; height:40px; margin-left:6px; border:1px solid var(--line); border-radius:12px; color:var(--yellow); background:var(--bg); font-size:22px; }.dialog-counter button:disabled { opacity:.3; }

@media(max-width:1100px) {
  .header-inner { gap:16px; }.desktop-nav a { padding:9px 11px; font-size:13px; }.header-phone { font-size:14px; }.brand>span { font-size:21px; }
  .hero { padding-inline:24px; }.hero h1 { font-size:57px; }
  .equipment-card[data-slot='0'] { --x:-330px; }.equipment-card[data-slot='1'] { --x:-197px; }.equipment-card[data-slot='3'] { --x:197px; }.equipment-card[data-slot='4'] { --x:330px; }
  .equipment-card { width:128px; height:140px; margin-left:-64px; margin-top:-70px; }.equipment-card img { width:99px; height:99px; }
  .principles>div { padding-inline:8px; gap:10px; }.principles p { font-size:13px; }.principles small { font-size:11px; }
  .service-card { padding:24px; }.service-card h3 { font-size:25px; }.service-card p { font-size:14px; }.service-top .small-label { font-size:8px; }
  .calculator-section,.team-section,.faq-section { gap:40px; }.calculator-panel { padding:26px; }.steps { gap:12px; }.steps li { padding:20px; }.steps p { font-size:13px; }
  .business-section { padding:32px; }.business-section h2 { font-size:30px; }.business-section .button { max-width:260px; }.contact-phone { font-size:27px; }
}
/* ТЕЛЕФОНЫ И ПЛАНШЕТЫ до 800px. Правила внутри действуют только на этих экранах; первый экран дополнительно уточняется в showcase.css. */
@media(max-width:800px) {
  html { scroll-padding-top:90px; }.container { width:calc(100% - 32px); }.section { padding-block:42px; }
  .header { width:calc(100% - 24px); top:8px; margin-block:10px 12px; border-radius:22px; }.header-inner { width:calc(100% - 26px); height:62px; }.brand img { width:33px; height:33px; border-radius:11px; }.brand>span { font-size:21px; }.brand small { font-size:9px; }
  .desktop-nav,.header-phone { display:none; }.menu-toggle { display:flex; flex-direction:column; justify-content:center; gap:6px; width:42px; height:42px; padding:12px; border:1px solid var(--line); border-radius:50%; background:#ffffff05; }.menu-toggle span { display:block; width:100%; height:1px; background:var(--text); transition:transform .2s; }.menu-toggle[aria-expanded=true] span:first-child { transform:translateY(3.5px) rotate(45deg); }.menu-toggle[aria-expanded=true] span:last-child { transform:translateY(-3.5px) rotate(-45deg); }
  .mobile-menu { display:grid; grid-template-columns:1fr 1fr; gap:4px 12px; padding-block:6px 16px; }.mobile-menu a { padding:9px 12px; font-size:15px; border-radius:12px; background:#ffffff04; }
  .hero { width:calc(100% - 24px); padding:24px 14px 12px; border-radius:30px; }.hero-badge { font-size:10px; padding:6px 10px; margin-bottom:16px; gap:7px; }.badge-spark { font-size:16px; margin-left:2px; }
  .hero h1 { font-size:clamp(34px,6.7vw,51px); line-height:1.1; max-width:630px; margin:auto; }.hero-description { font-size:15px; line-height:1.65; margin-top:16px; }.hero-actions { gap:8px; margin-top:18px; }.button { min-height:48px; font-size:14px; padding:11px 18px; gap:11px; }.hero-actions .button { font-size:13px; padding:11px 16px; }.hero .arrow-icon { width:16px; height:16px; }
  .showcase { height:320px; margin-top:8px; }.team-center { width:236px; height:300px; bottom:10px; }.team-halo { width:210px; height:210px; top:55px; left:13px; }.team-signature { font-size:12px; padding:9px 12px; border-radius:14px; bottom:18px; gap:7px; }.team-signature small { font-size:9px; }.showcase-caption { bottom:0; font-size:11px; }
  .equipment-card { width:110px; height:120px; top:136px; margin:-60px 0 0 -55px; border-radius:23px; }.equipment-card img { width:83px; height:83px; }.equipment-name { font-size:11px; }.equipment-card[data-slot='0'] { --x:-265px; --y:58px; --turn:-23deg; }.equipment-card[data-slot='1'] { --x:-153px; --y:5px; --turn:-13deg; }.equipment-card[data-slot='3'] { --x:153px; --y:5px; --turn:13deg; }.equipment-card[data-slot='4'] { --x:265px; --y:58px; --turn:23deg; }
  .showcase-orbit { width:620px; height:150px; }.orbit-front { width:730px; height:190px; }.scene-spark { font-size:23px; }.spark-one { left:8%; top:22px; }.spark-two { right:7%; top:66%; }
  .hero-bottom { padding-top:12px; gap:10px; }.hero-bottom-note,.hero-bottom > .hero-scroll { display:none; }.hero-scroll { margin-left:auto; font-size:10px; gap:6px; }.hero-scroll span { width:25px; height:25px; }.showcase-controls button { width:31px; height:31px; }.hero-bottom .showcase-controls { gap:3px; }
  .principles { padding-block:18px 4px; gap:6px; }.principles>div { flex-direction:column; align-items:flex-start; gap:8px; padding:5px 8px; }.principles>div>span { width:27px; height:27px; font-size:10px; }.principles p { font-size:13px; line-height:1.55; }.principles small { display:none; }
  .eyebrow { font-size:11px; letter-spacing:.08em; margin-bottom:14px; }.section-heading { align-items:flex-start; flex-direction:column; gap:17px; margin-bottom:24px; }h2 { font-size:34px; }.section-intro { font-size:15px; line-height:1.7; max-width:100%; }
  .services-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }.service-card { padding:20px 16px; border-radius:24px; }.service-main { grid-column:1/-1; padding:20px; }.service-top { gap:8px; margin-bottom:10px; }.service-object { width:60px; height:60px; margin:-8px 0 -3px -7px; }.service-top .small-label { display:none; }.service-main .service-top .small-label { display:block; font-size:10px; }.service-main .service-top { margin-bottom:4px; }.service-card h3 { font-size:23px; line-height:1.2; }.service-main h3 { max-width:none; font-size:27px; }.service-card p { font-size:14px; line-height:1.7; margin-top:10px; }.service-main p { font-size:15px; }.service-tags { display:none; }.service-link { margin-top:20px; padding-top:14px; gap:4px; font-size:12px; line-height:1.5; }.service-link>span { width:27px; height:27px; flex-shrink:0; }.service-link .arrow-icon { width:15px; height:15px; }.service-main .service-link { font-size:14px; }
  .projects-section .section-heading { gap:16px; }.text-link { font-size:14px; gap:12px; }.text-link>span { width:30px; height:30px; }
  .filter-row { flex-wrap:nowrap; overflow-x:auto; padding-bottom:5px; scrollbar-width:none; gap:6px; }.filter-row::-webkit-scrollbar { display:none; }.filter { white-space:nowrap; font-size:12px; padding:9px 14px; flex-shrink:0; }.project-grid { display:flex; gap:14px; min-height:0; overflow-x:auto; scroll-snap-type:x mandatory; padding:2px 0 12px; scrollbar-width:thin; scrollbar-color:#d2b55038 transparent; }.project-card { flex:0 0 85%; scroll-snap-align:start; }.project-image { aspect-ratio:1.35; border-radius:22px; }.project-card h3 { font-size:22px; margin-top:14px; }.project-card p { font-size:14px; }.project-category { font-size:9px; }.project-note { text-align:left; font-size:12px; margin-top:12px; }.project-empty { width:100%; padding:28px 20px; font-size:15px; }
  .calculator-section { grid-template-columns:1fr; gap:24px; }.calculator-copy>p:not(.eyebrow) { font-size:15px; line-height:1.75; max-width:100%; margin-top:16px; }.calculator-note { max-width:none; margin:16px 0; }.calculator-note p { font-size:14px; }.calculator-copy .text-link { font-size:13px; }.calculator-panel { padding:24px; border-radius:28px; }.tariff-option span { font-size:13px; padding:9px 7px; }.budget-result output { font-size:34px; }.calculator-panel legend,.field-label { font-size:16px; }.area-label { margin-top:18px; }.budget-result { margin-top:16px; padding:18px 0; }.fine-print { font-size:12px; }.checkbox-label { font-size:13px; }
  .steps { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:0; }.steps li { padding:20px 16px; border-radius:22px; }.steps li>span { width:33px; height:33px; border-radius:11px; font-size:11px; }.steps h3 { font-size:21px; margin:15px 0 10px; }.steps p { font-size:14px; line-height:1.65; }
  .team-section { grid-template-columns:1fr; gap:22px; }.team-copy { grid-row:1; }.team-copy>p:not(.eyebrow) { font-size:15px; margin-top:14px; }.team-copy .text-link { margin-top:18px; font-size:13px; }.team-visual { gap:12px; max-width:500px; width:100%; margin:auto; }.team-person { border-radius:24px; }.team-person:nth-child(2) { margin-top:0; }.team-person img { width:85px; height:100px; border-radius:16px; margin-top:18px; }.team-person>span { padding:16px; font-size:20px; }.team-person small { font-size:11px; line-height:1.6; }
  .business-section { flex-direction:column; align-items:flex-start; gap:22px; padding:26px; border-radius:28px; }.business-section h2 { font-size:29px; }.business-section p:not(.eyebrow) { font-size:15px; margin-top:14px; }.business-section .button { font-size:13px; max-width:none; padding-inline:18px; }
  .faq-section { grid-template-columns:1fr; gap:22px; }.faq-list summary { font-size:15px; padding:17px 18px; }.faq-list details p { font-size:14px; padding:0 18px 20px; }.faq-list details { border-radius:18px; }
  .contact-section { width:calc(100% - 24px); border-radius:28px; padding-block:30px; }.contact-inner { grid-template-columns:1fr; gap:26px; width:calc(100% - 44px); }.contact-inner h2 { font-size:34px; }.contact-inner p:not(.eyebrow) { font-size:15px; margin-top:16px; }.contact-actions { border-top:1px solid #39402225; padding-top:22px; }.contact-phone { font-size:30px; }.contact-phone span,.second-phone { font-size:13px; }.messenger-links { margin-top:20px; }
  .footer { padding-top:28px; padding-bottom:112px; }.footer-top { flex-wrap:wrap; gap:18px; padding-bottom:20px; }.footer-top>span { order:3; width:100%; font-size:12px; }.footer-top>a:not(.brand) { margin-left:auto; font-size:11px; }.footer-bottom { flex-direction:column; gap:16px; font-size:11px; padding-top:20px; }
  .mobile-contact { display:grid; grid-template-columns:1.35fr 1fr .7fr; gap:6px; position:fixed; bottom:10px; bottom:max(10px,env(safe-area-inset-bottom)); left:10px; right:10px; z-index:90; border:1px solid #bcd0dd2b; padding:7px; border-radius:100px; background:#0b1726d9; backdrop-filter:blur(20px); box-shadow:0 6px 32px #0005,inset 0 1px #ffffff08; }.mobile-contact a { min-height:44px; display:flex; align-items:center; justify-content:center; gap:7px; padding:9px 7px; border:1px solid #c9d5dd14; border-radius:100px; font-size:13px; font-weight:700; }.mobile-contact a:first-child { background:linear-gradient(120deg,#ffe28d,#f5c92c); color:var(--ink); border-color:transparent; }.mobile-contact .arrow-icon { width:15px; height:15px; }
}
@media(max-width:520px) {
  .hero h1 { max-width:350px; font-size:39px; }.hero h1 br { display:none; }.hero h1 em:before { content:' '; }
  .showcase { height:285px; }.team-center { width:204px; height:263px; bottom:14px; }.team-halo { width:190px; height:190px; top:42px; left:7px; }.team-signature { bottom:7px; font-size:11px; padding:8px 10px; }.team-signature small { font-size:8px; }
  .equipment-card { width:82px; height:96px; top:123px; margin:-48px 0 0 -41px; border-radius:21px; }.equipment-card img { width:70px; height:70px; margin-top:0; }.equipment-name { font-size:9px; padding-bottom:7px; margin-top:-3px; }
  .equipment-card[data-slot='0'] { --x:-205px; --y:64px; --turn:-25deg; }.equipment-card[data-slot='1'] { --x:-118px; --y:0px; --turn:-13deg; }.equipment-card[data-slot='3'] { --x:118px; --y:0px; --turn:13deg; }.equipment-card[data-slot='4'] { --x:205px; --y:64px; --turn:25deg; }
  .showcase-orbit { width:450px; height:130px; }.orbit-front { width:570px; height:160px; }.showcase-caption { font-size:10px; }.hero-bottom { padding-top:10px; }.hero-scroll { font-size:9px; }.showcase-controls button { width:29px; height:29px; }
}
@media(max-width:360px) {
  .hero h1 { font-size:34px; }.hero-description { font-size:14px; }.hero-actions .button { font-size:11px; padding:11px 13px; gap:8px; }.hero-badge { font-size:9px; padding-inline:8px; }
  .equipment-card[data-slot='1'] { --x:-100px; }.equipment-card[data-slot='3'] { --x:100px; }.equipment-card { width:73px; height:88px; margin-left:-36.5px; }.equipment-card img { width:61px; height:61px; }.team-center { width:190px; }.team-signature { font-size:10px; padding:8px; }.hero-bottom-note,.hero-scroll { display:none; }.hero-bottom { justify-content:center; }
  h2 { font-size:31px; }.section { padding-block:34px; }.service-card { padding:18px 13px; }.service-card h3 { font-size:20px; }.service-main h3 { font-size:24px; }.service-card p { font-size:13px; }.service-main p { font-size:14px; }.service-link { font-size:11px; }.service-link>span { width:22px; height:22px; }.calculator-panel { padding:20px; }.tariff-option span { font-size:12px; }.budget-result output { font-size:29px; }.steps li { padding:17px 13px; }.steps h3 { font-size:19px; }.steps p { font-size:13px; }.contact-phone { font-size:25px; }.contact-inner h2 { font-size:30px; }.principles p { font-size:12px; }.team-person>span { font-size:18px; padding:14px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }*,*:before,*:after { animation:none!important; transition:none!important; }
}
/* Сведения о новой публикации из кабинета: срок, этап снимка, отзыв заказчика. */
button.text-link { background:none; border:0; font:inherit; cursor:pointer; text-align:left; }
#dialogDetails,#dialogPhotoLabel { color:var(--yellow); font-size:14px; margin-top:14px; }
#dialogReview { margin:20px 0 0; padding:16px 20px; border-left:2px solid var(--yellow); background:#ffffff06; border-radius:0 14px 14px 0; white-space:pre-wrap; }
#dialogDescription { white-space:pre-wrap; }

/* Новый совместный портрет: в блоке команды показываем каждого мастера
   через CSS-окно. Исходное изображение одно, повторной загрузки не требуется.
   Иван слева, Владимир справа; ширина окна задаёт размер персонального портрета. */
.team-portrait { width:112px; height:136px; overflow:hidden; margin:24px auto 0; border-radius:18px; }
.team-person .team-portrait img { width:200%; max-width:none; height:auto; margin:0; border-radius:0; transform:translateX(-10%); }
.team-person .portrait-right img { transform:translateX(-42%); }
@media(max-width:800px) {
  .team-portrait { width:85px; height:100px; margin-top:18px; border-radius:16px; }
}

/* Фирменный знак VV + русское название. Размеры знака независимы от текста. */
.brand-official { gap:10px; }
.brand-official img { width:46px; height:46px; aspect-ratio:1; padding:0; background:transparent; }
.brand-official .brand-name { font-size:23px; white-space:nowrap; letter-spacing:-.04em; color:#fff; }

/* Карточки теперь обозначают услуги. Внешний элемент меняет место на орбите,
   translate в анимации добавляет мягкое движение всей плашки между переходами. */
.equipment-card { width:176px; height:172px; margin:-86px 0 0 -88px; top:145px; border:1px solid #c1d4e338; border-radius:26px; color:#f6f7f8; background:linear-gradient(140deg,#203445ed,#0b1729e8); box-shadow:0 20px 40px #0005,inset 0 1px #ffffff15; backdrop-filter:blur(14px); animation:service-float 7s ease-in-out infinite; text-decoration:none; }
.equipment-card-content { padding:16px 12px; gap:8px; animation:none; }
.equipment-card img { width:67px; height:67px; margin:0; filter:drop-shadow(0 5px 5px #0005); }
.equipment-name { font-size:16px; font-weight:700; line-height:1.25; text-align:center; margin:0; padding:0; }
.equipment-card.is-current { background:linear-gradient(140deg,#34443aef,#152536ed); border-color:#f6c22092; box-shadow:0 20px 40px #0005,0 0 32px #f6c22010,inset 0 1px #fff3; }
.equipment-card[data-slot='0'] { --x:-432px; --y:72px; --turn:-12deg; opacity:.6; }
.equipment-card[data-slot='1'] { --x:-242px; --y:22px; --turn:-5deg; }
.equipment-card[data-slot='3'] { --x:242px; --y:22px; --turn:5deg; }
.equipment-card[data-slot='4'] { --x:432px; --y:72px; --turn:12deg; opacity:.6; }
.equipment-card:nth-child(2n) { animation-delay:-2.3s; }
.equipment-card:nth-child(3n) { animation-delay:-4.6s; }
.team-center { z-index:5; }
.is-paused .equipment-card { animation-play-state:paused; }
@keyframes service-float { 0%,100% { translate:0 0; } 33% { translate:3px -7px; } 66% { translate:-2px -3px; } }
.service-card { scroll-margin-top:130px; overflow-wrap:anywhere; }
.service-card:target { border-color:#f6c22099; box-shadow:0 0 0 3px #f6c22015; }
@media(max-width:1100px) {
  .equipment-card { width:154px; height:164px; margin-left:-77px; margin-top:-82px; }
  .equipment-name { font-size:15px; }
  .equipment-card[data-slot='0'] { --x:-370px; }.equipment-card[data-slot='1'] { --x:-215px; }
  .equipment-card[data-slot='3'] { --x:215px; }.equipment-card[data-slot='4'] { --x:370px; }
}
@media(max-width:800px) {
  .brand-official img { width:38px; height:38px; }
  .brand-official .brand-name { font-size:21px; }
  .showcase { height:360px; }
  .team-center { width:220px; height:275px; bottom:85px; }
  .team-signature { bottom:72px; }
  .equipment-card { width:140px; height:126px; top:266px; margin:-63px 0 0 -70px; border-radius:22px; }
  .equipment-card-content { padding:12px 10px; gap:7px; }
  .equipment-card img { width:46px; height:46px; }
  .equipment-name { font-size:14px; }
  .equipment-card[data-slot='1'] { --x:-133px; --y:0px; --turn:-4deg; }
  .equipment-card[data-slot='3'] { --x:133px; --y:0px; --turn:4deg; }
  /* На телефоне читаются только две передние карточки; остальные исключены и из Tab. */
  .equipment-card[data-slot='0'],.equipment-card[data-slot='4'] { opacity:0; pointer-events:none; }
  .services-grid .service-main { grid-column:auto; padding:20px 16px; }
  .services-grid .service-main h3 { font-size:23px; }
  .services-grid .service-main p { font-size:14px; }
  .services-grid .service-main .small-label { display:none; }
  .services-grid .service-main .service-link { font-size:12px; }
}
@media(max-width:520px) {
  .equipment-card { width:122px; height:126px; margin-left:-61px; }
  .equipment-card[data-slot='1'] { --x:-98px; }.equipment-card[data-slot='3'] { --x:98px; }
  .equipment-name { font-size:13px; }
  .team-center { width:204px; height:263px; bottom:85px; }
}
@media(max-width:360px) {
  .equipment-card { width:110px; margin-left:-55px; }
  .equipment-card[data-slot='1'] { --x:-83px; }.equipment-card[data-slot='3'] { --x:83px; }
  .equipment-name { font-size:12px; }
  .team-center { width:190px; }
  .services-grid .service-main h3 { font-size:20px; }
}
@media(prefers-reduced-motion:reduce) {
  .equipment-card { animation:none; transition:none; }
}

/* Длинные названия сигнализаций сохраняют читаемый размер и помещаются в две строки. */
@media(min-width:361px) and (max-width:520px) {
  #service-security h3,#service-fire h3 { font-size:20px; }
}

/* Блок для бизнеса: короткие преимущества радиоканала и условия применения.
   Тексты меняются в #business в index.html; одна колонка сохраняет читаемость на телефоне. */
.business-section .business-copy { width:100%; }
.business-section .business-copy>p { max-width:760px; }
.radio-benefits { margin-top:26px; padding-top:24px; border-top:1px solid var(--line); }
.radio-benefits h3 { font-size:24px; letter-spacing:-.025em; }
.business-section .radio-benefits p { max-width:850px; }
.radio-benefits ul { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; list-style:none; margin:22px 0 0; padding:0; color:var(--muted); font-size:15px; line-height:1.65; }
.radio-benefits strong { display:block; margin-bottom:6px; color:var(--text); font-weight:700; }
.business-section .radio-note { font-size:13px; }
.business-copy>.button { margin-top:22px; }
@media(max-width:800px) {
  .radio-benefits ul { grid-template-columns:1fr; gap:16px; }
  .radio-benefits h3 { font-size:22px; }
}

/* Номер аттестации переносится на узком экране, не расширяя страницу. */
.team-credential span { display:block; margin-top:6px; font-size:13px; color:var(--muted); overflow-wrap:anywhere; }

/* МОБИЛЬНАЯ КАРУСЕЛЬ УСЛУГ. 24px оставляют видимым край следующей карточки.
   Высота определяется текстом, без обрезки. На компьютере остаётся исходная сетка. */
.services-controls { display:none; }
@media(max-width:800px) {
  .services-grid { display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding-inline:4px; overscroll-behavior-x:contain; padding:4px 28px 8px 4px; scrollbar-width:thin; scrollbar-color:#8ea3bb55 transparent; }
  .services-grid .service-card { flex:0 0 calc(100% - 12px); min-width:0; padding:22px; border-radius:24px; scroll-snap-align:start; }
  .services-grid .service-card h3 { max-width:none; font-size:25px; line-height:1.2; }
  .services-grid .service-card p { font-size:15px; line-height:1.65; margin:12px 0 22px; }
  .services-grid .service-card .service-top { margin-bottom:14px; }
  .services-grid .service-card .small-label { display:block; font-size:9px; }
  .services-grid .service-card .service-link { margin-top:auto; font-size:13px; padding-top:16px; gap:10px; }
  .services-controls { display:flex; align-items:center; justify-content:flex-end; gap:12px; margin-top:12px; }
  .services-hint { margin-right:auto; font-size:13px; color:var(--muted); }
  .services-controls button { width:44px; height:44px; border-radius:50%; border:1px solid var(--line); background:var(--panel); color:var(--text); font-size:20px; }
  .services-controls button:disabled { opacity:.35; }
  #serviceCount { min-width:36px; text-align:center; font-size:13px; color:var(--muted); }
}
@media(max-width:360px) {
  .services-grid .service-card { padding:18px; }
  .services-grid .service-card h3 { font-size:23px; }
}
