/* ============================================
   FIGARO SALON — MAIN STYLESHEET
   ============================================ */

/* ---------- Variables ---------- */
:root {
  --gold: #d4b068;
  --gold-bg: #C4B583;
  --dark: #1a1a1a;
  --dark2: #111;
  --dark3: #222;
  --light: #f5f5f5;
  --white: #fff;
  --text: #333;
  --card-dark: #2a2a2a;
  --transition: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  border: none;
  background: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  line-height: 1.2;
}

.display-heading {
  font-family: 'Playfair Display', serif;
}

.section-title {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
}

.section-title.gold {
  color: var(--gold);
}

.section-title.dark {
  color: var(--dark);
}

.section-title.white {
  color: var(--white);
}

/* ---------- Buttons ---------- */
.btn-dark {
  display: inline-block;
  background: var(--dark);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 12px 28px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
  border-radius: 2px;
}

.btn-dark:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 12px 28px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
  border-radius: 2px;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-outline-dark {
  display: inline-block;
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
  padding: 10px 24px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
  border-radius: 2px;
}

.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}

/* ---------- Scroll Animations ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 40px;
  width: auto;
}

.navbar-menu {
  display: none;
  align-items: center;
  gap: 28px;
}

.navbar-menu a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark);
  position: relative;
  padding-bottom: 2px;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.navbar-menu a:hover {
  color: var(--gold);
}

.navbar-menu a:hover::after {
  width: 100%;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar-phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.5px;
}

.navbar-phone:hover {
  color: var(--gold);
}

.navbar-phone svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
}

.navbar-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #ddd;
  border-radius: 50%;
  transition: border-color var(--transition), background var(--transition);
}

.navbar-socials a:hover {
  border-color: var(--gold);
  background: var(--gold);
}

.navbar-socials a:hover svg {
  fill: var(--white);
}

.navbar-socials svg {
  width: 16px;
  height: 16px;
  fill: var(--dark);
  transition: fill var(--transition);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.mobile-menu.open {
  max-height: 500px;
  padding: 16px 0;
}

.mobile-menu a {
  display: block;
  padding: 12px 24px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu a:hover {
  color: var(--gold);
  background: #fafafa;
}

.mobile-menu-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

.mobile-menu-phone svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
}

/* Desktop navbar */
@media (min-width: 1024px) {
  .navbar {
    padding: 0 40px;
  }

  .navbar-menu {
    display: flex;
  }

  .navbar-phone {
    display: flex;
  }

  .hamburger {
    display: none;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('/wp-content/uploads/2022/05/a0539a040e1563938486edb9101b6fd4.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
  padding-top: 70px;
}

.hero-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 6px 16px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-desc {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* Hero wave divider */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
}

/* ============================================
   SERVICES / ЛУЧШЕЕ
   ============================================ */
.services-section {
  background: var(--dark);
  padding: 80px 0 0;
  position: relative;
}

.services-section .section-header {
  text-align: center;
  padding: 0 24px 60px;
}

.services-section .section-subtitle {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 10px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.service-card {
  position: relative;
  height: 320px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: var(--white);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
  transition: background var(--transition);
  z-index: 1;
}

.service-card:hover::before {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.2) 100%);
}

.service-card-inner {
  position: relative;
  z-index: 2;
  padding: 28px;
  width: 100%;
}

.service-card-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 3px 10px;
  margin-bottom: 8px;
}

.service-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}

.service-card-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
}

.service-card-arrow {
  position: absolute;
  bottom: 28px;
  right: 28px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}

.service-card:hover .service-card-arrow {
  border-color: var(--gold);
  background: var(--gold);
}

.service-card-arrow svg {
  width: 14px;
  height: 14px;
  fill: var(--white);
}

@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card {
    height: 400px;
  }
}

@media (min-width: 1024px) {
  .service-card {
    height: 480px;
  }
}

/* ============================================
   АКЦИИ
   ============================================ */
.promo-section {
  background: var(--gold-bg);
  padding: 80px 24px;
  position: relative;
}

.promo-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.promo-section .section-subtitle {
  color: rgba(30,20,0,0.6);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 10px;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.promo-card {
  background: var(--card-dark);
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.promo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.75) 100%);
  z-index: 0;
}

