/* =========================================================
   VINKONA — дизайн-система
   Палитра: #A45756 · #F5EDEC · #3E3935 · #F7C9C8
   ========================================================= */

:root{
  /* Базовые цвета бренда */
  --clay:        #A45756;
  --clay-600:    #954C4B;
  --clay-700:    #7E3F3E;
  --clay-300:    #C68B8A;
  --cream:       #F5EDEC;
  --cream-200:   #FBF6F5;
  --ink:         #3E3935;
  --ink-700:     #4E4843;
  --blush:       #F7C9C8;
  --blush-200:   #FBE3E2;
  --white:       #FFFFFF;

  /* Производные */
  --ink-70:      rgba(62,57,53,.72);
  --ink-55:      rgba(62,57,53,.56);
  --ink-40:      rgba(62,57,53,.40);
  --line:        rgba(62,57,53,.10);
  --line-strong: rgba(62,57,53,.16);
  --line-light:  rgba(245,237,236,.18);

  --clay-tint:   rgba(164,87,86,.08);
  --clay-tint-2: rgba(164,87,86,.14);

  /* Тени */
  --sh-xs: 0 1px 2px rgba(62,57,53,.05);
  --sh-sm: 0 2px 8px rgba(62,57,53,.06);
  --sh-md: 0 10px 28px -12px rgba(62,57,53,.20), 0 2px 8px rgba(62,57,53,.05);
  --sh-lg: 0 28px 60px -24px rgba(62,57,53,.28), 0 6px 18px rgba(62,57,53,.06);
  --sh-clay: 0 14px 30px -12px rgba(164,87,86,.45);

  /* Скругления */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-full: 999px;

  /* Типографика */
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;

  --wrap: 1240px;
  --gap: 24px;
  --header-h: 76px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ================= RESET ================= */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:calc(var(--header-h) + 20px); }
