/* ===== Look Star — премиальная тёмно-зелёная тема ===== */
:root {
  /* Палитра: глубокий зелёный, шампань-золото, слоновая кость */
  --green-900: #0b1410;   /* фон */
  --green-800: #0f1b15;   /* фон второго уровня */
  --green-700: #13231b;   /* поверхности */
  --green-600: #1a2e24;
  --green-500: #2a4a38;
  --green-400: #3c6450;
  --sage:      #8fae9b;
  --gold:      #c8a96e;   /* акцент */
  --gold-soft: #e3cfa3;   /* шампань — для крупных надписей */
  --cream:     #f2eee4;   /* основной текст */
  --muted:     #a2b1a7;   /* вторичный текст */
  --line:      rgba(200, 169, 110, 0.22);   /* тонкие золотые линии */
  --line-soft: rgba(242, 238, 228, 0.08);

  /* Фото — images/*.webp; градиенты — ещё не заменённые заглушки */
  --img-hero:      url("../images/hero.webp");
  --img-hero-wide: url("../images/hero-wide.webp");
  --img-haircut:   url("../images/haircut.webp");
  --img-color:     url("../images/color.webp");
  --img-styling:   linear-gradient(135deg, #2f5240, #16271e);
  --img-treatment: linear-gradient(135deg, #234034, #0e1a14);
  --img-care:      url("../images/care.webp");
  --img-face:      linear-gradient(135deg, #2a4a38, #0e1a14);
  --img-interior:  url("../images/interior.webp");
  --img-interior2: url("../images/interior2.webp");
  --img-interior3: url("../images/interior3.webp");
  --img-interior4: url("../images/interior4.webp");
  --img-interior5: url("../images/interior5.webp");
  --img-master1:   linear-gradient(160deg, #2a4a38, #0e1a14);
  --img-master2:   linear-gradient(160deg, #234034, #122019);
  --img-master3:   linear-gradient(160deg, #2f5240, #16271e);
  --img-master4:   linear-gradient(160deg, #1d3327, #0a130e);

  /* Фото направлений (по одному на направление) */
  --img-dir-hair:   url("../images/dir-hair.webp");
  --img-dir-nails:  url("../images/dir-nails.webp");
  --img-dir-makeup: url("../images/dir-makeup.webp");
  --img-dir-brows:  url("../images/dir-brows.webp");

  /* Фото «Обучения» (своё, чтобы не зависеть от карточки мастера) */
  --img-edu:        url("../images/edu.webp");

  /* Мозаика «Атмосфера студии» на главной */
  --img-mood-1: url("../images/mood-1.webp");
  --img-mood-2: url("../images/mood-2.webp");
  --img-mood-3: url("../images/mood-3.webp");
  --img-mood-4: url("../images/mood-4.webp");

  /* Полосы «В кабинете» на страницах направлений */
  --img-hair-1:   url("../images/hair-1.webp");
  --img-hair-2:   url("../images/hair-2.webp");
  --img-hair-3:   url("../images/hair-3.webp");
  --img-makeup-1: url("../images/makeup-1.webp");
  --img-makeup-2: url("../images/makeup-2.webp");
  --img-makeup-3: url("../images/makeup-3.webp");
  --img-brows-1:  url("../images/brows-1.webp");
  --img-brows-2:  url("../images/brows-2.webp");
  --img-brows-3:  url("../images/brows-3.webp");

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans:  'Jost', system-ui, sans-serif;
  --radius: 4px;
  --maxw: 1240px;
  --header-h: 84px;
  --section-y: clamp(84px, 10vw, 140px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  background: var(--green-900);
  color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Едва заметное «зерно» плёнки поверх всего — убирает пластиковую плоскость цвета */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html.menu-open { overflow: hidden; }  /* на html, не на body: иначе body становится прокручиваемым и шапка уезжает */

::selection { background: var(--gold); color: var(--green-900); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* Подпись над заголовком: «— 01 · Направления» */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-weight: 500; font-size: 11px;
  letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -.005em;
  margin-bottom: 40px;
  color: var(--cream);
}
.section-title em { font-style: italic; color: var(--gold-soft); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }
.section-head .section-title { margin-bottom: 0; }
.section-head p { color: var(--muted); max-width: 380px; font-size: 15px; }

/* SVG arrow */
.arrow { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; }

/* ===== Кнопки ===== */
.btn, .btn-wa, .btn-tg, .btn-ig {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 30px; border-radius: 2px;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn-wa svg, .btn-tg svg, .btn-ig svg { width: 18px; height: 18px; flex: none; }
.btn-dark { background: transparent; color: var(--cream); border-color: var(--line); }
.btn-dark:hover { background: var(--gold); color: var(--green-900); border-color: var(--gold); }
.btn-light { background: var(--cream); color: var(--green-900); }
.btn-light:hover { background: var(--gold); }
/* WhatsApp — главная кнопка записи (шампань), Telegram и Instagram — контурные */
.btn-wa { background: var(--gold); color: var(--green-900); border-color: var(--gold); }
.btn-wa:hover { background: var(--gold-soft); border-color: var(--gold-soft); transform: translateY(-2px); }
.btn-tg, .btn-ig { background: rgba(11, 20, 16, .35); color: var(--cream); border-color: rgba(242, 238, 228, .35); backdrop-filter: blur(6px); }
.btn-tg:hover, .btn-ig:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }

/* Пара кнопок «связаться» вместо записи */
.cta-pair { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Шапка ===== */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  border-bottom: 1px solid var(--line-soft);
  transition: border-color .4s var(--ease);
}
/* Фон и размытие — на псевдоэлементе: backdrop-filter на самой шапке делает её «рамкой»
   для position: fixed, и полноэкранное мобильное меню сжималось бы до высоты шапки */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(11, 20, 16, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: opacity .4s var(--ease);
}
/* На главной шапка лежит поверх полноэкранного героя и темнеет при прокрутке */
.home .site-header { position: fixed; left: 0; right: 0; border-color: transparent; }
.home .site-header::before { opacity: 0; }
.home .site-header.scrolled { border-color: var(--line-soft); }
.home .site-header.scrolled::before { opacity: 1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 100%; }
.logo { position: relative; z-index: 70;
  display: inline-flex; flex-direction: column; align-items: center; line-height: 1;
  font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: .06em;
  color: var(--cream);
}
.logo small {
  font-family: var(--sans); font-size: 8.5px; font-weight: 500; letter-spacing: .62em;
  color: var(--gold); margin-top: 6px; padding-left: .62em;
}
.nav { display: flex; align-items: center; gap: 40px; }
.nav a {
  position: relative; font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cream); opacity: .78; transition: opacity .3s, color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -8px; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--gold-soft); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-phone { font-size: 13px; letter-spacing: .08em; color: var(--cream); white-space: nowrap; transition: color .3s; }
.header-phone:hover { color: var(--gold); }
.nav-extra { display: none; }

.burger { display: none; background: none; border: 0; width: 34px; height: 18px; position: relative; cursor: pointer; z-index: 70; }
.burger span { position: absolute; left: 0; width: 100%; height: 1px; background: var(--cream); transition: .4s var(--ease); }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 8px; width: 70%; left: 30%; }
.burger span:nth-child(3) { top: 16px; }
.burger.open span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

/* ===== Герой (главная) ===== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 60px) 0 clamp(56px, 8vh, 96px);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: var(--img); background-size: cover; background-position: 62% 30%;
  transform: scale(1.06); animation: hero-in 2.4s var(--ease) forwards;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,20,16,.94) 0%, rgba(11,20,16,.72) 38%, rgba(11,20,16,.2) 70%, rgba(11,20,16,.35) 100%),
    linear-gradient(0deg, rgba(11,20,16,.95) 0%, rgba(11,20,16,0) 40%);
}
@keyframes hero-in { to { transform: scale(1); } }
.hero-inner { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; }
.hero-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(64px, 11vw, 168px); line-height: .9; letter-spacing: -.01em;
  white-space: nowrap; width: fit-content; color: var(--cream);
}
.hero-title span {
  display: block; color: var(--gold);
  font-family: var(--sans); font-size: .17em; font-weight: 500;
  white-space: normal; text-align: justify; text-align-last: justify;
  margin-top: .55em; letter-spacing: 0;
}
.hero-sub { color: var(--cream); opacity: .82; margin: 34px 0 40px; max-width: 440px; font-size: 17px; line-height: 1.75; }
.hero-cards { display: flex; flex-direction: column; gap: 14px; }
.mini-card {
  position: relative; width: 240px; height: 150px; overflow: hidden; border-radius: var(--radius);
  display: flex; align-items: flex-end; padding: 16px 18px;
  border: 1px solid rgba(242, 238, 228, .14);
}
.mini-card::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--img); background-size: cover; background-position: center;
  transition: transform 1.2s var(--ease);
}
.mini-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(11,20,16,.85), rgba(11,20,16,.1) 70%);
}
.mini-card span, .mini-card .arrow { position: relative; z-index: 2; }
.mini-card span { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.mini-card .arrow { position: absolute; top: 16px; right: 16px; color: var(--gold); }
.mini-card:hover::after { transform: scale(1.08); }
.hero-social { position: absolute; right: 32px; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 12px; }
.hero-social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-size: 15px; color: var(--cream); border: 1px solid rgba(242,238,228,.25);
  background: rgba(11,20,16,.3); backdrop-filter: blur(6px); transition: .3s var(--ease);
}
.hero-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--green-900); }
.hero-social svg, .footer-social svg { width: 18px; height: 18px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue::after { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ===== Бегущая строка услуг ===== */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 26px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span {
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(26px, 3vw, 40px);
  color: var(--cream); white-space: nowrap; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px;
}
.marquee-track span::after { content: "✦"; font-style: normal; font-size: .45em; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Почему мы ===== */
.why { padding: var(--section-y) 32px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); counter-reset: why; }
.why-card {
  position: relative; padding: 44px 40px 8px 0; counter-increment: why;
  transition: transform .5s var(--ease);
}
.why-card + .why-card { padding-left: 40px; border-left: 1px solid var(--line); }
.why-card::before {
  content: counter(why, decimal-leading-zero); display: block;
  font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold); margin-bottom: 28px;
}
.why-card h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; margin-bottom: 16px; }
.why-card p { color: var(--muted); font-size: 15px; }

/* ===== Направления ===== */
.services { padding: var(--section-y) 32px; }
.prices-hint { color: var(--muted); font-size: 15px; margin: -16px 0 48px; max-width: 560px; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(320px, 34vw, 460px); gap: 24px; counter-reset: dir; }
.service-tile {
  position: relative; overflow: hidden; border-radius: var(--radius); isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 34px;
  counter-increment: dir;
}
.service-tile::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--img); background-size: cover; background-position: center;
  transition: transform 1.4s var(--ease);
}
.service-tile::before {
  content: counter(dir, decimal-leading-zero); position: absolute; inset: 0; z-index: -1;
  padding: 30px 34px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold-soft);
  background: linear-gradient(to top, rgba(11,20,16,.9) 0%, rgba(11,20,16,.25) 55%, rgba(11,20,16,.1) 100%);
}
.service-tile span { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); font-weight: 400; line-height: 1.1; max-width: 80%; }
.service-tile .arrow {
  position: absolute; right: 30px; bottom: 34px; width: 46px; height: 46px; padding: 13px;
  border: 1px solid rgba(242,238,228,.35); border-radius: 50%; color: var(--cream);
  transition: background .4s var(--ease), border-color .4s, color .4s, transform .4s var(--ease);
}
.service-tile:hover::after { transform: scale(1.06); }
.service-tile:hover .arrow { background: var(--gold); border-color: var(--gold); color: var(--green-900); transform: rotate(45deg); }

/* ===== Акции ===== */
.offers { padding: var(--section-y) 32px; }
.offers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.offer-card {
  position: relative; min-height: 460px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  border: 1px solid var(--line-soft);
}
.offer-card::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--img); background-size: cover; background-position: center;
  transition: transform 1.4s var(--ease);
}
.offer-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,20,16,.55) 0%, rgba(11,20,16,.78) 45%, rgba(11,20,16,.96) 100%);
}
.offer-card:hover::after { transform: scale(1.05); }
.offer-body { position: relative; padding: 44px; height: 100%; min-height: inherit; display: flex; flex-direction: column; }
.offer-body::before {
  content: "Специальное предложение"; font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.offer-body h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.05; color: var(--cream); margin-bottom: 22px; }
