/* ============================================================
   1. ПЕРЕМЕННЫЕ И БАЗА
   ============================================================ */
:root {
	--navy: #0e2440;
	--navy-dark: #0a1a2f;
	--navy-fade: rgba(14, 36, 64, 0.85);
	--gold: #c9a227;
	--gold-dark: #a8861e;
	--gold-soft: rgba(201, 162, 39, 0.10);
	--cream: #fbfaf4;
	--white: #ffffff;
	--ink: #1f2937;
	--ink-soft: #374151;
	--muted: #6b7280;
	--line: #eae8dc;
	--shadow: 0 12px 40px -12px rgba(14, 36, 64, 0.16);
	--shadow-sm: 0 4px 20px -6px rgba(14, 36, 64, 0.10);
	--radius: 16px;
	--radius-sm: 10px;
	--transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	--max-width: 1180px;
	--header-height: 70px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 200;
	background: var(--navy);
	color: var(--white);
	padding: 10px 16px;
	border-radius: 0 0 8px 8px;
	transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }
html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-height);
}
body {
	font-family: 'OrchideaPro', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
	color: var(--ink);
	background: var(--white);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
[hidden], .hidden { display: none !important; }

.container {
	position: relative;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
}

.section { padding: 70px 0; }
.section--small { padding: 50px 0; }

.visually-hidden {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); border: 0;
}
.svg-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

/* ============================================================
   2. ТИПОГРАФИЯ
   ============================================================ */
.h1, .h2, .h3 {
	font-weight: 600;
	line-height: 1.2;
	color: var(--navy);
	letter-spacing: -0.01em;
}
.h1 { font-size: clamp(34px, 5.2vw, 56px); }
.h2 { font-size: clamp(26px, 3.2vw, 38px); }
.h3 { font-size: clamp(20px, 2.2vw, 26px); }

.text-lg { font-size: clamp(16px, 1.4vw, 18px); }
.text-base { font-size: clamp(15px, 1.2vw, 16px); }
.text-sm { font-size: clamp(13px, 1vw, 14px); }

.section-head {
	text-align: center;
	margin-bottom: 50px;
}
.section-head .eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--gold);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	margin-bottom: 12px;
}
.section-head .eyebrow::before {
	content: ''; display: inline-block; width: 6px; height: 6px;
	background: var(--gold); border-radius: 50%;
}
.section-head .h2 { margin-bottom: 10px; }
.section-head p { color: var(--muted); max-width: 620px; margin: 0 auto; }

/* ============================================================
   3. КНОПКИ
   ============================================================ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 56px;
	padding: 0 26px;
	border-radius: var(--radius-sm);
	border: none;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
	text-decoration: none;
}
.btn--primary {
	background: var(--navy);
	color: var(--white);
	box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
	background: var(--navy-dark);
	transform: translateY(-1px);
	box-shadow: var(--shadow);
}
.btn--gold {
	background: var(--gold);
	color: var(--navy-dark);
}
.btn--gold:hover {
	background: var(--gold-dark);
	color: var(--white);
	transform: translateY(-1px);
}
.btn--ghost {
	background: rgba(255,255,255,0.85);
	color: var(--navy);
	border: 1px solid rgba(14,36,64,0.15);
}
.btn--ghost:hover {
	background: var(--white);
	transform: translateY(-1px);
}
.btn--icon-right { gap: 10px; }
.btn:active { transform: translateY(0); }
.btn span { font-size: 14px; font-weight: 500; opacity: 0.85; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ============================================================
   4. ШАПКА
   ============================================================ */
.header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--header-height);
	background: transparent;
	border-bottom: 1px solid rgba(234, 232, 220, 0.75);
	transition: box-shadow var(--transition), border-color var(--transition);
}
.header::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: blur(16px) saturate(150%);
	backdrop-filter: blur(16px) saturate(150%);
	transition: background var(--transition);
	pointer-events: none;
}
.header--scrolled {
	border-bottom-color: var(--line);
	box-shadow: var(--shadow-sm);
}
.header--scrolled::before {
	background: rgba(255, 255, 255, 0.95);
}
.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}
.header__logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 700;
	color: var(--navy);
	letter-spacing: -0.02em;
}
.header__logo img { width: 36px; height: auto; object-fit: contain; }

