/* «Девчата Про» — сайт-визитка. Сначала телефон, потом планшет (768) и компьютер (960+). */

:root {
  --accent: #6B4F42;        /* какао — фон логотипа */
  --accent-600: #5A4137;
  --accent-700: #48332B;
  --accent-200: #E2D3C7;
  --accent-100: #EFE5DC;
  --accent-50: #F8F2EC;
  --sage: #7E9883;          /* шалфейные стены студии */
  --sage-700: #556F5B;
  --sage-100: #E3EAE3;
  --cream: #F6F1EA;
  --paper: #FFFDFA;
  --ink: #2E2420;
  --ink-2: #4F413A;
  --muted: #85756C;
  --line: #E8DDD2;
  --line-2: #DCCDBF;
  --ok: #1FA463;
  --shadow: 0 18px 40px -22px rgba(72, 51, 43, .45), 0 4px 14px -6px rgba(46, 36, 32, .08);
  --shadow-soft: 0 10px 30px -18px rgba(46, 36, 32, .25);
  --radius: 24px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 16px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums; /* у Playfair по умолчанию «прыгающие» цифры */
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg { width: 1em; height: 1em; flex: none; }
a { color: var(--accent-600); }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(107, 79, 66, .45); outline-offset: 3px; border-radius: 10px; }
html.nav-open, html.lb-open { overflow: hidden; }

.container { width: min(100% - var(--gutter) * 2, 1180px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px;
  font: 700 15.5px/1.1 var(--sans); letter-spacing: .01em; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 12px 26px -12px rgba(107, 79, 66, .8); }
.btn--primary:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(107, 79, 66, .85); }
.btn--ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { color: var(--accent-700); box-shadow: inset 0 0 0 1.5px var(--accent); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--accent-700); box-shadow: 0 16px 30px -14px rgba(40, 25, 20, .55); }
.btn--white:hover { transform: translateY(-2px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(0) scale(.98); }

/* ---------- демо-плашка ---------- */
.demo-bar { background: var(--ink); color: rgba(255, 255, 255, .86); font-size: 12.5px; line-height: 1.35; }
.demo-bar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; padding: 6px 0; }
.demo-bar b { color: #fff; font-weight: 700; margin-right: 4px; }
.demo-bar b::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.demo-bar__close { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; flex: none; }
.demo-bar__close svg { width: 14px; height: 14px; }

/* ---------- шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 234, .86);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(46, 36, 32, .35); }
/* backdrop-filter делает шапку рамкой для position: fixed — на время меню снимаем, иначе меню не на весь экран */
html.nav-open .header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--cream); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand__logo { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 6px 14px -6px rgba(107, 79, 66, .55); }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font: italic 700 24px/1 var(--serif); white-space: nowrap; }
.brand__sub { margin-top: 4px; font: 700 9.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__phone { display: none; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.header__phone svg { width: 18px; height: 18px; color: var(--accent); }

.burger { position: relative; width: 44px; height: 44px; border: 0; border-radius: 14px; background: var(--accent-50); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav {
  position: fixed; inset: 0; z-index: -1;
  display: flex; flex-direction: column;
  padding: calc(var(--hb, 100px) + 12px) var(--gutter) 28px;
  background: var(--cream);
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; }
.nav__link { padding: 14px 2px; border-bottom: 1px solid var(--line); color: var(--ink); font: 600 26px/1.2 var(--serif); text-decoration: none; }
.nav__extra { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; }
.nav__phone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; text-decoration: none; }
.nav__phone svg { width: 20px; height: 20px; color: var(--accent); }
.nav__meta { text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- общее для секций ---------- */
.section { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--accent-600); font: 800 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.h2 { font: 600 clamp(2.45rem, 3.6vw + 1.4rem, 3.9rem)/1.02 var(--serif); letter-spacing: -.012em; margin-bottom: 14px; }
.h2 em, .hero__title em, .cta h2 em { font-style: italic; font-weight: 600; color: var(--sage-700); }
.lead { font-size: 17px; color: var(--ink-2); }
.section-head { max-width: 660px; margin-bottom: 30px; }
.section-head p:not(.eyebrow) { color: var(--muted); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 28px; }
.section-head--row > div:first-child { max-width: 640px; }
.nowrap { white-space: nowrap; }
.link-arrow { color: var(--accent-600); font-weight: 700; text-decoration: none; }
.link-arrow svg { display: inline-block; width: 18px; height: 18px; margin-left: 6px; vertical-align: -3px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars svg { width: 16px; height: 16px; }

/* ---------- первый экран ---------- */
.hero { position: relative; padding: 14px 0 64px; overflow: hidden; }
.hero::before { /* мягкое пятно за фото */
  content: ""; position: absolute; z-index: -1; right: -260px; top: -220px; width: 680px; height: 680px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(107, 79, 66, .16), rgba(107, 79, 66, 0));
}
.hero__in { display: grid; gap: 34px; }
.hero__media { position: relative; order: -1; }
.hero__photo { position: relative; overflow: hidden; aspect-ratio: 16 / 11; border-radius: 28px; box-shadow: var(--shadow); background: var(--accent-100); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.hero__logo { position: absolute; left: 14px; bottom: -26px; width: 76px; height: 76px; border-radius: 50%; border: 4px solid #fff; background: #fff; box-shadow: 0 12px 24px -10px rgba(107, 79, 66, .6); }
.hero__blob { position: absolute; z-index: -1; right: -40px; top: -36px; width: 200px; height: 200px; color: var(--accent-100); }
.hero__float { position: absolute; }
.hero__float--nails { display: none; }
.hero__float--card {
  right: 12px; bottom: -22px;
  display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft), 0 0 0 1px var(--line);
}
.hero__float-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent-100); color: var(--accent); }
.hero__float-icon svg { width: 20px; height: 20px; }
.hero__float--card b { display: block; font-size: 14px; line-height: 1.2; }
.hero__float--card small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.2; margin-top: 2px; }

.hero__status { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: 13.5px; font-weight: 700; }
.dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; background: var(--ok); opacity: .25; animation: pulse 2.2s var(--ease) infinite; }
.dot.is-closed { background: #C9B3BE; }
.dot.is-closed::after { display: none; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .45; } 100% { transform: scale(1.6); opacity: 0; } }