.offer-body ul { list-style: none; color: var(--cream); opacity: .85; font-size: 15px; }
.offer-body ul li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.offer-body ul li::before { content: ""; position: absolute; left: 0; top: .8em; width: 12px; height: 1px; background: var(--gold); }
.offer-body p { color: var(--cream); opacity: .85; font-size: 15px; max-width: 420px; }
.offer-foot { margin-top: auto; padding-top: 32px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.discount { font-family: var(--serif); font-size: 30px; font-weight: 400; color: var(--gold-soft); line-height: 1; }

/* ===== Атмосфера студии (мозаика) ===== */
.mood { padding: var(--section-y) 32px; }
.mood-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 24px; }
.mood-photo { position: relative; overflow: hidden; border-radius: var(--radius); }
.mood-photo::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--img); background-size: cover; background-position: center;
  transition: transform 1.4s var(--ease);
}
.mood-photo:hover::after { transform: scale(1.05); }
.mood-photo:nth-child(1) { grid-row: span 2; border-radius: 999px 999px var(--radius) var(--radius); }
.mood-photo:nth-child(4) { grid-column: span 2; }

/* ===== Финальный призыв (главная) ===== */
.cta-band { padding: var(--section-y) 32px; text-align: center; }
.cta-band .eyebrow { justify-content: center; }
.cta-band .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
.cta-band .section-title { font-size: clamp(44px, 6.4vw, 92px); margin-bottom: 26px; }
.cta-band p { color: var(--muted); margin: 0 auto 40px; max-width: 520px; }
.cta-band .cta-pair { justify-content: center; }