body{
  margin:0;
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  color:var(--ink);
  background:var(--cream-200);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
body.is-locked{ overflow:hidden; }
img,svg{ display:block; max-width:100%; }
[hidden]{ display:none !important; }
a{ color:inherit; text-decoration:none; }
button,input,select,textarea{ font:inherit; color:inherit; }
button{ background:none; border:0; cursor:pointer; }
h1,h2,h3,h4,p,ul,ol,figure{ margin:0; }
ul,ol{ list-style:none; padding:0; }
em{ font-style:italic; }
strong,b{ font-weight:700; }
:focus-visible{ outline:2px solid var(--clay); outline-offset:3px; border-radius:4px; }
::selection{ background:var(--blush); color:var(--ink); }

/* ================= УТИЛИТЫ ================= */
.sprite{ position:absolute; width:0; height:0; overflow:hidden; }

.ico{
  width:20px; height:20px; flex:none;
  fill:none; stroke:currentColor; stroke-width:1.7;
  stroke-linecap:round; stroke-linejoin:round;
}
.ico--xs{ width:15px; height:15px; stroke-width:1.9; }
.ico--lg{ width:26px; height:26px; stroke-width:1.55; }

.wrap{ width:100%; max-width:var(--wrap); margin:0 auto; padding:0 24px; }
.wrap--narrow{ max-width:860px; }

/* ================= КНОПКИ ================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:14px 24px;
  border-radius:var(--r-full);
  font-size:15px; font-weight:700; letter-spacing:-.01em;
  white-space:nowrap; cursor:pointer;
  border:1px solid transparent;
  transition:transform .25s var(--ease), background-color .25s var(--ease),
             color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .ico{ transition:transform .3s var(--ease); }
.btn:hover .ico{ transform:translateX(3px); }
.btn:active{ transform:translateY(1px); }

.btn--primary{ background:var(--clay); color:var(--white); box-shadow:var(--sh-clay); }
.btn--primary:hover{ background:var(--clay-600); }

.btn--light{ background:var(--white); color:var(--ink); box-shadow:var(--sh-sm); }
.btn--light:hover{ background:var(--cream); }

.btn--ghost{ border-color:var(--line-strong); color:var(--ink); background:transparent; }
.btn--ghost:hover{ border-color:var(--clay); color:var(--clay); }

.btn--outline-light{ border-color:rgba(245,237,236,.5); color:var(--cream); }
.btn--outline-light:hover{ background:rgba(245,237,236,.14); border-color:var(--cream); }

.btn--sm{ padding:10px 18px; font-size:14px; }
.btn--lg{ padding:17px 32px; font-size:16px; }
.btn--block{ width:100%; }

.link-arrow{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:700; font-size:15px; color:var(--clay);
  transition:gap .25s var(--ease);
}
.link-arrow:hover{ gap:14px; }

.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 16px; border-radius:var(--r-full);
  background:var(--white); border:1px solid var(--line);
  font-size:13.5px; font-weight:600; color:var(--ink-70);
  box-shadow:var(--sh-xs);
}
.pill .ico{ color:var(--clay); }
.pill--light{ background:rgba(245,237,236,.14); border-color:rgba(245,237,236,.24); color:var(--cream); }
.pill--light .ico{ color:var(--blush); }

.avatar{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; flex:none; border-radius:var(--r-full);
  background:linear-gradient(140deg, var(--clay), var(--clay-700));
  color:var(--cream); font-size:14px; font-weight:800; letter-spacing:.03em;
}
.avatar--sm{ width:36px; height:36px; font-size:12.5px; }
.avatar--lg{ width:52px; height:52px; font-size:16px; }
.avatar--xl{ width:76px; height:76px; font-size:22px; }

/* ================= HEADER ================= */
.header{
  position:sticky; top:0; z-index:80;
  background:rgba(251,246,245,.86);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.header.is-stuck{
  border-bottom-color:var(--line);
  box-shadow:0 6px 24px -18px rgba(62,57,53,.5);
  background:rgba(251,246,245,.94);
}
.header__in{
  display:flex; align-items:center; gap:28px;
  min-height:var(--header-h);
}

/* Логотип — вектор из assets/img/logo-inline.svg.
   Текст берёт цвет от .logo, искра и точка — из --logo-accent. */
.logo{
  display:inline-flex; align-items:center; flex:none;
  color:var(--ink);
  --logo-accent:var(--clay);
  transition:opacity .2s var(--ease);
}
.logo:hover{ opacity:.8; }
.logo svg{ display:block; height:26px; width:auto; }
.logo--sm svg{ height:19px; }
.logo--light{ color:var(--cream); --logo-accent:var(--blush); }

.nav{ display:flex; align-items:center; gap:6px; margin-right:auto; }
.nav__link{
  display:inline-flex; align-items:center; gap:6px;
  padding:9px 13px; border-radius:var(--r-full);
  font-size:15px; font-weight:600; color:var(--ink-70);
  transition:color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link:hover{ color:var(--ink); background:var(--clay-tint); }
.nav__link--accent{ color:var(--clay); }
.nav__link--accent:hover{ background:var(--clay-tint-2); color:var(--clay-700); }
.nav__link.is-current{ color:var(--clay); background:var(--clay-tint); }
.nav__link--btn{ cursor:pointer; }
.nav__item{ position:relative; }
.nav__item--drop:hover .drop,
.nav__item--drop.is-open .drop{ opacity:1; visibility:visible; transform:translateY(0); }
.nav__item--drop:hover .nav__link--btn .ico--xs{ transform:rotate(180deg); }
.nav__link .ico--xs{ transition:transform .25s var(--ease); }
.nav__item--drop.is-open .nav__link--btn .ico--xs{ transform:rotate(180deg); }

.drop{
  position:absolute; top:calc(100% + 12px); left:-8px; width:320px;
  padding:8px; border-radius:var(--r-lg);
  background:var(--white); border:1px solid var(--line);
  box-shadow:var(--sh-lg);
  opacity:0; visibility:hidden; transform:translateY(-8px);
  transition:opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index:10;
}
.drop::before{ content:""; position:absolute; inset:-14px 0 auto 0; height:14px; }
.drop__link{
  display:flex; align-items:center; gap:12px;
  padding:11px 12px; border-radius:var(--r-md);
  font-size:14.5px; font-weight:600; color:var(--ink-70);
  transition:background-color .2s var(--ease), color .2s var(--ease);
}
.drop__link .ico{ color:var(--clay); }
.drop__link:hover{ background:var(--cream); color:var(--ink); }

.header__actions{ display:flex; align-items:center; gap:14px; flex:none; }
.header__login{
  display:inline-flex; align-items:center; gap:8px;
  font-size:15px; font-weight:600; color:var(--ink-70);
  transition:color .2s var(--ease);
}
.header__login:hover{ color:var(--clay); }
.nav__mobile-extra{ display:none; }

.burger{
  display:none; width:44px; height:44px; border-radius:var(--r-sm);
  align-items:center; justify-content:center; color:var(--ink);
  border:1px solid var(--line);
}
.burger .ico{ width:22px; height:22px; }
.burger .ico--close{ display:none; }
.burger[aria-expanded="true"] .ico--menu{ display:none; }
.burger[aria-expanded="true"] .ico--close{ display:block; }

.nav-overlay{
  position:fixed; inset:0; z-index:70;
  background:rgba(62,57,53,.42);
  backdrop-filter:blur(2px);
  opacity:0; transition:opacity .25s var(--ease);
}
.nav-overlay.is-on{ opacity:1; }

/* ================= HERO ================= */
.hero{
  position:relative;
  padding:72px 0 0;
  background:
    radial-gradient(1100px 620px at 88% -12%, var(--blush) 0%, rgba(247,201,200,0) 62%),
    radial-gradient(820px 520px at 4% 8%, rgba(164,87,86,.10) 0%, rgba(164,87,86,0) 60%),
    linear-gradient(180deg, var(--cream-200), var(--cream));
}
/* Свечение — в отдельном обрезающем слое. Сам .hero не обрезает содержимое,
   иначе выпадающие списки поиска упирались бы в его границы. */
.hero__bg{ position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.hero__glow{ position:absolute; border-radius:50%; filter:blur(70px); }
.hero__glow--1{ width:420px; height:420px; right:-90px; top:-60px; background:rgba(247,201,200,.55); }
.hero__glow--2{ width:360px; height:360px; left:-120px; bottom:-40px; background:rgba(164,87,86,.14); }

.hero__grid{
  position:relative;
  display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  gap:56px; align-items:center;
}

.hero__text{ max-width:640px; }
.hero__title{
  margin:20px 0 0;
  font-family:var(--font-display);
  font-size:clamp(38px, 5.1vw, 62px);
  line-height:1.06; letter-spacing:-.025em; font-weight:600;
  color:var(--ink);
}
.hero__title em{ color:var(--clay); }
.hero__sub{
  margin:20px 0 0; max-width:560px;
  font-size:17px; line-height:1.65; color:var(--ink-70);
}

/* --- Поиск --- */
.search{
  margin-top:26px;
  padding:16px;
  border-radius:var(--r-xl);
  background:rgba(255,255,255,.94);
  border:1px solid rgba(255,255,255,.9);
  box-shadow:var(--sh-lg);
  /* backdrop-filter здесь намеренно не используется: он превращает блок
     в containing block для position:fixed, и календарь-«шторка» на мобильном
     позиционировался бы относительно карточки, а не экрана */
}
.search__row{
  display:grid;
  /* услуга · где искать · когда · кнопка */
  grid-template-columns:1.1fr 1.5fr .9fr auto;
  gap:10px;
}
.field{
  display:flex; flex-direction:column; gap:5px;
  padding:9px 14px 11px;
  border-radius:var(--r-md);
  background:var(--cream);
  border:1px solid transparent;
  transition:border-color .2s var(--ease), background-color .2s var(--ease);
  min-width:0;
}
.field:focus-within{ border-color:var(--clay); background:var(--white); }
.field__label{ font-size:11.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-40); }
.field__control{ display:flex; align-items:center; gap:8px; min-width:0; }
.field__control .ico{ width:17px; height:17px; color:var(--clay); flex:none; }
.field__control input,
.field__control select{
  width:100%; min-width:0;
  border:0; background:transparent; outline:none;
  font-size:15px; font-weight:600; color:var(--ink);
  appearance:none; -webkit-appearance:none;
  padding:0; cursor:pointer;
}
.field__control input::placeholder{ color:var(--ink-40); font-weight:500; }
.field__control select{ cursor:pointer; padding-right:4px; }
.field__control input[type="date"]{ cursor:pointer; font-weight:600; }
.field__control input[type="date"]::-webkit-calendar-picker-indicator{ opacity:.45; cursor:pointer; }
.field__caret{ color:var(--ink-40) !important; margin-left:auto; }
.search__submit{ align-self:stretch; padding:0 26px; border-radius:var(--r-md); min-height:62px; }

.search__chips{ display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:14px; padding:0 4px; }
.search__chips-label{ font-size:13px; font-weight:600; color:var(--ink-40); }
.chip{
  padding:7px 14px; border-radius:var(--r-full);
  background:var(--white); border:1px solid var(--line);
  font-size:13.5px; font-weight:600; color:var(--ink-70);
  transition:all .2s var(--ease);
}
.chip:hover{ border-color:var(--clay); color:var(--clay); background:var(--clay-tint); }

/* --- Факты о сервисе (без цифр-обещаний) ---
   Раньше здесь была сетка выдуманных показателей. До запуска
   публиковать такие числа нельзя, поэтому вместо них —
   утверждения о том, как сервис устроен. */
.facts{
  display:flex; flex-direction:column; gap:11px;
  margin-top:34px; padding-top:26px;
  border-top:1px solid var(--line);
}
.facts li{
  display:flex; align-items:flex-start; gap:10px;
  font-size:14.5px; line-height:1.45; color:var(--ink-70);
}
.facts .ico{ flex:none; margin-top:3px; color:var(--clay); }

/* --- Арт --- */
.hero__art{ position:relative; height:520px; }
.art__blob{
  position:absolute; inset:6% -6% -4% 4%;
  border-radius:46% 54% 50% 50% / 52% 48% 52% 48%;
  background:linear-gradient(150deg, var(--blush) 0%, var(--blush-200) 42%, rgba(245,237,236,.4) 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.5);
  animation:blob 16s ease-in-out infinite;
}
@keyframes blob{
  0%,100%{ border-radius:46% 54% 50% 50% / 52% 48% 52% 48%; transform:rotate(0deg) scale(1); }
  50%{ border-radius:54% 46% 44% 56% / 46% 56% 44% 54%; transform:rotate(3deg) scale(1.03); }
}

.art__card{
  position:absolute;
  background:var(--white);
  border-radius:var(--r-lg);
  box-shadow:var(--sh-lg);
  border:1px solid rgba(255,255,255,.8);
}
.art__card--main{
  inset:auto 4% 16% 8%;
  padding:20px;
  animation:float-a 7s ease-in-out infinite;
}
.mini__head{ display:flex; align-items:center; gap:12px; }
.mini__head div{ flex:1; min-width:0; }
.mini__head strong{ display:block; font-size:16px; font-weight:700; letter-spacing:-.01em; }
.mini__role{ display:block; font-size:12.5px; color:var(--ink-55); margin-top:1px; }
.badge-check{
  display:inline-flex; align-items:center; justify-content:center;
  width:26px; height:26px; border-radius:50%;
  background:var(--clay-tint-2); color:var(--clay);
}
.mini__rating{ display:flex; align-items:center; gap:6px; margin-top:14px; font-size:13.5px; }
.stars{ display:inline-flex; gap:1px; color:#E2A73C; }
.mini__rating b{ font-weight:800; }
.mini__muted{ color:var(--ink-55); }
.mini__tags{ display:flex; flex-wrap:wrap; align-items:flex-start; gap:6px; margin-top:14px; }
.mini__tags span{
  padding:5px 11px; border-radius:var(--r-full);
  background:var(--cream); font-size:12px; font-weight:600; color:var(--ink-70);
}
.mini__foot{
  display:flex; align-items:center; justify-content:space-between;
  margin-top:16px; padding-top:14px; border-top:1px solid var(--line);
}
.mini__price{ font-family:var(--font-display); font-size:19px; font-weight:700; color:var(--clay); }
.mini__price--sm{ font-size:15px; }
.mini__slot{ display:inline-flex; align-items:center; gap:5px; font-size:12.5px; font-weight:600; color:#4C8055; }

.art__card--brow{
  top:9%; left:-2%;
  display:flex; align-items:center; gap:11px;
  padding:12px 16px 12px 12px;
  animation:float-b 8.5s ease-in-out infinite;
}
.art__card--brow div{ min-width:0; }
.art__card--brow strong{ display:block; font-size:14px; font-weight:700; }
.art__card--brow .mini__role{ font-size:11.5px; }

.art__card--payout{
  top:14%; right:-4%;
  display:flex; align-items:center; gap:11px;
  padding:13px 17px; max-width:250px;
  animation:float-c 9s ease-in-out infinite;
}
.art__card--payout .ico{ width:24px; height:24px; color:var(--clay); flex:none; }
.art__card--payout strong{ display:block; font-size:13.5px; font-weight:700; }
.art__card--payout .mini__role{ font-size:11.5px; white-space:normal; }

.art__card--safe{
  bottom:3%; right:6%;
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 16px;
  background:var(--ink); color:var(--cream);
  font-size:12.5px; font-weight:600;
  box-shadow:var(--sh-md);
  animation:float-b 7.5s ease-in-out infinite;
}
.art__card--safe .ico{ width:16px; height:16px; color:var(--blush); }

@keyframes float-a{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-12px); } }
@keyframes float-b{ 0%,100%{ transform:translateY(0) rotate(0deg); } 50%{ transform:translateY(-9px) rotate(-1deg); } }
@keyframes float-c{ 0%,100%{ transform:translateY(0) rotate(0deg); } 50%{ transform:translateY(11px) rotate(1.2deg); } }

/* --- Пресса --- */
.press{
  display:flex; align-items:center; gap:28px;
  margin-top:64px; padding:26px 0 40px;
  border-top:1px solid var(--line);
}
.press__label{ flex:none; font-size:12.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-40); }
.press__logos{ display:flex; align-items:center; gap:34px; flex-wrap:wrap; }
.press__logo{
  font-family:var(--font-display); font-size:19px; font-weight:600;
  color:var(--ink-55); white-space:nowrap;
  transition:color .25s var(--ease);
}
.press__logo:hover{ color:var(--clay); }

/* ================= СЕКЦИИ ================= */
.section{ padding:88px 0; background:var(--cream-200); }
.section--cream{ background:var(--cream); }
.section--dark{ background:var(--ink); color:var(--cream); }
.section--dark .section__title{ color:var(--cream); }
.section--dark .section__lead{ color:rgba(245,237,236,.68); }
.section--dark .section__eyebrow{ color:var(--blush); }

.section__head{ max-width:720px; margin-bottom:48px; }
.section__head--row{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:32px; max-width:none;
}
.section__eyebrow{
  display:block; margin-bottom:12px;
  font-size:12.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--clay);
}
.section__title{
  font-family:var(--font-display);
  font-size:clamp(28px, 3.5vw, 42px);
  line-height:1.16; letter-spacing:-.02em; font-weight:600;
}
.section__title em{ color:var(--clay); }
.section--dark .section__title em{ color:var(--blush); }
.section__lead{ margin-top:14px; font-size:16.5px; line-height:1.65; color:var(--ink-70); max-width:620px; }

/* ================= КАРТОЧКИ УСЛУГ ================= */
.cards{ display:grid; gap:20px; }
.cards--5{ grid-template-columns:repeat(5, minmax(0,1fr)); }

.card{
  display:flex; flex-direction:column;
  padding:26px 22px 22px;
  border-radius:var(--r-xl);
  background:var(--white);
  border:1px solid var(--line);
  box-shadow:var(--sh-xs);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover{ transform:translateY(-6px); box-shadow:var(--sh-lg); border-color:var(--blush); }
.card__icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:56px; height:56px; border-radius:18px;
  background:var(--cream); color:var(--clay);
  transition:background-color .3s var(--ease), color .3s var(--ease);
}
.card:hover .card__icon{ background:var(--clay); color:var(--cream); }
.card__title{ margin-top:18px; font-size:19px; font-weight:700; letter-spacing:-.015em; }
.card__text{ margin-top:8px; font-size:14px; line-height:1.55; color:var(--ink-70); flex:1; }
.card__meta{ display:flex; flex-direction:column; gap:6px; margin-top:20px; padding-top:16px; border-top:1px solid var(--line); }
.card__price{ font-family:var(--font-display); font-size:19px; font-weight:700; color:var(--clay); }
.card__more{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:600; color:var(--ink-55); }
.card:hover .card__more{ color:var(--ink-70); }

/* ================= ШАГИ ================= */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.step{
  position:relative;
  padding:30px 28px 32px;
  border-radius:var(--r-xl);
  background:var(--white);
  border:1px solid var(--line);
  box-shadow:var(--sh-sm);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover{ transform:translateY(-5px); box-shadow:var(--sh-md); }
.step__num{
  position:absolute; top:24px; right:26px;
  font-family:var(--font-display); font-size:34px; font-weight:700;
  color:var(--blush-200); line-height:1;
}
.step__icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:56px; height:56px; border-radius:18px;
  background:var(--clay); color:var(--cream);
  box-shadow:var(--sh-clay);
}
.step__title{ margin-top:20px; font-size:20px; font-weight:700; letter-spacing:-.015em; }
.step__text{ margin-top:10px; font-size:14.5px; line-height:1.6; color:var(--ink-70); }

.steps__cta{
  display:flex; align-items:center; gap:22px; flex-wrap:wrap;
  margin-top:44px;
}
.steps__note{ font-size:14px; color:var(--ink-55); max-width:420px; }

/* ================= МАСТЕРА ================= */
.masters{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:20px; }
.master{
  display:flex; flex-direction:column;
  border-radius:var(--r-xl); overflow:hidden;
  background:var(--white);
  border:1px solid var(--line);
  box-shadow:var(--sh-xs);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.master:hover{ transform:translateY(-6px); box-shadow:var(--sh-lg); }
.master__cover{
  position:relative;
  height:150px;
  display:flex; align-items:flex-end; justify-content:center;
  padding-bottom:0;
}
.master__cover--1{ background:linear-gradient(150deg,#E9C3BF,#C98F8D); }
.master__cover--2{ background:linear-gradient(150deg,#F3D6D0,#D9A9A2); }
.master__cover--3{ background:linear-gradient(150deg,#DCC6BC,#B99A8E); }
.master__cover--4{ background:linear-gradient(150deg,#F0CFCB,#CE9A98); }
.master__cover .avatar--xl{
  background:rgba(255,255,255,.94); color:var(--clay);
  border:3px solid rgba(255,255,255,.95);
  transform:translateY(50%);
  box-shadow:var(--sh-md);
}
.master__badge{
  position:absolute; top:12px; left:12px;
  display:inline-flex; align-items:center; gap:5px;
  padding:5px 11px; border-radius:var(--r-full);
  background:rgba(255,255,255,.9); color:var(--clay-700);
  font-size:11.5px; font-weight:700;
  backdrop-filter:blur(6px);
}
.master__body{ padding:46px 20px 20px; display:flex; flex-direction:column; flex:1; }
.master__name{ font-size:17px; font-weight:700; letter-spacing:-.015em; }
.master__role{ margin-top:3px; font-size:12.5px; color:var(--ink-55); }
.master__rating{ display:flex; align-items:center; gap:5px; margin-top:11px; font-size:13.5px; }
.master__rating .ico{ color:#E2A73C; }
.master__muted{ color:var(--ink-55); font-size:12.5px; }
.master__tags{ display:flex; flex-wrap:wrap; align-items:flex-start; gap:5px; margin-top:13px; }
.master__tags span{
  padding:5px 10px; border-radius:var(--r-full);
  background:var(--cream); font-size:11.5px; font-weight:600; color:var(--ink-70);
  white-space:nowrap;
}
.master__foot{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin-top:auto; padding-top:15px; border-top:1px solid var(--line);
}
.master__price{ font-family:var(--font-display); font-size:18px; font-weight:700; color:var(--clay); }

/* ================= БЕЗОПАСНОСТЬ ================= */
.safe-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.safe{
  padding:28px 26px 30px;
  border-radius:var(--r-xl);
  background:rgba(245,237,236,.06);
  border:1px solid var(--line-light);
  transition:background-color .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.safe:hover{ background:rgba(245,237,236,.10); border-color:rgba(247,201,200,.34); transform:translateY(-4px); }
.safe__icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:54px; height:54px; border-radius:17px;
  background:rgba(247,201,200,.16); color:var(--blush);
}
.safe__title{ margin-top:20px; font-size:18px; font-weight:700; letter-spacing:-.01em; color:var(--cream); }
.safe__text{ margin-top:10px; font-size:14px; line-height:1.62; color:rgba(245,237,236,.66); }

/* ================= ОТЗЫВЫ ================= */
.slider__nav{ display:flex; gap:10px; flex:none; }
.round-btn{
  display:inline-flex; align-items:center; justify-content:center;
  width:48px; height:48px; border-radius:var(--r-full);
  background:var(--white); border:1px solid var(--line);
  color:var(--ink); box-shadow:var(--sh-xs);
  transition:all .25s var(--ease);
}
.round-btn:hover{ background:var(--clay); border-color:var(--clay); color:var(--white); box-shadow:var(--sh-clay); }
.slider__nav .round-btn .ico{ transform:rotate(180deg); }
.slider__nav .round-btn--next .ico{ transform:none; }
.round-btn:disabled{ opacity:.35; pointer-events:none; }

.reviews{
  display:flex; gap:20px;
  overflow-x:auto; scroll-snap-type:x mandatory;
  padding:6px 2px 22px;
  margin:0 -2px;
  scrollbar-width:none;
}
.reviews::-webkit-scrollbar{ display:none; }
.review{
  position:relative; flex:0 0 380px; scroll-snap-align:start;
  display:flex; flex-direction:column;
  padding:30px 28px 26px;
  border-radius:var(--r-xl);
  background:var(--white);
  border:1px solid var(--line);
  box-shadow:var(--sh-sm);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.review:hover{ transform:translateY(-4px); box-shadow:var(--sh-md); }
.review__quote{ position:absolute; top:20px; right:24px; width:38px; height:38px; color:var(--blush); }
.review__text{ flex:1; font-size:14.5px; line-height:1.68; color:var(--ink-70); padding-right:26px; }
.review__foot{
  display:flex; align-items:center; gap:12px;
  margin-top:22px; padding-top:18px; border-top:1px solid var(--line);
}
.review__who{ flex:1; min-width:0; }
.review__who strong{ display:block; font-size:14px; font-weight:700; }
.review__who span{ display:block; font-size:12px; color:var(--ink-55); }
.review__stars{ display:inline-flex; gap:1px; color:#E2A73C; flex:none; }

.slider__dots{ display:flex; justify-content:center; gap:7px; margin-top:8px; }
.slider__dots button{
  width:8px; height:8px; border-radius:var(--r-full);
  background:var(--line-strong); transition:all .3s var(--ease);
}
.slider__dots button.is-active{ width:26px; background:var(--clay); }

/* ================= CTA ДЛЯ МАСТЕРОВ ================= */
.cta{
  position:relative; overflow:hidden;
  display:grid; grid-template-columns:1.35fr .95fr; gap:52px; align-items:center;
  padding:56px 56px 58px;
  border-radius:36px;
  background:linear-gradient(135deg, var(--clay) 0%, var(--clay-700) 100%);
  color:var(--cream);
  box-shadow:0 40px 80px -40px rgba(126,63,62,.7);
}
.cta__glow{
  position:absolute; width:520px; height:520px; right:-140px; top:-180px;
  border-radius:50%; background:rgba(247,201,200,.22); filter:blur(80px); pointer-events:none;
}
.cta__text{ position:relative; }
.cta__title{
  margin-top:18px;
  font-family:var(--font-display);
  font-size:clamp(28px,3.4vw,40px); line-height:1.15; letter-spacing:-.02em; font-weight:600;
}
.cta__lead{ margin-top:16px; font-size:16px; line-height:1.65; color:rgba(245,237,236,.84); max-width:560px; }
.cta__list{ display:flex; flex-direction:column; gap:12px; margin-top:26px; }
.cta__list li{ display:flex; align-items:flex-start; gap:11px; font-size:14.5px; color:rgba(245,237,236,.9); }
.cta__list .ico{ width:19px; height:19px; margin-top:2px; color:var(--blush); flex:none; }
.cta__list b{ color:var(--white); }
.cta__actions{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-top:32px; }
.cta__note{ font-size:13px; color:rgba(245,237,236,.62); max-width:280px; }

.cta__panel{
  position:relative;
  padding:28px;
  border-radius:var(--r-xl);
  background:rgba(255,255,255,.10);
  border:1px solid rgba(245,237,236,.22);
  backdrop-filter:blur(10px);
}
.panel__row{
  display:flex; align-items:center; justify-content:space-between;
  padding:11px 0; border-bottom:1px solid rgba(245,237,236,.14);
  font-size:14px; color:rgba(245,237,236,.76);
}
.panel__row strong{ font-size:17px; font-weight:800; color:var(--white); }
.panel__row--total{ border-bottom:0; margin-top:6px; padding-top:16px; }
.panel__row--total strong{ font-family:var(--font-display); font-size:24px; color:var(--blush); }
.panel__bar{
  height:8px; margin:14px 0 6px; border-radius:var(--r-full);
  background:rgba(245,237,236,.18); overflow:hidden;
}
.panel__bar span{
  display:block; height:100%; border-radius:var(--r-full);
  background:linear-gradient(90deg, var(--blush), var(--white));
}
.panel__hint{ margin-top:16px; font-size:11.5px; color:rgba(245,237,236,.5); }

/* ================= ПРИЛОЖЕНИЕ ================= */
.app{
  display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center;
}
.app__badges{ display:flex; gap:14px; flex-wrap:wrap; margin-top:30px; }
.store{
  display:inline-flex; align-items:center; gap:13px;
  padding:12px 22px 12px 18px;
  border-radius:var(--r-md);
  background:var(--ink); color:var(--cream);
  transition:transform .25s var(--ease), background-color .25s var(--ease);
}
.store:hover{ transform:translateY(-3px); background:#2F2B28; }
.store .ico{ color:var(--blush); }
.store span{ display:flex; flex-direction:column; line-height:1.25; }
.store small{ font-size:10.5px; letter-spacing:.06em; text-transform:uppercase; color:rgba(245,237,236,.6); }
.store strong{ font-size:16px; font-weight:700; }

.app__facts{
  display:flex; gap:34px; flex-wrap:wrap; margin-top:34px; padding-top:26px;
  border-top:1px solid var(--line);
}
.app__facts li{ display:flex; flex-direction:column; }
.app__facts b{ font-family:var(--font-display); font-size:24px; font-weight:700; color:var(--clay); }
.app__facts span{ font-size:12.5px; color:var(--ink-55); }

.app__art{ display:flex; justify-content:center; }
.phone{
  position:relative;
  width:286px; height:566px;
  border-radius:44px;
  background:var(--ink);
  padding:12px;
  box-shadow:var(--sh-lg), 0 40px 90px -40px rgba(62,57,53,.6);
}
.phone__notch{
  position:absolute; top:22px; left:50%; transform:translateX(-50%);
  width:104px; height:22px; border-radius:var(--r-full);
  background:#2B2724; z-index:2;
}
.phone__screen{
  display:flex; flex-direction:column; gap:14px;
  height:100%; padding:44px 18px 18px;
  border-radius:34px;
  background:linear-gradient(180deg, var(--cream-200), var(--cream));
  overflow:hidden;
}
.phone__top{ display:flex; align-items:center; gap:11px; }
.phone__top strong{ display:block; font-size:14px; font-weight:700; }
.phone__top small{ display:block; font-size:11.5px; color:var(--ink-55); }
.phone__slot{
  display:inline-flex; align-items:center; gap:7px; align-self:flex-start;
  padding:7px 13px; border-radius:var(--r-full);
  background:var(--white); border:1px solid var(--line);
  font-size:12px; font-weight:600; color:var(--ink-70);
}
.phone__slot .ico{ color:var(--clay); }
.phone__card{
  display:flex; flex-direction:column; gap:3px;
  padding:18px;
  border-radius:var(--r-lg);
  background:var(--clay); color:var(--cream);
  box-shadow:var(--sh-clay);
}
.phone__card span{ font-size:12px; color:rgba(245,237,236,.78); }
.phone__card strong{ font-family:var(--font-display); font-size:27px; font-weight:700; }
.phone__card small{ font-size:11.5px; color:rgba(245,237,236,.7); }
.phone__list{ display:flex; flex-direction:column; gap:11px; margin-top:2px; }
.phone__list span{ display:flex; align-items:center; gap:9px; font-size:12.5px; font-weight:600; color:var(--ink-70); }
.phone__list .ico{ color:#4C8055; }
.phone__btn{
  margin-top:auto; padding:15px; border-radius:var(--r-md);
  background:var(--ink); color:var(--cream);
  text-align:center; font-size:13.5px; font-weight:700;
}

/* ================= FAQ ================= */
.faq{ border-top:1px solid var(--line); }
.faq__item{ border-bottom:1px solid var(--line); }
.faq__q{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  width:100%; padding:24px 4px;
  text-align:left; font-size:17.5px; font-weight:700; letter-spacing:-.015em;
  color:var(--ink);
  transition:color .2s var(--ease);
}
.faq__q:hover{ color:var(--clay); }
.faq__chev{ flex:none; color:var(--clay); transition:transform .32s var(--ease); }
.faq__item.is-open .faq__chev{ transform:rotate(180deg); }
.faq__a{
  overflow:hidden; height:0;
  transition:height .34s var(--ease);
}
.faq__a p{
  padding:0 60px 26px 4px;
  font-size:15px; line-height:1.68; color:var(--ink-70);
}
.faq__more{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
  margin-top:32px; font-size:15px; color:var(--ink-55);
}

/* ================= ФИНАЛЬНЫЙ CTA ================= */
.final{
  background:linear-gradient(135deg, var(--clay) 0%, var(--clay-700) 100%);
  color:var(--cream);
  padding:56px 0;
}
.final__in{
  display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap;
}
.final__title{
  font-family:var(--font-display);
  font-size:clamp(26px,3vw,36px); line-height:1.18; letter-spacing:-.02em; font-weight:600;
}
.final__text{ margin-top:10px; font-size:15.5px; color:rgba(245,237,236,.8); }
.final__actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ================= FOOTER ================= */
.footer{ background:var(--ink); color:var(--cream); padding:64px 0 32px; }
.footer__grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr 1.15fr;
  gap:40px;
}
.footer__about{ margin-top:20px; font-size:14px; line-height:1.65; color:rgba(245,237,236,.62); max-width:300px; }
.footer__about em{ color:var(--blush); font-style:italic; }
.footer__socials{ display:flex; gap:9px; margin-top:22px; }
.footer__socials a{
  display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:42px; border-radius:var(--r-full);
  background:rgba(245,237,236,.09); border:1px solid var(--line-light);
  font-size:12px; font-weight:700; letter-spacing:.03em;
  transition:all .25s var(--ease);
}
.footer__socials a:hover{ background:var(--blush); color:var(--clay-700); border-color:var(--blush); }

.footer__col{ display:flex; flex-direction:column; gap:11px; }
.footer__col h3{
  margin-bottom:6px;
  font-size:13px; font-weight:700; letter-spacing:.09em; text-transform:uppercase;
  color:var(--blush);
}
.footer__col a,.footer__col span{ font-size:14px; color:rgba(245,237,236,.66); transition:color .2s var(--ease); }
.footer__col a:hover{ color:var(--cream); }
/* Кнопки в футере не должны наследовать приглушённый цвет ссылок */
.footer .btn--light,
.footer .btn--light:hover{ color:var(--ink); background:var(--white); }
.footer .btn--light:hover{ background:var(--cream); }
.footer__col--contact{ align-items:flex-start; }
.footer__phone{
  font-family:var(--font-display); font-size:21px !important; font-weight:700;
  color:var(--cream) !important; letter-spacing:-.01em;
}
.footer__col--contact .btn{ margin-top:8px; }

.footer__bottom{
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
  margin-top:52px; padding-top:26px;
  border-top:1px solid var(--line-light);
  font-size:13px; color:rgba(245,237,236,.5);
}
.footer__legal{ display:flex; gap:22px; flex-wrap:wrap; }
.footer__legal a{ transition:color .2s var(--ease); }
.footer__legal a:hover{ color:var(--cream); }

/* ================= МОДАЛКА ================= */
.modal{ position:fixed; inset:0; z-index:200; display:flex; align-items:center; justify-content:center; padding:20px; }
.modal__backdrop{
  position:absolute; inset:0;
  background:rgba(62,57,53,.5); backdrop-filter:blur(4px);
  animation:fade .25s var(--ease);
}
.modal__box{
  position:relative; width:100%; max-width:680px; max-height:86vh;
  display:flex; flex-direction:column;
  border-radius:var(--r-xl); background:var(--white);
  box-shadow:var(--sh-lg);
  animation:pop .3s var(--ease);
  overflow:hidden;
}
@keyframes fade{ from{ opacity:0; } }
@keyframes pop{ from{ opacity:0; transform:translateY(16px) scale(.98); } }
.modal__head{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding:24px 26px; border-bottom:1px solid var(--line);
}
.modal__head h2{ font-family:var(--font-display); font-size:23px; font-weight:600; }
.modal__head .round-btn{ width:42px; height:42px; }
.modal__head .round-btn:hover{ background:var(--clay); color:var(--white); border-color:var(--clay); }
.modal__body{ padding:24px 26px 30px; overflow-y:auto; }
.modal__group + .modal__group{ margin-top:26px; }
.modal__label{
  display:block; margin-bottom:12px;
  font-size:12px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:var(--ink-40);
}
.modal__cities{ display:flex; flex-wrap:wrap; gap:9px; }
.modal__cities button{
  padding:10px 18px; border-radius:var(--r-full);
  background:var(--cream); border:1px solid transparent;
  font-size:14px; font-weight:600; color:var(--ink-70);
  transition:all .2s var(--ease);
}
.modal__cities button:hover{ background:var(--clay); color:var(--white); }
.modal__cities button.is-active{ background:var(--clay); color:var(--white); }

/* ================= ТОСТ ================= */
.toast{
  position:fixed; left:50%; bottom:32px; transform:translateX(-50%) translateY(20px);
  display:inline-flex; align-items:center; gap:11px;
  padding:15px 24px; border-radius:var(--r-full);
  background:var(--ink); color:var(--cream);
  font-size:14.5px; font-weight:600;
  box-shadow:var(--sh-lg);
  opacity:0; transition:opacity .3s var(--ease), transform .3s var(--ease);
  z-index:300; max-width:calc(100% - 40px);
}
.toast .ico{ color:var(--blush); flex:none; }
.toast.is-on{ opacity:1; transform:translateX(-50%) translateY(0); }

/* ================= АНИМАЦИЯ ПОЯВЛЕНИЯ ================= */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
  .reveal{ opacity:1; transform:none; }
}

/* =========================================================
   АДАПТИВ
   ========================================================= */
/* Ноутбуки: уплотняем навигацию, чтобы всё влезало в одну строку */
@media (min-width:1181px) and (max-width:1400px){
  .header__in{ gap:14px; }
  .nav{ gap:2px; }
  .nav__link{ padding:8px 9px; font-size:14px; }
  .header__actions{ gap:10px; }
  .header__login{ font-size:14px; }
  .header__actions .btn--sm{ padding:9px 15px; font-size:13.5px; }
}

@media (max-width:1180px){
  .nav__link{ padding:9px 10px; font-size:14.5px; }
  .header__in{ gap:18px; }
  .cards--5{ grid-template-columns:repeat(3, minmax(0,1fr)); }
  .masters{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .footer__grid{ grid-template-columns:1.4fr 1fr 1fr; row-gap:36px; }
  .search__row{ grid-template-columns:1fr 1fr; }
  .field--service{ grid-column:span 2; order:1; }
  .field--where{ grid-column:span 2; order:2; }
  .field--date{ order:3; grid-column:span 2; }
  .search__submit{ grid-column:span 2; order:4; min-height:56px; }
}

@media (max-width:1024px){
  :root{ --header-h:68px; }
  .hero{ padding-top:52px; }
  .hero__grid{ grid-template-columns:1fr; gap:44px; }
  .hero__text{ max-width:none; }
  .hero__art{ height:400px; max-width:560px; margin:0 auto; width:100%; }
  .art__card--main{ inset:auto 6% 14% 6%; }
  .app{ grid-template-columns:1fr; gap:48px; }
  .app__art{ order:-1; }
  .cta{ grid-template-columns:1fr; gap:36px; padding:40px 34px 44px; }
  .safe-grid{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:1fr; }
  .step__num{ font-size:30px; }
}

/* До 1180px основная навигация не помещается в строку —
   превращаем её в выезжающую панель с бургером */
@media (max-width:1180px){
  .nav{
    position:fixed; top:0; right:0; z-index:90;
    width:min(380px, 86vw); height:100vh;
    flex-direction:column; align-items:stretch; gap:4px;
    padding:calc(var(--header-h) + 20px) 22px 30px;
    background:var(--white);
    box-shadow:none;
    transform:translateX(105%);
    transition:transform .32s var(--ease);
    overflow-y:auto;
    margin-right:0;
  }
  /* Тень включаем только у открытой панели — иначе она «протекает»
     на правый край страницы, пока панель уехала за экран */
  .nav.is-open{
    transform:none;
    box-shadow:-20px 0 60px -20px rgba(62,57,53,.35);
  }
  .nav__link{ padding:14px 12px; font-size:17px; border-radius:var(--r-md); }
  .nav__link--accent{ background:var(--clay-tint); }
  .nav__item--drop{ display:block; }
  .nav__item--drop:hover .drop{ opacity:1; visibility:visible; transform:none; }
  .drop{
    position:static; width:auto; opacity:1; visibility:visible; transform:none;
    box-shadow:none; border:0; padding:0 0 0 8px; margin-bottom:6px;
    display:none; background:transparent;
  }
  .nav__item--drop.is-open .drop{ display:block; }
  .drop__link{ padding:11px 10px; font-size:15px; }
  .nav__mobile-extra{ display:flex; flex-direction:column; gap:12px; margin-top:24px; padding-top:24px; border-top:1px solid var(--line); }
  .nav__phone{ text-align:center; font-weight:700; color:var(--clay); font-size:16px; }
  .burger{ display:inline-flex; }
}

/* Компактный хедер: иконка входа без подписи */
@media (max-width:760px){
  .header__login span{ display:none; }
  .header__login{ width:44px; height:44px; justify-content:center; border:1px solid var(--line); border-radius:var(--r-sm); }
}

/* Совсем узко: CTA остаётся только внутри меню */
@media (max-width:620px){
  .header__actions .btn--primary{ display:none; }
}

@media (max-width:900px){
  .press{ flex-direction:column; align-items:flex-start; gap:16px; }
  .press__logos{ gap:20px 26px; }

  .faq__q{ font-size:16px; padding:20px 4px; }
  .faq__a p{ padding-right:20px; }
  .section{ padding:64px 0; }
  .reviews{ margin-right:-24px; padding-right:24px; }
  .review{ flex:0 0 320px; }
}

@media (max-width:720px){
  .cards--5{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .safe-grid{ grid-template-columns:1fr; }
  .search{ padding:14px; border-radius:var(--r-lg); }
  .search__submit{ min-height:54px; }
  .facts{ margin-top:26px; padding-top:20px; gap:9px; }
  .facts li{ font-size:13.5px; }
  .cta{ padding:32px 24px 36px; border-radius:26px; }
  .cta__panel{ padding:22px; }
  .section__head--row{ flex-direction:column; align-items:flex-start; gap:20px; }
  .final__actions{ width:100%; }
  .final__actions .btn{ flex:1; }
  .phone{ width:270px; height:540px; }
  .footer__grid{ grid-template-columns:1fr 1fr; }
  .footer__brand{ grid-column:span 2; }
  .footer__bottom{ flex-direction:column; align-items:flex-start; }
}

@media (max-width:560px){
  .wrap{ padding:0 18px; }
  .cards--5{ grid-template-columns:1fr; }
  .masters{ grid-template-columns:1fr; }
  .review{ flex:0 0 84vw; }
  .hero__art{ height:340px; }
  .art__card--brow{ top:2%; left:0; }
  .art__card--payout{ display:none; }
  .art__card--safe{ bottom:0; right:2%; }
  .art__card--main{ inset:auto 2% 16% 2%; padding:16px; }
  .mini__tags span:nth-child(n+3){ display:none; }
  .footer__grid{ grid-template-columns:1fr; }
  .footer__brand{ grid-column:span 1; }
  .app__badges .store{ flex:1; }
  .app__facts{ gap:22px; }
  .hero__sub{ font-size:15.5px; }
  .steps__cta{ flex-direction:column; align-items:stretch; }
  .steps__cta .btn{ width:100%; }
}