.header__nav {
	display: flex;
	gap: 30px;
	align-items: center;
}
.header__nav a {
	font-size: 15px;
	font-weight: 500;
	color: var(--ink-soft);
	transition: color var(--transition);
	position: relative;
}
.header__nav a:hover,
.header__nav a.is-active { color: var(--gold); }
.header__nav a::after {
	content: ''; position: absolute; left: 0; bottom: -4px;
	width: 0; height: 2px; background: var(--gold);
	border-radius: 1px; transition: width var(--transition);
}
.header__nav a:hover::after,
.header__nav a.is-active::after { width: 100%; }

.header__right {
	display: flex;
	align-items: center;
	gap: 14px;
}
.header__socials {
	display: flex;
	align-items: center;
	gap: 8px;
}
.header__socials .social-link {
	width: 40px;
	height: 40px;
	padding: 0;
	justify-content: center;
	border-radius: 50%;
	border-color: var(--line);
	background: var(--white);
	color: var(--navy);
}
.header__socials .social-link svg { width: 22px; height: 22px; }
.header__socials .social-link:hover {
	color: var(--gold-dark);
	border-color: var(--gold);
	background: var(--gold-soft);
}

.burger {
	display: none;
	width: 32px; height: 32px;
	position: relative;
	background: none; border: none;
	cursor: pointer;
	z-index: 110;
}
.burger span,
.burger span::before,
.burger span::after {
	position: absolute; left: 0; right: 0; height: 2px;
	background: var(--navy); border-radius: 2px;
	transition: transform var(--transition), opacity var(--transition);
}
.burger span { top: 50%; transform: translateY(-50%); }
.burger span::before { content: ''; top: -9px; }
.burger span::after { content: ''; bottom: -9px; }
.burger.active span { opacity: 0; transform: translateY(-50%) rotate(45deg); }
.burger.active span::before { transform: translateY(9px) rotate(0); }
.burger.active span::after { transform: translateY(-9px) rotate(90deg); }

/* Мобильное меню */
.header__menu {
	position: fixed;
	inset: 0;
	z-index: 130;
	background: var(--white);
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, visibility 0s linear 0.3s;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}
.header__menu.open {
	transform: translateX(0);
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, visibility 0s linear 0s;
}
.menu__inner {
	padding: 70px 24px 40px;
	height: 100%;
	overflow-y: auto;
	display: flex; flex-direction: column;
}
.menu__close {
	position: absolute; top: 16px; right: 16px;
	width: 36px; height: 36px;
	display: flex; align-items: center; justify-content: center;
	background: var(--line); border: none; border-radius: 50%;
	cursor: pointer; font-size: 24px; line-height: 1; color: var(--ink);
}
.menu__nav { display: flex; flex-direction: column; gap: 6px; margin-bottom: 40px; }
.menu__nav a {
	padding: 14px 0;
	font-size: 18px; font-weight: 600;
	color: var(--ink);
	border-bottom: 1px solid rgba(0,0,0,0.06);
}
.menu__nav a.is-active { color: var(--gold); }
.menu__contacts {
	display: flex; flex-direction: column; gap: 10px;
	border-top: 1px solid var(--line); padding-top: 20px;
}
.menu__contacts a {
	display: flex; align-items: center; gap: 10px;
	font-size: 17px; font-weight: 600;
	color: var(--navy);
}
.menu__social { margin-top: 26px; display: flex; gap: 16px; }
.menu__social svg { width: 24px; height: 24px; color: var(--navy); fill: currentColor; }
.menu__social a:hover svg { color: var(--gold); }