/* ===== Страницы: интро «фото + текст» (О нас, кабинеты, обучение) ===== */
.about {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 7vw, 110px);
  align-items: center; padding: clamp(56px, 7vw, 100px) 32px var(--section-y);
}
.about-photo {
  height: clamp(480px, 46vw, 640px); border-radius: 999px 999px var(--radius) var(--radius);
  background-image: var(--img); background-size: cover; background-position: center;
}
.about-text .section-title { font-size: clamp(44px, 6vw, 80px); }
.about-text p { color: var(--muted); margin-bottom: 18px; max-width: 500px; }
.about-text .btn { margin-top: 18px; }
.about-text .cta-pair { margin-top: 30px; }
.edu-lead { color: var(--cream) !important; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); font-weight: 400; line-height: 1.35; max-width: 500px; }
.cab-lead { color: var(--cream); font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; line-height: 1.4; max-width: 520px; margin-bottom: 32px; }
.about-text .direction-master { margin-bottom: 6px; }
.cab-cta { margin-top: 34px; }
/* Второй блок «Обучения» — фото справа и без арки, чтобы страница не повторялась */
.about-rev { grid-template-columns: 1.05fr 1fr; padding-top: var(--section-y); }
.about-rev .about-photo { border-radius: var(--radius); }

/* Галерея «О нас» */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr) 1.3fr; gap: 20px;
  padding: 0 32px var(--section-y);
}
.gallery-thumb {
  height: 260px; border-radius: var(--radius);
  background-image: var(--img); background-size: cover; background-position: center;
}
.gallery-insta {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  transition: background .4s var(--ease), border-color .4s;
}
.gallery-insta:hover { background: var(--green-700); border-color: var(--gold); }
.gallery-insta strong { display: block; font-family: var(--serif); font-size: 30px; font-weight: 400; margin-bottom: 10px; }
.gallery-insta span { color: var(--muted); font-size: 14px; }
.gallery-insta .arrow { color: var(--gold); width: 26px; height: 26px; align-self: flex-end; }

