/*
Theme Name: Чист Двор
Theme URI: https://chistdvor.com/
Author: Чист Двор
Description: Професионална WordPress тема за поддръжка на дворове и градини. Цялото съдържание се управлява от администрацията.
Version: 3.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: chist-dvor
*/

/* ---------- Променливи ---------- */
:root {
	--green: #3d8c1f;
	--deep: #1f5c1a;
	--ink: #1c2417;
	--muted: #5b6459;
	--cream: #fbfbf9;
	--line: #e8ece3;
	--radius: 14px;
	--chd-cols: 2;
}

/* ---------- Основа ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: Inter, Arial, sans-serif;
	line-height: 1.5;
}

h1, h2, h3 { font-family: Poppins, Arial, sans-serif; line-height: 1.16; margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.container { width: min(1200px, calc(100% - 48px)); margin: auto; }
section { padding: 82px 0; }

.section-title {
	text-align: center;
	font-size: clamp(1.9rem, 3vw, 2.35rem);
	margin-bottom: 22px;
}
.section-title::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin: 16px auto 0;
	background: var(--green);
	border-radius: 2px;
}

/* Въвеждащ текст под заглавие на секция */
.section-lead {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 46px;
	color: var(--muted);
	font-size: 1.05rem;
	line-height: 1.7;
}

/* Секции без въвеждащ текст запазват по-голямото разстояние до съдържанието */
.services .section-title:not(:has(+ .section-lead)),
.gallery .section-title:not(:has(+ .section-lead)),
.testimonials .section-title:not(:has(+ .section-lead)) {
	margin-bottom: 44px;
}

/* ---------- Бутони ---------- */
.button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	border: 0;
	border-radius: 8px;
	background: var(--green);
	color: #fff;
	padding: 13px 22px;
	font-weight: 700;
	cursor: pointer;
	font: inherit;
	transition: background .2s;
}
.button:hover { background: var(--deep); }

.button-outline { background: transparent; border: 2px solid #fff; }
.button-outline:hover { background: #fff; color: var(--deep); }

/* ---------- Header ---------- */
.site-header { background: #fff; padding: 12px 0; position: relative; z-index: 10; }

.header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 68px;
}

.brand img,
.brand .custom-logo { width: 68px; height: 68px; object-fit: contain; }

.main-nav ul {
	display: flex;
	gap: 25px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}
.main-nav a { font-size: .94rem; font-weight: 600; }
.main-nav a:hover,
.main-nav .current-menu-item a { color: var(--green); }

.header-actions {
	display: flex;
	align-items: center;
	gap: 18px;
	font-weight: 700;
	white-space: nowrap;
}
.phone { color: var(--ink); }

.menu-toggle {
	display: none;
	background: none;
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 8px 11px;
	font-weight: 700;
	cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 570px;
	display: flex;
	align-items: center;
	background: #22301b;
	isolation: isolate;
}
.hero:before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10,30,10,.76), rgba(10,30,10,.25) 58%, rgba(10,30,10,.08));
	z-index: -1;
}
.hero:after {
	content: "";
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: -2;
}

.hero-content { color: #fff; max-width: 690px; padding: 86px 0; }
.hero h1 { font-size: clamp(2.45rem, 5vw, 4.1rem); font-weight: 800; }
.hero p { font-size: 1.15rem; max-width: 610px; color: #f0f5ec; margin: 20px 0 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Услуги ---------- */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
}

.service-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 0 24px 28px;
	box-shadow: 0 4px 14px rgba(0,0,0,.04);
	overflow: hidden;
}

.service-icon {
	width: 62px;
	height: 62px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #a6d97a;
	color: var(--deep);
	font-size: 1.8rem;
	margin: 30px 0 19px;
}

.service-image {
	margin: 0 -24px 22px;
	position: relative;
}
.service-image img { width: 100%; height: 210px; object-fit: cover; display: block; }