.promo-card-body {
  position: relative;
  z-index: 1;
}

.promo-card-label {
  position: relative;
  z-index: 1;
}

.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.promo-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.promo-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #333 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-card-img-placeholder span {
  color: var(--gold);
  font-size: 2.5rem;
}

.promo-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.promo-card-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.promo-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.promo-card-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  flex: 1;
}

.promo-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--transition);
}

.promo-card-link:hover {
  gap: 10px;
}

.promo-section .section-footer {
  text-align: center;
}

@media (min-width: 600px) {
  .promo-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .promo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Make last 2 cards on row 2 each take 1/2 of 3-col */
  .promo-grid .promo-card:nth-child(4) {
    grid-column: 1 / span 2;
  }

  .promo-grid .promo-card:nth-child(5) {
    grid-column: 3 / 4;
  }
}

/* ============================================
   СТИЛЬ / STYLE SECTION
   ============================================ */
.style-section {
  background: var(--dark3);
  display: grid;
  grid-template-columns: 1fr;
}

.style-photo {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.style-content {
  padding: 60px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.style-content .eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.style-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}

.style-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--gold);
  font-style: italic;
  margin-bottom: 28px;
}

.style-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.style-tag {
  background: transparent;
  border: 1px solid rgba(212,176,104,0.5);
  color: rgba(255,255,255,0.8);
  padding: 6px 16px;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.style-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,176,104,0.1);
}

@media (min-width: 900px) {
  .style-section {
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
  }

  .style-photo {
    height: 100%;
    min-height: 500px;
  }
}

/* ============================================
   СЕРТИФИКАТЫ
   ============================================ */
.certs-section {
  background: var(--light);
  padding: 80px 0;
  overflow: hidden;
}

.certs-section .section-header {
  text-align: center;
  padding: 0 24px;
  margin-bottom: 50px;
}

.certs-section .section-subtitle {
  color: rgba(0,0,0,0.45);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 10px;
}

.certs-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 24px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #e0e0e0;
}

.certs-scroll-wrapper::-webkit-scrollbar {
  height: 4px;
}

.certs-scroll-wrapper::-webkit-scrollbar-track {
  background: #e0e0e0;
}

.certs-scroll-wrapper::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 2px;
}

.certs-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 10px 0;
}

.cert-item {
  width: 200px;
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  flex-shrink: 0;
}

.cert-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.14);
}

.cert-img {
  width: 200px;
  height: 260px;
  object-fit: cover;
  display: block;
}

.cert-img-placeholder {
  width: 200px;
  height: 260px;
  background: linear-gradient(135deg, var(--dark3) 0%, var(--dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cert-img-placeholder .cert-icon {
  font-size: 2rem;
  color: var(--gold);
}

.cert-img-placeholder .cert-amount {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}

.cert-caption {
  padding: 14px 16px;
  text-align: center;
}

.cert-caption span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
}

.certs-section .section-footer {
  text-align: center;
  margin-top: 36px;
  padding: 0 24px;
}

/* ============================================
   FIX PRICE
   ============================================ */
.price-section {
  background: var(--dark);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.price-section::before {
  content: 'FIGARO';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-size: clamp(80px, 18vw, 200px);
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  letter-spacing: -5px;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
}

.price-section .inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.price-section .section-header {
  margin-bottom: 40px;
}

.price-section .gold-line {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.price-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--white);
  margin-bottom: 12px;
}

.price-section .price-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 28px;
}

/* Promo buttons row */
.price-promo-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.price-promo-btn {
  padding: 8px 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(212,176,104,0.4);
  color: rgba(255,255,255,0.7);
  background: transparent;
  border-radius: 30px;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.price-promo-btn.active,
.price-promo-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,176,104,0.1);
}

/* Category chips */
#category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.cat-chip {
  padding: 7px 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  background: transparent;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--transition);
}

.cat-chip.active,
.cat-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,176,104,0.1);
}

/* Price container */
#price-container {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
}

.price-loading {
  padding: 40px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
}