/* Полоса фото «В кабинете» */
.strip { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 24px; padding: 0 32px var(--section-y); }
.strip-photo {
  height: clamp(320px, 34vw, 480px); border-radius: var(--radius);
  background-image: var(--img); background-size: cover; background-position: center;
}
.strip-photo:nth-child(2) { margin-top: 64px; }

/* Мастера */
.team { padding: 0 32px var(--section-y); }
.team-viewport { overflow: hidden; }
.team-track { display: flex; gap: 24px; transition: transform .7s var(--ease); }
.team-card {
  flex: 0 0 calc((100% - 72px) / 4);
  display: flex; flex-direction: column;
}
.team-photo {
  height: 360px; border-radius: 999px 999px var(--radius) var(--radius);
  background-image: var(--img); background-size: cover; background-position: center;
  border: 1px solid var(--line-soft);
}
.team-info { padding: 22px 4px 0; }
.team-info strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 400; }
.team-info .role { display: block; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 6px 0 12px; }
.team-info p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.team-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 40px; }
.team-dots { display: flex; gap: 10px; }
.team-dots button { width: 22px; height: 1px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: .4s var(--ease); }
.team-dots button.active { background: var(--gold); width: 48px; }
.team-arrows { display: flex; gap: 12px; }
.team-arrows button {
  width: 52px; height: 52px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line); color: var(--cream);
  font-size: 18px; cursor: pointer; transition: .35s var(--ease);
}
.team-arrows button:hover { background: var(--gold); color: var(--green-900); border-color: var(--gold); }