.hero__title { margin: 18px 0 16px; font: 600 clamp(2.9rem, 6.4vw + 1.1rem, 5.4rem)/.98 var(--serif); letter-spacing: -.015em; }
.hero__title em { white-space: nowrap; }
.hero__lead { max-width: 33em; color: var(--ink-2); font-size: 17px; }
.hero__cta { display: grid; gap: 10px; margin-top: 26px; }
.hero__note { margin-top: 12px; color: var(--muted); font-size: 13.5px; }
.hero__note::before { content: "●"; margin-right: 6px; color: var(--accent); font-size: 9px; vertical-align: 2px; }
.hero__proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 26px; }
.hero__proof li { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: 12px; line-height: 1.3; }
.proof__top { display: flex; align-items: center; gap: 4px; color: var(--ink); }
.proof__top b { font: 700 28px/1 var(--serif); }
.proof__top svg { width: 17px; height: 17px; color: var(--accent); }
.proof__top .proof__award { width: 22px; height: 22px; }

/* появление первого экрана */
.hero__content > *, .hero__media > * { animation: rise .9s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .06s; }
.hero__content > :nth-child(3) { animation-delay: .12s; }
.hero__content > :nth-child(4) { animation-delay: .18s; }
.hero__content > :nth-child(5) { animation-delay: .22s; }
.hero__content > :nth-child(6) { animation-delay: .26s; }
.hero__logo, .hero__float--card { animation-delay: .35s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- бегущая строка ---------- */
.marquee { overflow: hidden; background: var(--accent); color: #fff; padding: 15px 0; }
.marquee__track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marquee 48s linear infinite; font: italic 600 21px/1 var(--serif); white-space: nowrap; }
.marquee__track i { font-style: normal; font-size: 14px; opacity: .7; }
@keyframes marquee { to { transform: translateX(calc(-50% - 13px)); } }

/* ---------- о салоне ---------- */
.about__in { display: grid; gap: 30px; }
.about__media { position: relative; padding-bottom: 34px; }
.about__img { border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.about__img--main { width: 100%; aspect-ratio: 1 / 1.02; object-position: 50% 60%; }
.about__img--small { position: absolute; right: 12px; bottom: 0; width: 40%; aspect-ratio: 4 / 5; object-position: 50% 30%; border: 5px solid var(--cream); border-radius: 22px; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.perk { padding: 18px 16px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.perk:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--accent-200), var(--shadow-soft); }
.perk__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 14px; background: var(--accent-100); color: var(--accent); }
.perk__icon svg { width: 22px; height: 22px; }
.perk h3 { margin-bottom: 5px; font: 800 15.5px/1.25 var(--sans); }
.perk p { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* ---------- услуги и цены ---------- */
.services { background: var(--paper); }
.tabs__list {
  position: sticky; top: var(--header-h); z-index: 5;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1) 18px; padding: 10px var(--gutter);
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  scroll-padding-inline: var(--gutter);
}
.tabs__list::-webkit-scrollbar { display: none; }
.tab {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent-50); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line);
  font: 700 15px/1 var(--sans); white-space: nowrap; transition: background-color .25s, color .25s, box-shadow .25s;
}
.tab:hover { box-shadow: inset 0 0 0 1px var(--accent-200); }
.tab__count { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #fff; color: var(--muted); font-size: 12px; }
.tab.is-active { background: var(--ink); color: #fff; box-shadow: none; }
.tab.is-active .tab__count { background: var(--accent); color: #fff; }
.tab-panel__title { display: none; }
.js .tab-panel:not(.is-active) { display: none; }
html:not(.js) .tab-panel__title { display: block; margin: 28px 0 12px; font: 700 26px/1.2 var(--serif); }
.tab-panel { outline: none; }
.js .tab-panel.is-active { animation: fade .45s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.svc-group + .svc-group { margin-top: 30px; }
.svc-group__title { margin-bottom: 8px; color: var(--muted); font: 800 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.svc-list { border-top: 1px solid var(--line); }
.svc {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; align-items: start;
  padding: 16px 6px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none;
  transition: background-color .25s;
}
.svc:hover { background: var(--accent-50); }
.svc__name { display: block; font: 700 16px/1.35 var(--sans); }
.svc__note { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.svc__side { text-align: right; white-space: nowrap; }
.svc__price { display: block; font: 800 17px/1.2 var(--sans); }
.svc__time { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.svc__go { display: none; }
.badge { display: inline-block; margin-left: 8px; padding: 4px 8px; border-radius: 999px; background: var(--accent); color: #fff; font: 800 10px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }

.lash-table { overflow: hidden; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.lash-table__head, .lash-row { display: grid; grid-template-columns: .9fr 1fr 1fr; }
.lash-table__head { background: var(--accent-50); color: var(--muted); font: 800 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.lash-table__head span { padding: 14px 12px; }
.lash-row { align-items: stretch; border-top: 1px solid var(--line); }
.lash-row__vol { display: flex; align-items: center; padding: 12px; font: 700 18px/1 var(--serif); }
.lash-cell { display: block; padding: 11px 12px; color: inherit; text-decoration: none; transition: background-color .25s; }
a.lash-cell:hover { background: var(--accent-50); }
.lash-cell b { display: block; font: 800 15.5px/1.2 var(--sans); white-space: nowrap; }
.lash-cell small { display: block; margin-top: 3px; color: var(--muted); font-size: 12.5px; }
.lash-cell--na { display: flex; align-items: center; color: var(--line-2); }
.lash-note { margin-top: 10px; color: var(--muted); font-size: 13.5px; }

.services__extra { display: grid; gap: 16px; margin-top: 34px; }
.note-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 22px; background: linear-gradient(135deg, var(--accent-50), var(--sage-100)); box-shadow: inset 0 0 0 1px var(--line); }
.note-card__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: #fff; color: var(--sage-700); }
.note-card__icon svg { width: 24px; height: 24px; }
.note-card h3 { font: 800 16px/1.3 var(--sans); margin-bottom: 3px; }
.note-card p { color: var(--ink-2); font-size: 14.5px; }
.services__hint { color: var(--muted); font-size: 14px; }

/* ---------- работы ---------- */
.carousel, .works-grid, .salon-grid {
  display: grid; grid-auto-flow: column; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px;
  scroll-padding-inline: var(--gutter);
}
.carousel::-webkit-scrollbar, .works-grid::-webkit-scrollbar, .salon-grid::-webkit-scrollbar { display: none; }
.works-grid { grid-auto-columns: 74%; }
.works-grid__item, .salon-grid__item { position: relative; display: block; overflow: hidden; border-radius: 22px; scroll-snap-align: start; background: var(--accent-100); }
.works-grid__item { aspect-ratio: 1; }
.works-grid__item img, .salon-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.works-grid__item:hover img, .salon-grid__item:hover img { transform: scale(1.05); }
.works-grid__item::after, .salon-grid__item::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(46, 36, 32, .25));
  opacity: 0; transition: opacity .4s;
}
.works-grid__item:hover::after, .salon-grid__item:hover::after { opacity: 1; }

/* ---------- мастера ---------- */
.masters { background: var(--accent-50); }
.masters-list { grid-auto-columns: 66%; gap: 14px; }
.master { scroll-snap-align: start; }
.master__link { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 24px; background: #fff; color: inherit; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.master__link:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--accent-200), var(--shadow); }
.master__photo { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--accent-100); }
.master__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.master__link:hover .master__photo img { transform: scale(1.04); }
.master__body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.master__name { font: 700 27px/1.05 var(--serif); }
.master__role { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.35; }
.master__rating { display: flex; align-items: center; gap: 5px; margin-top: 10px; font-weight: 800; font-size: 14.5px; }
.master__rating svg { width: 16px; height: 16px; color: var(--accent); }
.master__rating span { color: var(--muted); font-weight: 500; }
.master__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; color: var(--accent-600); font-weight: 800; font-size: 14.5px; }
.master__cta svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.master__link:hover .master__cta svg { transform: translateX(4px); }

.carousel-nav { display: none; gap: 10px; }
.carousel-nav button {
  display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; cursor: pointer;
  background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color .25s, color .25s, box-shadow .25s, opacity .25s;
}
.carousel-nav button svg { width: 22px; height: 22px; }
.carousel-nav button:hover:not(:disabled) { background: var(--accent); color: #fff; box-shadow: none; }
.carousel-nav button:disabled { opacity: .35; cursor: default; }

/* ---------- атмосфера ---------- */
.salon-grid { grid-auto-columns: 70%; }
.salon-grid__item { aspect-ratio: 4 / 5; }

/* ---------- отзывы ---------- */
.reviews { background: var(--paper); }
.scores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
.score { display: flex; flex-direction: column; gap: 6px; padding: 18px 16px; border-radius: 22px; background: var(--accent-50); color: inherit; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
a.score:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--accent-200), var(--shadow-soft); }
.score__num { font: 700 54px/1 var(--serif); letter-spacing: -.02em; }
.score__meta { color: var(--muted); font-size: 13px; }
.score__src { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; font-weight: 800; font-size: 14px; }
.score__src svg { width: 15px; height: 15px; color: var(--accent); }
.score--award { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 14px; background: var(--ink); color: rgba(255, 255, 255, .78); box-shadow: none; font-size: 13.5px; line-height: 1.4; }
.score--award b { display: block; margin-bottom: 2px; color: #fff; font: 700 19px/1.2 var(--serif); }
.score__award-icon { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 50%; background: linear-gradient(135deg, #9DB5A1, var(--sage-700)); color: #fff; box-shadow: 0 8px 18px -8px rgba(85, 111, 91, .9); }
.score__award-icon svg { width: 26px; height: 26px; }
.reviews__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.reviews__hint { color: var(--muted); font-size: 14px; }
.reviews-list { grid-auto-columns: 86%; gap: 14px; }
.review { scroll-snap-align: start; }
.review figure { display: flex; flex-direction: column; height: 100%; padding: 22px 20px 20px; border-radius: 24px; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.review blockquote { position: relative; flex: 1; margin: 14px 0 18px; font-size: 15.5px; line-height: 1.6; }
.review blockquote::before { content: "“"; position: absolute; right: -4px; top: -42px; color: var(--accent-200); font: 700 76px/1 var(--serif); }
.review figcaption { display: grid; gap: 2px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 13px; color: var(--muted); }
.review figcaption b { color: var(--ink); font-size: 15px; }

/* ---------- призыв записаться ---------- */
.cta { padding-block: clamp(20px, 4vw, 40px) clamp(64px, 8vw, 110px); background: var(--paper); }
.cta__box {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 26px; padding: 34px 22px;
  border-radius: 32px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #94735F 0%, var(--accent) 46%, #3B2A23 100%);
  box-shadow: 0 30px 60px -30px rgba(107, 79, 66, .7);
}
.cta__blob { position: absolute; z-index: -1; right: -70px; bottom: -90px; width: 300px; height: 300px; color: rgba(255, 255, 255, .1); }
.cta h2 { font: 600 clamp(2.45rem, 3.8vw + 1.4rem, 3.9rem)/1.02 var(--serif); letter-spacing: -.015em; }
.cta h2 em { color: #CFE0D2; }
.steps { display: grid; gap: 10px; margin-top: 22px; }
.steps li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.steps b { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); font-size: 14px; }
.cta__actions { display: grid; gap: 14px; justify-items: stretch; }
.cta__phone { color: rgba(255, 255, 255, .88); font-size: 15px; text-align: center; text-decoration: none; }
.cta__phone b { color: #fff; white-space: nowrap; }

/* ---------- контакты ---------- */
.contacts__in { display: grid; gap: 30px; }
.contact-list { display: grid; gap: 16px; margin: 6px 0 24px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.ci { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 15px; background: var(--accent-100); color: var(--accent); }
.ci svg { width: 22px; height: 22px; }
.contact-list b { display: block; font-size: 17px; line-height: 1.35; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list div > span { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.messengers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.msg { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: 16px; background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.msg:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-soft); }
.msg svg { width: 24px; height: 24px; }
.msg--wa svg { color: #25D366; }
.msg--tg svg { color: #229ED9; }
.msg--vk svg { color: #0077FF; }
.msg--max svg { color: #6B4BF5; }
.tg-card { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 16px; border-radius: 20px; background: linear-gradient(135deg, #8DA892, var(--sage-700)); color: #fff; text-decoration: none; box-shadow: 0 16px 30px -18px rgba(85, 111, 91, .9); transition: transform .25s var(--ease); }
.tg-card:hover { transform: translateY(-2px); }
.tg-card__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.tg-card__icon svg { width: 26px; height: 26px; }
.tg-card__text { flex: 1; min-width: 0; }
.tg-card__text b { display: block; font-size: 16px; }
.tg-card__text span { display: block; opacity: .85; font-size: 13.5px; }
.tg-card__go { width: 20px; height: 20px; }
.route-btns { display: grid; gap: 10px; margin-top: 16px; }
.contacts__map { position: relative; overflow: hidden; min-height: 340px; border-radius: 28px; background: var(--accent-100); box-shadow: var(--shadow); }
.contacts__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- подвал ---------- */
.footer { padding: 52px 0 calc(110px + env(safe-area-inset-bottom)); background: #2A201C; color: rgba(255, 255, 255, .7); font-size: 14.5px; }
.footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__in { display: grid; gap: 28px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 56px; height: 56px; border-radius: 50%; }
.footer__brand b { display: block; color: #fff; font: italic 700 26px/1 var(--serif); }
.footer__brand span { display: block; margin-top: 4px; font-size: 13.5px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; }
.footer__contacts { display: grid; gap: 6px; }
.footer__contacts > a { font-weight: 800; font-size: 18px; color: #fff; }
.footer__social { display: flex; gap: 10px; margin-top: 10px; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background-color .25s; }
.footer__social a:hover { background: var(--accent); }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom { display: grid; gap: 6px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; color: rgba(255, 255, 255, .5); }

/* ---------- нижняя панель на телефоне ---------- */
.mbar {
  position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  display: flex; gap: 8px; padding: 8px; border-radius: 24px;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px -14px rgba(46, 36, 32, .45), inset 0 0 0 1px var(--line);
  transform: translateY(150%); transition: transform .45s var(--ease);
}
.mbar.is-visible { transform: none; }
.mbar__book { flex: 1; min-height: 52px; padding: 0 16px; }
.mbar__icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 18px; background: var(--accent-50); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
.mbar__icon svg { width: 22px; height: 22px; }
.mbar__icon--tg { background: #EAF5FC; color: #229ED9; box-shadow: inset 0 0 0 1px #CDE7F7; }

/* ---------- просмотр фото ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(26, 19, 16, .94); animation: fade .3s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox__stage { display: grid; place-items: center; width: 100%; height: 100%; padding: 70px 12px; }
.lightbox__img { max-width: min(100%, 1100px); max-height: 100%; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); object-fit: contain; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255, 255, 255, .12); color: #fff; transition: background-color .25s; }
.lightbox__btn:hover { background: var(--accent); }
.lightbox__btn svg { width: 24px; height: 24px; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: rgba(255, 255, 255, .75); font-size: 14px; font-weight: 600; }

/* ---------- появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.perks .perk.reveal:nth-child(2) { transition-delay: .05s; }
.perks .perk.reveal:nth-child(3) { transition-delay: .1s; }
.perks .perk.reveal:nth-child(4) { transition-delay: .15s; }
.perks .perk.reveal:nth-child(5) { transition-delay: .2s; }
.perks .perk.reveal:nth-child(6) { transition-delay: .25s; }

/* ================= планшет ================= */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .hero__cta { display: flex; flex-wrap: wrap; }
  .hero__proof { max-width: 520px; gap: 10px; }
  .hero__proof li { padding: 14px 16px; font-size: 13px; }
  .proof__top b { font-size: 27px; }
  .works-grid { grid-auto-columns: 42%; }
  .masters-list { grid-auto-columns: 40%; }
  .salon-grid { grid-auto-columns: 40%; }
  .reviews-list { grid-auto-columns: 58%; }
  .scores { grid-template-columns: 1fr 1fr 1.6fr; }
  .score--award { grid-column: auto; }
  .messengers { grid-template-columns: repeat(4, 1fr); }
  .msg { justify-content: center; }
  .route-btns { display: flex; flex-wrap: wrap; }
  .cta__actions { justify-items: start; }
  .cta__phone { text-align: left; }
  .footer__in { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .works-grid {
    grid-auto-flow: row dense; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto;
    overflow: visible; margin-inline: 0; padding: 0; gap: 16px;
  }
  .works-grid__item--big { grid-column: span 2; grid-row: span 2; }
  .salon-grid {
    grid-auto-flow: row; grid-template-columns: 1.3fr 1fr 1fr .9fr; grid-template-rows: repeat(2, minmax(220px, 23vw));
    grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding: 0; gap: 16px;
  }
  .salon-grid__item { aspect-ratio: auto; }
  .salon-grid__item--a { grid-column: 1; grid-row: 1 / 3; }
  .salon-grid__item--b { grid-column: 2; grid-row: 1; }
  .salon-grid__item--c { grid-column: 3; grid-row: 1; }
  .salon-grid__item--d { grid-column: 4; grid-row: 1 / 3; }
  .salon-grid__item--e { grid-column: 2 / 4; grid-row: 2; }
  .carousel-nav { display: flex; }
  .masters-list { grid-auto-columns: calc((100% - 3 * 18px) / 3.4); gap: 18px; }
  .reviews-list { grid-auto-columns: calc((100% - 18px) / 2); gap: 18px; }
  .lash-table__head span { padding: 16px 18px; }
  .lash-row__vol { padding: 14px 18px; }
  .lash-cell { padding: 13px 18px; }
  .svc { padding: 18px 44px 18px 12px; }
  .svc__go { display: block; position: absolute; right: 12px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--accent); opacity: 0; transform: translate(-6px, 6px); transition: opacity .25s, transform .25s var(--ease); }
  .svc:hover .svc__go { opacity: 1; transform: none; }
}

/* ================= компьютер ================= */
@media (min-width: 960px) {
  :root { --gutter: 32px; --header-h: 76px; }
  body { font-size: 17px; }
  .burger { display: none; }
  .nav {
    position: static; z-index: auto; flex-direction: row; align-items: center; gap: 4px;
    padding: 0; background: none; overflow: visible; opacity: 1; visibility: visible; transform: none;
  }
  .nav__link { padding: 10px 14px; border: 0; border-radius: 999px; font: 600 15px/1 var(--sans); color: var(--ink-2); transition: background-color .25s, color .25s; }
  .nav__link:hover { background: var(--accent-50); color: var(--accent-700); }
  .nav__extra { display: none; }
  .brand__logo { width: 50px; height: 50px; }
  .brand__name { font-size: 24px; }
  .header__phone { display: inline-flex; }
  .header__actions { gap: 18px; }
  .btn--sm { min-height: 46px; padding: 0 22px; font-size: 15px; }

  .hero { padding: 40px 0 110px; }
  .hero__in { grid-template-columns: 1.04fr .96fr; align-items: center; gap: 64px; }
  .hero__media { order: 0; }
  .hero__photo { aspect-ratio: 5 / 5.2; border-radius: 240px 240px 36px 36px; }
  .hero__photo img { object-position: 50% 50%; }
  .hero__blob { right: -70px; top: -50px; width: 280px; height: 280px; }
  .hero__logo { left: -26px; bottom: 70px; width: 104px; height: 104px; border-width: 6px; }
  .hero__float--nails { display: block; right: -18px; top: 18%; width: 132px; height: 132px; border-radius: 50%; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); animation: rise .9s var(--ease) .45s both, float 6s ease-in-out 1.4s infinite alternate; }
  .hero__float--nails img { width: 100%; height: 100%; object-fit: cover; }
  .hero__float--card { right: auto; left: 12%; bottom: -26px; padding: 14px 20px 14px 14px; animation: rise .9s var(--ease) .5s both, float 7s ease-in-out 2s infinite alternate-reverse; }
  .hero__float-icon { width: 44px; height: 44px; }
  .hero__float--card b { font-size: 15.5px; }
  .hero__lead { font-size: 18.5px; }
  .hero__cta { margin-top: 32px; }

  .about__in { grid-template-columns: 1fr 1.08fr; grid-template-areas: "media head" "media perks"; gap: 0 72px; align-items: start; }
  .about__head { grid-area: head; margin-bottom: 30px; }
  .about__media { grid-area: media; align-self: center; padding-bottom: 60px; }
  .about__img--main { aspect-ratio: 4 / 4.4; }
  .about__img--small { right: -24px; width: 44%; border-width: 8px; }
  .perks { grid-area: perks; gap: 14px; }
  .perk { padding: 22px 20px; }

  .tabs { display: grid; grid-template-columns: 250px 1fr; gap: 0 56px; align-items: start; }
  .tabs__list {
    top: calc(var(--header-h) + 20px); flex-direction: column; gap: 6px; overflow: visible;
    margin: 0; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .tab { justify-content: space-between; width: 100%; padding: 15px 18px; font-size: 16px; }
  .tabs__panels { max-width: 820px; }
  .services__extra { grid-template-columns: 1fr 1fr; align-items: center; margin-left: 306px; }

  .masters-list { grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; }
  .reviews-list { grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; }
  .review figure { padding: 26px 24px 22px; }

  .cta__box { grid-template-columns: 1.35fr 1fr; align-items: center; gap: 40px; padding: 60px 64px; }
  .steps { grid-template-columns: repeat(3, auto); justify-content: start; gap: 24px; }
  .steps li { white-space: nowrap; }
  .cta__actions { justify-items: end; }
  .cta__phone { text-align: right; }
  .cta__blob { right: 30%; bottom: -140px; width: 420px; height: 420px; }

  .contacts__in { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: stretch; }
  .contacts__map { min-height: 100%; }
  .messengers { grid-template-columns: 1fr 1fr; }
  .mbar { display: none; }
  .footer { padding-bottom: 40px; }
  .footer__in { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; }
  .footer__nav { flex-direction: column; gap: 10px; }
}

@media (min-width: 1200px) {
  .hero__title { font-size: 5.6rem; }
  .messengers { grid-template-columns: repeat(4, 1fr); }
}

@keyframes float { from { transform: translateY(0); } to { transform: translateY(-12px); } }

/* шорткат font сбрасывает вид цифр — возвращаем ровные цифры там, где Playfair пишет числа */
.proof__top b, .lash-row__vol, .score__num, .h2, .hero__title, .cta h2 { font-variant-numeric: lining-nums; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- «Девчата Про»: дополнения ---------- */
.hero__blob { color: var(--sage-100); }
.hero__logo { border-color: var(--paper); background: var(--accent); }
.marquee__track { font-size: 24px; }
.master__rating--text { color: var(--sage-700); font-size: 13px; font-weight: 700; }
.score__src--plain { color: var(--muted); }
.contact-list a + a { display: block; margin-top: 2px; color: var(--ink-2); font-weight: 600; text-decoration: none; }
.picture-fill, .hero__photo picture { display: block; width: 100%; height: 100%; }
@media (max-width: 389px) { .brand__name { font-size: 21px; } }
@media (max-width: 359px) { .brand__text { display: none; } }
