/* ============================================================
   ОПТИМУС — светлые секции (Liquid Lux)
   advantages, types, stages, isoblok, portfolio, cases, video,
   services, about, reviews, faq, cta-form, + catalog
   ============================================================ */

/* ---------- Лента доверия (светлая, под hero) ---------- */
.trust { background: var(--paper); border-bottom: 1px solid var(--hair); }
.trust .wrap { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; padding-block: 52px; }
.trust .stat { border-left: 2px solid var(--hair); padding-left: 22px; }
.trust .stat .n { font-family: var(--font-display); font-size: clamp(42px,4.5vw,66px); line-height: 1; color: var(--ink); letter-spacing: -.02em; font-weight: 700; }
.trust .stat .n em { color: var(--aqua-deep); font-style: normal; font-weight: 700; }
.trust .stat .l { font-size: 14.5px; color: var(--ink-soft); margin-top: 11px; max-width: 22ch; line-height: 1.5; }

/* ---------- Преимущества (6 карточек) ---------- */
.adv { background: var(--mist); }
.adv-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.adv-card { background: #fff; border-radius: var(--r-lg); padding: 38px 34px 34px; border: 1px solid var(--hair); box-shadow: var(--shadow-card); transition: transform .5s var(--ease), box-shadow .5s var(--ease); position: relative; overflow: hidden; }
.adv-card:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(8,42,51,.5); }
.adv-card .ic { width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(150deg, rgba(22,188,212,.16), rgba(22,188,212,.06)); display: flex; align-items: center; justify-content: center; color: var(--aqua-deep); margin-bottom: 24px; }
.adv-card .ic svg { width: 30px; height: 30px; }
.adv-card h4 { font-family: var(--font-body); font-weight: 800; font-size: 21px; color: var(--ink); }
.adv-card p { font-size: 15px; color: var(--ink-soft); margin-top: 11px; line-height: 1.55; }
.adv-card .big { position: absolute; top: 22px; right: 28px; font-family: var(--font-display); font-size: 54px; color: rgba(22,188,212,.1); line-height: 1; }