.overlay {
	position: fixed; inset: 0; z-index: 120;
	background: rgba(0,0,0,0.3); opacity: 0; pointer-events: none;
	transition: opacity 0.3s ease;
}
.overlay.visible { opacity: 1; pointer-events: auto; }

/* ============================================================
   5. ГЕРОЙ
   ============================================================ */
.hero {
	position: relative;
	margin-top: calc(-1 * var(--header-height));
	height: 100vh;
	height: 100svh;
	min-height: 640px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	background: var(--navy);
}
.hero__media {
	position: absolute; inset: 0;
	z-index: 0;
	pointer-events: none;
}
.hero__media video {
	width: 100%; height: 100%;
	object-fit: cover; object-position: center;
	opacity: 0.42;
}
.hero__media::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(14,36,64,0.55) 0%, rgba(0,0,0,0.62) 60%, var(--navy) 100%);
}
.hero__content {
	position: relative;
	z-index: 2;
	max-width: 820px;
	padding: 0 20px;
	animation: fadeUp 0.9s ease both;
}
.hero__logo {
	margin-bottom: 18px;
}
.hero__logo img {
	display: block;
	width: min(320px, 56vw);
	height: auto;
	margin: 0 auto;
	filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.35));
}
.hero__title {
	font-size: clamp(28px, 4.2vw, 50px);
	line-height: 1.14;
	margin-bottom: 12px;
	font-weight: 700;
	color: var(--gold);
	background: linear-gradient(180deg, #f3d98a 0%, #c9a227 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.hero__descr {
	color: rgba(255,255,255,0.88);
	font-size: clamp(16px, 1.5vw, 19px);
	max-width: 640px;
	margin: 0 auto 30px;
	line-height: 1.6;
}
.hero__cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin-bottom: 44px;
}
@media (min-width: 640px) {
	.hero__cta { flex-direction: row; justify-content: center; }
}
.hero__scroll {
	position: absolute;
	left: 0; right: 0; bottom: 26px;
	margin: 0 auto;
	width: max-content;
	z-index: 2;
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	color: rgba(255,255,255,0.6);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	animation: bounce 2.5s infinite;
}
@media (max-height: 680px) { .hero__scroll { display: none; } }
.hero__scroll svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }

@keyframes fadeUp {
	from { opacity: 0; transform: translateY(22px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-6px); }
}

/* ============================================================
   6. О НАС
   ============================================================ */
