/* ==========================================================================
   Конструктор сторінок послуг Cogerent — формат для великих текстів.
   Фірмові кольори сайту: помаранчевий #D64107, сірий #8B8A8A, шрифт Roboto.
   Принципи: короткий перший екран, зміст сторінки, читабельна колонка тексту,
   блоки «Коротко», згортання довгих текстів, порівняльні таблиці.
   ========================================================================== */
.cogerent-service-flex {
	--cs-orange: #D64107;
	--cs-orange-dark: #B53505;
	--cs-orange-soft: #FCEEE8;
	--cs-gray: #8B8A8A;
	--cs-light: #F6F5F4;
	--cs-line: #E4E1DE;
	--cs-text: #171717;
	--cs-text-soft: #4A4846;
	--cs-muted: #77746F;
	--cs-radius: 14px;
	--cs-font: Roboto, Arial, Helvetica, sans-serif;
	--cs-fs: 17px;      /* увесь основний текст */
	--cs-lh: 1.7;
	--cs-fs-sm: 14px;   /* лише дрібні мітки: над заголовками, чипи, підписи */
	--cs-lh-sm: 1.5;
	--cs-fs-h3: 20px;
	--cs-lh-h: 1.25;
	color: var(--cs-text);
	font-family: var(--cs-font);
	overflow: clip;
	-webkit-font-smoothing: antialiased;
}
.cogerent-service-flex *, .cogerent-service-flex *::before, .cogerent-service-flex *::after { box-sizing: border-box; }
.cogerent-service-flex section { padding: 64px 0; background: #fff; scroll-margin-top: 70px; }
.cogerent-service-flex section:nth-of-type(even) { background: var(--cs-light); }
.cogerent-service-flex .wrap { width: min(1170px, calc(100% - 40px)); margin: 0 auto; }
.cogerent-service-flex h1, .cogerent-service-flex h2, .cogerent-service-flex h3, .cogerent-service-flex p { margin-top: 0; text-transform: none; }
.cogerent-service-flex h2, .cogerent-service-flex h3 { color: var(--cs-text); font-family: inherit; }
.cogerent-service-flex h3 { font-weight: 700; margin-bottom: 10px; }
.cogerent-service-flex img { display: block; width: 100%; height: auto; }
.cogerent-service-flex a { color: var(--cs-orange); }

/* Заголовки секцій: мітка + заголовок звичайним регістром */
.cogerent-service-flex .section-heading-bar { margin: 0 0 22px; max-width: 820px; }
.cogerent-service-flex .kicker { color: var(--cs-orange); font-weight: 700; margin: 0 0 10px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.cogerent-service-flex .kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.cogerent-service-flex .section-heading-bar .headline { color: var(--cs-text); font-weight: 700; margin: 0; text-transform: none; text-wrap: balance; }
.cogerent-service-flex .lede { color: var(--cs-text-soft); margin: 0 0 28px; max-width: 760px; }
.cogerent-service-flex .lede p:last-child { margin-bottom: 0; }

/* Текст: зручна ширина рядка, ритм абзаців, списки */
.cogerent-service-flex .typography p, .cogerent-service-flex .block-body p { margin: 0 0 16px; }
.cogerent-service-flex .typography > :last-child { margin-bottom: 0; }
.cogerent-service-flex .typography h3, .cogerent-service-flex .block-body h3 { margin: 30px 0 12px; }
.cogerent-service-flex .typography h3:first-child { margin-top: 0; }
.cogerent-service-flex .typography ul, .cogerent-service-flex .list-block ul, .cogerent-service-flex .alarm ul { list-style: none; margin: 0 0 16px; padding: 0; }
.cogerent-service-flex .typography li, .cogerent-service-flex .list-block li, .cogerent-service-flex .alarm li { padding-left: 26px; position: relative; }
.cogerent-service-flex .typography li + li, .cogerent-service-flex .list-block li + li, .cogerent-service-flex .alarm li + li { margin-top: 8px; }
.cogerent-service-flex .typography li::before, .cogerent-service-flex .list-block li::before, .cogerent-service-flex .alarm li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--cs-orange); }
.cogerent-service-flex .typography strong, .cogerent-service-flex .typography b { font-weight: 700; color: var(--cs-text); }
.cogerent-service-flex .block-body { color: var(--cs-text-soft); max-width: 780px; }
.cogerent-service-flex .np-article .block-body, .cogerent-service-flex .np-article .faq-list, .cogerent-service-flex .np-article .lede { max-width: 820px; }

