/* ===== RESET ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: #0f0b08;
	color: #efe7dc;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }

:root {
	--bg: #0f0b08;
	--bg-2: #17110d;
	--panel: #211913;
	--panel-2: #2a211a;
	--line: rgba(239, 231, 220, .16);
	--line-strong: rgba(239, 231, 220, .34);
	--text: #efe7dc;
	--muted: #b6a89a;
	--accent: #d08a45;
	--accent-2: #f1b66f;
	--white: #fffaf1;
	--dark: #0b0806;
	--radius: 0px;
	--container: 1180px;
}

/* ===== BASE ===== */
.container { width: min(100% - 32px, var(--container)); margin: 0 auto; }
.section { padding: 84px 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section__title {
	max-width: 760px;
	font-size: clamp(2rem, 4vw, 4.15rem);
	font-weight: 800;
	line-height: .95;
	letter-spacing: -.06em;
	color: var(--white);
	margin-bottom: 34px;
}
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid--2, .grid--3 { grid-template-columns: 1fr; }

@media (min-width: 760px) {
	.grid--2 { grid-template-columns: repeat(2, 1fr); }
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ===== BUTTONS ===== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 22px;
	border: 1px solid var(--line-strong);
	background: transparent;
	color: var(--white);
	font-weight: 750;
	letter-spacing: -.02em;
	transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); border-color: var(--accent); }
.btn--primary { background: var(--accent); color: #140c05; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-2); color: #140c05; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .92rem; }

/* ===== HEADER ===== */
.header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(15, 11, 8, .88);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--line);
}
.header__inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.header__logo {
	font-size: 1.18rem;
	font-weight: 900;
	letter-spacing: -.05em;
	color: var(--white);
}
.header__logo::before {
	content: "";
	display: inline-block;
	width: 9px;
	height: 9px;
	margin-right: 10px;
	background: var(--accent);
	vertical-align: 2px;
}
.header__nav { display: none; align-items: center; gap: 2px; }
.header__nav-link {
	padding: 11px 14px;
	font-size: .92rem;
	color: var(--muted);
	border: 1px solid transparent;
	transition: color .2s, border-color .2s;
}
.header__nav-link:hover { color: var(--white); border-color: var(--line); }
.header__burger {
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	background: transparent;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	padding: 0 11px;
}
.header__burger span { height: 2px; background: var(--white); transition: transform .2s, opacity .2s; }
.header__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.open span:nth-child(2) { opacity: 0; }
.header__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
	.header__nav.open {
		display: grid;
		position: absolute;
		left: 16px;
		right: 16px;
		top: 82px;
		padding: 10px;
		background: var(--panel);
		border: 1px solid var(--line);
	}
	.header__nav.open .header__nav-link { padding: 13px 12px; }
	.header__cta { display: none; }
}
@media (min-width: 900px) {
	.header__nav { display: flex; }
	.header__burger { display: none; }
}

/* ===== HERO ===== */
.hero {
	min-height: calc(100vh - 74px);
	display: flex;
	align-items: stretch;
	padding: 0;
	background:
		linear-gradient(90deg, rgba(15,11,8,1) 0%, rgba(15,11,8,.94) 45%, rgba(15,11,8,.35) 100%),
		repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 96px),
		var(--bg);
}
.hero__inner { display: grid; grid-template-columns: 1fr; align-items: stretch; width: min(100% - 32px, var(--container)); }
.hero__content {
	padding: clamp(80px, 12vw, 150px) 0 56px;
	max-width: 800px;
	position: relative;
	z-index: 2;
}
.hero__content::before {
	content: "TEATEA43";
	display: block;
	font-size: .78rem;
	font-weight: 900;
	letter-spacing: .22em;
	color: var(--accent);
	margin-bottom: 22px;
}
.hero__title {
	font-size: clamp(3rem, 8vw, 7.4rem);
	font-weight: 900;
	line-height: .86;
	letter-spacing: -.08em;
	color: var(--white);
	max-width: 920px;
}
.hero__subtitle {
	max-width: 560px;
	margin: 28px 0 34px;
	font-size: clamp(1rem, 1.8vw, 1.25rem);
	color: var(--muted);
}
.hero__image {
	min-height: 420px;
	border: 1px solid var(--line);
	background:
		linear-gradient(135deg, rgba(208,138,69,.25), rgba(23,17,13,.35)),
		repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 1px, transparent 1px 18px),
		var(--panel);
	position: relative;
	overflow: hidden;
}
.hero__image img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	min-height: 420px;
	object-fit: cover;
}
@media (min-width: 960px) {
	.hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr); gap: 44px; }
	.hero__image { align-self: end; height: min(70vh, 720px); margin: 104px 0 60px; }
}