/* Системен заместител, докато няма зададена снимка */
.service-image--placeholder img { object-fit: cover; background: #eef3e8; }
.service-image__icon {
	position: absolute;
	top: 12px;
	left: 12px;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .9);
	color: var(--green);
	font-size: 1rem;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

.service-card h2,
.service-card h3 {
	font-size: 1.2rem;
	margin-bottom: 12px;
	color: var(--deep);
}
.service-card p,
.service-card .service-text { font-size: .92rem; color: var(--muted); margin: 0; }
.service-card .service-text p { margin: 0 0 8px; }
.service-card .service-text > *:last-child { margin-bottom: 0; }

/* Картичката като връзка */
a.service-card {
	display: flex;
	flex-direction: column;
	color: inherit;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.service-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 26px rgba(0,0,0,.09);
	border-color: #a6d97a;
}
a.service-card p { flex: 1; }

.service-more {
	display: inline-block;
	margin-top: 16px;
	color: var(--green);
	font-weight: 700;
	font-size: .88rem;
}
a.service-card:hover .service-more { color: var(--deep); }

.service-card-list {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	display: grid;
	gap: 5px;
	font-size: .85rem;
	color: var(--muted);
}
.service-card-list li:before { content: "— "; color: #a6d97a; }

.services-grid-lg { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.section-action { text-align: center; margin: 40px 0 0; }

.button-ghost {
	background: transparent;
	color: var(--green);
	border: 2px solid var(--green);
}
.button-ghost:hover { background: var(--green); color: #fff; }

/* ---------- Вътрешни страници ---------- */
.page-hero {
	background: var(--deep);
	color: #fff;
	padding: 54px 0 58px;
}
.page-hero h1 {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	max-width: 900px;
}
.page-hero-lead {
	font-size: 1.1rem;
	color: #dceccf;
	margin: 16px 0 0;
	max-width: 720px;
}

.breadcrumbs {
	font-size: .85rem;
	color: #a9c39a;
	margin-bottom: 18px;
}
.breadcrumbs a { color: #cde3bd; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs .sep { margin: 0 6px; opacity: .6; }

/* ---------- Страница на услуга ---------- */
.service-body { padding: 60px 0 82px; }

.service-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 48px;
	align-items: start;
}

.service-cover {
	margin: 0 0 30px;
	border-radius: var(--radius);
	overflow: hidden;
	border: 2px solid #7cb958;
}
.service-cover img { width: 100%; height: auto; }

.entry-content { font-size: 1.03rem; }
.entry-content > * { margin: 0 0 18px; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { font-size: 1.6rem; margin: 34px 0 14px; }
.entry-content h3 { font-size: 1.24rem; margin: 26px 0 12px; }
.entry-content ul,
.entry-content ol { padding-left: 22px; }
.entry-content li { margin-bottom: 7px; }
.entry-content a { color: var(--deep); font-weight: 600; text-decoration: underline; }
.entry-content img { border-radius: var(--radius); }

.sub-services { margin-top: 48px; }
.sub-services h2 { font-size: 1.6rem; margin-bottom: 22px; }

.service-cta {
	margin-top: 48px;
	padding: 32px;
	background: #f2f6ed;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.service-cta h2 { font-size: 1.45rem; margin-bottom: 8px; }
.service-cta p { color: var(--muted); margin: 0 0 20px; }
.service-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Странична колона ---------- */
.service-sidebar { display: grid; gap: 22px; position: sticky; top: 24px; }

.sidebar-box {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
}

.sidebar-title {
	font-size: 1.08rem;
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}

.sidebar-menu,
.sidebar-submenu { list-style: none; margin: 0; padding: 0; }
.sidebar-menu > li { border-bottom: 1px solid #f0f3ed; }
.sidebar-menu > li:last-child { border-bottom: 0; }
.sidebar-menu a {
	display: block;
	padding: 10px 0;
	font-size: .95rem;
	font-weight: 600;
	color: var(--ink);
}
.sidebar-menu a:hover { color: var(--green); }
.sidebar-menu .is-current > a { color: var(--green); }

.sidebar-submenu { padding: 0 0 8px 14px; border-left: 2px solid #e3ecdc; }
.sidebar-submenu a { font-weight: 400; font-size: .9rem; padding: 7px 0; color: var(--muted); }

.sidebar-back {
	display: inline-block;
	margin-top: 14px;
	font-size: .88rem;
	font-weight: 600;
	color: var(--green);
}

.sidebar-contact { background: #f2f6ed; }
.sidebar-phone { font-size: 1.35rem; font-weight: 800; margin: 0 0 4px; }
.sidebar-phone a { color: var(--deep); }
.sidebar-area { color: var(--muted); font-size: .9rem; margin: 0 0 18px; }

.no-services { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Блог: архив ---------- */
.article-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 28px;
}

.article-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .2s, box-shadow .2s;
}
.article-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(0,0,0,.09);
}

.article-card-image {
	display: block;
	aspect-ratio: 16 / 10;
	background: #edf1e9;
	overflow: hidden;
	position: relative;
}
.article-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s;
}
.article-card:hover .article-card-image img { transform: scale(1.05); }
.article-card-placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 3rem;
	color: #a6d97a;
}

.article-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }

.article-meta {
	font-size: .82rem;
	color: var(--muted);
	margin-bottom: 10px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.article-meta .dot { opacity: .5; }
.article-meta a { color: var(--green); font-weight: 600; }
.article-meta a:hover { color: var(--deep); }
.article-meta.light { color: #cde3bd; }
.article-meta.light a { color: #a6d97a; }

.article-card-body h2 { font-size: 1.22rem; margin-bottom: 10px; line-height: 1.25; }
.article-card-body h2 a:hover { color: var(--green); }
.article-card-body p { font-size: .93rem; color: var(--muted); margin: 0 0 14px; flex: 1; }

.article-more { color: var(--green); font-weight: 700; font-size: .88rem; }
.article-more:hover { color: var(--deep); }

.article-pagination { margin-top: 46px; }
.article-pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}
.article-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
	font-weight: 600;
	color: var(--ink);
}
.article-pagination .page-numbers:hover { border-color: var(--green); color: var(--green); }
.article-pagination .page-numbers.current { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- Блог: единична статия ---------- */
.article-body { padding: 56px 0 82px; }

.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 48px;
	align-items: start;
}

.article-cover {
	margin: 0 0 30px;
	border-radius: var(--radius);
	overflow: hidden;
	border: 2px solid #7cb958;
}
.article-cover img { width: 100%; height: auto; }

.article-content .entry-content { font-size: 1.06rem; }

.article-cta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid var(--line);
}

.article-sidebar { display: grid; gap: 22px; position: sticky; top: 24px; }

.sidebar-articles { list-style: none; margin: 0; padding: 0; }
.sidebar-articles li { border-bottom: 1px solid #f0f3ed; }
.sidebar-articles li:last-child { border-bottom: 0; }
.sidebar-articles a { display: flex; gap: 12px; padding: 12px 0; align-items: center; }
.sidebar-articles .thumb { flex: 0 0 60px; }
.sidebar-articles .thumb img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.sidebar-articles .t { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); line-height: 1.3; }
.sidebar-articles a:hover .t { color: var(--green); }
.sidebar-articles .d { display: block; font-size: .78rem; color: var(--muted); margin-top: 3px; }

/* ---------- Галерия: албуми ---------- */
.album-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 26px;
	max-width: 1000px;
	margin: 0 auto;
}

.album-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	color: inherit;
	transition: transform .2s, box-shadow .2s;
}
.album-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(0,0,0,.1);
}

.album-card-image {
	position: relative;
	aspect-ratio: 4 / 3;
	background: #edf1e9;
	overflow: hidden;
}
.album-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s;
}
.album-card:hover .album-card-image img { transform: scale(1.05); }