/* Блок «Коротко» */
.cogerent-service-flex .np-summary { background: var(--cs-orange-soft); border-left: 4px solid var(--cs-orange); border-radius: 0 var(--cs-radius) var(--cs-radius) 0; margin: 0 0 28px; max-width: 780px; padding: 18px 22px; }
.cogerent-service-flex .np-summary__title { font-weight: 700; margin: 0 0 8px; text-transform: uppercase; color: var(--cs-orange-dark); }
.cogerent-service-flex .np-summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cogerent-service-flex .np-summary li { padding-left: 26px; position: relative; color: var(--cs-text); font-weight: 500; }
.cogerent-service-flex .np-summary li::before { content: "✓"; position: absolute; left: 0; color: var(--cs-orange); font-weight: 700; }

/* «Читати повністю» */
.cogerent-service-flex .np-long.is-collapsed { max-height: 380px; overflow: hidden; position: relative; }
.cogerent-service-flex .np-long.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.cogerent-service-flex section:nth-of-type(even) .np-long.is-collapsed::after { background: linear-gradient(rgba(246,245,244,0), var(--cs-light)); }
.cogerent-service-flex .np-more { background: none; border: 1.5px solid var(--cs-text); border-radius: 30px; color: var(--cs-text); cursor: pointer; font-weight: 700; margin-top: 14px; padding: 11px 22px; }
.cogerent-service-flex .np-more::after { content: " ↓"; }
.cogerent-service-flex .np-more[aria-expanded="true"]::after { content: " ↑"; }
.cogerent-service-flex .np-more:hover { border-color: var(--cs-orange); color: var(--cs-orange); }