.about { background: var(--cream); }
.about__grid {
	display: grid;
	grid-template-columns: 1fr 420px;
	gap: 46px;
	align-items: center;
}
@media (max-width: 900px) {
	.about__grid { grid-template-columns: 1fr; gap: 32px; }
}
.about__text h2 { margin-bottom: 20px; }
.about__text p { color: var(--ink-soft); margin-bottom: 18px; }
.about__text p:last-child { margin-bottom: 0; }
.about__img {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.about__img img {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
}
.about__text p.about__principles {
	margin: 42px 0 0;
	background: var(--white);
	border-radius: var(--radius);
	padding: 26px 24px;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
	text-align: center;
	font-size: 17px;
	font-weight: 600;
	color: var(--navy);
	letter-spacing: 0.005em;
}

/* ============================================================
   7. УСЛУГИ И ЦЕНЫ
   ============================================================ */
.services__tabs {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 40px;
	border-bottom: 1px solid var(--line);
	padding-bottom: 24px;
}
.services__tab {
	padding: 10px 20px;
	border-radius: var(--radius-sm);
	border: 1px solid transparent;
	background: transparent;
	color: var(--muted);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all var(--transition);
	white-space: nowrap;
}
.services__tab:hover { color: var(--navy); background: rgba(14,36,64,0.04); }
.services__tab.is-active {
	color: var(--white);
	background: var(--navy);
	border-color: var(--navy);
	box-shadow: var(--shadow-sm);
}
@media (max-width: 560px) {
	.services__tab { padding: 8px 14px; font-size: 13px; }
}

.services__panel {
	display: none;
	animation: fadeIn 0.4s ease both;
}
.services__panel.is-active { display: grid; }
.services__panel.services--funeral.is-active,
.services__panel.services--monuments.is-active {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
}
.services--funeral .card,
.services--monuments .card {
	flex: 1 1 300px;
	max-width: calc((100% - 48px) / 3);
}
@media (max-width: 992px) {
	.services--funeral .card,
	.services--monuments .card { max-width: calc((100% - 24px) / 2); }
}
@media (max-width: 680px) {
	.services--funeral .card,
	.services--monuments .card { max-width: 100%; }
}
.services__panel.services--landscaping { grid-template-columns: 1fr; }

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.card {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 22px;
	background: var(--white);
	display: flex;
	flex-direction: column;
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
	transform: translateY(-4px);
	border-color: var(--gold);
	box-shadow: var(--shadow);
}
.card--featured {
	border-color: var(--gold);
	background: linear-gradient(180deg, #fff 0%, #fdf8ec 100%);
	box-shadow: var(--shadow-sm);
}
.card__cat {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--gold-soft);
	color: var(--gold-dark);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.card__title {
	font-size: 18px;
	font-weight: 700;
	color: var(--navy);
	margin-bottom: 8px;
	line-height: 1.3;
}
.card__price {
	font-size: 20px;
	font-weight: 700;
	color: var(--gold-dark);
	margin-bottom: 14px;
}
.card__price span { font-size: 14px; font-weight: 500; color: var(--muted); }
.card__list {
	color: var(--ink-soft);
	font-size: 14px;
	line-height: 1.7;
	margin-bottom: 18px;
	flex: 1;
	list-style: none;
}
.card__list li { margin-bottom: 6px; position: relative; padding-left: 23px; }
.card__list li::before {
	content: '—'; position: absolute; left: 0;
	color: var(--gold); font-weight: 700;
}
.card__btn {
	width: 100%;
	height: 46px;
	background: var(--navy);
	color: var(--white);
	border: none;
	border-radius: var(--radius-sm);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background var(--transition);
}
.card__btn:hover { background: var(--gold); }
.card--centered { text-align: center; }
.card--centered .card__list { text-align: left; margin: 0 auto 18px; max-width: 480px; }

/* ============================================================
   8. ОПЛАТА / РАССРОЧКА
   ============================================================ */
.payment {
	background: linear-gradient(180deg, #fff 0%, #fef7e8 100%);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.payment__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
}
.payment__card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 22px;
	text-align: center;
	transition: transform var(--transition), box-shadow var(--transition);
}
.payment__card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}
.payment__icon {
	width: 56px; height: 56px;
	border-radius: 14px;
	background: var(--gold-soft);
	margin: 0 auto 16px;
	display: flex; align-items: center; justify-content: center;
}
.payment__icon img { width: 30px; height: 30px; object-fit: contain; }
.payment__card h3 {
	font-size: 17px;
	margin-bottom: 8px;
	color: var(--navy);
}
.payment__card p {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.5;
}

/* ============================================================
   9. ПОРТФОЛИО
   ============================================================ */
.portfolio { background: var(--navy); }
.portfolio .section-head .h2,
.portfolio .section-head p,
.portfolio .section-head .eyebrow { color: var(--white); }
.portfolio .section-head .eyebrow { color: var(--gold); }
.portfolio__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}
.portfolio__item {
	position: relative;
	display: block;
	flex: 0 0 calc((100% - 3 * 14px) / 4);
	max-width: calc((100% - 3 * 14px) / 4);
	width: auto;
	border: 0;
	padding: 0;
	font: inherit;
	border-radius: var(--radius-sm);
	overflow: hidden;
	cursor: pointer;
	aspect-ratio: 4 / 3;
	background: #152947;
}
@media (max-width: 1024px) {
	.portfolio__item {
		flex-basis: calc((100% - 2 * 14px) / 3);
		max-width: calc((100% - 2 * 14px) / 3);
	}
}
@media (max-width: 700px) {
	.portfolio__grid { gap: 10px; }
	.portfolio__item {
		flex-basis: calc((100% - 10px) / 2);
		max-width: calc((100% - 10px) / 2);
	}
}
.portfolio__item img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform var(--transition);
	opacity: 0.85;
}
.portfolio__item:hover img { opacity: 1; transform: scale(1.04); }
.portfolio__item::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
	opacity: 0; transition: opacity var(--transition);
}
.portfolio__item:hover::after { opacity: 1; }
.portfolio__viewall {
	margin-top: 30px;
	text-align: center;
}

