/* ==========================================================================
   Всё от Люси — стили
   ========================================================================== */

:root {
  --bg: #fdf7f4;
  --bg-alt: #f7ebe4;
  --surface: #ffffff;
  --rose-50: #fdf0f1;
  --rose-200: #f2c9cd;
  --rose: #d98a97;
  --rose-dark: #b25d6c;
  --gold: #c69a5a;
  --gold-light: #e6c98f;
  --dark: #33231f;
  --text: #4a3a35;
  --text-muted: #8a7972;
  --line: #ecdfd8;
  --shadow-sm: 0 4px 16px rgba(90, 50, 45, 0.06);
  --shadow-md: 0 12px 32px rgba(90, 50, 45, 0.10);
  --shadow-lg: 0 24px 60px rgba(90, 50, 45, 0.16);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-heading: "Playfair Display", "Georgia", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-heading); margin: 0; color: var(--dark); }
p { margin: 0; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--rose-dark); font-style: italic; }

/* ---------- Progress bar ---------- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: transparent;
  border-color: var(--rose-200);
  color: var(--rose-dark);
}
.btn--ghost:hover { background: var(--rose-50); transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn--lg { padding: 18px 36px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px 0;
  transition: all 0.35s ease;
}
.header.is-scrolled {
  padding: 12px 0;
  background: rgba(253, 247, 244, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  color: var(--dark);
}
.logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose) 0%, var(--gold) 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 18px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--rose);
  transition: width 0.25s ease;
}
.nav__link:hover::after { width: 100%; }
.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header__phone {
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
  white-space: nowrap;
}
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(340px, 84vw);
  height: 100vh;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  z-index: 600;
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__link {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}
.mobile-menu__phone {
  font-weight: 700;
  color: var(--rose-dark);
  font-size: 17px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, var(--rose-50), var(--bg) 55%);
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.55;
  z-index: 0;
}
.hero__blob--1 {
  width: 460px; height: 460px;
  right: -140px; top: -120px;
  background: radial-gradient(circle at 30% 30%, var(--rose-200), transparent 70%);
}
.hero__blob--2 {
  width: 360px; height: 360px;
  left: -120px; bottom: -140px;
  background: radial-gradient(circle at 60% 40%, var(--gold-light), transparent 70%);
}
.hero__shapes { position: absolute; inset: 0; z-index: 0; }
.nail-chip {
  position: absolute;
  width: 46px;
  height: 64px;
  border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%;
  box-shadow: var(--shadow-md);
  animation: float 7s ease-in-out infinite;
}
.nail-chip--1 { top: 22%; right: 12%; background: linear-gradient(160deg, #f6d9df, var(--rose)); animation-delay: 0s; }
.nail-chip--2 { top: 55%; right: 22%; width: 34px; height: 48px; background: linear-gradient(160deg, #f3e3c4, var(--gold)); animation-delay: 1.2s; }
.nail-chip--3 { top: 68%; right: 6%; width: 40px; height: 56px; background: linear-gradient(160deg, #fff, var(--rose-200)); animation-delay: 2.1s; }
.nail-chip--4 { top: 12%; right: 30%; width: 28px; height: 40px; background: linear-gradient(160deg, #ead6ff, #cbb0e8); animation-delay: 0.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-22px) rotate(4deg); }
}

.hero__inner { position: relative; z-index: 1; max-width: 760px; }
.eyelash {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--rose-dark);
  background: var(--rose-50);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}
.hero__stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
}
.stat__label {
  font-size: 13px;
  color: var(--text-muted);
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--rose-200);
  border-radius: 20px;
  z-index: 1;
}
.scroll-hint span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--rose);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 8px; }
}

/* ---------- Section shared ---------- */
section { padding: 110px 0; position: relative; }
.section-head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.section-kicker {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--rose-dark);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
}
.section-desc {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- Advantages ---------- */
.advantages { background: var(--surface); }
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.advantage-card {
  padding: 34px 26px;
  background: var(--bg);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.advantage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.advantage-card__icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-50), var(--gold-light) 140%);
}
.advantage-card h3 { font-size: 19px; margin-bottom: 10px; }
.advantage-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- Services / price ---------- */
.services { background: var(--bg-alt); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card--featured {
  background: linear-gradient(160deg, #fff 0%, var(--rose-50) 120%);
  border: 1.5px solid var(--rose-200);
}
.price-card__badge {
  position: absolute;
  top: -12px; right: 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.price-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}
.price-card__head h3 { font-size: 21px; }
.price-card__price {
  font-weight: 800;
  color: var(--rose-dark);
  white-space: nowrap;
  font-size: 15px;
}
.price-card__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 2;
}
.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rose);
}
.price-note {
  text-align: center;
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 15px;
}
.price-note a { color: var(--rose-dark); font-weight: 700; }

