/* Оформлення текстових сторінок (статті, міста, історії). Доповнює /newsite/styles.css, нічого в ньому не змінює */
.page-hero{background:linear-gradient(135deg,#ecfeff 0%,#f8fafc 60%);padding:120px 0 48px}
.page-hero .breadcrumbs{font-size:.85rem;color:#64748b;margin:0 0 14px}
.page-hero .breadcrumbs a{color:#06a9c0;text-decoration:none}
.page-hero h1{font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.2;color:#0f172a;margin:0 0 16px;font-weight:800}
.page-hero .lead{font-size:1.1rem;line-height:1.65;color:#334155;max-width:820px;margin:0 0 24px}
.page-hero .hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.article{padding:56px 0 24px}
.article .prose{max-width:820px;margin:0 auto;color:#1e293b;font-size:1.05rem;line-height:1.75}
.prose h2{font-size:1.7rem;line-height:1.3;margin:2.2em 0 .6em}
.prose h3{font-size:1.25rem;line-height:1.35;margin:1.6em 0 .5em;color:#0f172a}
.prose p{margin:0 0 1em}
.prose ul,.prose ol{margin:0 0 1.2em;padding-left:1.3em}
.prose li{margin:.35em 0}
.prose a{color:#06a9c0;text-decoration:underline;text-underline-offset:2px}
.prose img{max-width:100%;height:auto;border-radius:12px}
.prose figure{margin:1.8em 0}
.prose figcaption{font-size:.9rem;color:#64748b;margin-top:8px}
.prose .table-wrap{overflow-x:auto;margin:1.4em 0;border:1px solid #e2e8f0;border-radius:12px}
.prose table{width:100%;border-collapse:collapse;font-size:.95rem}
.prose th,.prose td{padding:10px 14px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:top}
.prose th{background:#f1f5f9;font-weight:700}
.prose .note{background:#f0fdfa;border-left:4px solid #06a9c0;border-radius:10px;padding:16px 18px;margin:1.6em 0}
.prose .warn{background:#fff7ed;border-left:4px solid #f59e0b;border-radius:10px;padding:16px 18px;margin:1.6em 0}
.related{padding:24px 0 64px}
.related .related-grid{max-width:820px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}
.related a{display:block;padding:16px 18px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;color:#0f172a;text-decoration:none;font-weight:600;line-height:1.4}
.related a:hover{border-color:#06a9c0}
.related h2{max-width:820px;margin:0 auto 16px;font-size:1.4rem}
.cta-band{background:#0f172a;color:#fff;padding:48px 0}
.cta-band .cta-inner{max-width:820px;margin:0 auto;display:flex;flex-wrap:wrap;gap:16px 24px;align-items:center;justify-content:space-between}
.cta-band h2{color:#fff;font-size:1.5rem;margin:0}
.cta-band p{margin:6px 0 0;color:#cbd5e1}
.article-faq{padding:24px 0 56px}
.article-faq .faq-layout{margin:0 auto}
@media (max-width:640px){.page-hero{padding:96px 0 32px}.article{padding:36px 0 12px}.prose h2{font-size:1.4rem}}

/* Шапка з фото, як на головній */
.photo-hero .home-content{max-width:780px}
.photo-hero .breadcrumbs{font-size:.85rem;color:#cbd5e1;margin:0 0 16px}
.photo-hero .breadcrumbs a{color:#fff;text-decoration:none;opacity:.9}
.photo-hero .breadcrumbs a:hover{text-decoration:underline}
.photo-hero .home-content h1{font-size:clamp(2rem,4.2vw,3rem);color:#fff}
.photo-hero .para-sec{color:#e2e8f0;font-size:1.1rem;line-height:1.65;margin-bottom:24px}
.photo-hero--compact{min-height:400px}
.photo-hero--compact .para-sec{margin-bottom:0}
.prose .soft-invite{margin-top:2.4em;padding-top:1.2em;border-top:1px solid #e2e8f0;color:#475569}
@media (max-width:768px){.photo-hero--compact{min-height:320px;padding:40px 0}}
.prose a[href^="tel:"]{white-space:nowrap}
.photo-hero{min-height:520px}
.article-features{padding-bottom:20px}
.article-boxes .icon-boxes{max-width:900px;margin:0 auto}
.article + .article{padding-top:8px}
@media (max-width:768px){.photo-hero{min-height:0;padding:56px 0}}
.ftr-icon-box .description a,.aboutus-icon-box .description a{color:#06a9c0;text-decoration:underline;text-underline-offset:2px}
.facts{padding:36px 0 0}
.facts-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
@media (max-width:900px){.facts-grid{grid-template-columns:repeat(2,1fr)}.fact b{font-size:1.4rem}}
.fact{background:#f0fdfa;border:1px solid #ccfbf1;border-radius:16px;padding:20px 22px}
.fact b{display:block;font-size:1.7rem;font-weight:800;color:#06a9c0;line-height:1.15;margin-bottom:6px}
.fact span{color:#334155;font-size:.95rem;line-height:1.45}
.prose .grid-2{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:1.6em 0}.prose .grid-2 figure{margin:0}
.prose .map-wrap{border-radius:14px;overflow:hidden;border:1px solid #e2e8f0;margin:1.4em 0}.prose .map-wrap iframe{display:block;width:100%;height:380px;border:0}
.calc-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:20px;margin:1.4em 0}
.calc-form label{display:flex;flex-direction:column;gap:6px;font-size:.92rem;color:#334155;font-weight:600}
.calc-form input,.calc-form select{padding:10px 12px;border:1px solid #cbd5e1;border-radius:10px;font-size:1rem;background:#fff}
.calc-form button{grid-column:1/-1;padding:12px 18px;border:0;border-radius:10px;background:#06a9c0;color:#fff;font-weight:700;font-size:1rem;cursor:pointer}
.calc-result{grid-column:1/-1;font-size:1.05rem;line-height:1.6;color:#0f172a}
.calc-result b{color:#06a9c0}

/* full reviews pages */
.reviews-full .reviews-grid{align-items:start}
.review-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px;margin:12px 0 0;padding:0 18px 18px}
.reviews-full .review-text{padding-bottom:18px}
.reviews-full .review-thumbs{margin-top:-6px}
.review-thumbs a{display:block}
.review-thumbs img{width:100%;height:112px;object-fit:cover;border-radius:8px;display:block}
.review-text p{margin:0 0 .6em}
.review-text p:last-child{margin-bottom:0}

.calc-form textarea{padding:10px 12px;border:1px solid #cbd5e1;border-radius:10px;font-size:1rem;background:#fff;font-family:inherit;resize:vertical;min-height:110px}
.calc-form .full{grid-column:1/-1}
.lead-form{scroll-margin-top:90px}
.lead-form small{grid-column:1/-1;color:#64748b;font-size:.85rem;font-weight:400}

.calc-form.lead-form{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}

/* facts v2 */
section.facts{display:block;padding:32px 0 8px;margin:0}
section.facts>.container{border:0;background:none;border-radius:0;padding-top:0;padding-bottom:0}
section.facts .facts-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
section.facts .fact{position:relative;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:18px 18px 16px 20px;box-shadow:0 1px 2px rgba(15,23,42,.04),0 6px 18px -10px rgba(15,23,42,.12);overflow:hidden}
section.facts .fact::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:0 3px 3px 0;background:#06a9c0}
section.facts .fact b{display:block;font-size:1.35rem;font-weight:700;color:#0f172a;line-height:1.2;letter-spacing:-.01em;margin-bottom:6px;font-variant-numeric:tabular-nums;overflow-wrap:normal;word-break:keep-all}
section.facts .fact span{display:block;color:#64748b;font-size:.88rem;line-height:1.45}
@media (max-width:900px){section.facts .facts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}section.facts .fact{padding:14px 14px 13px 16px}section.facts .fact b{font-size:1.08rem}section.facts .fact span{font-size:.82rem}}
@media (max-width:360px){section.facts .fact b{font-size:1rem}}

/* related v2 */
section.related{background:linear-gradient(180deg,#f8fafc 0%,#eef7f9 100%);padding:56px 0 64px;margin-top:24px;border-top:1px solid #e2e8f0}
section.related h2{max-width:980px;margin:0 auto 22px;font-size:1.5rem;text-align:left;display:flex;align-items:center;gap:12px}
section.related h2::before{content:"";width:28px;height:3px;border-radius:3px;background:#06a9c0;flex:0 0 auto}
section.related .related-grid{max-width:980px;margin:0 auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
section.related a{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px;padding:18px 20px 18px 22px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;color:#0f172a;text-decoration:none;font-weight:600;font-size:1rem;line-height:1.35;box-shadow:0 1px 2px rgba(15,23,42,.04);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
section.related a::after{content:"\2192";flex:0 0 36px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#ecfeff;color:#06a9c0;font-weight:700;transition:background .18s ease,color .18s ease}
section.related a:hover{transform:translateY(-2px);border-color:#a5e9f2;box-shadow:0 10px 24px -14px rgba(6,169,192,.45)}
section.related a:hover::after{background:#06a9c0;color:#fff}
@media (max-width:640px){section.related{padding:40px 0 48px}section.related .related-grid{grid-template-columns:1fr;gap:10px}section.related a{min-height:64px;padding:14px 16px 14px 18px;font-size:.96rem}section.related h2{font-size:1.3rem}}

/* price page v1 */
.page-toc{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;max-width:980px;margin:18px auto 0;padding:0 16px}
.page-toc a{padding:8px 14px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#0f172a;font-size:.9rem;font-weight:600;text-decoration:none;line-height:1.2}
.page-toc a:hover{border-color:#06a9c0;color:#0e7490}
.op-price{display:inline-block;margin:4px 0 10px;padding:5px 12px;border-radius:999px;background:#ecfeff;color:#0e7490;font-weight:700;font-size:.95rem;white-space:nowrap}
.compare-section{padding:56px 0;background:#fff}
.compare-section .section-title p{max-width:760px;margin:8px auto 0;color:#475569}
.compare-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;max-width:1080px;margin:24px auto 0}
.compare-item{position:relative;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:18px 20px 18px 22px;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.compare-item::before{content:"";position:absolute;left:0;top:16px;bottom:16px;width:3px;border-radius:0 3px 3px 0;background:#06a9c0}
.compare-item h3{font-size:1.05rem;margin:0 0 6px;color:#0f172a}
.compare-item p{margin:0;color:#475569;font-size:.95rem;line-height:1.55}
#prices table td:last-child,#prices table th:last-child{white-space:nowrap}
@media (max-width:640px){#prices table{font-size:14px!important}#prices table td,#prices table th{padding:12px 10px!important}#prices table td:nth-child(2){font-size:13px}}

.compare-item a{color:#0e7490;text-decoration:underline;text-underline-offset:2px}

.dept-box .op-price{align-self:center;width:auto;max-width:max-content;margin-left:auto;margin-right:auto}