/* ---------- Типы бассейнов (2 карточки) ---------- */
.types { background: var(--paper); }
.types-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 64px; }
.type-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--hair); box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.type-card:hover { transform: translateY(-6px); box-shadow: 0 50px 90px -42px rgba(8,42,51,.55); }
.type-card .media { position: relative; height: 300px; overflow: hidden; }
.type-card .media .ph { position: absolute; inset: 0; transition: transform 1.1s var(--ease-out); }
.type-card:hover .media .ph { transform: scale(1.07); }
.type-card .tag { position: absolute; top: 20px; left: 20px; z-index: 2; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 8px 15px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.type-card .tag.best { background: var(--cta); color: #fff; }
.type-card .body { padding: 34px; display: flex; flex-direction: column; flex: 1; }
.type-card h3 { font-size: 34px; }
.type-card .desc { font-size: 15px; color: var(--ink-soft); margin-top: 12px; }
.type-card .specs { margin-top: 22px; display: flex; flex-direction: column; gap: 0; }
.type-card .specs .sp { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 14.5px; }
.type-card .specs .sp span:first-child { color: var(--ink-soft); }
.type-card .specs .sp span:last-child { font-weight: 700; color: var(--ink); }
.type-card .foot { margin-top: auto; padding-top: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.type-card .price .pl { font-size: 12.5px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: .1em; }
.type-card .price .pv { font-family: var(--font-display); font-size: 36px; color: var(--ink); line-height: 1; margin-top: 4px; }
.type-card .price .pv small { font-size: .5em; color: var(--ink-soft); font-family: var(--font-body); }

/* ---------- Этапы (8-шаговый таймлайн) ---------- */
.stages { background: var(--mist); overflow: hidden; }
.stages-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; }
.stage { background: #fff; border-radius: var(--r-md); padding: 28px 26px 30px; border: 1px solid var(--hair); position: relative; transition: transform .5s var(--ease), box-shadow .5s; min-height: 230px; display: flex; flex-direction: column; }
.stage:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.stage .si { font-family: var(--font-display); font-size: 50px; line-height: 1; color: rgba(22,188,212,.22); transition: color .4s; }
.stage:hover .si { color: var(--aqua); }
.stage h4 { font-family: var(--font-body); font-weight: 800; font-size: 17px; margin-top: 18px; color: var(--ink); }
.stage p { font-size: 14px; color: var(--ink-soft); margin-top: 9px; line-height: 1.55; }
.stage .dur { margin-top: auto; padding-top: 18px; font-size: 12.5px; color: var(--cta-deep); font-weight: 700; letter-spacing: .02em; }

/* ---------- Технология ISOBLOK (тёмный акцентный блок) ---------- */
.tech { background: var(--paper); }
.tech-shell { border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(155deg, var(--deep-2), var(--ink-d)); color: #fff; display: grid; grid-template-columns: 1.05fr .95fr; position: relative; }
.tech-body { padding: clamp(40px,5vw,72px); display: flex; flex-direction: column; justify-content: center; }
.tech-body .eyebrow-row { color: var(--accent); }
.tech-body h2 { color: #fff; font-size: clamp(34px,4.2vw,60px); margin-top: 22px; }
.tech-body .lead { color: rgba(255,255,255,.82); margin-top: 20px; max-width: 44ch; }
.tech-feats { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.tech-feat { display: flex; gap: 13px; align-items: flex-start; }
.tech-feat svg { width: 24px; height: 24px; color: var(--accent); flex: none; margin-top: 2px; }
.tech-feat .tf-t { font-weight: 700; font-size: 15.5px; }
.tech-feat .tf-d { font-size: 13.5px; color: rgba(255,255,255,.66); margin-top: 3px; }
.tech-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.tech-media { position: relative; min-height: 440px; overflow: hidden; }
.tech-media .ph { position: absolute; inset: 0; }
.tech-media .badge { position: absolute; left: 28px; bottom: 28px; z-index: 2; background: rgba(6,22,28,.62); border: 1px solid rgba(140,230,242,.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 14px; padding: 16px 20px; }
.tech-media .badge .bn { font-family: var(--font-display); font-size: 28px; color: var(--accent); }
.tech-media .badge .bl { font-size: 12.5px; color: rgba(255,255,255,.75); margin-top: 3px; }

/* ---------- Портфолио (галерея) ---------- */
.portfolio { background: var(--mist); }
.pf-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 200px; gap: 16px; }
.pf-item { position: relative; border-radius: var(--r-md); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-soft); }
.pf-item .ph { position: absolute; inset: 0; transition: transform 1s var(--ease-out); }
.pf-item:hover .ph { transform: scale(1.08); }
.pf-item::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 42%, rgba(6,34,43,.82)); opacity: .85; transition: opacity .5s; }
.pf-item:hover::after { opacity: 1; }
.pf-cap { position: absolute; left: 0; bottom: 0; z-index: 1; padding: 24px; color: #fff; transform: translateY(8px); opacity: 0; transition: transform .55s var(--ease), opacity .5s; }
.pf-item:hover .pf-cap { transform: translateY(0); opacity: 1; }
.pf-cap .loc { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua-2); }
.pf-cap h4 { font-size: 25px; margin-top: 5px; color: #fff; }
.pf-cap .specs { font-size: 13px; color: rgba(255,255,255,.8); margin-top: 6px; }
.pf-a { grid-column: span 7; grid-row: span 2; }
.pf-b { grid-column: span 5; grid-row: span 2; }
.pf-c { grid-column: span 4; grid-row: span 2; }
.pf-d { grid-column: span 4; grid-row: span 2; }
.pf-e { grid-column: span 4; grid-row: span 2; }

/* ---------- Детальные кейсы (слайдер) ---------- */
.cases { background: var(--paper); overflow: hidden; }
.cases-stage { margin-top: 56px; position: relative; }
.cases-viewport { overflow: hidden; border-radius: var(--r-lg); }
.cases-track { display: flex; transition: transform .7s var(--ease-out); }
.case-slide { flex: 0 0 100%; display: grid; grid-template-columns: 1.05fr .95fr; background: #fff; border: 1px solid var(--hair); border-radius: var(--r-lg); overflow: hidden; }
.case-media { position: relative; min-height: 460px; overflow: hidden; }
.case-media .ph { position: absolute; inset: 0; }
.case-media .ci { position: absolute; top: 22px; left: 22px; z-index: 2; font-family: var(--font-display); font-size: 17px; color: #fff; background: rgba(6,34,43,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 7px 16px; border-radius: 999px; }
.case-body { padding: clamp(34px,4vw,56px); display: flex; flex-direction: column; justify-content: center; }
.case-body .loc { color: var(--aqua-deep); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.case-body h3 { font-size: clamp(28px,3vw,42px); margin-top: 10px; }
.case-rows { margin-top: 26px; display: flex; flex-direction: column; gap: 0; }
.case-rows .cr { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hair); font-size: 14.5px; }
.case-rows .cr .ck { color: var(--ink-soft); text-transform: uppercase; font-size: 12px; letter-spacing: .07em; font-weight: 700; padding-top: 2px; }
.case-rows .cr .cv { color: var(--ink); }
.case-foot { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.case-foot .price { font-family: var(--font-display); font-size: 34px; color: var(--ink); }
.case-foot .price small { font-family: var(--font-body); font-size: .42em; color: var(--ink-soft); }
.cases-nav { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.cases-dots { display: flex; gap: 8px; margin-left: 6px; }
.cases-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--hair-2); transition: all .3s; }
.cases-dots button.active { background: var(--cta); width: 26px; border-radius: 6px; }

/* стрелки (общие для кейсов/отзывов) */
.arrow-btn { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--hair-2); background: #fff; display: flex; align-items: center; justify-content: center; transition: all .3s var(--ease); color: var(--ink); }
.arrow-btn:hover { background: var(--cta); color: #fff; border-color: transparent; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(255,122,51,.5); }
.arrow-btn:disabled { opacity: .35; cursor: default; transform: none; background: #fff; color: var(--ink); box-shadow: none; }
.arrow-btn svg { width: 22px; height: 22px; }

/* ---------- Видео-примеры ---------- */
.video-sec { background: var(--mist); }
.video-grid { margin-top: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.video-grid .vsub { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.video-card { position: relative; border-radius: var(--r-md); overflow: hidden; cursor: pointer; min-height: 240px; box-shadow: var(--shadow-soft); }
.video-card.main { min-height: 498px; }
.video-card .ph { position: absolute; inset: 0; transition: transform 1s var(--ease-out); }
.video-card:hover .ph { transform: scale(1.06); }
.video-card::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(6,34,43,.1), rgba(6,34,43,.66)); }
.video-card .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 2; width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; transition: transform .4s var(--ease), background .3s; }
.video-card.main .play { width: 92px; height: 92px; }
.video-card:hover .play { transform: translate(-50%,-50%) scale(1.12); background: var(--cta); }
.video-card .play svg { width: 28px; height: 28px; color: var(--cta); margin-left: 4px; transition: color .3s; }
.video-card:hover .play svg { color: #fff; }
.video-card .vcap { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 22px; color: #fff; }
.video-card .vcap .vt { font-family: var(--font-display); font-size: 22px; }
.video-card .vcap .vd { font-size: 13px; color: rgba(255,255,255,.8); margin-top: 4px; }

/* ---------- Услуги обслуживания (4 карточки) ---------- */
.services { background: var(--paper); }
.serv-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.serv-card { background: var(--mist); border-radius: var(--r-lg); padding: 34px 30px; border: 1px solid var(--hair); transition: transform .5s var(--ease), box-shadow .5s, background .4s; display: flex; flex-direction: column; }
.serv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); background: #fff; }
.serv-card .ic { width: 56px; height: 56px; border-radius: 15px; background: #fff; box-shadow: var(--shadow-soft); display: flex; align-items: center; justify-content: center; color: var(--aqua-deep); margin-bottom: 22px; }
.serv-card .ic svg { width: 28px; height: 28px; }
.serv-card h4 { font-family: var(--font-body); font-weight: 800; font-size: 19px; }
.serv-card p { font-size: 14px; color: var(--ink-soft); margin-top: 10px; flex: 1; line-height: 1.5; }
.serv-card .sl { margin-top: 20px; font-size: 14px; font-weight: 700; color: var(--cta-deep); display: inline-flex; align-items: center; gap: 7px; }
.serv-card .sl .arrow { transition: transform .35s var(--ease); }
.serv-card:hover .sl .arrow { transform: translateX(4px); }

/* ---------- О компании ---------- */
.about { background: var(--mist); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-copy h2 { font-size: clamp(34px,4.5vw,68px); }
.about-copy .lead { margin-top: 22px; }
.about-copy .princ { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.about-copy .princ .pr { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.about-copy .princ .pr svg { width: 23px; height: 23px; color: var(--aqua-deep); flex: none; margin-top: 1px; }
.about-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fig-card { background: #fff; border: 1px solid var(--hair); border-radius: var(--r-lg); padding: 34px 30px; box-shadow: var(--shadow-soft); }
.fig-card:nth-child(1) { background: linear-gradient(155deg, var(--deep-2), var(--ink-d)); color: #fff; border-color: transparent; }
.fig-card .fn { font-family: var(--font-display); font-size: clamp(42px,4.5vw,60px); line-height: 1; letter-spacing: -.02em; }
.fig-card:nth-child(1) .fn { color: var(--aqua-2); }
.fig-card:not(:nth-child(1)) .fn { color: var(--ink); }
.fig-card .fn em { font-style: normal; }
.fig-card .fl { font-size: 14px; margin-top: 10px; }
.fig-card:nth-child(1) .fl { color: rgba(255,255,255,.78); }
.fig-card:not(:nth-child(1)) .fl { color: var(--ink-soft); }

/* ---------- Отзывы (карусель) ---------- */
.reviews { background: var(--paper); }
.rev-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.rev-rating { display: flex; align-items: center; gap: 16px; background: var(--mist); border: 1px solid var(--hair); border-radius: var(--r-md); padding: 16px 22px; }
.rev-rating .score { font-family: var(--font-display); font-size: 44px; color: var(--ink); line-height: 1; }
.rev-rating .rstars { display: flex; gap: 2px; color: var(--cta); }
.rev-rating .rstars svg { width: 16px; height: 16px; }
.rev-rating .rsrc { font-size: 12.5px; color: var(--ink-soft); margin-top: 3px; }
.rev-stage { margin-top: 52px; position: relative; }
.rev-viewport { overflow: hidden; }
.rev-track { display: flex; gap: 24px; transition: transform .7s var(--ease-out); }
.rev-card { flex: 0 0 calc((100% - 48px)/3); background: var(--mist); border-radius: var(--r-lg); padding: 36px 32px; border: 1px solid var(--hair); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.rev-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); background: #fff; }
.rev-stars { display: flex; gap: 3px; color: var(--cta); margin-bottom: 18px; }
.rev-stars svg { width: 18px; height: 18px; }
.rev-card p { font-size: 17px; line-height: 1.6; color: var(--ink); flex: 1; font-family: var(--font-display); font-weight: 500; }
.rev-card .who { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--hair); }
.rev-card .av { width: 50px; height: 50px; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--aqua), var(--aqua-deep)); display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-display); font-size: 22px; }
.rev-card .who .nm { font-weight: 800; font-size: 15.5px; color: var(--ink); }
.rev-card .who .ro { font-size: 13px; color: var(--ink-dim); }
.rev-nav { display: flex; gap: 12px; margin-top: 38px; }

/* ---------- FAQ (аккордеон) ---------- */
.faq { background: var(--mist); }
.faq-grid { margin-top: 56px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-aside h2 { font-size: clamp(34px,4vw,58px); }
.faq-aside p { margin-top: 18px; color: var(--ink-soft); }
.faq-aside .btn { margin-top: 28px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--hair); border-radius: var(--r-md); overflow: hidden; transition: box-shadow .4s, border-color .4s; }
.faq-item.open { box-shadow: var(--shadow-card); border-color: var(--hair-2); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 26px; text-align: left; font-size: 17.5px; font-weight: 700; color: var(--ink); }
.faq-q .qi { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--hair-2); flex: none; position: relative; transition: all .35s var(--ease); }
.faq-q .qi::before, .faq-q .qi::after { content:""; position:absolute; left:50%; top:50%; width:12px; height:2px; background: var(--ink); border-radius:2px; transform: translate(-50%,-50%); transition: transform .35s var(--ease), background .3s; }
.faq-q .qi::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item.open .faq-q .qi { background: var(--cta); border-color: var(--cta); }
.faq-item.open .faq-q .qi::before, .faq-item.open .faq-q .qi::after { background: #fff; }
.faq-item.open .faq-q .qi::after { transform: translate(-50%,-50%) rotate(0deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a-inner { padding: 0 26px 26px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.65; }

/* ---------- Финальный CTA (тёмный, с водой) ---------- */
.cta { position: relative; background: var(--ink-d); color: #fff; overflow: hidden; }
#cta-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.cta::after { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background: linear-gradient(180deg, rgba(5,15,20,.72), rgba(3,11,15,.6)); }
.cta .wrap { position: relative; z-index: 2; }
.cta-grid { display: grid; grid-template-columns: 1fr 480px; gap: 60px; align-items: center; }
.cta h2 { font-size: clamp(42px,6vw,96px); color: #fff; letter-spacing: -.03em; }
.cta .lead { color: rgba(255,255,255,.84); margin-top: 22px; max-width: 42ch; }
.cta-contacts { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.cta-contacts a { display: flex; align-items: center; gap: 14px; font-size: 17px; }
.cta-contacts .ic { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid var(--line-d); display: flex; align-items: center; justify-content: center; color: var(--accent); flex: none; }
.cta-contacts .ic svg { width: 20px; height: 20px; }
.cta-contacts a .big { font-weight: 800; font-size: 22px; white-space: nowrap; }
.form-card { background: rgba(6,22,28,.5); border: 1px solid rgba(140,230,242,.2); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border-radius: var(--r-lg); padding: 42px 38px; box-shadow: 0 50px 110px -40px #000, inset 0 1px 0 rgba(255,255,255,.07); }
.form-card h3 { font-size: 31px; line-height: 1.08; color: #fff; }
.form-card .fc-sub { color: var(--on-dark-soft); font-size: 14.5px; margin-top: 7px; margin-bottom: 24px; }

/* ============================================================
   КАТАЛОГ
   ============================================================ */
.cat-hero { background: linear-gradient(160deg, var(--deep-2), var(--ink-d)); color: #fff; padding: clamp(130px,16vh,180px) 0 clamp(56px,7vw,90px); position: relative; overflow: hidden; }
.cat-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(60% 80% at 85% 0%, rgba(22,188,212,.18), transparent 60%); }
.cat-hero .wrap { position: relative; }
.cat-hero .eyebrow-row { color: var(--accent); }
.cat-hero h1 { color: #fff; font-size: clamp(44px,7vw,108px); margin-top: 20px; }
.cat-hero .lead { color: rgba(255,255,255,.82); margin-top: 22px; max-width: 52ch; }
.cat-hero .cat-note { margin-top: 28px; display: inline-flex; align-items: center; gap: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--line-d); border-radius: 999px; padding: 12px 22px; font-size: 14.5px; }
.cat-hero .cat-note strong { color: var(--accent); }

.cat-bar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); border-bottom: 1px solid var(--hair); }
.cat-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 16px; flex-wrap: wrap; }
.cat-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.cat-filter { padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--hair-2); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-soft); transition: all .3s var(--ease); }
.cat-filter:hover { border-color: var(--aqua); color: var(--aqua-deep); }
.cat-filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.cat-section { background: var(--mist); }
.cat-cat { margin-top: 56px; }
.cat-cat:first-child { margin-top: 0; }
.cat-cat-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.cat-cat-head .cic { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(150deg, rgba(22,188,212,.16), rgba(22,188,212,.06)); display: flex; align-items: center; justify-content: center; color: var(--aqua-deep); flex: none; }
.cat-cat-head .cic svg { width: 26px; height: 26px; }
.cat-cat-head h2 { font-size: clamp(26px,3vw,40px); }
.cat-cat-head .ccount { margin-left: auto; font-size: 13px; color: var(--ink-dim); font-weight: 600; }
.cat-products { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.prod-card { background: #fff; border: 1px solid var(--hair); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.prod-card .media { position: relative; height: 200px; overflow: hidden; background: var(--mist-2); }
.prod-card .media .ph { position: absolute; inset: 0; transition: transform 1s var(--ease-out); }
.prod-card:hover .media .ph { transform: scale(1.07); }
.prod-card .ptag { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--aqua-deep); text-transform: uppercase; }
.prod-card .pbody { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.prod-card h4 { font-family: var(--font-body); font-weight: 800; font-size: 17px; line-height: 1.3; }
.prod-card .pdesc { font-size: 14px; color: var(--ink-soft); margin-top: 8px; flex: 1; line-height: 1.5; }
.prod-card .pfoot { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prod-card .pprice { font-size: 12px; color: var(--ink-dim); }
.prod-card .pprice strong { display: block; font-family: var(--font-display); font-size: 22px; color: var(--ink); }
.prod-card .pbtn { padding: 11px 18px; border-radius: 999px; background: var(--mist); color: var(--ink); font-size: 13.5px; font-weight: 700; transition: all .3s; white-space: nowrap; }
.prod-card .pbtn:hover { background: var(--cta); color: #fff; }
.cat-cta { margin-top: 64px; border-radius: var(--r-lg); background: linear-gradient(150deg, var(--aqua), var(--aqua-deep)); color: #fff; padding: clamp(40px,5vw,68px); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cat-cta h3 { color: #fff; font-size: clamp(28px,3.4vw,48px); max-width: 18ch; }
.cat-cta p { color: rgba(255,255,255,.85); margin-top: 12px; max-width: 44ch; }

/* ---------- адаптив (секции) ---------- */
@media (max-width: 1080px) {
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .stages-track { grid-template-columns: repeat(2,1fr); }
  .tech-shell { grid-template-columns: 1fr; }
  .tech-media { min-height: 320px; }
  .case-slide { grid-template-columns: 1fr; }
  .case-media { min-height: 320px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-card.main { min-height: 300px; }
  .serv-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .rev-card { flex-basis: calc((100% - 24px)/2); }
  .cat-products { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 760px) {
  .trust .wrap { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .adv-grid { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: 1fr; }
  .stages-track { grid-template-columns: 1fr; }
  .tech-feats { grid-template-columns: 1fr; }
  .serv-grid { grid-template-columns: 1fr; }
  .about-figures { grid-template-columns: 1fr 1fr; }
  .pf-grid { grid-auto-rows: 150px; }
  .pf-a,.pf-b,.pf-c,.pf-d,.pf-e { grid-column: span 12; }
  .rev-card { flex-basis: 100%; }
  .case-rows .cr { grid-template-columns: 110px 1fr; }
  .cat-products { grid-template-columns: 1fr 1fr; }
  .cat-cta { flex-direction: column; align-items: flex-start; }

  /* шапка каталога + липкий фильтр на телефоне */
  .cat-bar .wrap { flex-direction: column; align-items: stretch; gap: 14px; }
  .cat-filters { flex-wrap: nowrap; overflow-x: auto; min-width: 0; max-width: 100%; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .cat-filters::-webkit-scrollbar { display: none; }
  .cat-filter { white-space: nowrap; flex: none; }
  .cat-bar .btn { width: 100%; justify-content: center; }
  .cat-hero .cat-note { font-size: 13.5px; align-items: flex-start; }
  .cat-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 460px) {
  .cat-products { grid-template-columns: 1fr; }
  .about-figures { grid-template-columns: 1fr; }
}