/* Lightbox */
.lightbox {
	position: fixed; inset: 0;
	z-index: 1000;
	background: rgba(0,0,0,0.92);
	display: none;
	align-items: center; justify-content: center;
	padding: 30px;
	opacity: 0; transition: opacity 0.3s ease;
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox__img {
	max-width: 90%; max-height: 85vh;
	border-radius: var(--radius-sm);
	box-shadow: 0 0 60px rgba(0,0,0,0.6);
}
.lightbox__close {
	position: absolute; top: 24px; right: 24px;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: rgba(255,255,255,0.15);
	border: none;
	color: var(--white);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	backdrop-filter: blur(6px);
}
.lightbox__close:hover { background: rgba(255,255,255,0.25); }
.lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255,255,255,0.14);
	border: 1px solid rgba(255,255,255,0.18);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	backdrop-filter: blur(6px);
	transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.lightbox__nav svg {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__nav:hover {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--navy-dark);
}
@media (max-width: 600px) {
	.lightbox { padding: 60px 12px; }
	.lightbox__img { max-width: calc(100% - 88px); }
	.lightbox__nav { width: 40px; height: 40px; }
	.lightbox__nav svg { width: 22px; height: 22px; }
	.lightbox__nav--prev { left: 10px; }
	.lightbox__nav--next { right: 10px; }
}
.lightbox__caption {
	position: absolute; bottom: 36px; left: 0; right: 0;
	text-align: center; color: rgba(255,255,255,0.7);
	font-size: 15px; pointer-events: none;
}
body.lightbox-open { overflow: hidden; }

/* ============================================================
   10. ОТЗЫВЫ
   ============================================================ */
.reviews { background: radial-gradient(circle at center, rgba(255,244,211,1) 0%, rgba(255,255,255,1) 100%); }
.reviews .section-head .eyebrow { color: var(--gold); }
.reviews .section-head .h2 { color: var(--navy); }
.reviews .section-head p { color: var(--ink-soft); }
.reviews__widget {
	margin-top: 30px;
	width: 100%;
}
.reviews__widget review-lab {
	display: block;
	width: 100%;
}
@media (max-width: 768px) {
	.reviews__widget { margin-top: 20px; }
}

/* ============================================================
   11. КОНТАКТЫ
   ============================================================ */
