/* ==========================================================================
   Nika by Niki Nikolaeva — 1:1 пресъздаване на референтния темплейт
   --------------------------------------------------------------------------
   Дизайнът е измерен върху референцията (1448 × 1086 px). Всички размери са в
   „дизайн-пиксели“ през --u (= 1/1448 от ширината на екрана), затова страницата
   се държи като мащабирана снимка на референцията на всяка ширина.
   ========================================================================== */

:root {
  /* 1 дизайн-пиксел. Ограничено до ширината на дизайна и с 16px резерв за
     вертикалния скролбар — така никога не се появява хоризонтален скролбар. */
  --u: calc((100vw - 16px) / 1448);   /* оформление: пълна ширина, пропорционално */
  --t: min(var(--u), 1.12px);         /* типография и дребни елементи: спира да расте */

  /* палитра — измерена от референцията */
  --hero-dark: #2A1E16;
  --hero-cream: #F1E6DA;
  --cream: #FDFBF9;
  --ivory: #F6F2F0;
  --stone: #EFE7DC;
  --stone-2: #E3D8C9;
  --ink: #3D2C24;
  --ink-soft: #6B564C;
  --ink-mute: #8B7768;
  --rose: #B77A72;
  --rose-light: #CEB4A6;
  --mocha: #8E6058;
  --bronze: #A57B5C;
  --walnut: #654A3A;
  --line: rgba(61, 44, 36, .16);
  --line-soft: rgba(61, 44, 36, .09);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Marck Script', var(--serif);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: calc(62 * var(--u));
}

/* --------------------------------------------------------------------------
   Основа
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }

body {
  margin: 0;
  background: #FAF9F8;
  color: var(--ink);
  font-family: var(--sans);
  font-size: calc(12 * var(--t));
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* цялата страница живее в центрирана сцена с ширината на дизайна */
.stage { width: 100%; margin-inline: auto; position: relative; }
.hero-band { background: var(--hero-dark); }

img, picture, svg, video { display: block; max-width: 100%; }
picture { display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.05; }

:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 3px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 8px; left: 50%; z-index: 200;
  transform: translate(-50%, -200%);
  padding: 8px 18px; border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font-size: calc(12 * var(--t));
}
.skip-link:focus { transform: translate(-50%, 0); }

.ico { width: calc(16 * var(--t)); height: calc(16 * var(--t)); flex: 0 0 auto; }
.img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --------------------------------------------------------------------------
   Header — позициите са измерени от референцията
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: calc(62 * var(--u));
  color: var(--hero-cream);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
body.is-scrolled .site-header,
body.nav-open .site-header {
  background: rgba(253, 251, 249, .98);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line-soft);
}

/* вътрешният ред на хедъра е със ширината на дизайна и центриран */
.site-header__inner { position: relative; width: 100%; height: 100%; margin-inline: auto; }
.brand { position: absolute; left: calc(55 * var(--u)); top: 0; z-index: 5; }
.brand__plate {
  display: grid; place-items: center;
  width: calc(136 * var(--t));
  height: calc(142 * var(--t));
  padding: calc(14 * var(--t)) calc(12 * var(--t)) calc(30 * var(--t));
  background: var(--cream);
  border-radius: 0 0 46% 46% / 0 0 32% 32%;
  box-shadow: 0 calc(12 * var(--u)) calc(26 * var(--u)) calc(-14 * var(--u)) rgba(40, 26, 18, .5);
}
.brand__plate img { width: 100%; height: auto; }
.brand:hover .brand__plate { transform: translateY(calc(2 * var(--u))); }

