/* ===== VARIABLES ===== */
:root {
	--color-bg:         #fdfcfb;
	--color-surface:    #f5f0eb;
	--color-surface-2:  #ede6df;
	--color-border:     #e0d8d0;
	--color-text:       #3d3530;
	--color-muted:      #8c7e75;
	--color-accent:     #c2826a;
	--color-accent-h:   #ae6e57;
	--color-accent-bg:  #fdf2ee;
	--color-accent-2:   #8fa882;
	--color-success:    #4a7c59;
	--color-danger:     #b85c5c;
	--color-white:      #ffffff;

	--font-base:        'Segoe UI', system-ui, -apple-system, sans-serif;
	--radius:           12px;
	--radius-lg:        20px;
	--radius-xl:        28px;
	--container:        1100px;
	--section-gap:      88px;
	--header-h:         64px;

	--shadow-sm:        0 2px 8px rgba(61,53,48,.06);
	--shadow-md:        0 6px 24px rgba(61,53,48,.10);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
	font-family: var(--font-base);
	font-size: 16px;
	line-height: 1.7;
	color: var(--color-text);
	background: var(--color-bg);
	overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea { font: inherit; }

/* ===== CONTAINER ===== */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 28px;
}

/* ===== SECTIONS ===== */
.section { padding: var(--section-gap) 0; }
.section:nth-child(even) { background: var(--color-surface); }

.section__title {
	font-size: clamp(1.5rem, 4vw, 2.2rem);
	font-weight: 600;
	margin-bottom: 48px;
	text-align: center;
	letter-spacing: -.01em;
	color: var(--color-text);
}

/* ===== BUTTONS ===== */
.btn {
	display: inline-block;
	padding: 13px 28px;
	border-radius: var(--radius-xl);
	font-weight: 600;
	font-size: .92rem;
	transition: background .2s, box-shadow .2s, transform .15s;
	text-align: center;
}
.btn--primary {
	background: var(--color-accent);
	color: var(--color-white);
	box-shadow: 0 4px 14px rgba(194,130,106,.3);
}
.btn--primary:hover {
	background: var(--color-accent-h);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(194,130,106,.4);
}
.btn--soft {
	background: var(--color-surface-2);
	color: var(--color-text);
}
.btn--soft:hover { background: var(--color-border); }
.btn--sm { padding: 9px 20px; font-size: .85rem; }

/* ===== HEADER ===== */
.header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--header-h);
	background: rgba(253,252,251,.92);
	border-bottom: 1px solid var(--color-border);
}
.header__inner {
	display: flex;
	align-items: center;
	gap: 32px;
	height: 100%;
}
.header__logo {
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--color-text);
	letter-spacing: -.01em;
	margin-right: auto;
}
.header__nav { display: flex; gap: 28px; }
.header__nav-link {
	font-size: .88rem;
	color: var(--color-muted);
	font-weight: 500;
	transition: color .2s;
}
.header__nav-link:hover { color: var(--color-accent); }
.header__burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.header__burger span { display: block; width: 22px; height: 2px; background: var(--color-text); border-radius: 2px; }

/* ===== HERO — мягкий, тёплый ===== */
.hero {
	padding: 80px 0 60px;
	background: linear-gradient(160deg, var(--color-bg) 0%, var(--color-surface) 100%);
}
.hero__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}
.hero__content {}
.hero__badge {
	display: inline-block;
	padding: 6px 16px;
	border-radius: var(--radius-xl);
	background: var(--color-accent-bg);
	color: var(--color-accent);
	font-size: .8rem;
	font-weight: 600;
	margin-bottom: 20px;
}
.hero__title {
	font-size: clamp(1.8rem, 4.5vw, 3rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.02em;
	color: var(--color-text);
	margin-bottom: 16px;
}
.hero__subtitle {
	font-size: .95rem;
	color: var(--color-muted);
	line-height: 1.8;
	margin-bottom: 32px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__image {
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}
.hero__image img { width: 100%; height: 420px; object-fit: cover; }

/* ===== ABOUT ===== */
.about__inner {
	display: grid;
	grid-template-columns: 1fr 240px;
	gap: 64px;
	align-items: start;
}
.about__text p { color: var(--color-muted); margin-bottom: 16px; line-height: 1.8; }
.about__stats { display: flex; flex-direction: column; gap: 16px; }
.stat-pill {
	padding: 18px 24px;
	background: var(--color-accent-bg);
	border-radius: var(--radius-lg);
	border: 1px solid rgba(194,130,106,.2);
}
.stat-pill__value {
	display: block;
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--color-accent);
	margin-bottom: 2px;
}
.stat-pill__label { font-size: .82rem; color: var(--color-muted); }

/* ===== ADVANTAGES ===== */
.adv-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
}
.adv-card {
	padding: 28px;
	border-radius: var(--radius-lg);
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	transition: box-shadow .2s, transform .2s;
}
.adv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.adv-card__icon {
	font-size: 1.8rem;
	margin-bottom: 14px;
	width: 48px; height: 48px;
	background: var(--color-accent-bg);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
}
.adv-card__title { font-size: .95rem; font-weight: 600; margin-bottom: 8px; }
.adv-card__text { font-size: .88rem; color: var(--color-muted); line-height: 1.75; }