/* ---------- Portfolio ---------- */
.portfolio__filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-btn:hover { border-color: var(--rose-200); color: var(--rose-dark); }
.filter-btn.is-active {
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  border-color: transparent;
  color: #fff;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.gallery__item {
  margin: 0;
  text-align: center;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.gallery__item.is-hidden { display: none; }
.gallery__item figcaption {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.nail-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 50% 50% 20% 20% / 60% 60% 20% 20%;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gallery__item:hover .nail-card { transform: translateY(-8px) rotate(-2deg); box-shadow: var(--shadow-md); }
.nail-card__shine {
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg);
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine {
  0% { left: -60%; }
  40%, 100% { left: 130%; }
}
.nail-card--french { background: linear-gradient(180deg, #fbeee7 65%, #fff 65%); }
.nail-card--ombre { background: linear-gradient(180deg, var(--rose) 0%, var(--gold-light) 100%); }
.nail-card--marble { background:
  radial-gradient(circle at 30% 20%, rgba(255,255,255,0.8), transparent 40%),
  radial-gradient(circle at 70% 60%, rgba(255,255,255,0.5), transparent 35%),
  linear-gradient(160deg, #e7e1e6, #c9c2cc); }
.nail-card--nude { background: linear-gradient(180deg, #f1ddd0, #e3c3ae); }
.nail-card--flowers { background: linear-gradient(160deg, #f7e3e8, #f0c9d3);
  box-shadow: inset 0 0 0 999px rgba(255,255,255,0); }
.nail-card--geo { background: repeating-linear-gradient(45deg, var(--rose) 0 10px, var(--gold-light) 10px 20px); }
.nail-card--red { background: linear-gradient(180deg, #c8455a, #93202f); }
.nail-card--gold { background: linear-gradient(160deg, #f6e3b4, var(--gold)); }

/* ---------- Master ---------- */
.master { background: var(--surface); }
.master__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.master__photo { position: relative; justify-self: center; }
.master__avatar {
  width: 280px; height: 280px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--rose-50), var(--rose-200) 70%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 110px;
  color: var(--rose-dark);
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--surface);
  outline: 2px dashed var(--rose-200);
  outline-offset: 12px;
}
.master__photo-badge {
  position: absolute;
  bottom: 10px; right: 0;
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}
.master__text {
  margin-top: 20px;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 16px;
}
.master__facts { margin: 26px 0 30px; display: flex; flex-direction: column; gap: 12px; }
.master__facts li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
}
.master__facts li::before {
  content: "✓";
  position: absolute;
  left: 0; top: -1px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--rose-50);
  color: var(--rose-dark);
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Reviews ---------- */
.reviews { background: var(--bg-alt); }
.slider { max-width: 720px; margin: 0 auto; overflow: hidden; border-radius: var(--radius-lg); }
.slider__track {
  display: flex;
  transition: transform 0.5s ease;
}
.testimonial {
  min-width: 100%;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.testimonial__text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: italic;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 28px;
}
.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--gold));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.testimonial__author div { text-align: left; font-size: 14px; }
.testimonial__author strong { display: block; color: var(--dark); }
.testimonial__author span { color: var(--text-muted); }

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.slider__dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--rose-200);
  cursor: pointer;
  transition: all 0.25s ease;
}
.slider__dots button.is-active {
  background: var(--rose-dark);
  width: 24px;
  border-radius: 6px;
}

/* ---------- Booking + contacts ---------- */
.booking { background: var(--surface); }
.booking__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}
.booking-form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--bg);
  padding: 34px;
  border-radius: var(--radius-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--text); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--text);
  resize: vertical;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px var(--rose-50);
}
.booking-form__note {
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
}

.booking__contacts { padding-top: 4px; }
.contact-list { display: flex; flex-direction: column; gap: 20px; margin: 28px 0 26px; }
.contact-list li { display: flex; align-items: flex-start; gap: 16px; }
.contact-list__icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--rose-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.contact-list strong { display: block; font-size: 14px; margin-bottom: 3px; }
.contact-list span, .contact-list a { color: var(--text-muted); font-size: 15px; font-weight: 600; }
.contact-list a:hover { color: var(--rose-dark); }

.contact-social { display: flex; gap: 14px; margin-bottom: 30px; }
.social-btn {
  flex: 1;
  text-align: center;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff;
  transition: transform 0.25s ease;
}
.social-btn--outline {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--text);
}
.social-btn:hover { transform: translateY(-2px); }

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 280px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); padding: 48px 0; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.logo--footer { color: #fff; }
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__nav a { color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 600; }
.footer__nav a:hover { color: #fff; }
.footer__copy { color: rgba(255,255,255,0.5); font-size: 13px; }

/* ---------- Floating action button ---------- */
.fab {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-md);
  z-index: 400;
  transition: transform 0.25s ease;
}
.fab:hover { transform: scale(1.08); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .nav, .header__phone { display: none; }
  .burger { display: flex; }
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .master__inner { grid-template-columns: 1fr; text-align: center; }
  .master__facts { align-items: center; }
  .master__facts li { text-align: left; }
  .booking__inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  section { padding: 76px 0; }
  .hero { padding-top: 120px; }
  .hero__stats { gap: 28px; }
  .advantages__grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .header__actions .btn--sm { display: none; }
  .master__avatar { width: 200px; height: 200px; font-size: 80px; }
  .footer__inner { flex-direction: column; text-align: center; }
}