.album-count {
	position: absolute;
	bottom: 12px;
	right: 12px;
	background: rgba(14,26,11,.82);
	color: #fff;
	font-size: .78rem;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
}

.album-card-body { padding: 20px 22px 22px; }
.album-card-body h2,
.album-card-body h3 { font-size: 1.18rem; margin-bottom: 8px; }
.album-card-body p { font-size: .92rem; color: var(--muted); margin: 0 0 12px; }

/* ---------- Единичен проект ---------- */
.gallery-body { padding: 56px 0 82px; }
.album-intro { max-width: 760px; margin: 0 auto 44px; text-align: center; }

.album-photos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}

.album-photo { margin: 0; }
.album-photo a {
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: var(--radius);
	overflow: hidden;
	border: 2px solid #7cb958;
	cursor: zoom-in;
}
.album-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s;
}
.album-photo a:hover img { transform: scale(1.06); }

.album-cta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 48px;
}

.more-albums { background: #f2f6ed; }

/* ---------- Lightbox ---------- */
.chd-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(8,16,6,.94);
	padding: 40px 70px;
}
.chd-lightbox.is-open { display: flex; }

.chd-lb-figure {
	margin: 0;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.chd-lb-img {
	max-width: 100%;
	max-height: 82vh;
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.chd-lb-cap {
	color: #dfe8d8;
	font-size: .92rem;
	margin-top: 14px;
	text-align: center;
	max-width: 640px;
}

.chd-lb-close,
.chd-lb-prev,
.chd-lb-next {
	position: absolute;
	background: rgba(255,255,255,.12);
	color: #fff;
	border: 0;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background .2s;
}
.chd-lb-close:hover,
.chd-lb-prev:hover,
.chd-lb-next:hover { background: rgba(255,255,255,.28); }

.chd-lb-close {
	top: 20px;
	right: 24px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	font-size: 28px;
	line-height: 1;
}
.chd-lb-prev,
.chd-lb-next {
	top: 50%;
	transform: translateY(-50%);
	width: 54px;
	height: 54px;
	border-radius: 50%;
	font-size: 34px;
	line-height: 1;
}
.chd-lb-prev { left: 20px; }
.chd-lb-next { right: 20px; }

.chd-lb-count {
	position: absolute;
	bottom: 22px;
	left: 50%;
	transform: translateX(-50%);
	color: #cdd8c2;
	font-size: .85rem;
	letter-spacing: .5px;
}

@media (max-width: 680px) {
	.chd-lightbox { padding: 20px; }
	.chd-lb-prev, .chd-lb-next { width: 42px; height: 42px; font-size: 26px; }
	.chd-lb-prev { left: 8px; }
	.chd-lb-next { right: 8px; }
	.chd-lb-close { top: 10px; right: 10px; }
	.album-cta .button { width: 100%; }
}

/* ---------- Галерия ---------- */
.gallery { padding-top: 0; }

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(var(--chd-cols, 2), 1fr);
	gap: 22px;
}

.gallery-card {
	position: relative;
	overflow: hidden;
	border: 2px solid #7cb958;
	border-radius: var(--radius);
	background: #edf1e9;
	margin: 0;
}
.gallery-card img {
	width: 100%;
	height: 340px;
	object-fit: cover;
	transition: transform .25s;
}
.gallery-card:hover img { transform: scale(1.03); }

.gallery-card figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(transparent, rgba(10,30,10,.82));
	color: #fff;
	padding: 28px 16px 14px;
	font-size: .88rem;
	font-weight: 600;
}