.contacts__wrap {
	display: grid;
	grid-template-columns: 1fr 410px;
	gap: 0;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	background: var(--white);
}
@media (max-width: 900px) {
	.contacts__wrap { grid-template-columns: 1fr; }
}
.contacts__map iframe {
	width: 100%; height: 100%;
	display: block;
	min-height: 420px;
}
.contacts__info {
	padding: 32px 34px;
	display: flex; flex-direction: column;
	justify-content: center;
	background: #fffefc;
	border-left: 1px solid var(--line);
}
@media (max-width: 900px) {
	.contacts__info { border-left: none; border-top: 1px solid var(--line); }
}
.contacts__brand {
	display: flex; align-items: center; gap: 10px;
	margin-bottom: 18px;
	font-size: 20px;
	font-weight: 700;
	color: var(--navy);
}
.contacts__brand img { width: 34px; height: auto; }
.contacts__title {
	font-size: 17px;
	font-weight: 700;
	color: var(--navy);
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.contacts__addr {
	color: var(--ink-soft);
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 16px;
}
.contacts__addr strong { color: var(--navy); }
.contacts__addr-label { margin: 12px 0 8px; }
.contacts__tel {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 12px;
	background: var(--navy);
	color: var(--white);
	border: 1px solid var(--navy);
	border-radius: var(--radius-sm);
	padding: 12px 16px;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 10px;
	width: fit-content;
	transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.contacts__tel span {
	font-size: 13px;
	font-weight: 500;
	color: var(--gold);
	white-space: nowrap;
}
.contacts__tel:hover {
	background: var(--navy-dark);
	border-color: var(--navy-dark);
	transform: translateY(-1px);
}
.contacts__tel--ghost {
	background: transparent;
	color: var(--navy);
	border-color: var(--line);
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 14px;
}
.contacts__tel--ghost span {
	color: var(--muted);
	font-weight: 400;
}
.contacts__tel--ghost:hover {
	background: var(--gold-soft);
	border-color: var(--gold);
	color: var(--navy);
	transform: none;
}
.contacts__mail {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--navy);
	font-size: 15px;
	font-weight: 600;
	border-bottom: 1px solid var(--navy);
	padding-bottom: 2px;
	transition: all var(--transition);
	margin-bottom: 14px;
}
.contacts__mail:hover {
	color: var(--gold);
	border-color: var(--gold);
}
.contacts__socials {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	margin-bottom: 16px;
}
.social-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	color: var(--navy);
	font-size: 14px;
	font-weight: 600;
	transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.social-link svg { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; }
.social-link:hover {
	color: var(--gold-dark);
	border-color: var(--gold);
	background: var(--gold-soft);
}
.contacts__note {
	font-size: 12.5px;
	color: var(--muted);
	font-style: italic;
	line-height: 1.5;
}

@media (min-width: 901px) {
	.contacts {
		min-height: calc(100vh - var(--header-height) - 16px);
		display: flex;
		align-items: center;
		padding: clamp(20px, 3.4vh, 42px) 0;
	}
	.contacts > .container { width: 100%; }
	.contacts .section-head { margin-bottom: clamp(16px, 2.6vh, 34px); }
}
@media (min-width: 901px) and (max-height: 820px) {
	.contacts { padding: 14px 0; }
	.contacts .section-head { margin-bottom: 12px; }
	.contacts__info { padding: 24px 30px; }
	.contacts__note { display: none; }
}

/* ============================================================
   12. ФУТЕР
   ============================================================ */
.footer {
	background: var(--navy-dark);
	color: rgba(255,255,255,0.7);
	padding: 38px 0 30px;
	font-size: 14px;
	line-height: 1.6;
}
.footer a { color: var(--white); text-decoration: none; border-bottom: 1px solid transparent; transition: all var(--transition); }
.footer a:hover { color: var(--gold); border-color: var(--gold); }
.footer__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.footer__main { text-align: center; }
.footer__brand {
	font-size: 18px;
	font-weight: 700;
	color: var(--white);
	margin-bottom: 8px;
	letter-spacing: -0.01em;
}
.footer__descr { color: rgba(255,255,255,0.55); font-size: 14px; }
.footer__socials {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 14px;
}
.footer__socials .social-link {
	padding: 8px;
	border-radius: 50%;
	background: transparent;
	border-color: rgba(255,255,255,0.22);
	color: rgba(255,255,255,0.8);
}
.footer__socials .social-link svg { width: 20px; height: 20px; }
.footer__socials .social-link:hover {
	color: var(--gold);
	border-color: var(--gold);
	background: rgba(201,162,39,0.12);
}

/* ============================================================
   13. КНОПКА НАВЕРХ
   ============================================================ */
.scrolltop {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 99;
	width: 52px; height: 52px;
	border-radius: 50%;
	background: var(--navy);
	color: var(--white);
	border: none;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(22px);
	transition: opacity var(--transition), visibility var(--transition), transform var(--transition), box-shadow var(--transition);
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-sm);
}
.scrolltop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scrolltop:hover { background: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.scrolltop svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.5; }

