/* ============================================================
   lomaem.minsk.by — внутренние страницы (услуги, цены, контакты)
   Префикс .ccx-  Шрифты/цвета — из main.css (--ccf-*)
   ============================================================ */

/* ---------- Шапка: выпадающее меню «Услуги» ---------- */
.ccf-nav .ccx-dd{position:relative;display:flex;align-items:center}
.ccf-nav .ccx-dd>a{display:inline-flex;align-items:center;gap:6px}
.ccf-nav .ccx-dd>a svg{width:10px;height:10px;transition:transform .25s}
.ccf-nav .ccx-dd:hover>a svg,.ccf-nav .ccx-dd:focus-within>a svg{transform:rotate(180deg)}
.ccx-dd-panel{
	position:absolute;top:100%;left:-28px;z-index:120;
	width:min(680px,80vw);padding:28px 28px 24px;margin-top:22px;
	background:#fff;border-top:3px solid var(--ccf-red);
	box-shadow:0 24px 48px -12px rgba(10,10,10,.22);
	display:grid;grid-template-columns:1fr 1fr;gap:2px 28px;
	opacity:0;visibility:hidden;transform:translateY(8px);
	transition:opacity .2s ease,transform .25s cubic-bezier(.2,.8,.2,1),visibility .2s;
}
.ccx-dd-panel::before{content:'';position:absolute;left:0;right:0;top:-25px;height:25px}
.ccf-nav .ccx-dd:hover .ccx-dd-panel,.ccf-nav .ccx-dd:focus-within .ccx-dd-panel{opacity:1;visibility:visible;transform:none}
.ccf-nav .ccx-dd-panel a{
	display:flex;justify-content:space-between;align-items:baseline;gap:16px;
	padding:11px 0;border-bottom:1px solid #efefed;font-size:14px;font-weight:600;letter-spacing:0;
}
.ccf-nav .ccx-dd-panel a::after{display:none}
.ccf-nav .ccx-dd-panel a small{font-size:12px;font-weight:600;color:var(--ccf-muted);white-space:nowrap}
.ccf-nav .ccx-dd-panel a:hover small{color:var(--ccf-red)}
.ccf-nav .ccx-dd-panel .ccx-dd-all{grid-column:1/-1;border-bottom:0;margin-top:10px;padding:0;justify-content:flex-start;color:var(--ccf-red);font-size:13px;letter-spacing:.06em;text-transform:uppercase}
.ccf-nav a.ccx-current{color:var(--ccf-red)}
.ccx-sub-toggle{display:none}