/* ===== Отзывы (Яндекс.Карты) ===== */
.reviews { padding: var(--section-y) 32px; }
.reviews-head { display: flex; align-items: center; gap: 28px; margin-bottom: 56px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.reviews-rating { font-family: var(--serif); font-size: clamp(80px, 9vw, 120px); font-weight: 300; color: var(--gold-soft); line-height: .8; }
.reviews-stars { color: var(--gold); letter-spacing: 6px; font-size: 16px; margin-bottom: 6px; }
.reviews-meta { color: var(--muted); font-size: 15px; }
.reviews-meta a { color: var(--cream); border-bottom: 1px solid var(--gold); transition: color .3s; }
.reviews-meta a:hover { color: var(--gold); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; align-items: stretch; }
.review-card { position: relative; padding: 8px 40px 8px 0; display: flex; flex-direction: column; }
.review-card + .review-card { padding-left: 40px; border-left: 1px solid var(--line); }
.review-card::before { content: "“"; font-family: var(--serif); font-size: 90px; line-height: .6; color: var(--gold); margin-bottom: 18px; height: 40px; }
.review-stars { color: var(--gold); letter-spacing: 4px; font-size: 12px; margin-bottom: 16px; }
.review-text { color: var(--cream); font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 21px; line-height: 1.5; }
.review-author { margin-top: auto; padding-top: 26px; font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }

/* ===== Направления: мастер направления ===== */
.directions { padding: 20px 32px 70px; }
.direction { margin-bottom: 46px; }
.direction:last-child { margin-bottom: 0; }
.direction-head { display: grid; grid-template-columns: 320px 1fr; gap: 30px; align-items: center; margin-bottom: 22px; }
.direction-photo {
  height: 230px; border-radius: var(--radius);
  background-image: var(--img); background-size: cover; background-position: center;
  border: 1px solid var(--line);
}
.direction-intro h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3.4vw, 34px); color: var(--gold); }
.direction-intro > p { color: var(--muted); font-size: 15px; margin: 10px 0 18px; max-width: 480px; }
.direction-master { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.dm-label { font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }

/* ===== Прайс: аккордеон ===== */
.prices { padding: 0 32px var(--section-y); }
.accordion { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); transition: background .4s var(--ease); }
.acc-item.open { background: linear-gradient(180deg, rgba(200,169,110,.05), transparent 60%); }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: 24px;
  padding: 30px 8px; background: none; border: 0; cursor: pointer;
  color: var(--cream); text-align: left; font-family: inherit;
}
.acc-title { flex: 1; font-family: var(--serif); font-size: clamp(24px, 2.8vw, 34px); font-weight: 400; line-height: 1.15; transition: color .3s; }
.acc-count { color: var(--muted); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.acc-chevron {
  width: 44px; height: 44px; padding: 12px; flex: none; color: var(--gold);
  border: 1px solid var(--line); border-radius: 50%;
  transition: transform .5s var(--ease), background .3s, color .3s;
}
.acc-item.open .acc-chevron { transform: rotate(180deg); background: var(--gold); color: var(--green-900); border-color: var(--gold); }
.acc-head:hover .acc-title { color: var(--gold-soft); }

.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel-inner { overflow: hidden; min-height: 0; }

.price-list { list-style: none; padding: 0 8px 28px; }
.price-list li { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; }
.price-list li + li { border-top: 1px solid var(--line-soft); }
.price-name { flex: 1; font-size: 16px; color: var(--cream); font-weight: 300; display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 12px; }
.price-name em { font-style: normal; color: var(--muted); font-size: 13px; }
.price-val { flex: none; font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--gold-soft); white-space: nowrap; }
.acc-note { color: var(--muted); font-size: 14px; padding: 0 8px 24px; max-width: 680px; line-height: 1.7; }