/* ---------- Доверен партньор ---------- */
.trusted-partner { background: var(--deep); color: #fff; padding: 70px 0; }
.trusted-partner .section-title { color: #fff; margin-bottom: 12px; }
.trusted-partner .section-title::after { background: rgba(255,255,255,.85); }
.trusted-partner .section-lead { color: rgba(255,255,255,.95); }

.partner-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 48px;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}
@media (max-width: 700px) {
	.partner-features { grid-template-columns: repeat(2, 1fr); }
}

.feature-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 12px;
}

.feature-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: rgba(255,255,255,.15);
	border-radius: 50%;
	font-size: 1.4rem;
	color: #a6d97a;
}

.feature-item strong {
	font-size: 1.1rem;
	line-height: 1.4;
}

/* ---------- Отзиви ---------- */
.testimonials { background: var(--deep); color: #fff; }
.testimonials .section-title { color: #fff; }
.testimonials .section-title::after { background: rgba(255,255,255,.85); }

.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.testimonial {
	background: #fff;
	color: #3b4437;
	border-radius: var(--radius);
	padding: 28px;
	display: flex;
	flex-direction: column;
}

.quote {
	color: #7cb958;
	font-size: 2.4rem;
	font-family: Poppins, Arial, sans-serif;
	line-height: 1;
}

.testimonial-text { flex: 1; min-height: 65px; font-size: .95rem; }
.testimonial-text p { margin: 0 0 10px; }
.testimonial-text > *:last-child { margin-bottom: 0; }

.author { color: #111; font-weight: 700; margin-top: 18px; }
.author small { display: block; color: #7a8272; font-weight: 400; }
.author small a { color: #1877f2; }
.author small a:hover { text-decoration: underline; }

/* Отзив, дошъл от Facebook */
.testimonial.is-facebook { position: relative; }
.testimonial.is-facebook:after {
	content: "f";
	position: absolute;
	top: 20px;
	right: 22px;
	width: 22px;
	height: 22px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #1877f2;
	color: #fff;
	font-family: Georgia, serif;
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
}

.testimonial-more {
	display: inline-block;
	margin-top: 16px;
	color: var(--green);
	font-weight: 700;
	font-size: .88rem;
}
.testimonial-more:hover { color: var(--deep); }

/* Единичен отзив */
.testimonial-body { padding: 60px 0 82px; }

.testimonial-full {
	max-width: 760px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 40px;
	box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.testimonial-full .quote {
	color: #7cb958;
	font-size: 3.2rem;
	font-family: Poppins, Arial, sans-serif;
	line-height: 1;
	margin-bottom: 6px;
}
.testimonial-full .entry-content { font-size: 1.15rem; color: #3b4437; }

.testimonial-footer {
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 12px;
}
.fb-source { color: #1877f2; font-weight: 600; font-size: .9rem; }
.fb-source:hover { text-decoration: underline; }

.testimonial-cta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 40px;
}

.more-testimonials { margin-top: 0; }

/* Контейнер за слайдер/embed от плъгин (WP Review Slider, Ron Social и др.) */
.reviews-slider { margin: 0 auto; max-width: 1100px; text-align: center; }
.reviews-slider img { display: inline-block; }
.reviews-slider iframe { max-width: 100%; }
.reviews-slider .fb_iframe_widget,
.reviews-slider .fb-page { display: inline-block !important; max-width: 100%; }

.testimonials-more { text-align: center; margin: 34px 0 0; }
.testimonials-more a {
	color: #a6d97a;
	font-weight: 600;
	border-bottom: 1px solid rgba(166,217,122,.4);
	padding-bottom: 2px;
}
.testimonials-more a:hover { color: #fff; border-color: #fff; }

/* ---------- CTA ---------- */
.cta { padding: 62px 0; background: #2c7a1f; color: #fff; text-align: center; }
.cta h2 { font-size: clamp(1.8rem, 3vw, 2.2rem); margin-bottom: 24px; }
.cta .button { background: #fff; color: #2c7a1f; }
.cta .button:hover { background: #e8f5e0; }

/* ---------- Контакти ---------- */
.contact { background: #f2f6ed; }

.contact-wrap {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 50px;
}

.contact h2 { font-size: 2.15rem; margin-bottom: 16px; }
.contact-info { font-size: 1.06rem; }
.contact-info a { color: var(--deep); font-weight: 700; }

.quote-form {
	background: #fff;
	border: 1px solid var(--line);
	padding: 30px;
	border-radius: var(--radius);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: block; font-weight: 700; font-size: .9rem; }
.quote-form input,
.quote-form select,
.quote-form textarea {
	width: 100%;
	margin-top: 6px;
	border: 1px solid #cdd5c7;
	border-radius: 7px;
	padding: 12px;
	font: inherit;
}
.quote-form textarea { resize: vertical; min-height: 105px; }
.full { grid-column: 1 / -1; }

.notice { padding: 12px 16px; border-radius: 7px; margin-bottom: 18px; }
.notice.success { background: #dcefd2; color: #1e5d1c; }
.notice.error { background: #ffe1de; color: #941a12; }

/* ---------- Footer ---------- */
.site-footer { background: #0e1a0b; color: #cdd4c6; padding: 54px 0 26px; }

.footer-row {
	display: flex;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}

.footer-brand img,
.footer-brand .custom-logo { width: 62px; height: auto; }

.footer-title { color: #fff; font-weight: 700; margin-bottom: 13px; }

.footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 9px;
}
.footer-list a:hover { color: #a6d97a; }

.copyright {
	color: #7a8272;
	font-size: .82rem;
	text-align: center;
	border-top: 1px solid #223018;
	padding-top: 20px;
	margin-top: 35px;
}

/* ---------- Адаптивност ---------- */
@media (max-width: 960px) {
	.header-actions { display: none; }
	.main-nav ul { gap: 15px; }
	.hero { min-height: 510px; }
	.gallery-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
	.service-layout { grid-template-columns: 1fr; gap: 36px; }
	.service-sidebar { position: static; }
	.article-layout { grid-template-columns: 1fr; gap: 36px; }
	.article-sidebar { position: static; }
}

@media (max-width: 680px) {
	.container { width: min(100% - 32px, 1200px); }
	.site-header { padding: 8px 0; }
	.header-row { flex-wrap: wrap; }
	.menu-toggle { display: block; margin-left: auto; }
	.main-nav { display: none; width: 100%; }
	.main-nav.is-open { display: block; }
	.main-nav ul { padding: 12px 0; display: grid; gap: 14px; }
	.hero-content { padding: 72px 0; }
	.gallery-grid,
	.testimonial-grid,
	.contact-wrap { grid-template-columns: 1fr; }
	.services-grid { grid-template-columns: 1fr; }
	.gallery-card img { height: 280px; }
	.form-grid { grid-template-columns: 1fr; }
	.full { grid-column: auto; }
	section { padding: 60px 0; }
	.page-hero { padding: 38px 0 42px; }
	.service-body { padding: 44px 0 60px; }
	.service-cta { padding: 24px; }
	.service-cta-actions .button { width: 100%; }
}
