/*
Theme Name: ЛСТМ 2026
Theme URI: https://www.lstm.com.ua/
Author: ПрАТ «Луцьксантехмонтаж №536»
Description: Тема сайту ПрАТ «Луцьксантехмонтаж №536»: новобудови (ЖК як дочірні сторінки «Головної»), інформація для акціонерів, форма заявки.
Version: 1.3.9
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lstm
*/

/* ---------- Tokens ---------- */
:root {
	--brand: #1E5A3C;
	--brand-dark: #154330;
	--brand-soft: #E7EFEA;
	--accent: #F2C230;
	--accent-dark: #D9A912;
	--ink: #1E2A2F;
	--ink-2: #3A4448;
	--muted: #5A6367;
	--line: #E2E0DA;
	--paper: #F6F5F1;
	--white: #FFFFFF;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(30, 42, 47, .06), 0 8px 24px rgba(30, 42, 47, .06);
	--font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-head: 'Montserrat', 'Manrope', system-ui, sans-serif;
	--container: 1240px;
	--content: 980px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.icon { flex: none; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--content { max-width: calc(var(--content) + 2 * var(--gutter)); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 11px 20px;
	border-radius: var(--radius-sm); border: 1px solid transparent;
	font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: normal; margin: 0;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 54px; padding: 15px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--brand { background: var(--brand); color: var(--white); }
.btn--brand:hover { background: var(--brand-dark); color: var(--white); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-dark); color: var(--ink); }
.btn--ghost { border-color: rgba(255, 255, 255, .85); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.btn--outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--outline:hover { background: var(--brand); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(1.2) blur(8px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(30, 42, 47, .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand__logo { width: 56px; height: auto; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; line-height: 1.25; }
.brand__tag { font-size: 13px; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav .menu a { display: block; padding: 12px 14px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; border-radius: var(--radius-sm); }
.site-nav .menu a:hover { background: var(--paper); color: var(--brand); }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a { color: var(--brand); }
.site-nav .sub-menu { display: none; }
.site-nav__phone { margin-left: 8px; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.nav-toggle__close { display: none; }

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 20px var(--gutter) 32px;
		background: var(--white);
		overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}
	.admin-bar .site-nav { height: calc(100dvh - var(--header-h) - 32px); }
	.nav-open .site-nav { opacity: 1; transform: none; visibility: visible; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }
	.nav-open { overflow: hidden; }
	.site-nav .menu { flex-direction: column; align-items: stretch; }
	.site-nav .menu a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.site-nav__phone { margin: 8px 0 0; }
}
@media (max-width: 782px) { .admin-bar .site-nav { height: calc(100dvh - var(--header-h) - 46px); } }
@media (max-width: 480px) {
	:root { --header-h: 64px; }
	.brand__logo { width: 44px; }
	.brand__name { font-size: 13px; }
	.brand__tag { display: none; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative; color: var(--white);
	background-color: #2C363A;
	background-image: linear-gradient(90deg, rgba(20, 28, 31, .82) 0%, rgba(20, 28, 31, .55) 55%, rgba(20, 28, 31, .25) 100%), var(--hero-img, none);
	background-size: cover; background-position: center;
}
.hero__inner { padding-top: clamp(64px, 12vw, 140px); padding-bottom: clamp(56px, 10vw, 120px); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero__kicker { margin: 0; display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hero__title { margin: 0; max-width: none; color: var(--white); font-weight: 800; font-size: clamp(32px, 5.2vw, 60px); line-height: 1.08; }
.hero__title--sm { font-size: clamp(26px, 3.6vw, 40px); }
@media (max-width: 480px) { .hero__title { font-size: 28px; } .hero__title--sm { font-size: 24px; } }
.hero__title, .section__title, .entry h2 { overflow-wrap: break-word; hyphens: manual; }
.hero__text { margin: 0; max-width: none; font-size: clamp(17px, 1.6vw, 20px); color: #DCE2E0; }
.hero__address { display: flex; align-items: center; gap: 8px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero--project .hero__inner { padding-top: 28px; min-height: min(78vh, 720px); justify-content: flex-end; }
.hero--project .crumbs { margin-bottom: auto; }
.hero--page .hero__inner { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(40px, 7vw, 80px); }
.hero--plain { background-image: none; background-color: var(--brand); }
.hero--plain .hero__text { color: #D5E3DB; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #C5CDCA; }
.crumbs a { color: #E4E9E7; text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }

.badge { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.2; background: var(--white); color: var(--brand); }
.badge--sale, .badge--start { background: var(--accent); color: var(--ink); }
.badge--announce { background: var(--white); color: var(--ink); }
.badge--done { background: var(--brand-soft); color: var(--brand); }
.badge--outline { background: transparent; border: 1px solid rgba(255, 255, 255, .7); color: var(--white); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tight { padding-top: 0; }
.section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 32px; }
.section__title { font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); margin: 0; }
.eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.eyebrow--light { color: var(--accent); }
.lead { font-size: 18px; font-weight: 400; color: var(--ink-2); max-width: 640px; }

/* ---------- Filter ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; }
.filter__btn { min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid #C9CCC6; background: var(--white); font-weight: 600; font-size: 15px; cursor: pointer; }
.filter__btn:hover { border-color: var(--brand); color: var(--brand); }
.filter__btn.is-active { background: var(--brand); border-color: var(--brand); color: var(--white); }
.filter-empty { margin-top: 24px; color: var(--muted); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.grid--small { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media { position: relative; display: block; aspect-ratio: 16 / 10; background: #D5DBD8; overflow: hidden; }
.card--small .card__media { aspect-ratio: 16 / 9; }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__img { transform: scale(1.03); }
.card__media .badge { position: absolute; left: 14px; top: 14px; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.card--small .card__body { padding: 14px 16px 16px; gap: 4px; }
.card__kind { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card__title { margin: 0; font-size: 21px; font-weight: 700; }
.card--small .card__title { font-size: 17px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--brand); }
.card__address { display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: 14px; color: var(--muted); }
.card__address .icon { margin-top: 3px; color: var(--brand); }
.card__text { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); flex: 1; }
.card__btn { align-self: flex-start; margin-top: 10px; }

/* ---------- About teaser & stats ---------- */
.about-teaser__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: center; }
.about-teaser__text .section__title { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 16px; }
.about-teaser__text .lead { margin-bottom: 24px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 24px; border-radius: 12px; background: var(--paper); display: flex; flex-direction: column; gap: 6px; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: 40px; line-height: 1; color: var(--brand); }
.stat__label { font-size: 15px; color: var(--ink-2); }

/* ---------- Request band & form ---------- */
.request-band { background: var(--ink); color: #E8ECEA; }
.request-band .section__title { color: var(--white); margin-bottom: 16px; }
.request-band .lead { color: #BFC8C5; }
.request-band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: start; }
.lead-form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; scroll-margin-top: calc(var(--header-h) + 16px); }
.lead-form__title { font-size: 24px; margin: 0; }
.lead-form__lead { margin: 0; color: var(--muted); font-size: 15px; }
.lead-form__note { margin: 0; font-size: 12px; color: var(--muted); }
.lead-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__msg { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.lead-form__msg .icon { margin-top: 2px; }
.lead-form__fields { display: flex; flex-direction: column; gap: 14px; }
.lead-form.is-sent .lead-form__fields { opacity: .55; }
.lead-form button[disabled] { opacity: .7; cursor: wait; }
.field__hint { color: #A1260D; font-weight: 500; font-size: 13px; }
.field input[aria-invalid="true"] { border-color: #B3261E; outline: 2px solid rgba(179, 38, 30, .15); }
.field select { width: 100%; min-height: 50px; padding: 12px 40px 12px 14px; border: 1px solid #C9CCC6; border-radius: var(--radius-sm); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231E2A2F' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; -webkit-appearance: none; appearance: none; font-weight: 500; font-size: 16px; }
.field select:focus { border-color: var(--brand); outline: 2px solid rgba(30, 90, 60, .2); }
.lead-form__msg.is-ok { background: var(--brand-soft); color: var(--brand); }
.lead-form__msg.is-error { background: #FBE9E7; color: #A1260D; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field b { color: #B3261E; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #C9CCC6; border-radius: var(--radius-sm); background: var(--white); font-weight: 500; font-size: 16px; }
.field input:focus, .field textarea:focus { border-color: var(--brand); outline: 2px solid rgba(30, 90, 60, .2); }

.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list .icon { color: var(--accent); }
.contact-list--light { margin-top: 24px; font-size: 18px; font-weight: 600; color: var(--white); }
.contact-list__muted { color: #A7B1AE; font-size: 14px; gap: 6px !important; }

/* ---------- Page content (blocks) ---------- */
.entry > * + * { margin-top: 1.2em; }
.entry > :first-child { margin-top: 0; }
.entry h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; margin-top: 2em; margin-bottom: .6em; }
.entry h2::after { content: ''; display: block; width: 56px; height: 4px; margin-top: 14px; background: var(--accent); border-radius: 2px; }
.entry h3 { font-size: 21px; margin-top: 1.6em; color: var(--brand); }
.entry p { color: var(--ink-2); }
.entry ul, .entry ol { padding-left: 1.3em; color: var(--ink-2); }
.entry a { font-weight: 600; }
.entry .wp-block-image { margin-left: 0; margin-right: 0; }
.entry .wp-block-image img, .entry .wp-block-gallery img { border-radius: 10px; }
.entry figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.entry .wp-block-gallery.has-nested-images { gap: 14px; }
.entry .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	position: static; background: none; color: var(--ink); font-weight: 700; font-size: 15px; padding: 10px 0 0; max-height: none; overflow: visible; text-shadow: none;
}
.entry .wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption) { flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.entry .wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption) img { object-fit: contain; aspect-ratio: 4 / 3; background: var(--white); }
.entry .wp-block-gallery.lstm-progress figure.wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; }
img.is-zoomable { cursor: zoom-in; }
.entry .wp-block-buttons { margin-top: 1.4em; }
.entry .wp-block-button__link { background: var(--brand); color: var(--white); border-radius: var(--radius-sm); padding: 13px 22px; font-weight: 700; font-size: 15px; text-decoration: none; }
.entry .wp-block-button__link:hover { background: var(--brand-dark); color: var(--white); }
.entry .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.entry .wp-block-file a:first-child { flex: 1 1 260px; }
.entry .wp-block-file .wp-block-file__button { background: var(--brand); color: var(--white); border-radius: var(--radius-sm); padding: 8px 14px; font-size: 14px; text-decoration: none; }
.entry .wp-block-file object { display: none; }
.entry__back { margin-top: 2.5em; }
/* Promo card (image + text + buttons), e.g. presentation & video on «Про нас» */
.entry .lstm-promo { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); box-shadow: 0 1px 2px rgba(30, 42, 47, .04); }
.entry .lstm-promo .wp-block-columns { margin: 0; gap: clamp(20px, 4vw, 40px); }
.entry .lstm-promo .wp-block-image { margin: 0; }
.entry .lstm-promo .wp-block-image img { border-radius: 10px; border: 1px solid var(--line); }
.entry .lstm-promo h2 { margin-top: 0; }
.entry .lstm-promo p { margin-bottom: 0; }
.entry .lstm-promo .wp-block-buttons { gap: 10px; }

/* Person blocks (About): compact photo beside the text */
.entry .lstm-person { gap: clamp(20px, 4vw, 40px); margin: 0; }
.entry .lstm-person .wp-block-image { margin: 0; }
.entry .lstm-person .wp-block-image img { width: 100%; max-width: 280px; border-radius: 10px; }
.entry .lstm-person .wp-block-column > :first-child { margin-top: 0; }
.entry .lstm-person h3 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .3em; }
.entry .lstm-person h3 + h2 { margin-top: 0; }
@media (max-width: 781px) {
	.entry .lstm-person .wp-block-image img { max-width: 220px; }
}
.entry .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--brand); border: 2px solid var(--brand); padding: 11px 20px; }
.entry .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--brand); color: var(--white); }
.entry .wp-block-separator { border: 0; height: 1px; background: var(--line); margin: 3.5em 0 !important; max-width: none; opacity: 1; position: relative; overflow: visible; }
.entry .wp-block-separator::after { content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 3px; border-radius: 2px; background: var(--accent); }

/* Features («Переваги»): short tiles with a check badge, or wider cards with a logo/photo.
   Classic themes wrap group content in .wp-block-group__inner-container, so the grid goes on whichever element holds the items. */
.entry .lstm-features { --cols: 5; display: block; margin-top: 1.4em; padding: 0; }
.entry .lstm-features:has(.lstm-feature__icon) { --cols: 2; }
.entry .lstm-features > .wp-block-group__inner-container,
.entry .lstm-features:not(:has(> .wp-block-group__inner-container)) { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 14px; }
.entry .lstm-features .wp-block-group__inner-container > *,
.entry .lstm-features > * { margin: 0 !important; max-width: none !important; }
.entry .lstm-feature {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
	min-height: 132px; padding: 18px 16px 18px; margin: 0;
	background: var(--white); border: 1px solid var(--line); border-radius: 16px;
	font-family: var(--font-head); font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink);
	box-shadow: 0 1px 2px rgba(30, 42, 47, .04);
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.entry .lstm-feature strong { font-weight: 700; }
.entry .lstm-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #CFD6D2; }
.entry .lstm-feature:not(:has(.lstm-feature__icon))::before {
	content: ""; flex: none; width: 44px; height: 44px; border-radius: 12px;
	background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2C230' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 22px no-repeat;
	box-shadow: 0 4px 10px rgba(30, 90, 60, .22);
}
.entry .lstm-feature:not(:has(.lstm-feature__icon))::after {
	content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
	background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.entry .lstm-feature:not(:has(.lstm-feature__icon)):hover::after { transform: scaleX(1); }
/* Cards with a logo / photo and a longer description (pages moved from the old site) */
.entry .lstm-features:has(.lstm-feature__icon) .lstm-feature {
	flex-direction: row; align-items: flex-start; min-height: 0; gap: 16px; padding: 18px;
	font-family: var(--font-body); font-weight: 500; font-size: 15px; line-height: 1.5; color: var(--ink-2);
}
.entry .lstm-feature__icon {
	width: 68px; height: 68px; flex: none; object-fit: contain; padding: 6px;
	background: var(--white); border: 1px solid var(--line); border-radius: 14px !important;
}
@media (max-width: 1000px) { .entry .lstm-features { --cols: 3; } .entry .lstm-features:has(.lstm-feature__icon) { --cols: 2; } }
@media (max-width: 760px) {
	.entry .lstm-features { --cols: 2; }
	.entry .lstm-features:has(.lstm-feature__icon) { --cols: 1; }
	.entry .lstm-features > .wp-block-group__inner-container { gap: 10px; }
	.entry .lstm-feature { min-height: 112px; padding: 14px; font-size: 14px; gap: 10px; }
	.entry .lstm-feature:not(:has(.lstm-feature__icon))::before { width: 38px; height: 38px; background-size: 19px; }
}

/* Maps */
.lstm-map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #E1E5E2; }
.lstm-map iframe { display: block; width: 100%; height: clamp(300px, 45vw, 440px); border: 0; }

/* Contacts page: info card + request form side by side */
.entry .lstm-contact { gap: clamp(20px, 4vw, 40px); margin: 0 0 clamp(28px, 4vw, 40px); align-items: stretch; }
.entry .lstm-contact-card { height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: 0 1px 2px rgba(30, 42, 47, .04); }
.entry .lstm-contact-card > :first-child,
.entry .lstm-contact-card > .wp-block-group__inner-container > :first-child { margin-top: 0; }
.entry .lstm-contact-card h2 { font-size: clamp(21px, 2vw, 26px); }
.entry .lstm-contact-card p { margin-bottom: 12px; }
.entry .lead-form { height: 100%; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(30, 42, 47, .04); }
.entry .lead-form__title { margin-top: 0; font-size: clamp(21px, 2vw, 26px); }

/* Contacts page phones */
.entry .lstm-phones { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.viber-badge { display: inline-flex; align-items: center; margin-left: 8px; padding: 1px 9px; border-radius: 999px; background: #7360F2; color: #fff !important; font-size: 12px; font-weight: 700; line-height: 1.7; letter-spacing: .02em; text-decoration: none !important; white-space: nowrap; vertical-align: middle; }
.viber-badge:hover { background: #5E4BD8; }
.entry .lstm-phones li { display: flex; align-items: center; flex-wrap: wrap; }
/* Phone links inside page content: one clear, consistent style */
.entry a[href^="tel:"] {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 20px; font-weight: 700; color: var(--brand); text-decoration: none; white-space: nowrap;
}
.entry a[href^="tel:"]::before {
	content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
	background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E5A3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / 17px no-repeat;
	transition: background-color .15s;
}
.entry a[href^="tel:"]:hover { color: var(--brand-dark); text-decoration: underline; }
.entry a[href^="tel:"]:hover::before { background-color: #D4E3DA; }

/* ---------- Shareholder documents list ---------- */
.doc-year { font-size: 22px; margin: 40px 0 14px; color: var(--brand); }
.doc-year:first-child { margin-top: 0; }
.doc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.doc-list__item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.doc-list__item .icon { color: var(--brand); margin-top: 2px; }
.doc-list__title { display: block; font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.4; }
.doc-list__title:hover { color: var(--brand); text-decoration: underline; }
.doc-list__date { font-size: 13px; color: var(--muted); }
.pagination { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { padding: 8px 14px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--brand); color: var(--white); border-color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: #172125; color: #D7DEDB; padding: 64px 0 28px; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.site-footer__title { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.site-footer a { color: #FFFFFF; }
.brand--footer { color: var(--white); align-items: flex-start; }
.brand--footer:hover { color: var(--white); }
.brand--footer .brand__name { text-transform: none; font-size: 16px; }
.brand--footer .brand__tag { color: #A7B1AE; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-menu a { text-decoration: none; }
.footer-menu a:hover { text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3A474C; }
.social a:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.site-footer__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid #2E3A3F; font-size: 13px; color: #95A19D; }
@media (max-width: 900px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12, 16, 18, .94); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: var(--white); cursor: pointer; border-radius: 50%; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; font-size: 34px; line-height: 1; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox-open { overflow: hidden; }
@media (max-width: 600px) { .lightbox { padding: 64px 8px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 10px; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}

/* «Вільні квартири по поверхах» */
.avail { padding-top: 0; }
.avail .section__title { margin-bottom: 8px; }
.avail__date { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.avail__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px clamp(16px, 3vw, 28px); box-shadow: 0 1px 2px rgba(30, 42, 47, .04); }
.avail__row { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.avail__row:first-child { border-top: 0; }
.avail__floor { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--ink); }
.avail__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.avail__pill { background: var(--brand-soft); color: var(--brand-dark); border-radius: 999px; padding: 6px 13px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.avail__pill span { font-weight: 500; color: var(--brand); }
.avail__cta { margin: 22px 0 0; }
@media (max-width: 600px) {
	.avail__row { grid-template-columns: 1fr; gap: 10px; }
	.avail__floor { font-size: 16px; }
	.avail__pill { font-size: 13px; padding: 5px 11px; }
	.avail__cta .btn { display: flex; width: 100%; justify-content: center; text-align: center; }
}