.price-category {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.price-category:last-child {
  border-bottom: none;
}

.price-cat-header {
  padding: 16px 24px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212,176,104,0.06);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.price-cat-header:hover {
  background: rgba(212,176,104,0.12);
}

.price-cat-header .toggle-icon {
  font-size: 1.2rem;
  transition: transform var(--transition);
}

.price-cat-body {
  display: none;
}

.price-cat-body.open {
  display: block;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  gap: 16px;
}

.price-row:hover {
  background: rgba(255,255,255,0.02);
}

.price-row-name {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  flex: 1;
  line-height: 1.4;
}

.price-row-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  min-width: 80px;
  text-align: right;
}

.price-row-price.crossed {
  text-decoration: line-through;
  color: rgba(255,255,255,0.3);
  font-weight: 400;
  font-size: 0.75rem;
}

.price-row-new {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  min-width: 80px;
  text-align: right;
}

/* ============================================
   МАСТЕРА
   ============================================ */
.masters-section {
  background: var(--white);
  padding: 80px 24px;
}

.masters-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.masters-section .section-subtitle {
  color: rgba(0,0,0,0.45);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 10px;
}

.masters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 24px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.master-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.master-photo-wrap {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.master-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 50%;
}

.master-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.master-role {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.masters-section .section-footer {
  text-align: center;
}

@media (min-width: 768px) {
  .masters-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   КОНТАКТЫ / СВЯЗАТЬСЯ
   ============================================ */
.contact-section {
  background: var(--dark);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: url('/wp-content/uploads/2022/05/a0539a040e1563938486edb9101b6fd4.jpg') center center / cover no-repeat;
  opacity: 0.08;
  z-index: 0;
}

.contact-section .inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-section .eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

.contact-big-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 12vw, 9rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 50px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-item-value {
  font-size: 1rem;
  color: var(--white);
  line-height: 1.5;
}

.contact-item-value a {
  color: var(--white);
  transition: color var(--transition);
}

.contact-item-value a:hover {
  color: var(--gold);
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.contact-social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.7);
  transition: border-color var(--transition), color var(--transition);
  flex-wrap: nowrap;
}

.contact-social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.contact-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.contact-map {
  border-radius: 6px;
  overflow: hidden;
  min-height: 300px;
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-map iframe {
    height: 380px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark2);
  padding: 28px 24px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.footer-links a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
}

.footer-copy span {
  color: var(--gold);
}

/* ============================================
   FLOATING BUTTON
   ============================================ */
.floating-book-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  background: var(--dark);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.floating-book-btn:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.floating-book-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ============================================
   MESSENGER MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--white);
  width: 100%;
  max-width: 480px;
  border-radius: 16px 16px 0 0;
  padding: 32px 24px 40px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-handle {
  width: 40px;
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  margin: 0 auto 24px;
}

.modal-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.modal-messengers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-messenger-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
}

.modal-messenger-btn:hover {
  border-color: var(--gold);
  background: #fdf9f0;
}

.modal-messenger-btn svg {
  width: 24px;
  height: 24px;
}

.modal-close-btn {
  margin-top: 16px;
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: transparent;
  font-size: 0.8rem;
  color: #999;
  letter-spacing: 1px;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.modal-close-btn:hover {
  border-color: #ccc;
  color: var(--dark);
}

@media (min-width: 768px) {
  .modal-overlay {
    align-items: center;
  }

  .modal-box {
    border-radius: 12px;
    transform: scale(0.9);
  }

  .modal-overlay.open .modal-box {
    transform: scale(1);
  }
}

/* ============================================
   WAVE DIVIDERS
   ============================================ */
.wave-divider {
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* ============================================
   SECTION PADDING
   ============================================ */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ============================================
   YCLIENTS WIDGET OVERRIDE
   ============================================ */
.yclients-widget-container {
  display: none;
}

/* ============================================
   RESPONSIVE — MOBILE-FIRST EXTRAS
   ============================================ */
@media (max-width: 599px) {
  .contact-big-title {
    font-size: clamp(2.8rem, 15vw, 5rem);
    letter-spacing: -1px;
  }

  .price-section::before {
    font-size: 14vw;
  }

  .contact-socials {
    flex-wrap: wrap;
  }

  body {
    padding-bottom: 72px;
  }
}

@media (min-width: 1024px) {
  .services-section {
    padding-top: 90px;
  }

  .promo-section,
  .certs-section,
  .masters-section,
  .contact-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .price-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.d-none { display: none !important; }