/* Мастера категории / направления — заготовка */
.cat-masters { padding: 18px 8px 24px; border-top: 1px solid var(--line-soft); margin-top: 6px; }
.cat-masters h4 { font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.masters-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.master-chip {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 22px 8px 8px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(19, 35, 27, .6);
}
.master-chip.is-placeholder { border-style: dashed; opacity: .8; }
.master-ava {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background-image: var(--img, linear-gradient(160deg, #2a4a38, #0e1a14));
  background-size: cover; background-position: center;
  border: 1px solid var(--line);
}
.master-meta { display: flex; flex-direction: column; line-height: 1.3; }
.master-meta strong { font-family: var(--serif); font-size: 18px; font-weight: 400; color: var(--cream); }
.master-meta em { font-style: normal; font-size: 12px; color: var(--muted); }

/* ===== Подвал ===== */
.site-footer { background: var(--green-800); border-top: 1px solid var(--line); margin-top: 0; overflow: hidden; }
.footer-mark {
  max-width: var(--maxw); margin: 0 auto; padding: 72px 32px 0;
  font-family: var(--serif); font-weight: 300; line-height: .8; white-space: nowrap;
  font-size: clamp(76px, 15vw, 210px); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(200, 169, 110, .35);
}
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr;
  gap: 48px; padding: 64px 32px 56px; align-items: start;
}
.footer-col h4 { font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer-brand { font-family: var(--serif); font-size: 32px; font-weight: 400; color: var(--cream); }
.footer-tagline { color: var(--muted); font-size: 14px; margin: 14px 0 26px; max-width: 300px; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: var(--muted); font-size: 14px; transition: color .3s; width: fit-content; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-hours p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.footer-hours span { display: block; color: var(--cream); font-size: 13px; margin-bottom: 2px; }
.footer-addr { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.footer-phone { font-family: var(--serif); font-size: 24px; }
.footer-phone a { color: var(--cream); transition: color .3s; }
.footer-phone a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--cream); transition: .3s var(--ease);
}
.footer-social a:hover { background: var(--gold); color: var(--green-900); border-color: var(--gold); }
.footer-cta { display: flex; flex-direction: column; gap: 10px; align-items: stretch; margin-top: 22px; max-width: 290px; }
.footer-cta a { min-height: 48px; }
.footer-bottom {
  border-top: 1px solid var(--line-soft); max-width: var(--maxw); margin: 0 auto;
  padding: 26px 32px; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-align: center;
}

/* Секции главной идут подряд: отступ только сверху, иначе между ними двойной зазор */
.why, .services, .offers, .mood, .reviews { padding-bottom: 0; }

/* ===== Появление при прокрутке (классы ставит js/main.js) ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== Адаптив ===== */
@media (max-width: 1100px) {
  .header-phone { display: none; }
  .nav { gap: 28px; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .container { padding-left: 24px; padding-right: 24px; }  /* только бока: вертикальные отступы секций не трогаем */
  /* Мобильное меню на весь экран: невидимо и вне потока, поэтому не раздувает ширину страницы */
  .nav {
    position: fixed; inset: 0; z-index: 65; padding: calc(var(--header-h) + 40px) 32px 40px;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px;
    background: var(--green-900);
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav a {
    font-family: var(--serif); font-size: clamp(36px, 9vw, 52px); font-weight: 300;
    letter-spacing: 0; text-transform: none; opacity: 1; padding: 6px 0;
  }
  .nav a::after { display: none; }
  .nav-extra {
    display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 32px; width: 100%;
    border-top: 1px solid var(--line); font-size: 14px; color: var(--muted);
  }
  .nav .nav-extra a { font-family: var(--sans); font-size: 20px; color: var(--cream); padding: 0; }
  .burger { display: block; }

  .hero { align-items: flex-end; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-cards { flex-direction: row; }
  .mini-card { width: auto; flex: 1; height: 120px; }
  /* На телефоне фото светлые (ножницы на белом, фольга) — затемняем со стороны подписи */
  .mini-card::before { background: linear-gradient(90deg, rgba(11,20,16,.9) 0%, rgba(11,20,16,.55) 55%, rgba(11,20,16,.3) 100%); }
  .mini-card span { text-shadow: 0 1px 12px rgba(0,0,0,.5); }
  .mini-card .arrow { color: var(--cream); }
  .hero-social { right: 24px; }
  .scroll-cue { display: none; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .why-grid { grid-template-columns: 1fr; border-top: 0; }
  .why-card, .why-card + .why-card { padding: 34px 0; border-left: 0; border-top: 1px solid var(--line); }
  .services-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .offers-grid { grid-template-columns: 1fr; }
  .offer-card { min-height: 420px; }
  .offer-body { padding: 32px; }
  .mood-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 380px 240px 240px; }
  .mood-photo:nth-child(1) { grid-row: auto; grid-column: span 2; }
  .mood-photo:nth-child(4) { grid-column: span 2; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card, .review-card + .review-card { padding: 32px 0; border-left: 0; border-top: 1px solid var(--line); }
  .about, .about-rev { grid-template-columns: 1fr; padding: 32px 24px 80px; }
  .about-rev .about-text { order: 2; }
  .about-photo { height: clamp(380px, 110vw, 520px); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-insta { grid-column: span 2; }
  .gallery-thumb { height: 200px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip-photo:nth-child(2) { margin-top: 0; }
  .strip-photo:nth-child(3) { grid-column: span 2; }
  .team-card { flex: 0 0 calc((100% - 24px) / 2); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; padding: 48px 24px 40px; }
  .footer-mark { padding: 56px 24px 0; }
  .direction-head { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 520px) {
  body { font-size: 15px; }
  .hero-title { font-size: clamp(60px, 19vw, 96px); }
  .hero-sub { font-size: 15px; margin: 24px 0 30px; }
  /* «Парикмахерский» одним словом не помещается в 320px при 44px */
  .about > * { min-width: 0; }
  .about-text .section-title, .section-title { font-size: clamp(34px, 11.5vw, 44px); overflow-wrap: break-word; }
  .hero-cards { flex-direction: column; }
  .mini-card { height: 96px; }
  .hero-social { display: none; }  /* на телефоне — в меню и подвале */
  .cta-pair > a { flex: 1 1 100%; }
  .acc-head { padding: 24px 4px; gap: 14px; }
  .acc-count { display: none; }
  .acc-chevron { width: 38px; height: 38px; padding: 10px; }
  .price-list { padding: 0 4px 22px; }
  .price-val { font-size: 19px; }
  .mood-grid { grid-template-rows: 300px 200px 200px; gap: 14px; }
  .gallery { gap: 14px; }
  .gallery-thumb { height: 150px; }
  .strip { gap: 14px; }
  .strip-photo { height: 260px; }
  .team-card { flex: 0 0 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-cta { max-width: none; }
}
