/* ============================================================
   Lumière — Премиальный салон красоты
   Цвета: золото #C9A96E #D4AF37 | тёмный #1A1A1A #2D2D2D
          белый #FFFFFF | кремовый #FAF8F5 | серый #8A8A8A
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --gold: #C9A96E;
  --gold-light: #D4AF37;
  --gold-dark: #A68A4A;
  --gold-bg: rgba(201, 169, 110, 0.12);
  --dark: #1A1A1A;
  --dark-2: #2D2D2D;
  --dark-3: #3A3A3A;
  --white: #FFFFFF;
  --cream: #FAF8F5;
  --cream-dark: #F0EDE8;
  --gray: #8A8A8A;
  --gray-light: #B0B0B0;
  --gray-dark: #555555;
  --font-heading: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.18);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1240px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ---- Container ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Section ---- */
.section {
  padding: 100px 0;
}
.section--dark {
  background: var(--dark);
  color: var(--white);
}
.section--accent {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.section__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section__label--center { display: block; text-align: center; }

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 16px;
}
.section__title--center { text-align: center; }

.section__subtitle {
  text-align: center;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 15px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--sm { padding: 8px 18px; font-size: 13px; }
.btn--lg { padding: 16px 36px; font-size: 15px; }
.btn--full { width: 100%; }

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.35);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(201, 169, 110, 0.5);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--white);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn--outline-dark {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn--outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 16px 0;
}
.header.scrolled {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

/* ---- Logo ---- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  text-decoration: none;
  color: var(--white);
  z-index: 10;
}
.logo__icon { font-size: 26px; }
.logo__text { font-size: 24px; font-weight: 600; letter-spacing: 2px; }
.logo--footer { color: var(--white); }

.header.scrolled .logo { color: var(--white); }

/* ---- Nav ---- */
.nav__list {
  display: flex;
  gap: 32px;
}
.nav__link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }

/* ---- Header Actions ---- */
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---- Burger ---- */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 10;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 1px;
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Hero ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: url('https://picsum.photos/seed/lumiere-hero/1920/1080') center/cover no-repeat;
  transform: scale(1.05);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.7) 0%,
    rgba(26, 26, 26, 0.55) 40%,
    rgba(26, 26, 26, 0.7) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
}
.hero__subtitle {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(48px, 10vw, 96px);
  font-weight: 600;
  letter-spacing: 6px;
  line-height: 1;
  margin-bottom: 24px;
}
.hero__tagline {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* ---- About ---- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__image {
  position: relative;
}
.about__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about__image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about__desc {
  color: var(--gray-dark);
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.8;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.stat {
  text-align: center;
  padding: 16px 8px;
  background: var(--cream);
  border-radius: var(--radius);
}
.stat__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.2;
}
.stat__label {
  font-size: 11px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- Services ---- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  cursor: default;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201, 169, 110, 0.15);
}
.service-card__icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.service-card__name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
}
.service-card__duration {
  font-size: 12px;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.service-card__price {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--gold);
}

/* ---- Masters ---- */
.masters__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.master-card {
  text-align: center;
}
.master-card__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.master-card:hover .master-card__photo {
  transform: scale(1.03);
}
.master-card__name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}
.master-card__role {
  font-size: 13px;
  color: var(--gray);
}

/* ---- Booking ---- */
.booking__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.booking__desc {
  color: var(--gray-dark);
  margin-bottom: 24px;
  font-size: 15px;
}
.booking__desc a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.booking__benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--gray-dark);
}
.benefit__icon { font-size: 20px; }

.booking__form-wrapper {
  position: relative;
}
.booking__form {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.form__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}
.form__group {
  margin-bottom: 16px;
}
.form__group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 6px;
}
.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #E0DCD5;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-bg);
}
.form__group input::placeholder,
.form__group textarea::placeholder {
  color: #B0AAA0;
}
.form__note {
  text-align: center;
  font-size: 11px;
  color: var(--gray-light);
  margin-top: 12px;
}

.booking__success {
  position: absolute;
  inset: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}
.booking__success .success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #E8F5E9;
  color: #2E7D32;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}
.booking__success h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 8px;
}
.booking__success p {
  color: var(--gray-dark);
  font-size: 14px;
  max-width: 320px;
}

/* ---- Reviews ---- */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.review-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid transparent;
  transition: all var(--transition);
}
.review-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.review-card__stars {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.review-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-dark);
  margin-bottom: 16px;
  font-style: italic;
}
.review-card__author {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}
.review-card__date {
  font-size: 11px;
  color: var(--gray-light);
  margin-top: 4px;
}
.reviews__cta {
  text-align: center;
}
.reviews__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--gray);
}
.reviews__empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

/* ---- Contacts ---- */
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--white);
}
.contact-item p {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.6;
}
.contact-item a {
  color: var(--gold);
  transition: color var(--transition);
}
.contact-item a:hover { color: var(--gold-light); }

.contacts__social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.social-link:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.1);
}

.map-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  border: 1px solid var(--dark-3);
}
.map-placeholder p {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
}
.map-placeholder span {
  font-size: 13px;
  color: var(--gray-light);
}

/* ---- Footer ---- */
.footer {
  background: #111111;
  color: var(--gray-light);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__brand p {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.8;
  max-width: 280px;
}
.footer__nav h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}
.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__nav a {
  font-size: 13px;
  color: var(--gray-light);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--gold); }

.footer__bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 12px;
  color: var(--gray);
}

/* ---- Toast ---- */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.4s ease;
  max-width: 380px;
}
.toast--success { background: #2E7D32; }
.toast--error { background: #C62828; }
.toast--info { background: var(--dark-3); }

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

/* ---- Spinner ---- */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--cream-dark);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 32px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Utility ---- */
.hidden { display: none !important; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .about__grid,
  .booking__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about__image-accent { display: none; }
  .services__grid,
  .masters__grid,
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contacts__grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .about__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark);
    padding: 100px 32px 32px;
    transition: right var(--transition);
    z-index: 5;
  }
  .nav.open { right: 0; }
  .nav__list { flex-direction: column; gap: 20px; }
  .burger { display: flex; }
  .header__actions .btn--sm { display: none; }
  .header__actions { gap: 12px; }

  .services__grid,
  .masters__grid,
  .reviews__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero__cta { flex-direction: column; align-items: center; }
  .hero__tagline br { display: none; }

  .booking__form { padding: 28px 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__title { font-size: 42px; letter-spacing: 3px; }
}