/* ============================================================
   14. РЕВЕЛ-АНИМАЦИЯ
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.25s; }
.reveal-delay-3 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.hero__scroll { animation: none; }
}

/* ============================================================
   14b. МОДАЛЬНОЕ ОКНО «ПОДРОБНЕЕ»
   ============================================================ */
.modal {
	position: fixed; inset: 0;
	z-index: 1001;
	display: none;
	align-items: center; justify-content: center;
	padding: 20px;
	background: rgba(6, 16, 30, 0.72);
}
.modal.is-open { display: flex; }
.modal__dialog {
	position: relative;
	width: min(560px, 100%);
	max-height: 88vh;
	overflow-y: auto;
	background: var(--white);
	border-radius: var(--radius);
	padding: 34px 30px 30px;
	box-shadow: 0 30px 80px rgba(0,0,0,0.35);
	animation: fadeUp 0.3s ease both;
}
.modal__close {
	position: absolute; top: 14px; right: 14px;
	width: 36px; height: 36px;
	border-radius: 50%;
	border: none;
	background: var(--line);
	color: var(--ink);
	font-size: 24px; line-height: 1;
	cursor: pointer;
}
.modal__close:hover { background: #ddd9c8; }
.modal__title {
	font-size: 22px;
	line-height: 1.25;
	color: var(--navy);
	margin: 0 36px 10px 0;
}
.modal__price {
	font-size: 20px;
	font-weight: 700;
	color: var(--gold-dark);
	margin-bottom: 16px;
}
.modal__price span { font-size: 14px; font-weight: 500; color: var(--muted); }
.modal__body {
	color: var(--ink-soft);
	font-size: 15px;
	line-height: 1.7;
	margin-bottom: 24px;
}
.modal__body li { margin: 0 0 6px 18px; }
.modal__body strong { color: var(--navy); }
.modal__body img { width: 100%; border-radius: var(--radius-sm); margin-bottom: 16px; }
body.modal-open { overflow: hidden; }

/* ============================================================
   15. АДАПТИВ
   ============================================================ */
@media (max-width: 900px) {
	.header__nav { display: none; }
	.burger { display: block; }
}
@media (max-width: 768px) {
	.section { padding: 50px 0; }
	.h1 { font-size: clamp(30px, 10vw, 46px); }
	.h2 { font-size: clamp(24px, 6vw, 32px); }
	.hero { min-height: 560px; }
	.hero__title { font-size: clamp(26px, 7.2vw, 40px); }
	.about__text p.about__principles { margin-top: 30px; }
	.services__tabs { gap: 8px; padding-bottom: 18px; }
	.contacts__info { padding: 30px 22px; }
	.contacts__tel { font-size: 16px; padding: 12px 16px; margin-bottom: 8px; }
	.contacts__tel--ghost { margin-top: 4px; margin-bottom: 16px; }
}
@media (max-width: 560px) {
	.header__right { gap: 10px; }
	.header__socials { gap: 6px; }
	.header__socials .social-link { width: 38px; height: 38px; }
	.header__socials .social-link svg { width: 21px; height: 21px; }
	.hero__cta .btn { width: 100%; max-width: 300px; }
	.card__list { font-size: 13px; }
	.payment__card { padding: 22px 16px; }
	.contacts__brand { font-size: 17px; }
	.contacts__tel { font-size: 16px; width: 100%; justify-content: center; }
	.contacts__tel span { white-space: normal; }
	.contacts__tel--ghost { justify-content: center; }
	.modal__dialog { padding: 30px 20px 24px; }
}
@media (max-width: 359px) {
	.header__logo span { display: none; }
}