/* ===== SERVICES ===== */
.srv-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}
.srv-card {
	padding: 28px;
	background: var(--color-bg);
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-border);
	transition: box-shadow .2s;
}
.srv-card:hover { box-shadow: var(--shadow-md); }
.srv-card__title { font-size: .95rem; font-weight: 600; margin-bottom: 8px; }
.srv-card__text { font-size: .88rem; color: var(--color-muted); margin-bottom: 14px; line-height: 1.75; }
.srv-card__price { font-size: .88rem; font-weight: 600; color: var(--color-accent); }

/* ===== STAGES ===== */
.stages__list { display: flex; flex-direction: column; gap: 20px; max-width: 680px; margin: 0 auto; }
.stages__item { display: flex; gap: 20px; align-items: flex-start; }
.stages__bubble {
	flex-shrink: 0;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--color-accent);
	color: var(--color-white);
	display: flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: .88rem;
	box-shadow: 0 4px 12px rgba(194,130,106,.3);
}
.stages__name { font-size: .95rem; font-weight: 600; margin-bottom: 4px; }
.stages__desc { font-size: .88rem; color: var(--color-muted); }

/* ===== CASES ===== */
.cases-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
}
.case-card {
	padding: 28px;
	background: var(--color-bg);
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-border);
}
.case-card__title { font-size: .95rem; font-weight: 600; margin-bottom: 8px; }
.case-card__result { font-size: .85rem; font-weight: 600; color: var(--color-accent); margin-bottom: 10px; }
.case-card__desc { font-size: .85rem; color: var(--color-muted); line-height: 1.75; }

/* ===== PRICE ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
.price-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.price-table th {
	padding: 14px 20px;
	text-align: left;
	background: var(--color-surface);
	color: var(--color-muted);
	font-size: .8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.price-table td { padding: 14px 20px; border-top: 1px solid var(--color-border); }
.price-table tr:hover td { background: var(--color-surface); }

/* ===== REVIEWS ===== */
.reviews-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}
.review-card {
	padding: 28px;
	background: var(--color-surface);
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-border);
}
.review-card__text { font-size: .9rem; color: var(--color-muted); line-height: 1.8; margin-bottom: 20px; }
.review-card__author { display: flex; flex-direction: column; gap: 2px; }
.review-card__name { font-size: .9rem; font-weight: 600; }
.review-card__role { font-size: .8rem; color: var(--color-accent); }

/* ===== GALLERY / SLIDER ===== */
.slider { position: relative; overflow: hidden; border-radius: var(--radius-xl); }
.slider__track { display: flex; transition: transform .4s ease; }
.slider__slide { flex-shrink: 0; width: 100%; }
.slider__slide img { width: 100%; height: 420px; object-fit: cover; }
.slider__btn {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px; border-radius: 50%;
	background: rgba(253,252,251,.9);
	border: 1px solid var(--color-border);
	color: var(--color-text);
	font-size: 1rem;
	box-shadow: var(--shadow-sm);
	transition: background .2s;
	z-index: 2;
}
.slider__btn:hover { background: var(--color-accent); color: var(--color-white); border-color: var(--color-accent); }
.slider__btn--prev { left: 16px; }
.slider__btn--next { right: 16px; }
.slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.slider__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-border); cursor: pointer; transition: background .2s; }
.slider__dot.active { background: var(--color-accent); }

/* ===== SEO TEXT ===== */
.seo-text__inner { max-width: 760px; margin: 0 auto; }
.seo-text__inner p { color: var(--color-muted); margin-bottom: 16px; line-height: 1.85; }

