/* ===== RESET CSS ===== */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

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

body {
	font-family: 'Montserrat', sans-serif;
	font-weight: 300;
	line-height: 1.6;
	color: #5a4a4a;
	background-color: #fff9f9;
	min-height: 100vh;
}

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

a {
	text-decoration: none;
	color: inherit;
}

ul,
ol {
	list-style: none;
}

button {
	border: none;
	background: none;
	cursor: pointer;
	font-family: inherit;
}

input,
textarea {
	font-family: inherit;
	font-size: inherit;
}

/* ===== ОБЩИЕ ПЕРЕМЕННЫЕ ===== */
:root {
	--color-rose: #f3d9dc;
	--color-rose-dark: #d4a0a7;
	--color-lavender: #e6e1f0;
	--color-mint: #e0f0ea;
	--color-cream: #fef9f3;
	--color-gold: #c9a96e;
	--color-text: #5a4a4a;
	--color-text-light: #8c7a7a;
	--shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
	--shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.08);
	--border-radius: 16px;
}

/* ===== ТИПОГРАФИКА ===== */
h1,
h2,
h3,
h4 {
	font-family: 'Cormorant Garamond', serif;
	font-weight: 600;
	line-height: 1.2;
}

.section-title {
	text-align: center;
	font-size: 2.8rem;
	margin-bottom: 2.5rem;
	color: #5a4a4a;
	position: relative;
}

.section-title::after {
	content: '';
	display: block;
	width: 60px;
	height: 2px;
	background: var(--color-gold);
	margin: 1rem auto 0;
}

/* ===== КОНТЕЙНЕР И СЕКЦИИ ===== */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.section-padding {
	padding: 80px 0;
}

/* ===== HEADER ===== */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: rgba(255, 249, 249, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
	z-index: 1000;
	transition: background 0.3s;
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 80px;
}

.logo {
	font-family: 'Cormorant Garamond', serif;
	font-size: 2rem;
	font-weight: 700;
	color: #5a4a4a;
	letter-spacing: 1px;
}

.nav__list {
	display: flex;
	gap: 2rem;
}

.nav__link {
	font-size: 0.95rem;
	font-weight: 400;
	color: var(--color-text);
	position: relative;
	transition: color 0.3s;
}

.nav__link::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0%;
	height: 2px;
	background: var(--color-gold);
	transition: width 0.3s;
}

.nav__link:hover {
	color: var(--color-rose-dark);
}

.nav__link:hover::after {
	width: 100%;
}

/* ===== BURGER ===== */
.burger {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 28px;
	height: 20px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 1001;
}

.burger__line {
	width: 100%;
	height: 2px;
	background: #5a4a4a;
	transition: all 0.3s;
	border-radius: 2px;
}

.burger.active .burger__line:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.burger.active .burger__line:nth-child(2) {
	opacity: 0;
}

.burger.active .burger__line:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== HERO ===== */
.hero {
	position: relative;
	height: 100vh;
	min-height: 600px;
	display: flex;
	align-items: center;
	overflow: hidden;
	margin-top: 0;
}

.hero__img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}

.hero__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		rgba(243, 217, 220, 0.4),
		rgba(230, 225, 240, 0.4)
	);
	z-index: -1;
}

.hero__content {
	text-align: center;
	color: #5a4a4a;
	z-index: 2;
}

.hero__title {
	font-size: 4rem;
	margin-bottom: 1rem;
	text-shadow: 0 2px 10px rgba(255, 255, 255, 0.6);
}

.hero__subtitle {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	font-weight: 300;
	text-shadow: 0 1px 5px rgba(255, 255, 255, 0.6);
}

/* ===== КНОПКИ ===== */
.btn {
	display: inline-block;
	padding: 14px 40px;
	border-radius: 50px;
	font-weight: 500;
	font-size: 1rem;
	letter-spacing: 0.5px;
	transition: all 0.4s;
	border: 1px solid transparent;
}

.btn--accent {
	background: var(--color-rose);
	color: #5a4a4a;
	border-color: var(--color-rose-dark);
	box-shadow: 0 4px 15px rgba(212, 160, 167, 0.3);
}

.btn--accent:hover {
	background: var(--color-rose-dark);
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(212, 160, 167, 0.4);
}