@media (max-width:1100px){
	.ccf-nav.ccf-mobile-open{max-height:calc(100vh - 72px);overflow-y:auto;overscroll-behavior:contain}
	.ccf-nav .ccx-dd{display:block;width:100%;border-bottom:1px solid #f0f0f0}
	.ccf-nav .ccx-dd>a{border-bottom:0 !important;width:auto !important}
	.ccf-nav .ccx-dd>a svg{display:none}
	.ccx-sub-toggle{
		display:flex;align-items:center;justify-content:center;
		position:absolute;right:0;top:4px;width:44px;height:44px;
		background:none !important;border:0 !important;padding:0;cursor:pointer;color:var(--ccf-text);
	}
	.ccx-sub-toggle svg{width:14px;height:14px;transition:transform .25s}
	.ccx-dd.ccx-open .ccx-sub-toggle svg{transform:rotate(180deg)}
	.ccx-dd-panel{
		position:static;width:auto;margin:0;padding:0 0 10px 14px;box-shadow:none;border-top:0;
		display:none;grid-template-columns:1fr;opacity:1;visibility:visible;transform:none;transition:none;
	}
	.ccx-dd-panel::before{display:none}
	.ccf-nav .ccx-dd:hover .ccx-dd-panel{display:none}
	.ccf-nav .ccx-dd.ccx-open .ccx-dd-panel{display:grid}
	.ccf-nav .ccx-dd-panel a{padding:10px 0 !important;font-size:14px}
	.ccf-nav .ccx-dd-panel .ccx-dd-all{margin-top:6px;padding:10px 0 !important}
}
@media (max-width:640px){.ccf-nav.ccf-mobile-open{max-height:calc(100vh - 64px)}}

/* ---------- Общие ---------- */
.ccx{font-family:'Manrope',sans-serif;color:var(--ccf-text)}
.ccx ::selection{background:var(--ccf-red);color:#fff}
.ccx a:focus-visible,.ccx button:focus-visible,.ccx input:focus-visible,.ccx select:focus-visible,.ccx textarea:focus-visible{outline:2px solid var(--ccf-red);outline-offset:3px}
.ccx-h2{
	font-family:'Manrope',sans-serif;font-weight:800;text-transform:uppercase;
	font-size:clamp(28px,3.2vw,42px);line-height:1.04;letter-spacing:-.01em;
	color:var(--ccf-black);margin:0 0 20px;text-wrap:balance;max-width:20ch;
}
.ccx-h2 span{color:var(--ccf-red)}
.ccx-h2.ccx-light{color:#fff}
.ccx-sub{font-size:16px;line-height:1.7;color:var(--ccf-muted);max-width:60ch;margin:0 0 40px;text-wrap:pretty}
.ccx-sec{padding:clamp(64px,8vw,104px) 0}
.ccx-sec-gray{background:var(--ccf-gray)}
.ccx-sec-dark{background:var(--ccf-black);color:#fff}
.ccx-sec-dark .ccx-sub{color:rgba(255,255,255,.62)}
.ccx-stripe{height:12px;background:repeating-linear-gradient(135deg,var(--ccf-red) 0 14px,var(--ccf-black) 14px 28px)}
.ccx-num{font-family:'Bebas Neue',sans-serif;letter-spacing:.01em;font-variant-numeric:tabular-nums}

/* ---------- Хлебные крошки ---------- */
.ccx-crumbs{display:flex;flex-wrap:wrap;gap:6px 10px;margin:0 0 28px;padding:0;list-style:none;font-size:13px;font-weight:500}
.ccx-crumbs li{display:flex;align-items:center;gap:10px;color:rgba(255,255,255,.5)}
.ccx-crumbs li+li::before{content:'';width:5px;height:5px;border-top:1.5px solid rgba(255,255,255,.35);border-right:1.5px solid rgba(255,255,255,.35);transform:rotate(45deg)}
.ccx-crumbs a{color:rgba(255,255,255,.72);text-decoration:none;transition:color .2s}
.ccx-crumbs a:hover{color:#fff}

/* ---------- Первый экран ---------- */
.ccx-hero{background:var(--ccf-black);color:#fff;position:relative;overflow:hidden}
.ccx-hero-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);min-height:min(78vh,640px)}
.ccx-hero-main{padding:clamp(44px,6vw,80px) clamp(24px,4vw,64px) clamp(40px,5vw,64px) 0;display:flex;flex-direction:column;justify-content:center}
.ccx-hero h1{
	font-family:'Manrope',sans-serif;font-weight:800;text-transform:uppercase;
	font-size:clamp(34px,4.3vw,60px);line-height:1;letter-spacing:-.015em;
	margin:0 0 22px;color:#fff;text-wrap:balance;max-width:16ch;
}
.ccx-hero h1 span{color:var(--ccf-red)}
.ccx-hero-lead{font-size:17px;line-height:1.65;color:rgba(255,255,255,.74);max-width:52ch;margin:0 0 30px;text-wrap:pretty}
.ccx-price{display:flex;align-items:flex-end;gap:18px;margin:0 0 30px;padding:18px 0 0;border-top:1px solid rgba(255,255,255,.14);max-width:520px}
.ccx-price-val{font-family:'Bebas Neue',sans-serif;font-size:clamp(52px,5.4vw,74px);line-height:.8;color:#fff;white-space:nowrap}
.ccx-price-val i{font-style:normal;color:var(--ccf-red);font-size:.46em;margin-right:6px;vertical-align:.12em}
.ccx-price-val small{font-size:.42em;color:rgba(255,255,255,.6);margin-left:4px}
.ccx-price-note{font-size:13px;line-height:1.5;color:rgba(255,255,255,.58);padding-bottom:2px;max-width:30ch}
.ccx-btns{display:flex;gap:12px;flex-wrap:wrap}
.ccx-btns .ccf-btn{min-height:50px}
.ccx-hero-media{position:relative;margin-right:calc(-1 * (var(--ccf-pad) + max(0px, (100vw - var(--ccf-container)) / 2)));min-height:360px;background:#141414}
.ccx-hero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.ccx-hero-media::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,10,10,.55) 0%,rgba(10,10,10,0) 38%)}
.ccx-hero-media .ccx-stripe{position:absolute;left:0;right:0;bottom:0;z-index:2}
.ccx-facts{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.1)}
.ccx-fact{padding:22px 24px 24px 0;font-size:13px;line-height:1.5;color:rgba(255,255,255,.6)}
.ccx-fact+.ccx-fact{padding-left:24px;border-left:1px solid rgba(255,255,255,.1)}
.ccx-fact b{display:block;color:#fff;font-size:15px;font-weight:700;margin-bottom:2px}

/* ---------- Навигация по странице ---------- */
.ccx-toc{position:sticky;top:72px;z-index:50;background:#fff;border-bottom:1px solid #ececea}
.ccx-toc-in{display:flex;gap:30px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none}
.ccx-toc-in::-webkit-scrollbar{display:none}
.ccx-toc a{flex:0 0 auto;padding:17px 0 15px;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ccf-muted);text-decoration:none;border-bottom:2px solid transparent;transition:color .2s,border-color .2s}
.ccx-toc a:hover,.ccx-toc a.ccx-on{color:var(--ccf-black);border-bottom-color:var(--ccf-red)}
.ccx-anchor{scroll-margin-top:150px}

/* ---------- Смета-калькулятор ---------- */
.ccx-est{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}
.ccx-sheet{background:#fff;padding:clamp(22px,3vw,40px)}
.ccx-sheet-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;padding-bottom:16px;border-bottom:2px solid var(--ccf-black);margin-bottom:6px}
.ccx-sheet-head b{font-size:13px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.ccx-sheet-head span{font-size:12px;color:var(--ccf-muted)}
.ccx-row{display:grid;grid-template-columns:minmax(0,1fr) auto 104px;gap:14px;align-items:center;padding:13px 0;border-bottom:1px solid #ececea}
.ccx-row-cat{padding:22px 0 6px;border:0;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--ccf-muted)}
.ccx-row-name{display:flex;align-items:baseline;gap:10px;font-size:15px;line-height:1.4;min-width:0}
.ccx-row-name::after{content:'';flex:1;min-width:20px;border-bottom:1.5px dotted #c9c9c6;transform:translateY(-4px)}
.ccx-row-price{font-size:15px;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}
.ccx-row-price small{font-weight:500;color:var(--ccf-muted);font-size:12px;margin-left:3px}
.ccx-qty{display:flex;align-items:center;border:1.5px solid #dcdcd9;background:#fafaf9;height:40px;transition:border-color .2s}
.ccx-qty:focus-within{border-color:var(--ccf-red);background:#fff}
.ccx-qty input{width:100%;min-width:0;height:100%;border:0 !important;background:transparent !important;padding:0 6px 0 10px !important;font:600 15px/1 'Manrope',sans-serif;color:var(--ccf-text);outline:none !important;box-shadow:none !important;-moz-appearance:textfield;appearance:textfield;border-radius:0 !important}
.ccx-qty input::-webkit-outer-spin-button,.ccx-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.ccx-qty span{padding-right:10px;font-size:12px;color:var(--ccf-muted);white-space:nowrap}
.ccx-row-na{font-size:12px;color:var(--ccf-muted);text-align:right}
.ccx-total{position:sticky;top:150px;background:var(--ccf-black);color:#fff;padding:30px 28px}
.ccx-total-lbl{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.55)}
.ccx-total-val{font-family:'Bebas Neue',sans-serif;font-size:64px;line-height:1;margin:10px 0 4px;font-variant-numeric:tabular-nums}
.ccx-total-val i{font-style:normal;color:var(--ccf-red);font-size:.5em;margin-right:6px;vertical-align:.45em}
.ccx-total-list{margin:14px 0 18px;padding:14px 0 0;border-top:1px solid rgba(255,255,255,.12);list-style:none;font-size:13px;line-height:1.5;color:rgba(255,255,255,.7);min-height:22px}
.ccx-total-list li{display:flex;justify-content:space-between;gap:12px;padding:3px 0}
.ccx-total-list li b{color:#fff;font-weight:700;white-space:nowrap}
.ccx-total-empty{color:rgba(255,255,255,.45)}
.ccx-total p{font-size:12px;line-height:1.55;color:rgba(255,255,255,.5);margin:0 0 18px}
.ccx-total .ccf-btn{width:100%}
.ccx-est-foot{margin-top:18px;font-size:13px;color:var(--ccf-muted);line-height:1.6;max-width:70ch}

/* ---------- Текст статьи ---------- */
.ccx-article{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:clamp(32px,5vw,72px);align-items:start}
.ccx-prose{max-width:70ch;font-size:16.5px;line-height:1.75;color:#2a2a2a}
.ccx-prose>*:first-child{margin-top:0}
.ccx-prose h2{font-family:'Manrope',sans-serif;font-weight:800;font-size:clamp(24px,2.4vw,31px);line-height:1.15;letter-spacing:-.01em;color:var(--ccf-black);margin:56px 0 16px;text-wrap:balance}
.ccx-prose h3{font-family:'Manrope',sans-serif;font-weight:800;font-size:19px;line-height:1.3;color:var(--ccf-black);margin:32px 0 10px}
.ccx-prose p{margin:0 0 16px;text-wrap:pretty}
.ccx-prose a{color:var(--ccf-red);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.ccx-prose a:hover{text-decoration-thickness:2px}
.ccx-prose ul,.ccx-prose ol{margin:0 0 18px;padding:0;list-style:none}
.ccx-prose li{position:relative;padding-left:26px;margin:0 0 9px}
.ccx-prose ul li::before{content:'';position:absolute;left:2px;top:.72em;width:12px;height:2px;background:var(--ccf-red)}
.ccx-prose ol{counter-reset:o}
.ccx-prose ol li{counter-increment:o}
.ccx-prose ol li::before{content:counter(o);position:absolute;left:0;top:.1em;font:700 13px/1.75 'Manrope',sans-serif;color:var(--ccf-red)}
.ccx-prose strong{color:var(--ccf-black)}
.ccx-lede{font-size:19px;line-height:1.65;color:var(--ccf-black);font-weight:500;margin:0 0 24px !important}
.ccx-aside{position:sticky;top:150px;display:grid;gap:16px}
.ccx-card-call{background:var(--ccf-red);color:#fff;padding:28px 26px}
.ccx-card-call b{display:block;font-size:20px;font-weight:800;line-height:1.2;margin-bottom:8px;text-transform:uppercase}
.ccx-card-call p{font-size:14px;line-height:1.6;color:rgba(255,255,255,.86);margin:0 0 18px}
.ccx-card-call a.ccx-tel{display:block;font-family:'Bebas Neue',sans-serif;font-size:34px;line-height:1;color:#fff;text-decoration:none;margin-bottom:6px;letter-spacing:.02em}
.ccx-card-call small{display:block;font-size:12px;color:rgba(255,255,255,.75);margin-bottom:18px}
.ccx-card-call .ccf-btn{width:100%}
.ccx-card-links{background:var(--ccf-gray);padding:22px 24px}
.ccx-card-links b{display:block;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--ccf-muted);margin-bottom:8px}
.ccx-card-links a{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #e2e2df;font-size:14px;font-weight:600;color:var(--ccf-text);text-decoration:none;transition:color .2s}
.ccx-card-links a:last-child{border-bottom:0}
.ccx-card-links a:hover{color:var(--ccf-red)}

/* Таблица в тексте */
.ccx-table-wrap{margin:8px 0 26px;overflow-x:auto;overflow-y:hidden}
.ccx-table{width:100%;border-collapse:collapse;font-size:14.5px;line-height:1.5;min-width:520px}
.ccx .ccx-table,.ccx .ccx-table th,.ccx .ccx-table td{border:0;background:transparent}
.ccx .ccx-table tbody>tr:nth-child(odd)>td,.ccx .ccx-table tbody>tr:hover>td{background:transparent}
.ccx .ccx-table th{text-align:left;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--ccf-muted);padding:0 16px 10px 0;border-bottom:2px solid var(--ccf-black)}
.ccx .ccx-table td{padding:13px 16px 13px 0;border-bottom:1px solid #e6e6e3;vertical-align:top}
.ccx-table td:first-child{font-weight:700;color:var(--ccf-black)}

/* Предупреждение */
.ccx-warn{margin:28px 0;background:var(--ccf-black);color:rgba(255,255,255,.82);position:relative;padding:26px 26px 24px 78px;font-size:15px;line-height:1.65}
.ccx-warn::before{content:'';position:absolute;top:0;left:0;right:0;height:6px;background:repeating-linear-gradient(135deg,var(--ccf-red) 0 10px,var(--ccf-black) 10px 20px)}
.ccx-warn svg{position:absolute;left:26px;top:28px;width:30px;height:30px;color:var(--ccf-red)}
.ccx-warn b{display:block;color:#fff;font-size:16px;margin-bottom:4px}
.ccx-warn p{margin:0 !important}

/* ---------- Этапы ---------- */
.ccx-steps{display:grid;grid-template-columns:repeat(var(--n,4),1fr);gap:0;counter-reset:s;border-top:2px solid var(--ccf-black)}
.ccx-step{padding:26px 26px 6px 0;position:relative}
.ccx-step+.ccx-step{padding-left:26px;border-left:1px solid #dcdcd9}
.ccx-step-n{font-family:'Bebas Neue',sans-serif;font-size:58px;line-height:.9;color:var(--ccf-red);margin-bottom:14px}
.ccx-step b{display:block;font-size:17px;font-weight:800;line-height:1.3;margin-bottom:8px;color:var(--ccf-black)}
.ccx-step p{font-size:14.5px;line-height:1.65;color:var(--ccf-muted);margin:0}
.ccx-sec-dark .ccx-steps{border-top-color:#fff}
.ccx-sec-dark .ccx-step+.ccx-step{border-left-color:rgba(255,255,255,.14)}
.ccx-sec-dark .ccx-step b{color:#fff}
.ccx-sec-dark .ccx-step p{color:rgba(255,255,255,.6)}

/* ---------- Видео с объектов ---------- */
.ccx-videos{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.ccx-head-row{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:36px;flex-wrap:wrap}
.ccx-head-row .ccx-h2,.ccx-head-row .ccx-sub{margin-bottom:0}
.ccx-link{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--ccf-black);text-decoration:none;padding:10px 0;border-bottom:2px solid var(--ccf-red);transition:gap .25s}
.ccx-link:hover{gap:16px;color:var(--ccf-black)}
.ccx-link svg{width:16px;height:16px}
.ccx-sec-dark .ccx-link{color:#fff}

/* ---------- Список услуг (индекс) ---------- */
.ccx-index{border-top:2px solid var(--ccf-black)}
.ccx-index a{
	display:grid;grid-template-columns:64px minmax(0,1fr) 180px 150px 40px;align-items:center;gap:24px;
	padding:20px 0;border-bottom:1px solid #dcdcd9;text-decoration:none;color:var(--ccf-black);
	transition:background .25s,padding .25s;position:relative;
}
.ccx-index a:hover{background:#fff;padding-left:14px;padding-right:14px}
.ccx-index-thumb{width:64px;height:64px;object-fit:cover;display:block;filter:grayscale(1) contrast(1.05);transition:filter .3s}
.ccx-index a:hover .ccx-index-thumb{filter:none}
.ccx-index-t{font-size:clamp(18px,1.8vw,24px);font-weight:800;line-height:1.15;text-transform:uppercase;letter-spacing:-.005em}
.ccx-index-d{font-size:13.5px;line-height:1.5;color:var(--ccf-muted)}
.ccx-index-p{font-family:'Bebas Neue',sans-serif;font-size:28px;line-height:1;text-align:right;white-space:nowrap}
.ccx-index-p small{font-family:'Manrope',sans-serif;font-size:12px;color:var(--ccf-muted);margin-left:3px}
.ccx-index-a{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:var(--ccf-black);color:#fff;transition:background .25s}
.ccx-index-a svg{width:16px;height:16px}
.ccx-index a:hover .ccx-index-a{background:var(--ccf-red)}
.ccx-index a:hover .ccx-index-t{color:var(--ccf-red)}
.ccx-sec-gray .ccx-index a:hover{background:#fff}

/* ---------- FAQ (поверх ccf-faq) ---------- */
.ccx .ccf-faq-q{font-size:16px}
.ccx .ccf-faq-grid>*{min-width:0}
.ccf-main .ccf-faq-q,.ccf-main .ccf-faq-q:hover,.ccf-main .ccf-faq-q:focus{white-space:normal}
@media (max-width:1100px){.ccx .ccf-faq-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){.ccx-h2{font-size:clamp(24px,7vw,30px)}}

/* ---------- Заявка ---------- */
.ccx-lead{background:var(--ccf-red);color:#fff;position:relative;overflow:hidden}
.ccx-lead-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,460px);gap:clamp(32px,6vw,96px);align-items:center;padding:clamp(56px,7vw,92px) 0}
.ccx-lead h2{font-family:'Manrope',sans-serif;font-weight:800;text-transform:uppercase;font-size:clamp(28px,3.4vw,46px);line-height:1.02;letter-spacing:-.01em;margin:0 0 18px;color:#fff;text-wrap:balance;max-width:16ch}
.ccx-lead p{font-size:16px;line-height:1.65;color:rgba(255,255,255,.88);margin:0 0 26px;max-width:46ch}
.ccx-lead-tel{display:inline-block;font-family:'Bebas Neue',sans-serif;font-size:clamp(40px,4vw,54px);line-height:1;color:#fff;text-decoration:none;letter-spacing:.02em;border-bottom:2px solid rgba(255,255,255,.4);transition:border-color .2s}
.ccx-lead-tel:hover{color:#fff;border-bottom-color:#fff}
.ccx-lead-hours{display:block;margin-top:10px;font-size:13px;color:rgba(255,255,255,.75)}
.ccx-form{background:#fff;color:var(--ccf-text);padding:32px 30px 28px;box-shadow:0 30px 60px -20px rgba(60,0,0,.45)}
.ccx-form b{display:block;font-size:20px;font-weight:800;margin-bottom:6px;line-height:1.25}
.ccx-lead .ccx-form p{font-size:14px;color:var(--ccf-muted);margin:0 0 18px;line-height:1.5;max-width:none}
.ccx-field{margin-bottom:12px}
.ccx-field label{display:block;font-size:12px;font-weight:700;letter-spacing:.04em;color:var(--ccf-muted);margin-bottom:6px}
.ccx-field input,.ccx-field textarea{width:100%;padding:13px 14px !important;border:1.5px solid #dcdcd9 !important;border-radius:0 !important;background:#fafaf9 !important;font:500 16px/1.4 'Manrope',sans-serif !important;color:var(--ccf-text) !important;outline:none !important;box-shadow:none !important;transition:border-color .15s}
.ccx-field input:focus,.ccx-field textarea:focus{border-color:var(--ccf-red) !important;background:#fff !important}
.ccx-field textarea{min-height:84px;resize:vertical}
.ccx-hp{position:absolute !important;left:-9999px !important;width:1px;height:1px;overflow:hidden}
.ccx-form button[type=submit]{width:100%;min-height:52px;margin-top:4px}
.ccx-form button[disabled]{opacity:.6;cursor:wait;transform:none}
.ccx-lead .ccx-form .ccx-form-note{font-size:11.5px;color:#767676;margin:12px 0 0;line-height:1.5}
.ccx-form-err{display:none;background:#fdecec;color:#a81e1e;font-size:13.5px;padding:10px 12px;margin-bottom:12px}
.ccx-form-err.is-on{display:block}
.ccx-form-ok{display:none;text-align:left}
.ccx-form.is-sent .ccx-form-body{display:none}
.ccx-form.is-sent .ccx-form-ok{display:block}
.ccx-form-ok svg{width:44px;height:44px;color:var(--ccf-red);margin-bottom:12px}

/* ---------- Контакты ---------- */
.ccx-contacts{display:grid;grid-template-columns:repeat(3,1fr);border-top:2px solid var(--ccf-black)}
.ccx-contact{padding:28px 28px 30px 0}
.ccx-contact+.ccx-contact{padding-left:28px;border-left:1px solid #dcdcd9}
.ccx-contact span{display:block;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--ccf-muted);margin-bottom:12px}
.ccx-contact a,.ccx-contact b{display:block;font-size:clamp(20px,2vw,26px);font-weight:800;color:var(--ccf-black);text-decoration:none;line-height:1.25;word-break:break-word}
.ccx-contact a:hover{color:var(--ccf-red)}
.ccx-contact p{font-size:14px;color:var(--ccf-muted);margin:8px 0 0;line-height:1.55}

/* ---------- Прайс целиком ---------- */
.ccx-price-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}

/* ---------- Адаптив ---------- */
@media (max-width:1300px){
	.ccx-index a{grid-template-columns:56px minmax(0,1fr) 150px 130px 40px;gap:18px}
	.ccx-index-thumb{width:56px;height:56px}
}
@media (max-width:1100px){
	.ccx-toc{top:72px}
	.ccx-est,.ccx-article{grid-template-columns:minmax(0,1fr)}
	.ccx-total,.ccx-aside{position:static}
	.ccx-aside{grid-template-columns:1fr 1fr}
	.ccx-videos{grid-template-columns:repeat(2,1fr)}
	.ccx-steps{grid-template-columns:repeat(2,1fr);border-top:0}
	.ccx-step,.ccx-step+.ccx-step{padding:24px 24px 18px 0;border-left:0;border-top:2px solid var(--ccf-black)}
	.ccx-step:nth-child(2n){padding-left:24px;border-left:1px solid #dcdcd9}
	.ccx-sec-dark .ccx-step,.ccx-sec-dark .ccx-step+.ccx-step{border-top-color:#fff}
	.ccx-index a{grid-template-columns:56px minmax(0,1fr) 120px 40px}
	.ccx-index-d{display:none}
	.ccx-price-groups{grid-template-columns:1fr}
}
@media (max-width:900px){
	.ccx-hero-grid{grid-template-columns:1fr;min-height:0}
	.ccx-hero-main{padding:40px 0 34px}
	.ccx-hero-media{order:-1;margin:0 calc(var(--ccf-pad) * -1);min-height:0;aspect-ratio:16/9}
	.ccx-hero-media::after{background:linear-gradient(0deg,rgba(10,10,10,.6) 0%,rgba(10,10,10,0) 40%)}
	.ccx-facts{grid-template-columns:1fr 1fr}
	.ccx-fact,.ccx-fact+.ccx-fact{padding:18px 16px 18px 0;border-left:0;border-top:1px solid rgba(255,255,255,.1)}
	.ccx-fact:nth-child(2n){padding-left:16px;border-left:1px solid rgba(255,255,255,.1)}
	.ccx-lead-grid{grid-template-columns:1fr}
	.ccx-contacts{grid-template-columns:1fr}
	.ccx-contact,.ccx-contact+.ccx-contact{padding:22px 0;border-left:0;border-bottom:1px solid #dcdcd9}
}
@media (max-width:640px){
	.ccx-toc{top:64px}
	.ccx-toc-in{gap:22px}
	.ccx-anchor{scroll-margin-top:130px}
	.ccx-hero h1{font-size:clamp(30px,8.6vw,40px)}
	.ccx-hero-lead{font-size:15.5px}
	.ccx-price{gap:14px;flex-wrap:wrap}
	.ccx-btns .ccf-btn{flex:1 1 100%}
	.ccx-fact{font-size:12px}
	.ccx-fact b{font-size:14px}
	.ccx-sheet{padding:20px 16px;margin:0 calc(var(--ccf-pad) * -1)}
	.ccx-row{grid-template-columns:minmax(0,1fr) 96px;gap:6px 12px}
	.ccx-row-name{grid-column:1/-1;font-size:14.5px}
	.ccx-row-name::after{display:none}
	.ccx-row-price{align-self:center}
	.ccx-row-na{text-align:left}
	.ccx-total{position:sticky;bottom:0;z-index:30;margin:0 calc(var(--ccf-pad) * -1);padding:12px 84px 12px var(--ccf-pad);display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 14px;box-shadow:0 -10px 24px -12px rgba(0,0,0,.45)}
	.ccx-total-lbl{grid-column:1;font-size:10px}
	.ccx-total-val{grid-column:1;font-size:34px;margin:0}
	.ccx-total-list,.ccx-total p{display:none}
	.ccx-total .ccf-btn{grid-column:2;grid-row:1/3;width:auto;padding:12px 14px;font-size:11px;letter-spacing:.06em;line-height:1.25;text-align:center}
	.ccx-prose{font-size:16px}
	.ccx-table{min-width:0}
	.ccx-table thead{display:none}
	.ccx .ccx-table tr{display:block;padding:14px 0;border-bottom:1px solid #e6e6e3}
	.ccx .ccx-table tbody tr:first-child{border-top:2px solid var(--ccf-black)}
	.ccx .ccx-table td{display:grid;grid-template-columns:96px 1fr;gap:12px;padding:3px 0;border:0;font-size:14px}
	.ccx .ccx-table td::before{content:attr(data-label);font-size:10.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--ccf-muted);padding-top:3px}
	.ccx .ccx-table td:first-child{display:block;font-size:15px;padding-bottom:6px}
	.ccx .ccx-table td:first-child::before{display:none}
	.ccx-lede{font-size:17px}
	.ccx-aside{grid-template-columns:1fr}
	.ccx-warn{padding:24px 18px 20px 18px}
	.ccx-warn svg{position:static;display:block;margin-bottom:10px}
	.ccx-videos{gap:10px}
	.ccx-steps{grid-template-columns:1fr}
	.ccx-step,.ccx-step+.ccx-step,.ccx-step:nth-child(2n){padding:20px 0 16px;border-left:0}
	.ccx-step-n{font-size:46px;margin-bottom:8px}
	.ccx-index a{grid-template-columns:48px minmax(0,1fr) 36px;gap:14px;padding:16px 0}
	.ccx-index a:hover{padding-left:0;padding-right:0;background:transparent}
	.ccx-index-thumb{width:48px;height:48px}
	.ccx-index-p{display:none}
	.ccx-index-a{width:36px;height:36px}
	.ccx-index-t{font-size:16px}
	.ccx-form{padding:24px 18px 20px;margin:0 calc(var(--ccf-pad) * -1)}
	.ccx-head-row{margin-bottom:26px}
}
@media (prefers-reduced-motion:reduce){
	.ccx *,.ccx *::before,.ccx *::after{transition:none !important;animation:none !important}
}

/* ---------- Техника ---------- */
.ccx-eqs{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:2px solid #fff}
.ccx-eq{padding:26px 24px 8px 0;display:grid;grid-template-rows:auto 1fr;gap:18px}
.ccx-eq+.ccx-eq{padding-left:24px;border-left:1px solid rgba(255,255,255,.14)}
.ccx-eq img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;filter:grayscale(.25)}
.ccx-eq-n{display:block;font-family:'Bebas Neue',sans-serif;font-size:46px;line-height:.9;color:var(--ccf-red);margin-bottom:10px}
.ccx-eq b{display:block;font-size:16px;font-weight:800;color:#fff;margin-bottom:6px}
.ccx-eq p{font-size:14px;line-height:1.6;color:rgba(255,255,255,.6);margin:0}
@media (max-width:1100px){
	.ccx-eqs{grid-template-columns:1fr 1fr;border-top:0}
	.ccx-eq,.ccx-eq+.ccx-eq{padding:22px 22px 18px 0;border-left:0;border-top:2px solid #fff}
	.ccx-eq:nth-child(2n){padding-left:22px;border-left:1px solid rgba(255,255,255,.14)}
}
@media (max-width:640px){
	.ccx-eqs{grid-template-columns:1fr}
	.ccx-eq,.ccx-eq+.ccx-eq,.ccx-eq:nth-child(2n){padding:20px 0 16px;border-left:0;grid-template-columns:120px 1fr;grid-template-rows:auto;gap:16px}
	.ccx-eq img{aspect-ratio:1/1}
	.ccx-eq-n{font-size:36px}
}
.ccx-videos-all{grid-template-columns:repeat(4,1fr)}

/* Карточки услуг на главной — ссылки на страницы */
a.ccf-service{text-decoration:none;color:#fff;cursor:pointer}
a.ccf-service:hover{color:#fff}
a.ccf-service:focus-visible{outline:2px solid var(--ccf-red);outline-offset:3px}
.ccf-price-foot .ccf-btn-outline{min-height:44px}

/* ---------- Главная: SEO-блок «Демонтаж в Минске под ключ» ---------- */
.ccx-hs{background:var(--ccf-gray)}
.ccx-hs-head{max-width:860px;margin-bottom:44px}
.ccx-hs-lede{font-size:17px;line-height:1.7;color:var(--ccf-text);margin:0}
.ccx-hs-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;margin-bottom:56px}
.ccx-hs h3,.ccx-hs-h3{font-size:22px;font-weight:800;line-height:1.3;color:var(--ccf-black);margin:0 0 14px}
.ccx-hs-h3{margin-bottom:18px}
.ccx-hs-col>p{font-size:15.5px;line-height:1.7;color:var(--ccf-muted);margin:0 0 20px}
.ccx-hs-list{border-top:2px solid var(--ccf-black)}
.ccx-hs-list a{display:grid;grid-template-columns:minmax(0,1fr) 18px;column-gap:14px;align-items:center;padding:13px 0;border-bottom:1px solid #dcdcd9;text-decoration:none;color:var(--ccf-black);transition:padding .25s,color .25s}
.ccx-hs-list a b{font-size:15.5px;font-weight:700;line-height:1.35}
.ccx-hs-list a span{grid-column:1;font-size:13px;color:var(--ccf-muted);line-height:1.4;margin-top:2px}
.ccx-hs-list a svg{grid-column:2;grid-row:1/span 2;width:18px;height:18px;color:var(--ccf-red);transition:transform .25s}
.ccx-hs-list a:hover{color:var(--ccf-red);padding-left:6px}
.ccx-hs-list a:hover svg{transform:translateX(4px)}
.ccx .ccx-hs-price,.ccx .ccx-hs-price td{border:0;background:transparent}
.ccx-hs-price{width:100%;border-collapse:collapse;border-top:2px solid var(--ccf-black);margin:0 0 18px;font-size:15px;line-height:1.45}
.ccx .ccx-hs-price tbody>tr:nth-child(odd)>td,.ccx .ccx-hs-price tbody>tr:hover>td{background:transparent}
.ccx .ccx-hs-price td{padding:11px 12px 11px 0;border-bottom:1px solid #dcdcd9;vertical-align:top;color:var(--ccf-text)}
.ccx .ccx-hs-price td:last-child{text-align:right;white-space:nowrap;font-weight:800;color:var(--ccf-black);padding-right:0}
.ccx-hs .ccx-steps{margin-bottom:56px}
.ccx-hs-why{background:var(--ccf-black);color:#fff;padding:40px 44px}
.ccx-hs-why h3{color:#fff;margin-bottom:22px}
.ccx-hs-why ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 44px}
.ccx-hs-why li{position:relative;padding-left:22px;font-size:15px;line-height:1.65;color:rgba(255,255,255,.72)}
.ccx-hs-why li::before{content:"";position:absolute;left:0;top:.62em;width:9px;height:9px;background:var(--ccf-red)}
.ccx-hs-why li b{color:#fff}
@media (max-width:1100px){
	.ccx-hs-grid{grid-template-columns:minmax(0,1fr);gap:44px}
}
@media (max-width:640px){
	.ccx-hs-head{margin-bottom:32px}
	.ccx-hs-lede{font-size:16px}
	.ccx-hs h3,.ccx-hs-h3{font-size:19px}
	.ccx-hs-why{padding:28px 22px}
	.ccx-hs-why ul{grid-template-columns:minmax(0,1fr)}
	.ccx .ccx-hs-price td{font-size:14px}
}
