:root {
  --paper: #E6E7E2;     /* светъл бетон / епоксиден под */
  --paper-2: #F4F4F0;
  --ink: #15171A;       /* графит */
  --steel: #5A6067;
  --line: #C9CBC4;
  --tape: #F2C230;      /* тиксо за маскиране */
  --tape-ink: #2A2306;
  --ok: #1F6F43;
  --err: #A3271F;

  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Golos Text", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: 1.05rem; font-weight: 500; letter-spacing: 0; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Бутони */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.5rem;
  font: 600 1rem/1 var(--body);
  text-decoration: none; border-radius: 4px; border: 2px solid var(--ink);
  cursor: pointer; transition: background-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--paper-2); }
.btn--primary:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper-2); }

/* Снимки + резервен фон, ако файлът липсва */
.photo { margin: 0; position: relative; overflow: hidden; background: linear-gradient(160deg, #2a2e33, #4a5058); border-radius: 4px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.is-missing img { visibility: hidden; }

/* Тиксо */
.tape {
  position: absolute; top: 22px; left: -8px;
  background: var(--tape); color: var(--tape-ink);
  font: 600 .875rem/1 var(--body);
  padding: .7rem 1rem .7rem 1.25rem;
  transform: rotate(-2.5deg);
  box-shadow: 0 1px 0 rgba(0,0,0,.15);
  clip-path: polygon(0 4%, 100% 0, 98% 50%, 100% 100%, 0 96%, 2% 50%);
}

/* Хедър */
.top { position: sticky; top: 0; z-index: 10; background: var(--ink); color: var(--paper-2); }
.top__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 60px; }
.logo { font: 700 1.25rem/1 var(--display); text-decoration: none; letter-spacing: -0.02em; }
.top__nav { display: none; gap: 1.75rem; margin-left: auto; }
.top__nav a { text-decoration: none; font-size: .95rem; opacity: .85; }
.top__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.top__phone { margin-left: auto; font-weight: 600; text-decoration: none; background: var(--tape); color: var(--tape-ink); padding: .5rem .8rem; border-radius: 3px; }
@media (min-width: 900px) {
  .top__nav { display: flex; }
  .top__phone { margin-left: 0; }
}

/* Hero */
.hero { padding: clamp(32px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.hero__grid { display: grid; gap: 2.5rem; }
.hero h1 { font-size: clamp(2.1rem, 6.2vw, 4.4rem); max-width: 12ch; }
.hero__lead { margin-top: 1.25rem; max-width: 46ch; font-size: 1.15rem; color: #2c3036; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: .25rem 2rem; margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.hero__facts dt { font-size: .85rem; color: var(--steel); }
.hero__facts dd { margin: 0; font-weight: 600; }
.hero__photo { aspect-ratio: 4 / 5; }
@media (max-width: 520px) {
  .hero__facts { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 4rem; }
}

/* Услуги */
.services { background: var(--paper-2); padding: clamp(56px, 8vw, 112px) 0; }
.services__grid { display: grid; gap: 2.5rem; }
.services__head p { margin-top: 1rem; max-width: 38ch; color: var(--steel); }
.price-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.price-list li { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.price-list__row { display: flex; align-items: baseline; gap: 1rem; }
.price-list__row::after { content: ""; order: 1; flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.price-list h3 { order: 0; }
.price { order: 2; font: 700 1.1rem/1 var(--display); white-space: nowrap; }
.price-list p { margin-top: .4rem; color: var(--steel); font-size: .975rem; max-width: 56ch; }
@media (min-width: 900px) {
  .services__grid { grid-template-columns: .8fr 1.2fr; gap: 5rem; }
  .services__head { position: sticky; top: 100px; align-self: start; }
}

/* Преди и след */
.before-after { padding: clamp(56px, 8vw, 112px) 0 0; }
.ba__head { display: grid; gap: 1rem; margin-bottom: 2rem; }
.ba__head p { color: var(--steel); max-width: 52ch; }
.ba__grid { display: grid; gap: 12px; }
.ba__item { aspect-ratio: 2 / 1; }
.tape--label { top: auto; bottom: 18px; left: -6px; font-size: 1rem; padding: .6rem 1.1rem .6rem 1.3rem; }
.ba__item + .ba__item .tape--label { transform: rotate(1.5deg); }
@media (min-width: 900px) {
  .ba__head { grid-template-columns: .8fr 1.2fr; align-items: end; gap: 5rem; }
  .ba__grid { grid-template-columns: 1fr 1fr; }
  .ba__item { aspect-ratio: 4 / 3; }
}

/* Галерия */
.gallery { padding: 12px 0 clamp(56px, 8vw, 112px); }
.gallery__grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.gallery__grid .photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.gallery__grid .photo:not(:first-child) { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .gallery__grid { grid-template-columns: 2fr 1fr; grid-template-rows: 220px 220px; }
  .gallery__grid .photo:first-child { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; }
  .gallery__grid .photo:not(:first-child) { aspect-ratio: auto; }
}

/* Записване */
.booking { background: var(--ink); color: var(--paper-2); padding: clamp(56px, 8vw, 112px) 0; }
.booking__head p { margin-top: .9rem; color: #B9BDC2; max-width: 48ch; }
.booking__form { margin-top: 2.5rem; display: grid; gap: 2rem; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend { font: 500 .95rem/1 var(--display); margin-bottom: 1rem; padding: 0; color: var(--tape); }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; flex-direction: column; gap: 2px;
  padding: .7rem 1rem; border: 1px solid #3b4046; border-radius: 4px;
  background: #1D2024; cursor: pointer; transition: border-color .12s, background-color .12s;
  font-size: .95rem; line-height: 1.25;
}
.choice small { color: #9aa0a6; font-size: .8rem; }
.choice input:hover + span { border-color: #6b7178; }
.choice input:focus-visible + span { outline: 3px solid var(--tape); outline-offset: 2px; }
.choice input:checked + span { background: var(--tape); border-color: var(--tape); color: var(--tape-ink); }
.choice input:checked + span small { color: #5a4c0c; }
.choice input:disabled + span { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

.choices--days { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.choices--days .choice span { min-width: 74px; align-items: center; text-align: center; }
.choices--days .choice b { font: 700 1.25rem/1.1 var(--display); }
.choices--times .choice span { min-width: 72px; align-items: center; font-variant-numeric: tabular-nums; }
.hint { color: #9aa0a6; font-size: .95rem; }

.step--contact { display: grid; gap: 1rem; }
.step--contact label { display: grid; gap: .4rem; font-size: .9rem; color: #B9BDC2; }
.step--contact input, .step--contact textarea {
  font: inherit; font-size: 1rem; color: var(--paper-2);
  background: #1D2024; border: 1px solid #3b4046; border-radius: 4px; padding: .8rem .9rem;
}
.step--contact input:focus, .step--contact textarea:focus { border-color: var(--tape); outline: none; }
.step--contact input[aria-invalid="true"] { border-color: #e0675d; }
@media (min-width: 700px) {
  .step--contact { grid-template-columns: 1fr 1fr 1fr; }
  .step--contact .full { grid-column: 1 / -1; }
}

.booking__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-top: 1.5rem; border-top: 1px solid #3b4046; }
.booking__submit .btn--primary { background: var(--tape); color: var(--tape-ink); border-color: var(--tape); }
.booking__submit .btn--primary:hover { background: #ffd24a; }
.summary { flex: 1 1 280px; color: #B9BDC2; }
.summary b { color: var(--paper-2); font-weight: 600; }
.form-error { color: #f08a80; }

.booking__done { margin-top: 2.5rem; padding: 2rem; border-left: 6px solid var(--tape); background: #1D2024; max-width: 640px; }
.booking__done h3 { font-size: 1.4rem; margin-bottom: .75rem; }
.booking__done p + p { margin-top: .6rem; color: #B9BDC2; }
.booking__done a { color: var(--tape); }

/* Контакти */
.contacts { padding: clamp(56px, 8vw, 112px) 0; }
.contacts__grid { display: grid; gap: 2.5rem; }
.address { margin-top: 1.25rem; font-size: 1.1rem; }
.hours { margin-top: 1.5rem; border-collapse: collapse; width: 100%; max-width: 420px; }
.hours th, .hours td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.contacts__phone { margin-top: 1.75rem; }
.contacts__phone a { font: 700 clamp(1.5rem, 3.5vw, 2rem)/1 var(--display); text-decoration: none; }
.contacts__phone + p { margin-top: 1rem; }
.link { text-underline-offset: 4px; }
.map { min-height: 360px; border-radius: 4px; overflow: hidden; background: var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: grayscale(.4); }
@media (min-width: 900px) {
  .contacts__grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; }
}

/* Футър */
.foot { background: var(--ink); color: #9aa0a6; font-size: .875rem; padding: 1.5rem 0; }
.foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