/* Кнопки */
.cogerent-service-flex .btn-cta, .cogerent-service-flex .hero-btns a, .cogerent-service-flex .book-form input[type="submit"], .cogerent-service-flex .book-form .wpcf7-submit {
	align-items: center; background: var(--cs-orange); border: 1.5px solid var(--cs-orange); border-radius: 30px; color: #fff !important; cursor: pointer; display: inline-flex; font-weight: 700; justify-content: center; padding: 14px 28px; text-decoration: none; transition: background .2s, border-color .2s;
}
.cogerent-service-flex .btn-cta:hover, .cogerent-service-flex .hero-btns a:hover { background: var(--cs-orange-dark); border-color: var(--cs-orange-dark); }
.cogerent-service-flex .hero-btns .btn-ghost { background: transparent; border-color: var(--cs-text); color: var(--cs-text) !important; }
.cogerent-service-flex .hero-btns .btn-ghost:hover { background: #fff; border-color: var(--cs-orange); color: var(--cs-orange) !important; }

/* Перший екран */
.cogerent-service-flex section.np-hero { background: var(--cs-light); padding: 36px 0 56px; }
.cogerent-service-flex .hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 48px; align-items: center; }
.cogerent-service-flex .h1-text { color: var(--cs-text); font-weight: 700; margin: 0 0 20px; text-wrap: balance; }
.cogerent-service-flex .hero-copy .body-text { color: var(--cs-text-soft); max-width: 600px; }
.cogerent-service-flex .hero-copy .body-text p:last-child { margin-bottom: 0; }
.cogerent-service-flex .hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cogerent-service-flex .hero-trust { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 24px 0 0; padding: 0; }
.cogerent-service-flex .hero-trust li { background: #fff; border: 1px solid var(--cs-line); border-radius: 30px; font-weight: 500; padding: 7px 14px 7px 32px; position: relative; margin: 0; }
.cogerent-service-flex .hero-trust li::before { content: "✓"; color: var(--cs-orange); font-weight: 700; left: 14px; position: absolute; }
.cogerent-service-flex .np-reviewed { color: var(--cs-muted); margin: 18px 0 0; }
.cogerent-service-flex .hero-photo { aspect-ratio: 5 / 4; border-radius: 24px; overflow: hidden; background: #ECEAE7; }
.cogerent-service-flex .hero-photo img, .cogerent-service-flex .hero-photo svg { width: 100%; height: 100%; object-fit: cover; }

/* Зміст сторінки — липка смуга */
.cogerent-service-flex .np-toc { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--cs-line); border-top: 1px solid var(--cs-line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(6px); }
.admin-bar .cogerent-service-flex .np-toc { top: 32px; }
.cogerent-service-flex .np-toc .wrap { align-items: center; display: flex; gap: 12px; }
.cogerent-service-flex .np-toc__label { color: var(--cs-muted); flex: none; font-weight: 700; text-transform: uppercase; }
.cogerent-service-flex .np-toc__list { min-width: 0; display: flex; gap: 4px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.cogerent-service-flex .np-toc__list::-webkit-scrollbar { display: none; }
.cogerent-service-flex .np-toc a { border-radius: 30px; color: var(--cs-text); flex: none; font-weight: 500; padding: 7px 14px; text-decoration: none; white-space: nowrap; }
.cogerent-service-flex .np-toc a:hover { background: var(--cs-light); }
.cogerent-service-flex .np-toc a.is-active { background: var(--cs-text); color: #fff; }

/* Картки */
.cogerent-service-flex .cat-grid, .cogerent-service-flex .why-grid, .cogerent-service-flex .methods-grid, .cogerent-service-flex .rev-grid, .cogerent-service-flex .links-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cogerent-service-flex .cat-card, .cogerent-service-flex .why-card, .cogerent-service-flex .method-card, .cogerent-service-flex .rev-card, .cogerent-service-flex .equip-card { background: #fff; border: 1px solid var(--cs-line); border-radius: var(--cs-radius); overflow: hidden; }
.cogerent-service-flex section:nth-of-type(odd) .cat-card, .cogerent-service-flex section:nth-of-type(odd) .why-card, .cogerent-service-flex section:nth-of-type(odd) .method-card { background: var(--cs-light); border-color: transparent; }
.cogerent-service-flex .cat-card { display: flex; flex-direction: column; }
.cogerent-service-flex .cat-img, .cogerent-service-flex .equip-photo { aspect-ratio: 16 / 10; background: #ECEAE7; display: grid; place-items: center; color: var(--cs-muted); overflow: hidden; }
.cogerent-service-flex .cat-img img, .cogerent-service-flex .equip-photo img { height: 100%; object-fit: cover; }
.cogerent-service-flex .cat-body, .cogerent-service-flex .why-card, .cogerent-service-flex .method-card, .cogerent-service-flex .rev-card, .cogerent-service-flex .equip-body { padding: 24px; }
.cogerent-service-flex .cat-body { display: flex; flex: 1; flex-direction: column; }
.cogerent-service-flex .cat-body > div:not(.cat-meta) { color: var(--cs-text-soft); }
.cogerent-service-flex .cat-body p { margin: 0; }
.cogerent-service-flex .cat-meta { align-items: center; border-top: 1px solid var(--cs-line); display: flex; gap: 15px; justify-content: space-between; margin-top: auto; padding-top: 16px; }
.cogerent-service-flex .cat-body > div:nth-last-child(2) { margin-bottom: 18px; }
.cogerent-service-flex .cat-price { color: var(--cs-text); font-weight: 700; }
.cogerent-service-flex .cat-card.other { background: var(--cs-text) !important; color: #fff; }
.cogerent-service-flex .cat-card.other h3, .cogerent-service-flex .cat-card.other .cat-body > div { color: #fff; }
.cogerent-service-flex .cat-card.other .cat-meta { border-color: rgba(255,255,255,.2); }
.cogerent-service-flex .cat-card.other .cat-link { color: #fff; }
.cogerent-service-flex .cat-link { color: var(--cs-orange); font-weight: 700; text-decoration: none; }
.cogerent-service-flex .cat-link:hover { text-decoration: underline; }

/* Дві колонки зі списками */
.cogerent-service-flex .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cogerent-service-flex .list-block { background: #fff; border: 1px solid var(--cs-line); border-radius: var(--cs-radius); padding: 28px; }
.cogerent-service-flex .list-block--left { border-top: 4px solid var(--cs-orange); }
.cogerent-service-flex .list-block--right { border-top: 4px solid var(--cs-gray); }

/* Текст + зображення */
.cogerent-service-flex .content-media { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: start; }
.cogerent-service-flex .content-media--text { grid-template-columns: minmax(0, 1fr); }
.cogerent-service-flex .content-media--left { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.cogerent-service-flex .content-media--left .content-media__copy { order: 2; }
.cogerent-service-flex .content-media__media { position: sticky; top: 80px; }
.cogerent-service-flex .photo-slot { background: #ECEAE7; border-radius: var(--cs-radius); color: var(--cs-muted); display: grid; min-height: 260px; place-items: center; text-align: center; overflow: hidden; }
.cogerent-service-flex .photo-slot svg { width: 48px; }
.cogerent-service-flex .photo-slot--image img { height: auto; max-height: 560px; object-fit: cover; }
.cogerent-service-flex .content-media .btn-cta, .cogerent-service-flex .block-body + .btn-cta, .cogerent-service-flex .np-more + .btn-cta { margin-top: 22px; }
.cogerent-service-flex .np-article > .photo-slot { margin-top: 28px; }

/* Текстова секція + фото праворуч (лише ПК) */
.cogerent-service-flex .np-text-media.has-aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); gap: 48px; align-items: start; }
.cogerent-service-flex .np-text-media__aside { position: sticky; top: 80px; }
.cogerent-service-flex .np-text-media__aside .photo-slot { margin: 0; min-height: 0; }
.cogerent-service-flex .np-text-media__aside .photo-slot--image img { aspect-ratio: 4 / 5; max-height: none; object-fit: cover; }
.cogerent-service-flex .np-text-media__aside .photo-slot.np-editor-only { aspect-ratio: 4 / 5; margin: 0; flex-direction: column; justify-content: center; text-align: center; }
.cogerent-service-flex .why-card .ic--img { background: none; }
.cogerent-service-flex .why-card .ic--img img { width: 46px; height: 46px; object-fit: contain; }
.cogerent-service-flex .np-grid-photo { margin-top: 28px; }

/* Методи + порівняльна таблиця */
.cogerent-service-flex .method-card { position: relative; }
.cogerent-service-flex .method-card.primary { border: 2px solid var(--cs-orange) !important; }
.cogerent-service-flex .method-card .tag { background: var(--cs-orange); border-radius: 30px; color: #fff; display: inline-block; font-weight: 700; margin-bottom: 12px; padding: 4px 12px; text-transform: uppercase; }
.cogerent-service-flex .method-card .typography { color: var(--cs-text-soft); }
.cogerent-service-flex .np-compare-wrap { margin-top: 28px; overflow-x: auto; }
.cogerent-service-flex .np-compare { background: #fff; border-collapse: separate; border-radius: var(--cs-radius); border-spacing: 0; border: 1px solid var(--cs-line); min-width: 620px; overflow: hidden; width: 100%; }
.cogerent-service-flex .np-compare caption { caption-side: top; font-weight: 700; padding: 0 0 12px; text-align: left; }
.cogerent-service-flex .np-compare th, .cogerent-service-flex .np-compare td { border-bottom: 1px solid var(--cs-line); padding: 14px 16px; text-align: left; vertical-align: top; }
.cogerent-service-flex .np-compare thead th { background: var(--cs-text); color: #fff; font-weight: 700; }
.cogerent-service-flex .np-compare tbody th { color: var(--cs-muted); font-weight: 500; width: 22%; }
.cogerent-service-flex .np-compare tr:last-child th, .cogerent-service-flex .np-compare tr:last-child td { border-bottom: 0; }
.cogerent-service-flex #methods > .wrap > .photo-slot { margin-top: 28px; }

/* Переваги */
.cogerent-service-flex .why-card .ic { align-items: center; background: var(--cs-orange-soft); border-radius: 12px; color: var(--cs-orange); display: flex; height: 46px; justify-content: center; margin-bottom: 16px; width: 46px; }
.cogerent-service-flex .why-card .ic svg { height: 24px; width: 24px; }
.cogerent-service-flex .why-card > div:last-child { color: var(--cs-text-soft); }
.cogerent-service-flex .why-card p { margin: 0; }

/* CTA-смуга, «Коли звернутися» */
.cogerent-service-flex .alarm { background: #FFF6F2; border: 1.5px solid var(--cs-orange); border-radius: var(--cs-radius); margin-top: 18px; padding: 24px; }
.cogerent-service-flex .alarm h3 { color: var(--cs-orange-dark); }
.cogerent-service-flex .print-note { color: var(--cs-muted); margin-top: 14px; }
.cogerent-service-flex .cta-strip { align-items: center; background: var(--cs-text); border-radius: var(--cs-radius); color: #fff; display: flex; gap: 20px; justify-content: space-between; margin-top: 28px; padding: 24px 28px; }
.cogerent-service-flex .cta-strip p { font-weight: 700; margin: 0; }
.cogerent-service-flex .cta-strip small { color: #CFCAC5; display: block; font-weight: 400; margin-top: 4px; }
.cogerent-service-flex .cta-strip .btn-cta { flex: none; }

/* Результати, галерея, лікар, обладнання */
.cogerent-service-flex .ba-grid, .cogerent-service-flex .equip-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cogerent-service-flex .ba-card { background: #fff; border: 1px solid var(--cs-line); border-radius: var(--cs-radius); overflow: hidden; }
.cogerent-service-flex .ba-pair { display: grid; grid-template-columns: 1fr 1fr; }
.cogerent-service-flex .ba-pair > div { position: relative; }
.cogerent-service-flex .ba-pair img, .cogerent-service-flex .ba-empty { aspect-ratio: 4 / 3; object-fit: cover; }
.cogerent-service-flex .ba-empty { display: grid; place-items: center; }
.cogerent-service-flex .ba-pair span { background: rgba(23,23,23,.75); border-radius: 0 8px 0 0; bottom: 0; color: #fff; left: 0; padding: 4px 10px; position: absolute; }
.cogerent-service-flex .ba-cap { padding: 18px; }
.cogerent-service-flex .ba-cap b { display: block; }
.cogerent-service-flex .ba-cap p { margin: 0; color: var(--cs-muted); }
.cogerent-service-flex .gal-head { font-weight: 700; margin: 28px 0 12px; }
.cogerent-service-flex .gal { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); }
.cogerent-service-flex .gal img { aspect-ratio: 1; border-radius: 12px; object-fit: cover; }
.cogerent-service-flex .spec-row { align-items: center; display: grid; gap: 42px; grid-template-columns: 320px 1fr; }
.cogerent-service-flex .spec-row--noimg { grid-template-columns: 1fr; max-width: 820px; }
.cogerent-service-flex .spec-photo { background: #ECEAE7; border-radius: 20px; display: grid; min-height: 360px; overflow: hidden; place-items: center; text-align: center; }
.cogerent-service-flex .spec-photo img { height: 100%; max-height: 440px; object-fit: cover; }
.cogerent-service-flex .spec-name { font-weight: 700; margin-bottom: 6px; }
.cogerent-service-flex .spec-role { color: var(--cs-orange); font-weight: 500; }
.cogerent-service-flex .spec-text { color: var(--cs-text-soft); margin-bottom: 8px; }
.cogerent-service-flex .equip-card.no-img .equip-body { border-top: 4px solid var(--cs-orange); }
.cogerent-service-flex .equip-body p { color: var(--cs-text-soft); margin-bottom: 10px; }

/* Відгуки */
.cogerent-service-flex .rev-stars { color: #F2A900; margin-bottom: 10px; }
.cogerent-service-flex .rev-text { color: var(--cs-text-soft); }
.cogerent-service-flex .rev-meta { border-top: 1px solid var(--cs-line); display: flex; gap: 12px; justify-content: space-between; margin-top: 16px; padding-top: 12px; }
.cogerent-service-flex .rev-src { color: var(--cs-muted); }
.cogerent-service-flex .rev-all { margin: 18px 0 0; }
.cogerent-service-flex .rev-all a { font-weight: 700; }

/* Ціни */
.cogerent-service-flex .price-table { background: #fff; border: 1px solid var(--cs-line); border-radius: var(--cs-radius); overflow: hidden; }
.cogerent-service-flex .price-row { align-items: center; border-top: 1px solid var(--cs-line); display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) auto 130px; padding: 18px 24px; }
.cogerent-service-flex .price-row:first-child { border-top: 0; }
.cogerent-service-flex .price-row.hl { background: var(--cs-orange-soft); }
.cogerent-service-flex .price-row .name { font-weight: 700; }
.cogerent-service-flex .price-row .desc { color: var(--cs-muted); }
.cogerent-service-flex .price-row .val { font-weight: 700; text-align: right; white-space: nowrap; }
.cogerent-service-flex .price-row a { font-weight: 700; text-align: right; text-decoration: none; }

/* FAQ */
.cogerent-service-flex .faq-list { display: grid; gap: 10px; }
.cogerent-service-flex .faq-group { color: var(--cs-orange); font-weight: 700; margin: 18px 0 2px; text-transform: uppercase; }
.cogerent-service-flex .faq-group:first-child { margin-top: 0; }
.cogerent-service-flex .faq-list details { background: #fff; border: 1px solid var(--cs-line); border-radius: var(--cs-radius); padding: 0 22px; }
.cogerent-service-flex .faq-list summary { cursor: pointer; font-weight: 700; list-style: none; padding: 18px 36px 18px 0; position: relative; text-transform: none; }
.cogerent-service-flex .faq-list summary::-webkit-details-marker { display: none; }
.cogerent-service-flex .faq-list summary::after { color: var(--cs-orange); content: "+"; font-weight: 400; line-height: 1; position: absolute; right: 0; top: 16px; }
.cogerent-service-flex .faq-list details[open] summary::after { content: "–"; }
.cogerent-service-flex .faq-answer { color: var(--cs-text-soft); padding-bottom: 20px; }
.cogerent-service-flex .intent { display: none; }

/* Пов’язані сторінки */
.cogerent-service-flex .links-grid a { background: #fff; border: 1px solid var(--cs-line); border-radius: var(--cs-radius); color: var(--cs-text); font-weight: 700; padding: 20px 44px 20px 22px; position: relative; text-decoration: none; transition: border-color .2s; }
.cogerent-service-flex .links-grid a::after { color: var(--cs-orange); content: "→"; position: absolute; right: 20px; top: 20px; }
.cogerent-service-flex .links-grid a:hover { border-color: var(--cs-orange); }
.cogerent-service-flex .links-grid span { color: var(--cs-muted); display: block; font-weight: 400; margin-top: 4px; }

/* Запис */
.cogerent-service-flex section.np-booking { background: var(--cs-light); }
.cogerent-service-flex .book-grid { display: grid; gap: 42px; grid-template-columns: 1fr 1fr; }
.cogerent-service-flex .book-steps { counter-reset: booking; list-style: none; margin: 0; padding: 0; }
.cogerent-service-flex .book-steps li { counter-increment: booking; display: grid; gap: 14px; grid-template-columns: 44px 1fr; margin-bottom: 22px; }
.cogerent-service-flex .book-steps li::before { align-items: center; background: var(--cs-orange); border-radius: 50%; color: #fff; content: counter(booking); display: flex; font-weight: 700; height: 40px; justify-content: center; width: 40px; }
.cogerent-service-flex .book-steps b { display: block; }
.cogerent-service-flex .book-steps span { color: var(--cs-text-soft); }
.cogerent-service-flex .book-form { background: #fff; border: 1px solid var(--cs-line); border-radius: 20px; padding: 28px; }
.cogerent-service-flex .book-form input, .cogerent-service-flex .book-form textarea, .cogerent-service-flex .book-form select { border: 1px solid #CFCAC5; border-radius: 10px; font-family: inherit; max-width: 100%; padding: 12px 14px; width: 100%; }

/* Лише для редактора: заглушки і службові позначки */
.cogerent-service-flex .np-editor-only { border: 1.5px dashed #E0B341 !important; background: #FFF8E1 !important; color: #7A5A00 !important; }
.cogerent-service-flex .photo-slot.np-editor-only { display: flex; gap: 10px; min-height: 0; padding: 16px; margin-top: 20px; }
.cogerent-service-flex .photo-slot.np-editor-only svg { width: 20px; }
.cogerent-service-flex mark.np-todo { background: #FFE58A; border-radius: 4px; color: #5A4300; padding: 0 4px; }

@media (max-width: 960px) {
	.cogerent-service-flex .hero-grid, .cogerent-service-flex .content-media, .cogerent-service-flex .content-media--left, .cogerent-service-flex .book-grid { grid-template-columns: 1fr; }
	.cogerent-service-flex .content-media--left .content-media__copy { order: initial; }
	.cogerent-service-flex .content-media__media { position: static; }
	.cogerent-service-flex .np-text-media.has-aside { grid-template-columns: minmax(0, 1fr); }
	.cogerent-service-flex .np-text-media__aside { display: none; } /* на планшеті й мобільному фото не показуємо */
	.cogerent-service-flex .cat-grid, .cogerent-service-flex .why-grid, .cogerent-service-flex .methods-grid, .cogerent-service-flex .rev-grid, .cogerent-service-flex .links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.cogerent-service-flex section { padding: 44px 0; }
	.cogerent-service-flex .wrap { width: calc(100% - 32px); }
	.cogerent-service-flex section.np-hero { padding: 20px 0 40px; }
	.cogerent-service-flex .hero-btns a { flex: 1 1 100%; }
	.cogerent-service-flex .hero-photo { aspect-ratio: 16 / 10; order: -1; }
	.cogerent-service-flex .np-toc__label { display: none; }
	.cogerent-service-flex .cat-grid, .cogerent-service-flex .why-grid, .cogerent-service-flex .methods-grid, .cogerent-service-flex .rev-grid, .cogerent-service-flex .links-grid, .cogerent-service-flex .two-col, .cogerent-service-flex .ba-grid, .cogerent-service-flex .equip-grid, .cogerent-service-flex .spec-row { grid-template-columns: 1fr; }
	.cogerent-service-flex .gal { grid-template-columns: 1fr 1fr; }
	.cogerent-service-flex .price-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 16px 18px; }
	.cogerent-service-flex .price-row > div:first-child { grid-column: 1 / -1; }
	.cogerent-service-flex .price-row .val { text-align: left; white-space: normal; }
	.cogerent-service-flex .price-row a { text-align: right; }
	.cogerent-service-flex .cta-strip { align-items: flex-start; flex-direction: column; padding: 22px; }
	.cogerent-service-flex .np-long.is-collapsed { max-height: 340px; }
	.cogerent-service-flex .list-block { padding: 22px; }
}
/* ==========================================================================
   Єдина типографіка. Усі розміри, міжрядкові й міжлітерні відстані — лише тут.
   Префікс #primary.cogerent-service-flex перебиває стилі теми (main.css),
   через які шрифт «скакав» між блоками.
   Основний текст: 17 px / 1.7 (мобільний 16 px). Дрібні мітки: 14 px / 1.5.
   Заголовки: H1, H2, H3 — по одному розміру на рівень. Letter-spacing: 0 скрізь.
   ========================================================================== */
#primary.cogerent-service-flex, #primary.cogerent-service-flex :where(*) { font-family: var(--cs-font); letter-spacing: 0; }
#primary.cogerent-service-flex :where(p, li, td, th, dd, dt, blockquote, summary, label, input, textarea, select, button, a, span, b, strong, em, small, div, caption, figcaption) { font-size: var(--cs-fs); line-height: var(--cs-lh); }
#primary.cogerent-service-flex :where(.btn-cta, .hero-btns a, .np-more, .book-form .wpcf7-submit, .book-form input[type="submit"]) { font-size: var(--cs-fs); line-height: 1.2; }
#primary.cogerent-service-flex :where(.kicker, .np-summary__title, .np-reviewed, .np-toc__label, .np-toc a, .hero-trust li, .method-card .tag, .rev-meta, .rev-meta *, .price-row .desc, .faq-group, .links-grid span, .cta-strip small, .ba-pair span, .cat-img, .equip-photo, .photo-slot, .np-editor-only, .np-editor-only *, .print-note, .rev-stars) { font-size: var(--cs-fs-sm); line-height: var(--cs-lh-sm); }
#primary.cogerent-service-flex :where(h3, h3 *, .spec-name, .np-compare caption) { font-size: var(--cs-fs-h3); line-height: var(--cs-lh-h); }
#primary.cogerent-service-flex :where(h2, h2 *, .section-heading-bar .headline) { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
#primary.cogerent-service-flex :where(h1, .h1-text) { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.15; }
#primary.cogerent-service-flex :where(mark.np-todo) { font-size: .85em; }
#primary.cogerent-service-flex .faq-list summary::after { font-size: 28px; line-height: 1; }
@media (max-width: 600px) {
	#primary.cogerent-service-flex { --cs-fs: 16px; --cs-fs-h3: 19px; }
	#primary.cogerent-service-flex :where(h2, h2 *, .section-heading-bar .headline) { font-size: 25px; }
	#primary.cogerent-service-flex :where(h1, .h1-text) { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
	.cogerent-service-flex * { scroll-behavior: auto !important; transition: none !important; }
}

/* Consultation buttons in the flexible service template, 2026-11-19. */
.cogerent-service-flex .np-doctor-card { display: flex; flex-direction: column; }
.cogerent-service-flex .np-doctor-card .equip-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.cogerent-service-flex .np-doctor-card .np-booking-button { margin-top: auto; }
.cogerent-service-flex .np-doctor-card .equip-body > p:last-of-type { margin-bottom: 20px; }
.cogerent-service-flex .np-doctor-card .cat-link { margin-top: 12px; }
.cogerent-service-flex .np-booking-cta { margin-top: 28px; }
.cogerent-service-flex .np-booking-button { max-width: 100%; text-align: center; box-sizing: border-box; }
@media (max-width: 600px) { .cogerent-service-flex .np-booking-cta .np-booking-button { width: 100%; } }