/* ===== ABOUT ===== */
.about__content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.about__text p {
	margin-bottom: 1rem;
	font-size: 1.05rem;
	color: var(--color-text-light);
}

.about__image img {
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-soft);
}

/* ===== SERVICES ===== */
.services {
	background: var(--color-cream);
}

.table-responsive {
	overflow-x: auto;
}

.price-table {
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
	border-collapse: collapse;
	background: white;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
}

.price-table th {
	background: var(--color-rose);
	color: #5a4a4a;
	font-weight: 500;
	font-size: 1.1rem;
	padding: 16px 20px;
	text-align: left;
}

.price-table td {
	padding: 14px 20px;
	border-bottom: 1px solid #f0e4e4;
}

.price-table tr:last-child td {
	border-bottom: none;
}

.price-table tr:hover td {
	background: #fdf8f8;
}

/* ===== GALLERY ===== */
.gallery__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.gallery__item {
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	transition:
		transform 0.4s,
		box-shadow 0.4s;
	cursor: pointer;
}

.gallery__item:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-hover);
}

.gallery__item img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	transition: transform 0.4s;
}

.gallery__item:hover img {
	transform: scale(1.05);
}

.sert__item {
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	transition:
		transform 0.4s,
		box-shadow 0.4s;
	cursor: pointer;
}

.sert__item:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-hover);
}

.sert__item img {
	width: 100%;
	height: 459px;
	object-fit: cover;
	transition: transform 0.4s;
}

.sert__item:hover img {
	transform: scale(1.05);
}

/* ===== CONTACTS ===== */
.contacts__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
}

.contacts__info p {
	margin-bottom: 1rem;
	font-size: 1.05rem;
}

.contacts__info a {
	color: var(--color-rose-dark);
	font-weight: 500;
}

.contacts__map {
	display: flex;
	justify-content: center;
}

.contacts__photo {
	display: flex;
	justify-content: center;
}

.contacts__form-wrapper {
	background: white;
	padding: 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-soft);
}

.contacts__form-wrapper h3 {
	margin-bottom: 1.5rem;
	font-size: 1.8rem;
	color: #5a4a4a;
}

.form__group {
	margin-bottom: 1.2rem;
}

.form__group label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
	color: var(--color-text-light);
}

.form__group input,
.form__group textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #e7dbdb;
	border-radius: 10px;
	font-size: 0.95rem;
	background: #fefcfc;
	transition:
		border 0.3s,
		box-shadow 0.3s;
}

.form__group input:focus,
.form__group textarea:focus {
	outline: none;
	border-color: var(--color-rose-dark);
	box-shadow: 0 0 0 3px rgba(212, 160, 167, 0.2);
}

/* ===== FOOTER ===== */
.footer {
	background: var(--color-lavender);
	padding: 25px 0;
	text-align: center;
	font-size: 0.9rem;
	color: #5a4a4a;
}

.footer__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.footer__policy a {
	color: var(--color-rose-dark);
	text-decoration: underline;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
	.about__content {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.about__image {
		max-width: 400px;
		margin: 0 auto;
	}
	.contacts__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.header__inner {
		height: 70px;
	}
	.nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 75%;
		max-width: 320px;
		height: 100vh;
		background: rgba(255, 249, 249, 0.98);
		backdrop-filter: blur(12px);
		padding: 100px 30px 30px;
		box-shadow: -5px 0 30px rgba(0, 0, 0, 0.05);
		transition: right 0.4s ease;
		z-index: 999;
	}
	.nav.active {
		right: 0;
	}
	.nav__list {
		flex-direction: column;
		gap: 2rem;
	}
	.nav__link {
		font-size: 1.3rem;
	}
	.burger {
		display: flex;
	}

	.hero {
		min-height: 450px;
	}
	.hero__title {
		font-size: 2.8rem;
	}
	.hero__subtitle {
		font-size: 1rem;
	}

	.section-title {
		font-size: 2.2rem;
	}

	.footer__inner {
		flex-direction: column;
		gap: 0.5rem;
	}
}

@media (max-width: 480px) {
	.hero__title {
		font-size: 2.2rem;
	}
	.btn {
		padding: 12px 30px;
	}
	.gallery__grid {
		grid-template-columns: 1fr;
	}
}
