/* ================================================================
   ARTMASTER — сеть студий ногтевого сервиса, Уфа
   Design tokens
================================================================ */
:root {
	--ink: #191411;
	--ink-soft: #2a221c;
	--paper: #f8f4ec;
	--card: #fffdf8;
	--tint: #f1eadd;
	--gold: #b8894c;
	--gold-2: #d8b078;
	--gold-3: #eacf9f;
	--muted: #7d7166;
	--muted-light: #b9ac9d;
	--line: rgba(25, 20, 17, 0.10);
	--line-light: rgba(255, 251, 240, 0.14);
	--radius: 22px;
	--shadow: 0 18px 50px -18px rgba(25, 20, 17, 0.22);
	--font-display: "Cormorant Garamond", Georgia, serif;
	--font-body: "Manrope", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	font-family: var(--font-body);
	background: var(--paper);
	color: var(--ink);
	line-height: 1.65;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; }

h1 { font-size: clamp(44px, 6.4vw, 82px); letter-spacing: -0.5px; }
h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.3px; }
h2 em, h1 em { font-style: italic; color: var(--gold); font-weight: 500; }

/* ================= Eyebrow / section head ================= */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 18px;
}
.eyebrow::before {
	content: "";
	width: 34px;
	height: 1px;
	background: var(--gold);
	opacity: 0.7;
}
.eyebrow--light { color: var(--gold-2); }

.section { padding: 104px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #f5efe4; }

.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 17px; }
.section-head--light p { color: var(--muted-light); }

.section-cta { margin-top: 48px; display: flex; justify-content: center; }

/* ================= Buttons ================= */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 15px 30px;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.01em;
	cursor: pointer;
	border: 1px solid transparent;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn--lg { padding: 18px 38px; font-size: 16px; }

.btn--gold {
	background: linear-gradient(120deg, var(--gold) 0%, var(--gold-2) 55%, var(--gold) 100%);
	background-size: 180% 100%;
	color: #fffaf0;
	box-shadow: 0 12px 30px -10px rgba(184, 137, 76, 0.55);
}
.btn--gold:hover { background-position: 90% 0; box-shadow: 0 16px 36px -10px rgba(184, 137, 76, 0.65); }

.btn--dark { background: var(--ink); color: #f5efe4; }
.btn--dark:hover { background: var(--ink-soft); }

.btn--ghost { border-color: var(--line-light); color: #f5efe4; background: rgba(255, 251, 240, 0.04); }
.btn--ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }

.btn--ghost-dark { border-color: rgba(25, 20, 17, 0.22); color: var(--ink); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--gold); color: var(--gold); }

/* ================= Header ================= */
.header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	padding: 18px 0;
	transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.header.scrolled {
	background: rgba(22, 17, 14, 0.92);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
	padding: 12px 0;
}
.header__inner { display: flex; align-items: center; gap: 28px; }
.header__logo img { height: 40px; width: auto; }
.header__nav { display: flex; gap: 26px; margin-left: auto; }
.header__nav a {
	color: rgba(245, 239, 228, 0.82);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: color 0.2s ease;
}
.header__nav a:hover { color: var(--gold-2); }
.header__right { display: flex; align-items: center; gap: 18px; }
.header__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #f5efe4;
	font-size: 14px;
	font-weight: 700;
	transition: color 0.2s ease;
}
.header__phone:hover { color: var(--gold-2); }
.header__phone svg { color: var(--gold-2); }

.burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	background: rgba(255, 251, 240, 0.06);
	border: 1px solid var(--line-light);
	border-radius: 12px;
	cursor: pointer;
	padding: 0 10px;
}
.burger span { display: block; height: 2px; background: #f5efe4; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 99;
	background: rgba(22, 17, 14, 0.98);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 34px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.mobile-menu nav a { color: #f5efe4; font-family: var(--font-display); font-size: 28px; }
.mobile-menu nav a:hover { color: var(--gold-2); }
.mobile-menu__phone { color: var(--gold-2); font-weight: 700; font-size: 18px; }

/* ================= Hero ================= */
.hero {
	position: relative;
	background:
		radial-gradient(1100px 500px at 85% -10%, rgba(184, 137, 76, 0.16), transparent 60%),
		linear-gradient(165deg, #1b1512 0%, #191411 55%, #221a14 100%);
	color: #f5efe4;
	padding: 190px 0 96px;
	overflow: hidden;
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero__glow--1 { width: 480px; height: 480px; right: -120px; top: -80px; background: rgba(216, 176, 120, 0.14); }
.hero__glow--2 { width: 420px; height: 420px; left: -140px; bottom: -180px; background: rgba(184, 137, 76, 0.10); }

.hero__inner { position: relative; }
.hero__content { max-width: 720px; }
.hero__lead { margin-top: 26px; font-size: 18px; color: rgba(245, 239, 228, 0.78); max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero__note {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 26px;
	font-size: 14px;
	color: rgba(245, 239, 228, 0.6);
}
.hero__note svg { color: var(--gold-2); flex-shrink: 0; }

.hero__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 84px;
	padding-top: 44px;
	border-top: 1px solid var(--line-light);
}
.stat__num {
	font-family: var(--font-display);
	font-size: clamp(34px, 3.4vw, 46px);
	font-weight: 600;
	color: var(--gold-2);
	line-height: 1;
}
.stat__label { margin-top: 10px; font-size: 14px; color: rgba(245, 239, 228, 0.62); max-width: 220px; }

/* ================= Promo ================= */
.promo { padding: 96px 0 0; }
.promo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.promo-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 40px 38px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	box-shadow: var(--shadow);
}
.promo-card--vip {
	background: linear-gradient(150deg, #221a14 0%, #191411 70%);
	border-color: rgba(216, 176, 120, 0.28);
	color: #f5efe4;
}
.promo-card__icon {
	width: 56px;
	height: 56px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	background: rgba(184, 137, 76, 0.12);
	color: var(--gold);
}
.promo-card--vip .promo-card__icon { background: rgba(216, 176, 120, 0.14); color: var(--gold-2); }
.promo-card__tag {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gold);
}
.promo-card__tag--gold {
	background: linear-gradient(120deg, var(--gold-2), var(--gold-3));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.promo-card h3 { font-size: 30px; }
.promo-card p { color: var(--muted); font-size: 15.5px; }
.promo-card__list { display: grid; gap: 9px; font-size: 15px; color: rgba(245, 239, 228, 0.8); }
.promo-card__list li { display: flex; gap: 10px; align-items: baseline; }
.promo-card__list li::before { content: "—"; color: var(--gold-2); flex-shrink: 0; }
.promo-card .btn { margin-top: auto; }

/* ================= Services ================= */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 34px 30px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow);
	border-color: rgba(184, 137, 76, 0.4);
}
.service-card__icon {
	width: 54px;
	height: 54px;
	border-radius: 15px;
	display: grid;
	place-items: center;
	background: rgba(184, 137, 76, 0.1);
	color: var(--gold);
}
.service-card h3 { font-size: 26px; }
.service-card p { color: var(--muted); font-size: 15px; flex-grow: 1; }
.service-card__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gold);
	transition: gap 0.2s ease;
}
.service-card__link:hover { gap: 11px; }

/* ================= Features (atmosphere / advantages) ================= */
.feature-grid { display: grid; gap: 24px; }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature { padding: 8px 4px; }
.feature--card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px 28px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature--card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature__icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	background: rgba(184, 137, 76, 0.12);
	color: var(--gold);
	margin-bottom: 18px;
}
.feature h3 { font-size: 24px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ================= Safety steps ================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
	position: relative;
	background: rgba(255, 251, 240, 0.035);
	border: 1px solid var(--line-light);
	border-radius: var(--radius);
	padding: 32px 26px;
}
.step--accent {
	background: linear-gradient(150deg, rgba(184, 137, 76, 0.16), rgba(184, 137, 76, 0.05));
	border-color: rgba(216, 176, 120, 0.35);
}
.step__num {
	position: absolute;
	top: 24px;
	right: 26px;
	font-family: var(--font-display);
	font-size: 40px;
	font-style: italic;
	color: rgba(216, 176, 120, 0.35);
	line-height: 1;
}
.step__icon {
	width: 50px;
	height: 50px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	background: rgba(216, 176, 120, 0.12);
	color: var(--gold-2);
	margin-bottom: 18px;
}
.step h3 { font-size: 23px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: rgba(245, 239, 228, 0.66); }

/* ================= Masters ================= */
.masters__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.master { text-align: center; }
.master__photo {
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 18px;
	box-shadow: var(--shadow);
	aspect-ratio: 3 / 4;
}
.master__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.master:hover .master__photo img { transform: scale(1.05); }
.master h3 { font-size: 24px; }
.master__title {
	margin-top: 6px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
}

/* ================= Works strip ================= */
.works { background: var(--gold-3); padding: 56px 0; }
.works__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.works h2 { font-size: clamp(26px, 3vw, 38px); }
.works h2 em { color: var(--ink); }
.works p { color: rgba(25, 20, 17, 0.66); margin-top: 8px; max-width: 480px; }
.works__links { display: flex; gap: 14px; }

/* ================= Salons ================= */
.salons__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.salon {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 34px 30px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.salon:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.salon__badge {
	align-self: flex-start;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
	background: rgba(184, 137, 76, 0.1);
	border-radius: 999px;
	padding: 6px 14px;
	margin-bottom: 10px;
}
.salon h3 { font-size: 30px; }
.salon__hint { color: var(--muted); font-size: 14.5px; }
.salon__meta { margin: 16px 0 22px; display: grid; gap: 10px; }
.salon__meta li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-soft); }
.salon__meta svg { color: var(--gold); flex-shrink: 0; }
.salon__meta a:hover { color: var(--gold); }
.salon__actions { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }

.salons__map {
	margin-top: 44px;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	border: 1px solid var(--line);
}
.salons__map iframe { display: block; }

