:root {
	--bg: #fbf8f4;
	--surface: #ffffff;
	--ink: #1d2420;
	--muted: #6c756f;
	--green: #1f4d3f;
	--green-soft: #eaf0ec;
	--gold: #b08a3e;
	--line: #e6e0d6;
	--shadow: 0 24px 50px -34px rgba(29, 36, 32, 0.55);
	--serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 17px/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* шапка */
.top {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(251, 248, 244, 0.94);
	backdrop-filter: saturate(150%) blur(8px);
	border-bottom: 1px solid var(--line);
}

.top__inner { display: flex; align-items: center; gap: 22px; min-height: 70px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }

.brand__mark {
	width: 40px; height: 40px; border-radius: 50%;
	background: var(--green); color: #f6efe2;
	display: grid; place-items: center;
	font: 600 14px/1 var(--sans); letter-spacing: 0.02em;
	flex: none;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--serif); font-size: 20px; letter-spacing: -0.01em; }
.brand__role { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }

.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14.5px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--gold); }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border-radius: 999px;
	background: var(--green); color: #fff; border: 1px solid var(--green);
	font-size: 15px; text-decoration: none; cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover { background: #17392f; border-color: #17392f; color: #fff; }

.btn--ghost { background: transparent; color: var(--green); border-color: var(--line); }
.btn--ghost:hover { background: var(--green-soft); color: var(--green); border-color: var(--green); }

.nav-phone { padding: 9px 18px; font-size: 14px; }

/* первый экран */
.hero { padding: 58px 0 30px; }

.hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }

.eyebrow {
	display: inline-block; padding: 6px 14px; border-radius: 999px;
	background: var(--green-soft); color: var(--green);
	font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.13em;
}

.hero h1 {
	font-family: var(--serif); font-weight: 400;
	font-size: clamp(32px, 4.6vw, 50px); line-height: 1.1; letter-spacing: -0.02em;
	margin: 20px 0 16px;
}

.hero h1 em { font-style: italic; color: var(--gold); }

.hero__lead { font-size: 18px; color: var(--muted); margin: 0 0 26px; max-width: 56ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__num { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--green); }
.stat__label { font-size: 13px; color: var(--muted); }

.hero__photo { position: relative; }

.hero__photo img {
	width: 100%; max-width: 380px; margin-left: auto;
	border-radius: 22px; box-shadow: var(--shadow);
	object-fit: cover;
}

/* секции */
.section { padding: 64px 0; }
.section--alt { background: #f3efe7; }

.section__inner { }
.section__title { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -0.01em; margin: 0 0 22px; }

.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.section__head .section__title { margin: 0; }
.section__note { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }

.about { max-width: 780px; }
.about p { margin: 0 0 1em; font-size: 17.5px; }
.about__list { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.about__list li { position: relative; padding-left: 26px; color: var(--ink); }
.about__list li::before {
	content: ""; position: absolute; left: 0; top: 9px;
	width: 10px; height: 10px; border-radius: 50%; background: var(--gold);
}

/* поиск */
.search input {
	width: 260px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px;
	background: var(--surface); font: inherit; font-size: 15px; color: var(--ink);
}
.search input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }

/* отзывы */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }

.review {
	display: flex; flex-direction: column; gap: 10px;
	background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
	padding: 20px 22px;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.review:hover { border-color: #d8cfbf; transform: translateY(-2px); }

.review__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review__name { font-weight: 600; font-size: 15.5px; }
.review__stars { letter-spacing: 1px; font-size: 14px; white-space: nowrap; }
.star { color: var(--gold); }
.star--empty { color: #ddd5c6; }

.review__text { margin: 0; font-size: 15.5px; color: #2b332e; }
.review__date { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--muted); }

.reviews__more { display: flex; justify-content: center; margin-top: 26px; }
.reviews__empty { text-align: center; color: var(--muted); margin-top: 20px; }

/* контакты */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: 860px; }

.contact {
	display: flex; flex-direction: column; gap: 4px;
	padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line);
	background: var(--surface); text-decoration: none; color: var(--ink);
	transition: border-color 0.15s ease;
}
.contact:hover { border-color: var(--green); }
.contact__label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.contact__value { font-family: var(--serif); font-size: 20px; color: var(--green); }

.contacts__note { margin: 22px 0 0; color: var(--muted); font-size: 14.5px; max-width: 70ch; }

/* подвал */
.footer { border-top: 1px solid var(--line); background: #f3efe7; padding: 28px 0 36px; font-size: 13.5px; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; gap: 30px; }
	.hero__photo img { margin: 0 auto; max-width: 300px; }
	.nav { display: none; }
}

@media (max-width: 560px) {
	.top__inner { min-height: 62px; gap: 12px; }
	.nav-phone { display: none; }
	.search input { width: 100%; }
	.reviews { grid-template-columns: 1fr; }
	.section { padding: 46px 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.review, .review:hover { transition: none; transform: none; }
}