/* ===== ERRORS ===== */
.errors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.error-card { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--color-border); background: var(--color-bg); }
.error-card--tip { border-color: rgba(194,130,106,.3); background: var(--color-accent-bg); }
.error-card__badge { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 700; }
.error-card--tip .error-card__badge { background: rgba(194,130,106,.2); color: var(--color-accent); }
.error-card--error .error-card__badge { background: rgba(184,92,92,.1); color: var(--color-danger); }
.error-card__title { font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.error-card__text { font-size: .85rem; color: var(--color-muted); }

/* ===== COMPARISON ===== */
.cmp-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.cmp-table th { padding: 14px 20px; text-align: left; background: var(--color-surface); color: var(--color-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 500; }
.cmp-table td { padding: 13px 20px; border-top: 1px solid var(--color-border); }
.cmp-table__us { color: var(--color-accent); }
.check { color: var(--color-success); font-weight: 700; }
.cross { color: var(--color-danger); }

/* ===== FAQ ===== */
.faq__list { max-width: 700px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__question {
	width: 100%; display: flex; justify-content: space-between; align-items: center;
	gap: 16px; padding: 20px 0; text-align: left;
	font-size: .95rem; font-weight: 500; color: var(--color-text);
	transition: color .2s;
}
.faq__question:hover { color: var(--color-accent); }
.faq__arrow { flex-shrink: 0; transition: transform .3s; color: var(--color-muted); }
.faq__question[aria-expanded="true"] .faq__arrow { transform: rotate(180deg); color: var(--color-accent); }
.faq__answer { display: none; padding: 0 0 20px; }
.faq__answer p { font-size: .9rem; color: var(--color-muted); line-height: 1.8; }
.faq__answer.open { display: block; }

/* ===== CTA — мягкий пастельный ===== */
.cta.section { background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-accent-bg) 100%); }
.cta__inner { max-width: 520px; margin: 0 auto; text-align: center; }
.cta__title { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 700; letter-spacing: -.02em; color: var(--color-text); margin-bottom: 12px; }
.cta__subtitle { color: var(--color-muted); margin-bottom: 36px; }
.cta__form { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.cta__input {
	padding: 14px 18px;
	border-radius: var(--radius-xl);
	border: 1.5px solid var(--color-border);
	background: var(--color-bg);
	color: var(--color-text);
	font-size: .92rem;
	transition: border-color .2s;
}
.cta__input:focus { outline: none; border-color: var(--color-accent); }
.cta__privacy { font-size: .8rem; color: var(--color-muted); }
.cta__msg { margin-top: 12px; font-size: .9rem; }
.cta__msg.success { color: var(--color-success); }
.cta__msg.error { color: var(--color-danger); }

/* ===== FOOTER ===== */
.footer { background: var(--color-surface); border-top: 1px solid var(--color-border); }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding: 56px 0 40px; }
.footer__logo { font-size: 1rem; font-weight: 700; color: var(--color-text); display: block; margin-bottom: 10px; }
.footer__desc { font-size: .88rem; color: var(--color-muted); line-height: 1.75; }
.footer__heading { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--color-muted); margin-bottom: 16px; }
.footer__contact-link { display: block; font-size: .88rem; color: var(--color-text); margin-bottom: 8px; transition: color .2s; }
.footer__contact-link:hover { color: var(--color-accent); }
.footer__hours, .footer__address { font-size: .85rem; color: var(--color-muted); margin-top: 8px; }
.footer__nav-link { display: block; font-size: .88rem; color: var(--color-muted); margin-bottom: 8px; transition: color .2s; }
.footer__nav-link:hover { color: var(--color-accent); }
.footer__bottom { border-top: 1px solid var(--color-border); padding: 16px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--color-muted); }
.footer__dev-link { transition: color .2s; }
.footer__dev-link:hover { color: var(--color-accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__image { order: -1; }
	.about__inner { grid-template-columns: 1fr; gap: 40px; }
	.footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	:root { --section-gap: 64px; }
	.header__nav, .header__cta { display: none; }
	.header__burger { display: flex; }
	.header__nav.open {
		display: flex; flex-direction: column;
		position: fixed; inset: var(--header-h) 0 0 0;
		background: var(--color-bg);
		padding: 32px 28px; gap: 24px; z-index: 99;
	}
	.footer__inner { grid-template-columns: 1fr; gap: 32px; padding: 28px; }
	.footer__bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
}
/* === Custom overrides === */
:root {
	--color-bg: #f8f3f0;
	--color-surface: #ffffff;
	--color-text: #4b3c3a;
	--color-accent: #e67e22;
	--font-base: Cormorant;
	--radius: 10px;
}