.nav { position: absolute; left: calc(296 * var(--u)); top: 0; width: calc(736 * var(--u)); height: 100%; }
.nav__list { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: calc(5 * var(--u));
  padding: calc(8 * var(--u)) 0;
  font-size: calc(12.5 * var(--t));
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.nav__link:hover, .nav__link.is-current { color: var(--mocha); }
body:not(.is-scrolled):not(.nav-open) .nav__link { color: #FFFFFF; text-shadow: 0 1px 10px rgba(24, 15, 9, .55); }
body:not(.is-scrolled):not(.nav-open) .header-phone,
body:not(.is-scrolled):not(.nav-open) .icon-btn { color: #FFFFFF; text-shadow: 0 1px 10px rgba(24, 15, 9, .55); }
/* върху тъмния hero кафявото се осветлява, за да остане четливо */
body:not(.is-scrolled):not(.nav-open) .nav__link:hover { color: #E8BDB2; }
body:not(.is-scrolled):not(.nav-open) .nav__link.is-current { color: #FFFFFF; }
body.is-scrolled .nav__link:hover, body.is-scrolled .nav__link.is-current { color: var(--mocha); }
.nav__link.is-current::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: calc(-4 * var(--u));
  height: 1px; background: currentColor; opacity: .8;
}
.nav__caret { width: calc(11 * var(--u)); height: calc(11 * var(--u)); transition: transform .3s var(--ease); }
.nav__item--menu.is-open .nav__caret,
.nav__item--menu:has(.nav__link--toggle[aria-expanded="true"]) .nav__caret { transform: rotate(180deg); }

.nav__panel {
  position: absolute; top: calc(52 * var(--u)); left: calc(-22 * var(--u));
  z-index: 20; min-width: calc(250 * var(--u));
  padding: calc(18 * var(--u)) calc(22 * var(--u));
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: calc(10 * var(--u));
  box-shadow: 0 calc(24 * var(--u)) calc(50 * var(--u)) calc(-24 * var(--u)) rgba(40, 26, 18, .45);
  color: var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(calc(6 * var(--u)));
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav__item--menu.is-open .nav__panel,
.nav__item--menu:has(.nav__link--toggle[aria-expanded="true"]) .nav__panel {
  opacity: 1; visibility: visible; transform: none;
}
.nav__sublist { display: grid; gap: calc(2 * var(--u)); }
.nav__panel--wide .nav__sublist { grid-template-columns: repeat(2, minmax(calc(170 * var(--u)), 1fr)); gap: 0 calc(22 * var(--u)); }
.nav__sublink {
  display: block; padding: calc(6 * var(--u)) 0;
  font-size: calc(12.5 * var(--t)); color: var(--ink-soft);
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.nav__sublink:hover { color: var(--rose); padding-left: calc(5 * var(--u)); }

.header-actions { position: absolute; right: calc(46 * var(--u)); top: 0; height: 100%; display: flex; align-items: center; gap: calc(6 * var(--u)); }
.icon-btn {
  width: calc(26 * var(--t)); height: calc(26 * var(--t));
  display: grid; place-items: center; border-radius: 50%;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.icon-btn:hover { color: var(--mocha); background: rgba(142, 96, 88, .14); }
.icon-btn__svg { width: calc(15 * var(--t)); height: calc(15 * var(--t)); }
.header-phone { display: inline-flex; align-items: center; gap: calc(7 * var(--u)); font-size: calc(13 * var(--t)); font-weight: 500; white-space: nowrap; }
.header-phone__badge { display: grid; place-items: center; width: calc(24 * var(--t)); height: calc(24 * var(--t)); border-radius: 50%; color: inherit; }
.header-phone__svg { width: calc(14 * var(--t)); height: calc(14 * var(--t)); }
.burger { display: none; }

/* бутони */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: calc(8 * var(--u));
  border: 1px solid transparent; border-radius: 999px;
  font-size: calc(10.5 * var(--t)); font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn__svg { width: calc(13 * var(--u)); height: calc(13 * var(--u)); transition: transform .3s var(--ease); }
.btn:hover .btn__svg { transform: translateX(calc(3 * var(--u))); }
.btn--hero { height: calc(42 * var(--t)); padding: 0 calc(26 * var(--t)); background: var(--mocha); color: #F7EFE6; }
.btn--hero:hover { background: #A4716A; }
.btn--hero-ghost { height: calc(42 * var(--t)); padding: 0 calc(22 * var(--t)); border-color: rgba(241, 230, 218, .5); color: var(--hero-cream); }
.btn--hero-ghost:hover { background: rgba(241, 230, 218, .14); border-color: rgba(241, 230, 218, .85); }
.btn--rose { background: var(--mocha); color: #FDF8F4; }
.btn--rose:hover { background: #A4716A; }
.btn--outline { border-color: var(--line); color: var(--ink); height: calc(34 * var(--t)); padding: 0 calc(20 * var(--t)); font-size: calc(9.5 * var(--t)); }
.btn--outline:hover { background: var(--walnut); border-color: var(--walnut); color: var(--cream); }
.header-actions .btn--rose { height: calc(34 * var(--t)); padding: 0 calc(22 * var(--t)); font-size: calc(11 * var(--t)); }

.round-btn {
  display: grid; place-items: center;
  width: calc(40 * var(--t)); height: calc(40 * var(--t));
  border: 1px solid rgba(61, 44, 36, .34); border-radius: 50%; color: var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.round-btn:hover:not(:disabled) { background: var(--walnut); border-color: var(--walnut); color: var(--cream); }
.round-btn.is-off { opacity: .62; cursor: default; }
.round-btn:disabled { opacity: .62; }
.round-btn__svg { width: calc(17 * var(--t)); height: calc(17 * var(--t)); }

/* търсене */
.search-pop {
  border-top: 1px solid var(--line-soft);
  background: rgba(253, 251, 249, .98);
  color: var(--ink);
}
.search-pop__form { display: flex; gap: calc(12 * var(--u)); padding: calc(14 * var(--u)) calc(56 * var(--u)); }
.search-pop__input {
  flex: 1; padding: calc(11 * var(--u)) calc(20 * var(--u));
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); font-size: calc(13 * var(--t));
}
.nav-backdrop {
  position: fixed; inset: var(--header-h) 0 0; z-index: 88;
  background: rgba(41, 29, 24, .45); opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
body.nav-open .nav-backdrop { pointer-events: auto; }

/* при по-тесни екрани навигацията се събира малко, за да не опира в действията */
@media (max-width: 1420px) and (min-width: 1001px) {
  .nav { width: calc(700 * var(--u)); }
  .nav__link { letter-spacing: .07em; }
}

/* --------------------------------------------------------------------------
   HERO — сцената идва 1:1 от референцията, текстът е истински HTML върху нея
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: calc(397 * var(--u));
  overflow: hidden;
  background: var(--hero-dark);
  color: var(--hero-cream);
}
.hero__scene { position: absolute; inset: 0; overflow: hidden; }
/* мека тъмна завеса в горната лента → менюто се чете ясно върху снимката */
.hero::before {
  content: '';
  position: absolute; inset: 0 0 auto 0;
  height: calc(112 * var(--u));
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(20, 13, 9, .62) 0%,
    rgba(20, 13, 9, .40) 52%,
    rgba(20, 13, 9, 0) 100%);
}
.hero__scene picture,
.hero__scene img { width: 100%; height: 100%; }
.hero__scene img { object-fit: cover; object-position: 50% 50%; }

.hero__content {
  position: absolute;
  left: calc(285 * var(--u));
  top: calc(62 * var(--u));
  z-index: 2;
  width: calc(300 * var(--u));
}
.hero__kicker {
  margin-top: calc(2 * var(--u));
  font-size: calc(10.5 * var(--t));
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(238, 226, 213, .78);
}
.hero__title {
  margin: calc(8 * var(--u)) 0 0;
  font-size: calc(48 * var(--t));
  font-weight: 300;
  line-height: .99;
  letter-spacing: .008em;
  text-transform: uppercase;
  color: var(--hero-cream);
}
.hero__line { display: block; }
.hero__line--accent { color: var(--rose-light); }
.hero__lead {
  margin-top: calc(14 * var(--u));
  width: calc(292 * var(--u));
  font-size: calc(12.5 * var(--t));
  line-height: 1.62;
  color: rgba(240, 231, 220, .86);
}
.hero__actions { display: flex; gap: calc(20 * var(--u)); margin-top: calc(20 * var(--u)); }

/* --------------------------------------------------------------------------
   Лента с петте аркови карти
   -------------------------------------------------------------------------- */
.services {
  position: relative;
  height: calc(279 * var(--u));
  background: linear-gradient(180deg, #F2EAE1 0%, #F4EDE5 40%, #F6F2F0 100%);
}
.services__grid { position: absolute; inset: 0; }
.card { position: absolute; top: calc(13 * var(--u)); width: calc(199 * var(--u)); height: calc(261 * var(--u)); }
.card:nth-child(1) { left: calc(71 * var(--u)); }
.card:nth-child(2) { left: calc(309 * var(--u)); }
.card:nth-child(3) { left: calc(547 * var(--u)); }
.card:nth-child(4) { left: calc(785 * var(--u)); }
.card:nth-child(5) { left: calc(1023 * var(--u)); }
.card__link { display: block; position: relative; height: 100%; text-align: center; }
.card__arch {
  display: block; width: 100%; height: calc(160 * var(--u));
  border-radius: 999px 999px 0 0; overflow: hidden;
  background: var(--stone-2);
}
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card__link:hover .card__img { transform: scale(1.04); }
.card__title {
  display: block; margin-top: calc(6 * var(--u));
  font-family: var(--serif); font-size: calc(15.5 * var(--t));
  letter-spacing: .09em; text-transform: uppercase; line-height: 1.1;
}
.card__text {
  display: block; margin: calc(4 * var(--u)) auto 0; max-width: calc(182 * var(--u));
  font-size: calc(10.5 * var(--t)); line-height: 1.45; color: var(--ink-mute);
}
.card__btn {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  display: grid; place-items: center;
  width: calc(26 * var(--t)); height: calc(26 * var(--t));
  margin: 0;   /* фиксирана позиция → при всички карти стрелката е на една линия */
  border: 1px solid rgba(183, 122, 114, .55); border-radius: 50%; color: var(--rose);
  transition: background .35s var(--ease), color .35s var(--ease);
}
.card__svg { width: calc(13 * var(--u)); height: calc(13 * var(--u)); }
.card__link:hover .card__btn { background: var(--rose); color: var(--cream); }

.services__aside {
  position: absolute; right: 0; top: 0; bottom: 0; width: calc(211 * var(--u));
  display: grid; align-content: start; justify-items: center; text-align: center;
  padding: calc(46 * var(--u)) calc(24 * var(--u)) 0;
  background: linear-gradient(180deg, #EFE7DC 0%, #F2EBE1 55%, #E7DCCD 100%);
  border-left: 1px solid rgba(61, 44, 36, .12);
}
.services__label {
  font-family: var(--serif); font-size: calc(11.5 * var(--t));
  letter-spacing: .3em; text-transform: uppercase; color: var(--ink);
}
.services__quote {
  margin-top: calc(26 * var(--u));
  font-family: var(--serif); font-style: italic;
  font-size: calc(15 * var(--t)); line-height: 1.5; color: var(--ink-soft);
}
.services__rule { display: block; width: calc(44 * var(--u)); height: 1px; margin-top: calc(18 * var(--u)); background: rgba(61, 44, 36, .35); }

/* --------------------------------------------------------------------------
   Красотата е лична история + Nika Beauty School
   -------------------------------------------------------------------------- */
.duo { position: relative; height: calc(210 * var(--u)); background: var(--cream); display: flex; }
.duo__half { display: flex; }
.duo__half--story { width: calc(690 * var(--u)); }
.duo__half--academy { width: calc(646 * var(--u)); }
.duo__media { flex: 0 0 auto; }
.duo__half--story .duo__media { width: calc(333 * var(--u)); }
.duo__half--academy .duo__media { order: 2; width: calc(358 * var(--u)); }
.duo__media picture, .duo__media img { width: 100%; height: 100%; }
.duo__media img { object-fit: cover; }
.duo__panel { flex: 1; display: grid; align-content: start; padding: calc(11 * var(--u)) calc(30 * var(--u)) 0 calc(38 * var(--u)); }
.duo__title { font-size: calc(24 * var(--t)); line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; }
.duo__title--academy { text-transform: none; letter-spacing: 0; font-size: calc(21.5 * var(--t)); line-height: 1.14; }
.duo__text { margin-top: calc(8 * var(--u)); max-width: calc(276 * var(--u)); font-size: calc(10 * var(--t)); line-height: 1.42; color: var(--ink-soft); }
.duo__panel .btn { margin-top: calc(7 * var(--u)); justify-self: start; }
.kicker {
  font-size: calc(9 * var(--t)); font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase; color: var(--bronze);
}
.duo__strip {
  width: calc(112 * var(--u)); flex: 0 0 auto;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #EFE7DC, #E9DFD1);
  position: relative;
}
.duo__strip::after {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: calc(24 * var(--u));
  background: linear-gradient(90deg, rgba(58, 42, 30, 0), rgba(58, 42, 30, .55));
}
.duo__vertical {
  display: grid; gap: calc(11 * var(--u)); text-align: center;
  font-size: calc(9.5 * var(--t)); font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: var(--ink-mute);
}

/* --------------------------------------------------------------------------
   Отзиви
   -------------------------------------------------------------------------- */
.reviews { position: relative; height: calc(124 * var(--u)); background: var(--ivory); }
.reviews__head { position: absolute; left: calc(45 * var(--u)); top: calc(14 * var(--u)); }
.reviews__kicker {
  font-size: calc(11 * var(--t)); font-weight: 500;
  letter-spacing: .22em; line-height: 1.9; text-transform: uppercase;
}
.reviews__rule { display: block; width: calc(58 * var(--u)); height: 1px; margin: calc(6 * var(--u)) 0 calc(12 * var(--u)); background: rgba(61, 44, 36, .4); }
.reviews__nav { display: flex; gap: calc(34 * var(--u)); }
.reviews__list {
  position: absolute; left: calc(215 * var(--u)); right: calc(58 * var(--u)); top: calc(9 * var(--u));
  display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(18 * var(--u));
}
.review {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: calc(14 * var(--u));
  padding: calc(15 * var(--u)) calc(16 * var(--u));
  background: var(--cream);
  border: 1px solid rgba(61, 44, 36, .06);
  border-radius: calc(8 * var(--u));
}
.review__avatar { display: block; width: calc(62 * var(--t)); height: calc(62 * var(--t)); border-radius: 50%; overflow: hidden; background: var(--stone); }
.review__img { width: 100%; height: 100%; object-fit: cover; }
.review__body { display: grid; align-content: start; gap: calc(6 * var(--u)); }
.review__quote { margin: 0; font-family: var(--serif); font-size: calc(11.5 * var(--t)); line-height: 1.5; color: var(--ink-soft); }
.review__who { display: flex; align-items: center; gap: calc(14 * var(--u)); }
.review__name { font-family: var(--serif); font-size: calc(13 * var(--t)); font-weight: 600; letter-spacing: .02em; }
.review__stars { display: flex; gap: calc(2 * var(--u)); color: var(--bronze); }
.review__star { width: calc(11 * var(--t)); height: calc(11 * var(--t)); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  height: calc(76 * var(--u));
  background: #FAF9F8;   /* долната ивица (менюто) е почти бяла */
}
/* горната част е топла светлокафява лента с розов оттенък вдясно (както в референцията) */
.site-footer::before {
  content: '';
  position: absolute; inset: 0 0 auto 0;
  height: calc(44 * var(--u));
  background:
    radial-gradient(40% 58% at 88% 0%, rgba(188, 136, 128, .44) 0%, rgba(188, 136, 128, 0) 80%),
    linear-gradient(180deg, #EFE7E1 0%, #F2ECE7 72%, #FAF9F8 100%);
}
.site-footer > * { position: relative; z-index: 1; }
.site-footer__top { position: absolute; inset: 0; }
.site-footer__brand {
  position: absolute; left: calc(58 * var(--u)); top: calc(7 * var(--u));
  display: flex; align-items: center; gap: calc(14 * var(--u));
}
.site-footer__brand img { height: calc(46 * var(--t)); width: auto; }
.script { font-family: var(--script); color: var(--rose); }
.site-footer__script { max-width: calc(154 * var(--u)); font-size: calc(13 * var(--t)); line-height: 1.2; }
.script__heart { display: inline-block; width: calc(10 * var(--u)); height: calc(10 * var(--u)); margin-left: .3em; vertical-align: -1px; }

.site-footer__contacts {
  position: absolute; left: calc(420 * var(--u)); top: calc(17 * var(--u));
  display: flex; align-items: center; gap: calc(52 * var(--u));
}
.footer-contact { display: flex; align-items: center; gap: calc(11 * var(--u)); }
.footer-contact__svg { width: calc(16 * var(--t)); height: calc(16 * var(--t)); color: var(--rose); }
.footer-contact__text { display: grid; gap: 0; }
.footer-contact__value { font-size: calc(12 * var(--t)); font-weight: 600; white-space: nowrap; }
a.footer-contact__value:hover { color: var(--rose); }
.footer-contact__hint { font-size: calc(8.5 * var(--t)); color: var(--ink-mute); }

.site-footer__social {
  position: absolute; left: calc(1040 * var(--u)); top: calc(21 * var(--u));
  display: flex; align-items: center; gap: calc(11 * var(--u));
}
.site-footer__social-label { font-size: calc(9 * var(--t)); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); white-space: nowrap; }
.socials { display: flex; gap: calc(9 * var(--u)); }
.socials__link {
  display: grid; place-items: center;
  width: calc(27 * var(--t)); height: calc(27 * var(--t));
  border: 1px solid rgba(183, 122, 114, .45); border-radius: 50%; color: var(--rose);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.socials__link:hover { background: var(--rose); color: var(--cream); }
.socials__svg { width: calc(13 * var(--t)); height: calc(13 * var(--t)); }

.site-footer__top .btn--rose {
  position: absolute; right: calc(26 * var(--u)); top: calc(18 * var(--u));
  height: calc(32 * var(--t)); padding: 0 calc(22 * var(--t)); font-size: calc(10.5 * var(--t));
}

.site-footer__bottom { position: absolute; inset: auto 0 calc(4 * var(--u)) 0; height: calc(14 * var(--u)); font-size: calc(10 * var(--t)); color: var(--ink-soft); }
.site-footer__menu { position: absolute; left: calc(282 * var(--u)); top: 0; width: calc(445 * var(--u)); }
.site-footer__menu ul { display: flex; justify-content: space-between; }
.site-footer__menu a { letter-spacing: .06em; white-space: nowrap; }
.site-footer__menu a:hover { color: var(--mocha); }
.site-footer__copy { position: absolute; left: calc(768 * var(--u)); top: 0; color: var(--ink-mute); white-space: nowrap; }
.site-footer__legal { position: absolute; left: calc(1160 * var(--u)); top: 0; display: none; }
.site-footer__claim { position: absolute; right: calc(84 * var(--u)); top: calc(-3 * var(--u)); font-size: calc(14 * var(--t)); white-space: nowrap; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.error-page { min-height: calc(520 * var(--u)); padding: calc(150 * var(--u)) calc(60 * var(--u)) calc(60 * var(--u)); background: linear-gradient(180deg, #EFE7DC, var(--ivory)); }
.error-page__inner { display: grid; justify-items: center; gap: calc(14 * var(--u)); max-width: calc(640 * var(--u)); margin: 0 auto; text-align: center; }
.error-page__title { font-size: calc(40 * var(--t)); text-transform: uppercase; }
.error-page__text { color: var(--ink-soft); }
.error-page__actions { display: flex; gap: calc(16 * var(--u)); margin-top: calc(10 * var(--u)); }
.error-page__script { font-size: calc(18 * var(--t)); }

/* --------------------------------------------------------------------------
   Плавно появяване
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(calc(12 * var(--u))); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

.mob { display: none; }
.mob-pixel { display: none; }
.mob-stage { display: none; }          /* показва се само на телефон */

/* --------------------------------------------------------------------------
   МОБИЛНА ВЕРСИЯ — по мобилния референтен дизайн
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  :root { --header-h: 74px; }

  /* ---- ХИБРИД: секциите са кадри от мокапа, слайдерите са истински HTML ---- */
  .mob-stage { display: block; }
  .mob-sec { position: relative; }
  .mob-sec__img { width: 100%; height: auto; display: block; }
  .mob-sec__hot { position: absolute; inset: 0; }
  .hot { position: absolute; display: block; background: transparent; border: 0; padding: 0; }
  /* на телефон показваме само хибрида */
  main > .hero-band, main > .stage, body > .stage, .mob-contacts { display: none !important; }
  .site-header { position: absolute; background: none !important; box-shadow: none !important; pointer-events: none; backdrop-filter: none !important; }
  .site-header__inner { background: none !important; }
  .brand, .header-actions, .search-pop { display: none !important; }
  .nav { display: block; pointer-events: auto; }
  .nav-backdrop { display: block; }
  /* вътрешните секции на хибрида */
  .services--mob { height: auto; padding: 0 0 6px; }
  .services--mob .mob-services-head { display: none !important; }
  .services--mob .services__inner { display: block; padding: 0 12px; }
  .services--mob .services__aside { display: none; }
  .services--mob .services__grid { position: static; display: grid; grid-auto-flow: column;
    grid-auto-columns: calc(50% - 7px); grid-template-columns: none; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 2px; }
  .services--mob .services__grid::-webkit-scrollbar { display: none; }
  .services--mob .card { position: relative; top: auto; left: auto !important; width: auto; height: auto; scroll-snap-align: start; }
  .services--mob .card__frame { padding: 0; border: 1px solid var(--line-soft); border-radius: 8px; overflow: hidden; background: #FBF8F4; }
  .services--mob .card__arch { height: auto; aspect-ratio: 348 / 172; border-radius: 0; }
  .services--mob .card__body { display: block; padding: 12px 12px 46px; text-align: center; }
  .services--mob .card__title { margin: 0; font-size: 18px; }
  .services--mob .card__text { margin: 6px auto 0; max-width: none; font-size: 12px; }
  .services--mob .card__btn { position: absolute; right: 10px; bottom: 10px; left: auto; transform: none; width: 34px; height: 34px; margin: 0; }
  .mob-dots { display: flex; justify-content: center; gap: 8px; padding: 14px 0 4px; }
  .mob-dots__dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; background: rgba(61,44,36,.22); }
  .mob-dots__dot.is-on { background: var(--rose); transform: scale(1.25); }
  .reviews--mob { position: relative; height: auto; padding: 18px 0 22px; }
  .reviews--mob .reviews__head { position: static; display: block; padding: 0; }
  .reviews--mob .reviews__kicker { display: block !important; padding: 0 16px; margin-bottom: 4px; }
  .reviews--mob .reviews__rule { display: none !important; }
  .reviews--mob .reviews__nav { position: absolute; left: 8px; right: 8px; top: 58%; display: flex; justify-content: space-between; margin: 0; pointer-events: none; }
  .reviews--mob .reviews__nav .round-btn { pointer-events: auto; background: var(--cream); box-shadow: 0 2px 10px rgba(61,44,36,.12); }
  .reviews--mob .reviews__list { position: static; margin: 0; padding: 0 16px; grid-auto-columns: 100%; }
  .mob { display: none; }
  .mob-pixel { display: none; }
  .brand { left: 14px; }
  .brand__plate { width: 80px; height: 92px; padding: 9px 9px 17px; }
  .header-actions { right: 12px; gap: 7px; }
  .header-actions .icon-btn:nth-child(2),
  .header-actions .icon-btn:nth-child(3),
  .header-phone { display: none; }
  .header-actions .btn--rose { height: 40px; padding: 0 20px; font-size: 12.5px; }
  .burger { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: inherit; }
  .burger__box { display: grid; place-items: center; }
  .burger__close { display: none; }
  body.nav-open .burger__open { display: none; }
  body.nav-open .burger__close { display: block; }
  .nav { position: fixed; top: 74px; right: 0; bottom: 0; left: auto; z-index: 89; width: min(430px, 100%); height: auto; padding: 14px 20px 30px; overflow-y: auto; background: var(--cream); color: var(--ink); box-shadow: -20px 0 50px -24px rgba(41,29,24,.5); transform: translateX(102%); transition: transform .45s var(--ease); }
  body.nav-open .nav { transform: none; }
  .nav__list { display: grid; gap: 0; height: auto; justify-content: stretch; }
  .nav__item { border-bottom: 1px solid var(--line-soft); }
  .nav__link { padding: 15px 0; font-size: 15px; justify-content: space-between; width: 100%; color: var(--ink) !important; text-shadow: none !important; }
  .nav__link--toggle { width: 100%; }
  .nav__link.is-current::after { display: none; }
  .nav__panel { position: static; width: auto; min-width: 0; padding: 0 0 10px; border: 0; box-shadow: none; background: transparent; color: var(--ink); display: none; opacity: 1; visibility: visible; transform: none; }
  .nav__item--menu.is-open .nav__panel,
  .nav__item--menu:has(.nav__link--toggle[aria-expanded="true"]) .nav__panel { display: block; }
  .nav__panel--wide .nav__sublist { grid-template-columns: 1fr; }
  .nav__sublink { padding: 9px 0 9px 12px; font-size: 14px; }

  /* hero */
  .hero { height: auto; padding: 104px 18px 26px; }
  .hero::before { height: 120px; background: linear-gradient(180deg, rgba(20,13,9,.72), rgba(20,13,9,.45) 60%, rgba(20,13,9,0)); }
  .hero__scene img { object-position: 66% 42%; }
  .hero__content { position: relative; left: auto; top: auto; width: auto; }
  .hero__kicker { font-size: 10px; letter-spacing: .26em; }
  .hero__title { margin-top: 8px; font-size: clamp(30px, 9.2vw, 40px); line-height: 1.02; }
  .hero__lead { margin-top: 12px; width: auto; max-width: 40ch; font-size: 14px; line-height: 1.6; }
  .hero__actions { margin-top: 16px; gap: 10px; }
  .btn--hero { height: 46px; padding: 0 22px; font-size: 12px; }
  .btn--hero-ghost { height: 46px; padding: 0 18px; font-size: 12px; }
  .hero__script { position: absolute; right: 16px; bottom: 22px; margin: 0; max-width: 11ch; text-align: right; font-size: 16px; }

  /* контактна лента */
  .mob-contacts { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px; background: #FBF8F4; border-bottom: 1px solid var(--line-soft); }
  .mob-contacts__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
  .mob-contacts__svg { width: 17px; height: 17px; color: var(--rose); }
  .mob-contacts__sep { width: 1px; height: 24px; background: var(--line); }
  .mob-contacts__social { display: flex; align-items: center; gap: 12px; margin-left: auto; }
  .mob-contacts__social a { color: var(--ink); }
  .mob-contacts__social .ico { width: 18px; height: 18px; }
  .mob-contacts__social span { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }

  /* заглавие на услугите */
  .mob-services-head { display: flex; align-items: baseline; gap: 8px; padding: 18px 14px 10px; }
  .mob-services-head__title { font-family: var(--serif); font-size: 18px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
  .mob-services-head__lead { font-size: 9.5px; line-height: 1.25; color: var(--ink-mute); }
  .mob-link { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: 10.5px; color: var(--ink); white-space: nowrap; }
  .mob-link__svg { width: 12px; height: 12px; }

  /* услуги: две колони с панел под снимката */
  .services { height: auto; padding: 0 16px 8px; }
  .services__inner { display: block; padding: 0; }
  .services__aside { display: none; }
  .services__aside { position: static; width: auto; margin-top: 18px; padding: 20px 16px 24px; border-left: 0; border-top: 1px solid rgba(61, 44, 36, .12); text-align: center; }
  .services__grid { position: static; display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - 7px);
    grid-template-columns: none; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .services__grid::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; }
  .card { position: relative; top: auto; left: auto !important; width: auto; height: auto; }
  .card__link { display: block; }
  .card__frame { padding: 0; border: 1px solid var(--line-soft); border-radius: 8px; overflow: hidden; background: #FBF8F4; }
  .card__arch { height: auto; aspect-ratio: 1 / 1; border-radius: 0; }
  .card__body { display: block; padding: 12px 12px 46px; text-align: center; }
  .card__title { margin: 0; font-size: 18px; letter-spacing: .08em; }
  .card__text { margin: 6px auto 0; max-width: none; font-size: 12px; line-height: 1.45; }
  .card__btn { position: absolute; right: 10px; bottom: 10px; left: auto; transform: none; width: 34px; height: 34px; margin: 0; }
  .card__svg { width: 15px; height: 15px; }

  /* точки на carousel-а */
  .mob-dots { display: flex; justify-content: center; gap: 8px; padding: 14px 0 4px; }
  .mob-dots__dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; background: rgba(61,44,36,.22); transition: background .3s var(--ease), transform .3s var(--ease); }
  .mob-dots__dot.is-on { background: var(--rose); transform: scale(1.25); }

  /* популярни категории */
  .mob-cats { padding: 14px 16px 22px; }
  .mob-cats__title { font-family: var(--serif); font-size: 21px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
  .mob-cats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .mob-cat__link { display: grid; justify-items: center; gap: 8px; text-align: center; }
  .mob-cat__icon { display: grid; place-items: center; width: 52px; height: 52px; background: #FBF8F4; border: 1px solid var(--line-soft); border-radius: 10px; }
  .mob-cat__svg { width: 24px; height: 24px; color: var(--bronze); }
  .mob-cat__name { font-size: 11px; line-height: 1.3; color: var(--ink-soft); }

  /* история / академия */
  .duo { display: grid; grid-template-columns: minmax(0, 1fr) 66px; grid-template-areas: "story story" "academy strip"; height: auto; background: var(--cream); overflow: hidden; }
  .duo__half--story { grid-area: story; display: flex; min-width: 0; border-bottom: 1px solid var(--line-soft); }
  .duo__half--academy { grid-area: academy; display: flex; min-width: 0; }
  .duo__strip { grid-area: strip; width: 66px; padding: 14px 6px; display: grid; align-content: start; gap: 12px; }
  .duo__half--story .duo__media { width: 44%; min-width: 0; }
  .duo__half--academy .duo__media { order: 0; width: 30%; min-width: 0; }
  .duo__media picture, .duo__media img { height: 100%; min-height: 150px; aspect-ratio: auto; }
  .duo__panel { padding: 12px 10px 14px; min-width: 0; }
  .duo__title { font-size: 15px; line-height: 1.1; word-break: break-word; }
  .duo__title--academy { font-size: 14.5px; line-height: 1.15; }
  .duo__text { margin-top: 6px; max-width: none; font-size: 10px; line-height: 1.42; }
  .duo__panel .btn { margin-top: 8px; height: 30px; padding: 0 12px; font-size: 9px; }
  .kicker { font-size: 8.5px; letter-spacing: .24em; }
  .duo__vertical { display: grid; gap: 6px; font-size: 7.5px; letter-spacing: .06em; text-align: center; }
  .duo__strip-quote { font-family: var(--serif); font-style: italic; font-size: 9px; line-height: 1.35; color: var(--ink-soft); text-align: center; }

  /* отзиви */
  .reviews { height: auto; padding: 20px 0 26px; }
  .reviews__head { position: static; display: flex; align-items: baseline; gap: 10px; padding: 0 16px; }
  .reviews__kicker { font-size: 13px; letter-spacing: .16em; line-height: 1.5; }
  .reviews__rule { display: none; }
  .reviews__nav { position: absolute; left: 6px; right: 6px; top: 58%; display: flex; justify-content: space-between; pointer-events: none; }
  .reviews__nav .round-btn { pointer-events: auto; background: var(--cream); }
  .mob-link--reviews { margin-left: auto; }
  .reviews__list { position: static; margin: 14px 0 0; padding: 0 16px; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 100%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .reviews__list::-webkit-scrollbar { display: none; }
  .review { scroll-snap-align: center; padding: 14px; grid-template-columns: auto minmax(0, 1fr); }
  .review__avatar { width: 72px; height: 72px; }
  .review__quote { font-size: 13.5px; }
  .review__name { font-size: 15px; }
  .review__star { width: 13px; height: 13px; }

  /* CTA банер */
  .mob-cta { position: relative; height: 132px; overflow: hidden; margin-top: 6px; }
  .mob-cta__bg { position: absolute; inset: 0; }
  .mob-cta__img { width: 100%; height: 100%; object-fit: cover; }
  .mob-cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(38,24,18,.82), rgba(38,24,18,.45)); }
  .mob-cta__inner { position: relative; z-index: 2; display: block; padding: 26px 16px 0; }
  .mob-cta__title { font-family: var(--serif); font-size: 19px; letter-spacing: .04em; text-transform: uppercase; color: var(--hero-cream); }
  .mob-cta__text { position: absolute; left: 16px; bottom: 12px; font-size: 10px; color: rgba(241,230,218,.8); }
  .mob-cta .btn--rose { position: absolute; right: 14px; top: 34px; height: 38px; padding: 0 16px; font-size: 10.5px; }

  /* footer */
  .site-footer { height: auto; padding: 18px 16px 14px; }
  .site-footer::before { height: 100%; }
  .site-footer__top { position: static; display: block; }
  .site-footer__brand, .site-footer__contacts, .site-footer__social, .site-footer__top .btn--rose, .site-footer__bottom, .site-footer__menu, .site-footer__copy, .site-footer__claim { position: static; }
  .site-footer__brand { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
  .site-footer__brand img { height: 54px; width: auto; }
  .site-footer__script { max-width: none; font-size: 16px; }
  .site-footer__contacts { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 0 0 10px; }
  .footer-contact__value { font-size: 13.5px; }
  .footer-contact__hint { font-size: 10.5px; }
  .footer-contact__svg { width: 18px; height: 18px; }
  .site-footer__social { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
  .site-footer__social-label { font-size: 10.5px; }
  .socials__link { width: 32px; height: 32px; }
  .socials__svg { width: 15px; height: 15px; }
  .site-footer__top .btn--rose { display: inline-flex; height: 42px; padding: 0 20px; font-size: 12px; margin: 0 0 14px; }
  .site-footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 12px; }
  .site-footer__menu ul { display: flex; flex-wrap: wrap; gap: 8px 16px; }
  .site-footer__copy { font-size: 11px; }
  .site-footer__claim { font-size: 16px; }
}

/* стар планшетен блок — само над 760px, за да не се бие с мобилния */
@media (min-width: 761px) and (max-width: 1000px) {
  .services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

}
@media (max-width: 560px) {
  :root { --u: calc(100vw / 560); }
  .hero__title { font-size: clamp(32px, 10vw, 44px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .burger { display: none !important; }
  body { background: #fff; }
}