/* ================= Reviews ================= */
.reviews__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 44px;
	flex-wrap: wrap;
}
.reviews__text { max-width: 620px; }
.reviews__text p { margin-top: 18px; color: var(--muted); font-size: 17px; }
.reviews__actions { margin-top: 28px; }
.reviews__badge {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 34px;
	box-shadow: var(--shadow);
}

/* ================= Certificates ================= */
.cert__inner {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 60px;
	align-items: center;
}
.cert__text p { margin-top: 18px; color: var(--muted-light); font-size: 17px; max-width: 560px; }
.cert__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

.gift-card {
	background: linear-gradient(135deg, #2c2118 0%, #1d1712 45%, #3a2b1c 100%);
	border: 1px solid rgba(216, 176, 120, 0.4);
	border-radius: 24px;
	padding: 44px 40px;
	aspect-ratio: 8 / 5;
	display: flex;
	flex-direction: column;
	box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.65);
	transform: rotate(-3deg);
	transition: transform 0.4s ease;
	position: relative;
	overflow: hidden;
}
.gift-card:hover { transform: rotate(-1deg) translateY(-6px); }
.gift-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(400px 200px at 80% 0%, rgba(216, 176, 120, 0.18), transparent 70%);
}
.gift-card__logo {
	font-family: var(--font-body);
	font-weight: 800;
	letter-spacing: 0.28em;
	font-size: 15px;
	color: var(--gold-2);
}
.gift-card__label {
	margin-top: auto;
	font-family: var(--font-display);
	font-style: italic;
	font-size: 27px;
	color: #f5efe4;
}
.gift-card__value {
	font-family: var(--font-display);
	font-size: 38px;
	font-weight: 600;
	color: var(--gold-2);
	line-height: 1.1;
}
.gift-card__foot { margin-top: 18px; font-size: 12px; letter-spacing: 0.08em; color: rgba(245, 239, 228, 0.45); }

/* ================= Vacancies ================= */
.vacancy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vacancy-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 34px 32px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}
.vacancy-card h3 { font-size: 27px; }
.vacancy-card__salary {
	font-weight: 800;
	color: var(--gold);
	font-size: 17px;
	letter-spacing: 0.02em;
}
.vacancy-card p { color: var(--muted); font-size: 15px; }
.vacancy-card .btn { margin-top: 10px; }

/* ================= CTA band ================= */
.cta-band {
	background:
		radial-gradient(800px 400px at 50% 120%, rgba(216, 176, 120, 0.22), transparent 65%),
		var(--ink);
	color: #f5efe4;
	padding: 96px 0;
	text-align: center;
}
.cta-band p { margin: 18px auto 34px; color: rgba(245, 239, 228, 0.68); max-width: 480px; }

/* ================= Footer ================= */
.footer { background: #14100d; color: rgba(245, 239, 228, 0.75); padding: 72px 0 34px; }
.footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 0.9fr 0.7fr;
	gap: 44px;
	padding-bottom: 48px;
	border-bottom: 1px solid var(--line-light);
}
.footer__logo { height: 44px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: 14.5px; max-width: 320px; color: rgba(245, 239, 228, 0.55); }
.footer__social { display: flex; gap: 12px; margin-top: 22px; }
.footer__social a {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: rgba(255, 251, 240, 0.05);
	border: 1px solid var(--line-light);
	color: rgba(245, 239, 228, 0.8);
	transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer__social a:hover { color: var(--gold-2); border-color: var(--gold-2); transform: translateY(-2px); }
.footer__head {
	font-family: var(--font-display);
	font-size: 21px;
	color: #f5efe4;
	margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 11px; font-size: 14.5px; }
.footer__col a:hover { color: var(--gold-2); }
.footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding-top: 28px;
	font-size: 13px;
	color: rgba(245, 239, 228, 0.4);
}
.footer__fine { max-width: 480px; }

/* ================= Reveal animation ================= */
/* Скрываем только при работающем JS (класс .js ставит main.js) —
   без JS весь контент виден сразу */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.btn, .service-card, .feature--card, .salon, .master__photo img, .gift-card { transition: none; }
}

/* ================= Responsive ================= */
@media (max-width: 1024px) {
	.services__grid, .feature-grid--3, .salons__grid { grid-template-columns: repeat(2, 1fr); }
	.masters__grid { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.hero__stats { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
	.cert__inner { grid-template-columns: 1fr; gap: 44px; }
	.cert__visual { max-width: 460px; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.header__nav { display: none; }
	.burger { display: flex; }
}

@media (max-width: 640px) {
	.section { padding: 72px 0; }
	.hero { padding: 150px 0 72px; }
	.promo__grid, .services__grid, .feature-grid--3, .salons__grid, .steps, .vacancy-grid { grid-template-columns: 1fr; }
	.masters__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
	.master h3 { font-size: 20px; }
	.hero__actions .btn { width: 100%; }
	.header__phone span { display: none; }
	.header__right .btn { display: none; }
	.footer__grid { grid-template-columns: 1fr; gap: 34px; }
	.works__inner { flex-direction: column; align-items: flex-start; }
	.reviews__inner { flex-direction: column; align-items: flex-start; }
}