/* ===== CARDS ===== */
.card {
	min-height: 245px;
	padding: 26px;
	background: var(--bg-2);
	position: relative;
	transition: background .2s ease;
}
.card:hover { background: var(--panel); }
.card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 28px;
	padding: 0 8px;
	border: 1px solid var(--line);
	color: var(--accent);
	font-size: .78rem;
	font-weight: 900;
	letter-spacing: .06em;
	margin-bottom: 58px;
}
.services .card__icon { display: none; }
.card__title {
	font-size: 1.28rem;
	font-weight: 850;
	letter-spacing: -.04em;
	line-height: 1.08;
	color: var(--white);
	margin-bottom: 12px;
}
.card__text { color: var(--muted); font-size: .98rem; max-width: 340px; }
.card__price {
	display: inline-block;
	margin-top: 22px;
	padding-top: 12px;
	border-top: 1px solid var(--line);
	font-weight: 850;
	color: var(--accent-2);
}

/* ===== ABOUT / STAGES / CASES / TABLES ===== */
.about__inner { display: grid; gap: 28px; }
.about__text { color: var(--muted); font-size: 1.05rem; }
.about__text p + p { margin-top: 16px; }
.about__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.about__stat { padding: 24px; background: var(--bg-2); }
.about__stat-value { display: block; color: var(--accent); font-size: 2rem; font-weight: 900; letter-spacing: -.05em; }
.about__stat-label { color: var(--muted); }
.stages__list { list-style: none; border: 1px solid var(--line); }
.stages__item { display: grid; grid-template-columns: 80px 1fr; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stages__item:last-child { border-bottom: 0; }
.stages__num { display: grid; place-items: center; color: var(--accent); font-weight: 900; border-right: 1px solid var(--line); }
.stages__body { padding: 24px; }
.stages__name { color: var(--white); font-size: 1.18rem; margin-bottom: 6px; }
.stages__desc { color: var(--muted); }
.case-card, .review-card, .error-card { background: var(--bg-2); border: 1px solid var(--line); padding: 26px; }
.case-card__num { color: var(--accent); font-weight: 900; }
.case-card__title, .error-card__title { color: var(--white); margin: 10px 0; }
.case-card__result { color: var(--accent-2); font-weight: 800; margin-bottom: 10px; }
.case-card__desc, .review-card__text, .error-card__text { color: var(--muted); }
.review-card__author { margin-top: 18px; display: grid; gap: 2px; }
.review-card__name { color: var(--white); font-weight: 800; }
.review-card__role { color: var(--muted); font-size: .9rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 680px; background: var(--bg-2); }
th, td { padding: 18px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--white); background: var(--panel); }
td { color: var(--muted); }
.check { color: #9ad28d; }
.cross { color: #e88972; }

/* ===== GALLERY ===== */
.slider { position: relative; overflow: hidden; border: 1px solid var(--line); }
.slider__track { display: flex; transition: transform .3s ease; }
.slider__slide { min-width: 100%; background: var(--bg-2); }
.slider__slide img { width: 100%; height: 520px; object-fit: cover; }
.slider__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border: 1px solid var(--line);
	background: rgba(15,11,8,.82);
	color: var(--white);
}
.slider__btn--prev { left: 14px; }
.slider__btn--next { right: 14px; }
.slider__dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.slider__dot { width: 8px; height: 8px; border: 0; background: rgba(255,255,255,.35); }
.slider__dot.active { background: var(--accent); }

/* ===== FAQ ===== */
.faq__list { border: 1px solid var(--line); background: var(--line); display: grid; gap: 1px; }
.faq__item { background: var(--bg-2); }
.faq__question {
	width: 100%;
	padding: 24px 24px;
	border: 0;
	background: transparent;
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	text-align: left;
	font-size: 1.08rem;
	font-weight: 850;
	letter-spacing: -.03em;
}
.faq__arrow { color: var(--accent); transition: transform .2s; }
.faq__question[aria-expanded="true"] .faq__arrow { transform: rotate(180deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq__answer.open { max-height: 200px; }
.faq__answer p { padding: 0 24px 24px; color: var(--muted); max-width: 760px; }

/* ===== TEXT BLOCK ===== */
.seo-text__inner { max-width: 860px; }
.seo-text__inner p { color: var(--muted); font-size: 1.02rem; }
.seo-text__inner p + p { margin-top: 16px; }

/* ===== CTA ===== */
.cta {
	background:
		linear-gradient(135deg, rgba(208,138,69,.16), transparent 48%),
		var(--panel);
	border-top: 1px solid var(--line);
}
.cta__inner { max-width: 900px; }
.cta__title {
	font-size: clamp(2.2rem, 5vw, 5.6rem);
	font-weight: 900;
	line-height: .9;
	letter-spacing: -.07em;
	color: var(--white);
	margin-bottom: 18px;
}
.cta__subtitle { color: var(--muted); font-size: 1.08rem; max-width: 620px; margin-bottom: 28px; }
.cta__form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	margin-bottom: 18px;
}
.cta__input {
	min-height: 58px;
	padding: 0 18px;
	border: 0;
	outline: 0;
	background: #fff7ec;
	color: #170f0a;
}
.cta__input::placeholder { color: #745d4d; }
.cta__form .btn { min-height: 58px; border: 0; }
.cta__contacts { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--white); margin-bottom: 12px; }
.cta__contacts a { color: var(--accent-2); }
.cta__privacy { color: rgba(239,231,220,.55); font-size: .82rem; }
.cta__msg { min-height: 24px; margin-top: 12px; font-weight: 800; }
@media (min-width: 760px) { .cta__form { grid-template-columns: 1fr 1fr auto; } }

/* ===== FOOTER ===== */
.footer { background: #090604; color: var(--muted); }
.footer__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	background: var(--line);
	border-left: 1px solid var(--line);
	border-right: 1px solid var(--line);
}
.footer__brand, .footer__contacts, .footer__nav, .footer__legal { background: #090604; padding: 28px; }
.footer__logo { display: block; color: var(--white); font-weight: 900; font-size: 1.3rem; letter-spacing: -.05em; margin-bottom: 12px; }
.footer__desc, .footer__hours, .footer__address, .footer__legal p { color: var(--muted); font-size: .92rem; }
.footer__heading { color: var(--white); font-size: .92rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer__contact-link, .footer__nav-link { display: block; margin-bottom: 8px; color: var(--muted); transition: color .2s; }
.footer__contact-link:hover, .footer__nav-link:hover { color: var(--accent-2); }
.footer__legal p + p { margin-top: 6px; }
.footer__bottom { border-top: 1px solid var(--line); }
.footer__bottom-inner { min-height: 58px; display: flex; align-items: center; color: rgba(239,231,220,.55); font-size: .86rem; }
@media (min-width: 760px) {
	.footer__inner { grid-template-columns: 1.2fr 1fr 1fr 1.15fr; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 759px) {
	.container { width: min(100% - 24px, var(--container)); }
	.section { padding: 60px 0; }
	.section__title { margin-bottom: 24px; }
	.card { min-height: auto; padding: 22px; }
	.card__icon { margin-bottom: 34px; }
	.hero__image { min-height: 300px; }
	.hero__image img { min-height: 300px; }
	.slider__slide img { height: 340px; }
}
