/* ===== Фризьорски салон – прототип (светъл редакционен стил) ===== */
:root {
  --bg: #f6f1ea;
  --tint: #ece3d8;
  --card: #fffdf9;
  --ink: #1f1b18;
  --muted: #6e645c;
  --line: #ddd2c5;
  --accent: #b5603f;
  --accent-2: #9c4d30;
  --dark: #1f1b18;
  --dark-2: #2a2521;
  --radius: 18px;
  --serif: "Forum", Georgia, serif;
  --script: "Great Vibes", cursive;
  --sans: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

.proto-bar {
  background: var(--ink); color: var(--bg);
  text-align: center; font-size: .78rem; padding: 6px 12px; letter-spacing: .02em;
}

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; }
.hero__title, .title { text-transform: uppercase; letter-spacing: .03em; }
h1 em, h2 em { font-family: var(--script); font-style: normal; text-transform: none; letter-spacing: 0; font-size: 1.3em; line-height: .9; color: var(--accent); }
.title { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h3 { font-size: 1.4rem; line-height: 1.2; }
.kicker {
  display: inline-block; margin-bottom: 14px;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
}
.kicker--light { color: #e2a487; }
.small { font-size: .9rem; opacity: .8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 28px; border-radius: 999px;
  font: 600 .95rem var(--sans); text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(181,96,63,.25); }
.btn--dark:hover { background: var(--accent-2); }
.btn--line { border-color: var(--accent); color: var(--accent); }
.btn--line:hover { background: var(--accent); color: #fff; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-2); }
.btn--line-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn--sm { padding: 10px 20px; font-size: .88rem; }
.btn--block { width: 100%; }
.arrow { color: var(--accent); font-weight: 600; text-decoration: none; }
.arrow:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 234, .86);
  backdrop-filter: blur(12px);
  transition: box-shadow .3s;
}
/* Без сива черта отдолу: там е цветната линия за напредъка, а до нея не бива да има втора черта. */
.header.is-scrolled { box-shadow: 0 6px 18px rgba(60, 40, 30, .07); }
.header__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { font-family: var(--script); font-size: 2.4rem; font-weight: 400; text-decoration: none; }
.logo span { color: var(--accent); }
.logo--sm { font-size: 2rem; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.burger { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; padding: 12px 9px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 0; }
.hero__top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.hero__title { font-size: clamp(3rem, 7.4vw, 6.6rem); }
.hero__side p { color: var(--muted); font-size: 1.05rem; margin: 0 0 24px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media {
  position: relative;
  display: grid; grid-template-columns: 2.3fr 1fr; gap: 14px;
  height: clamp(320px, 40vw, 540px);
}
.hero__img { overflow: hidden; border-radius: 28px; height: 100%; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--main img { object-position: center 60%; }
.hero__img--side { border-radius: 400px 400px 28px 28px; }
.hero__chip {
  position: absolute;
  background: var(--card); border-radius: 999px;
  padding: 10px 18px; font-size: .88rem; color: var(--muted);
  box-shadow: 0 10px 30px rgba(31, 27, 24, .12);
}
.hero__chip b { color: var(--ink); font-family: var(--serif); font-size: 1.1rem; margin-right: 4px; }
.hero__chip--a { left: 24px; bottom: 24px; }
.hero__chip--b { left: 24px; top: 24px; }
.hero__chip--c { right: 24px; bottom: 24px; }
.hero__chip--c b { color: var(--accent); }

/* ---------- Facts ---------- */
.facts { padding: 40px 0; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.facts__grid > div { border-top: 1px solid var(--ink); padding-top: 14px; }
.facts span { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts p { margin: 6px 0 0; font-weight: 500; line-height: 1.5; }
.facts a { color: var(--accent); text-decoration: none; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; background: var(--card); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); text-transform: uppercase; letter-spacing: .08em; font-size: 1.35rem; padding: 0 28px; white-space: nowrap; }
.marquee span::after { content: "✦"; font-style: normal; font-size: .9rem; color: var(--accent); margin-left: 56px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: #f3ece5; }
.section--dark .title em { color: #e2a487; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.head__note { max-width: 420px; color: var(--muted); margin: 0; }
.head__side { display: grid; gap: 20px; justify-items: start; }
.head__side--end { justify-items: end; }

/* ---------- Tabs (sliding pill) ---------- */
.tabs {
  position: relative; display: inline-flex; gap: 4px; padding: 5px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
}
.tabs button {
  position: relative; z-index: 1;
  background: none; border: 0; cursor: pointer;
  padding: 10px 20px; border-radius: 999px;
  font: 600 .9rem var(--sans); color: var(--muted);
  transition: color .35s;
}
.tabs button[aria-selected="true"] { color: #fff; }
.tabs__pill {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0;
  width: 0; border-radius: 999px; background: var(--accent);
  transition: translate .55s cubic-bezier(.65,.05,.25,1), width .55s cubic-bezier(.65,.05,.25,1);
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; min-height: 250px;
  transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(31,27,24,.08); }
.service__num { font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: 18px; }
.service h3 { margin-bottom: 10px; }
.service p { color: var(--muted); margin: 0 0 22px; font-size: .95rem; }
.service__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.service__foot b { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); font-weight: 400; }
.service__foot a { color: var(--accent); font-weight: 600; text-decoration: none; }
.service--feature { background: var(--accent); border-color: var(--accent); color: #fff; }
.service--feature .service__num, .service--feature p, .service--feature .service__foot { color: rgba(255,255,255,.85); }
.service--feature .service__foot { border-color: rgba(255,255,255,.3); }
.service--feature .service__foot a { color: #fff; }

/* ---------- Nail studio spotlight ---------- */
.spot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.spot__media { position: relative; padding: 0 12% 14% 0; }
.spot__big { overflow: hidden; border-radius: var(--radius) var(--radius) 240px 240px; aspect-ratio: 4 / 5; }
.spot__big img { width: 100%; height: 100%; object-fit: cover; }
.spot__small {
  position: absolute; right: 0; bottom: 0; width: 46%;
  border-radius: var(--radius); overflow: hidden;
  border: 8px solid var(--tint); box-shadow: 0 24px 50px rgba(31,27,24,.18);
}
.spot__small img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.spin {
  position: absolute; left: -38px; top: 30px; width: 150px; height: 150px;
  font: 700 13.4px var(--sans); letter-spacing: .2em; fill: var(--ink);
  background: var(--card); border-radius: 50%;
  box-shadow: 0 12px 30px rgba(31,27,24,.1);
}
.spin text { fill: var(--ink); }
.spin .spin__mid { font-size: 34px; fill: var(--accent); letter-spacing: 0; }
.spot__text > p { color: var(--muted); margin: 20px 0 24px; }
.ticks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 14px; align-items: baseline; font-weight: 500; }
.ticks li::before { content: "✦"; color: var(--accent); }

/* ---------- Prices ---------- */
.prices__intro .tabs { margin-bottom: 10px; }
.prices { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.prices__intro p { color: var(--muted); margin: 18px 0 28px; }
.accordion details { border-bottom: 1px solid var(--ink); overflow: hidden; }
.accordion details:first-child { border-top: 1px solid var(--ink); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 14px;
  padding: 22px 0;
  font-family: var(--serif); font-size: 1.6rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span {
  display: inline-grid; place-items: center;
  min-width: 26px; height: 24px; padding: 0 8px;
  font: 600 .75rem/1 var(--sans); font-variant-numeric: lining-nums tabular-nums;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px;
}
.accordion summary::after { content: "+"; margin-left: auto; font: 300 2rem/1 var(--sans); transition: transform .25s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.plist { list-style: none; margin: 0 0 22px; padding: 0; }
.plist li { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; }
.plist li::before { content: none; }
.plist span { flex: 1; display: flex; align-items: baseline; gap: 12px; }
.plist span::after { content: ""; flex: 1; border-bottom: 1px dotted #b9ab9c; transform: translateY(-4px); }
.plist b { font-weight: 700; white-space: nowrap; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about__media { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 240px 240px var(--radius) var(--radius); }
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.stats b.unit { display: inline; font-size: 1.2rem; margin-left: 4px; }
.stats b[data-count] { display: inline; }
.stats div span { display: block; }
.about__text > p { color: var(--muted); margin: 20px 0 30px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.stats div { border-top: 1px solid var(--ink); padding-top: 12px; }
.stats b { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 400; color: var(--accent); line-height: 1.1; }
.stats span { font-size: .85rem; color: var(--muted); }
.about blockquote { margin: 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; }

/* ---------- Booking ---------- */
.booking { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.booking__intro p { color: rgba(243,236,229,.75); }
.booking__call { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 26px; color: rgba(243,236,229,.9) !important; font-weight: 500; }
.phone-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  background: #fff; color: var(--ink);
  font: 700 1.15rem var(--sans); letter-spacing: .02em; text-decoration: none;
  transition: background .3s, color .3s, transform .2s;
}
.phone-pill svg { width: 18px; height: 18px; fill: var(--accent); transition: fill .3s; }
.phone-pill:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.phone-pill:hover svg { fill: #fff; }
.widget {
  background: var(--bg); color: var(--ink);
  border-radius: 24px; padding: clamp(22px, 3vw, 34px);
  min-height: 440px;
}
.steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 26px; counter-reset: s; }
.steps li { flex: 1; font-size: .78rem; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--line); counter-increment: s; }
.steps li::before { content: counter(s) ". "; }
.steps li.is-done { border-color: var(--ink); color: var(--ink); }
.steps li.is-current { border-color: var(--accent); color: var(--accent); font-weight: 700; }
.wstep { display: none; animation: fade .3s ease; }
.wstep.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.group-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 16px 0 4px; }
.group-label:first-child { margin-top: 0; }
.choices { display: grid; gap: 8px; }
.choice {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  width: 100%; text-align: left;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; font: 500 .95rem var(--sans); cursor: pointer;
  transition: border-color .2s, transform .15s;
}
.choice:hover { border-color: var(--accent); }
.choice b { font-weight: 700; }
.choice.is-picked { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }

.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.day {
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 6px; cursor: pointer; text-align: center; font: 500 .82rem var(--sans);
  transition: border-color .2s;
}
.day strong { display: block; font-family: var(--serif); font-size: 1.8rem; line-height: 1.15; }
.day small { color: var(--muted); }
.day:hover:not(:disabled) { border-color: var(--accent); }
.day:disabled { opacity: .35; cursor: not-allowed; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 8px; }
.slot {
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 0; cursor: pointer; font: 600 .92rem var(--sans);
  transition: all .2s;
}
.slot:hover:not(:disabled) { background: var(--accent); color: #fff; border-color: var(--accent); }
.slot:disabled { text-decoration: line-through; opacity: .35; cursor: not-allowed; }
.slots-title { margin: 0 0 12px; font-size: .9rem; color: var(--muted); }

.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; }
.form label small { font-weight: 400; color: var(--muted); }
.form input:not([type=checkbox]) {
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 14px; font: 500 1rem var(--sans);
}
.form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(181,96,63,.15); }
.form input.is-invalid { border-color: #c0392b; }
.form .check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.form .check.is-invalid { color: #c0392b; }
.form .check a { color: var(--accent); }
.summary { background: var(--tint); border-radius: 12px; padding: 14px 16px; font-size: .92rem; line-height: 1.55; }

.done { text-align: center; padding: 34px 0; }
.done__icon { width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-size: 1.8rem; background: var(--accent); color: #fff; }
.done h3 { font-size: 2.2rem; margin-bottom: 8px; }
.done .btn--line-light { border-color: var(--accent); color: var(--accent); margin-top: 8px; }
.back { margin-top: 18px; background: none; border: 0; color: var(--muted); font: 600 .88rem var(--sans); cursor: pointer; padding: 0; }
.back:hover { color: var(--ink); }

/* ---------- Booking: specialists ---------- */
.wstep__title { margin: 0 0 14px; font-size: .9rem; color: var(--muted); }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.staff-card {
  display: grid; justify-items: center; gap: 4px; text-align: center;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 10px 16px; cursor: pointer; font: inherit;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  animation: rise .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--n, 0) * 50ms);
}
.staff-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(31,27,24,.08); }
.staff-card__ph {
  width: 76px; height: 76px; border-radius: 50%; overflow: hidden; margin-bottom: 8px;
  display: grid; place-items: center; background: var(--tint);
  box-shadow: 0 0 0 3px var(--card), 0 0 0 4px var(--line);
}
.staff-card:hover .staff-card__ph { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--accent); }
.staff-card__ph img { width: 100%; height: 100%; object-fit: cover; }
.staff-card__ph svg { width: 34px; height: 34px; fill: var(--muted); }
.staff-card__ini { font: 400 1.6rem var(--serif); color: var(--accent); }
.staff-card b { font-weight: 600; font-size: .95rem; }
.staff-card small { color: var(--muted); font-size: .78rem; }
.staff-card--any { border-style: dashed; }

/* ---------- Booking: month calendar ---------- */
.cal { margin-bottom: 18px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__head strong { font: 400 1.4rem var(--serif); text-transform: capitalize; }
.cal__nav {
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 1.3rem; line-height: 1;
}
.cal__nav:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal__dow span { text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 4px; }
.slots-title { grid-column: 1 / -1; }
.cal__day {
  height: 42px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font: 600 .92rem var(--sans); position: relative;
  transition: background .2s, color .2s, border-color .2s;
}
.cal__day.has-free::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.cal__day:hover:not(:disabled) { border-color: var(--accent); }
.cal__day.is-today { box-shadow: inset 0 0 0 1px var(--ink); }
.cal__day.is-picked { background: var(--accent); border-color: var(--accent); color: #fff; }
.cal__day.is-picked::after { background: #fff; }
.cal__day:disabled { background: transparent; border-color: transparent; color: #b9ab9c; cursor: default; }
.cal__loading, .slots-empty { grid-column: 1 / -1; margin: 6px 0; color: var(--muted); font-size: .9rem; }
.choice small { display: block; font-size: .76rem; color: var(--muted); font-weight: 500; }
.summary__muted { color: var(--muted); font-size: .86rem; }
.form__error { margin: 0; padding: 12px 14px; border-radius: 10px; background: #fbe9e4; color: #a3361b; font-size: .9rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Booking categories ---------- */
.cat-pills { display: flex; gap: 6px; margin-bottom: 18px; }
.cat-pills button {
  flex: 1; padding: 11px 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
  font: 600 .88rem var(--sans); transition: background .3s, color .3s, border-color .3s;
}
.cat-pills button.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Diamond gallery ---------- */
.diamonds {
  --gap: 12px;
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10; border-radius: 28px;
  background: var(--card);
  container-type: size;
}
.diamonds__grid {
  position: absolute; left: 50%; top: 50%;
  /* a 45° square that covers the whole frame */
  width: calc((100cqw + 100cqh) / 1.4142); aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(45deg);
  display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr);
  gap: var(--gap);
}
.dm { position: relative; margin: 0; overflow: hidden; background: var(--tint); }
.dm--blank { background: transparent; }
.dm img {
  position: absolute; left: 50%; top: 50%;
  width: 165%; height: 165%; max-width: none; object-fit: cover;
  translate: -50% -50%; rotate: -45deg;
  transition: scale 1s cubic-bezier(.2,.7,.2,1), filter .6s, opacity .6s;
}
.dm[data-cat] { cursor: zoom-in; }
.dm[data-cat]:hover img { scale: 1.1; }
.dm--brand { background: var(--accent); display: grid; place-items: center; }
.dm__label {
  rotate: -45deg; text-align: center; color: #fff; line-height: 1.1;
}
.dm__label b { display: block; font: 400 clamp(1.6rem, 3.4cqw, 2.8rem) var(--script); }
.dm__label span { display: block; margin-top: 6px; font: 600 clamp(.6rem, 1cqw, .8rem) var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.dm.is-dim img { filter: grayscale(1); opacity: .28; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 4vmin;
  background: rgba(31, 27, 24, .88); backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.lightbox img { max-width: min(1000px, 100%); max-height: 88vh; width: auto; height: auto; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.lightbox__close {
  position: absolute; top: 18px; right: 22px;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--card); color: var(--ink); font: 300 2rem/1 var(--sans);
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.accordion--faq summary { font-size: 1.3rem; }
.accordion--faq p { margin: 0 0 22px; color: var(--muted); max-width: 620px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: stretch; }
.contact__addr { font-size: 1.15rem; margin: 18px 0 24px; }
.hours { margin: 0 0 22px; max-width: 420px; }
.hours div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; }
.contact__phones { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0 0 22px; }
.contact__phones a { font-family: var(--serif); font-size: 1.7rem; text-decoration: none; }
.contact__phones a:hover { color: var(--accent); }
.social { display: flex; gap: 10px; }
.social a { border: 1px solid var(--accent); color: var(--accent); border-radius: 999px; padding: 8px 18px; font-size: .88rem; font-weight: 600; text-decoration: none; transition: background .3s, color .3s; }
.social a:hover { background: var(--accent); color: #fff; }
.contact__map { border-radius: 24px; overflow: hidden; min-height: 400px; background: var(--card); }
.contact__map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; filter: grayscale(.85) sepia(.15); }

/* ---------- Footer ---------- */
.footer { padding: 34px 0; font-size: .88rem; color: var(--muted); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 18px; }
.footer a { text-decoration: none; }
.footer .logo { color: var(--ink); }

.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 6px 20px 18px;
    transform: translateY(-130%); transition: transform .3s ease; z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
  .burger { display: block; }
  .header__book { margin-left: auto; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .hero__top, .prices, .about, .booking, .faq, .contact, .spot { grid-template-columns: 1fr; }
  .hero__media { height: clamp(300px, 60vw, 480px); }
  .spot__media { max-width: 560px; }
  .diamonds { aspect-ratio: 4 / 3.4; }
  .head__side--end { justify-items: start; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .about__media { max-width: 480px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 62px; }
  .header__book { display: none; }
  .burger { margin-left: auto; }
  .hero__cta .btn { flex: 1; }
  .hero__media { grid-template-columns: 1fr; grid-template-rows: 1.25fr 1fr; height: 600px; gap: 10px; }
  .hero__img { border-radius: 22px; }
  .hero__img--side { border-radius: 22px; }
  .hero__chip { font-size: .8rem; padding: 8px 14px; }
  .hero__chip--a { left: 14px; bottom: 286px; }
  .hero__chip--b { left: auto; right: 14px; top: 14px; }
  .hero__chip--c { right: 14px; bottom: 14px; }
  .tabs button { padding: 9px 14px; font-size: .84rem; }
  .spin { width: 110px; height: 110px; left: -10px; top: -20px; }
  .facts__grid { grid-template-columns: 1fr; gap: 16px; }
  .services { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .stats b { font-size: 1.6rem; }
  .accordion summary { font-size: 1.35rem; }
  .diamonds { --gap: 6px; aspect-ratio: 4 / 5; border-radius: 22px; }
  .dm__label b { font-size: 1.25rem; }
  .dm__label span { font-size: .5rem; letter-spacing: .12em; }
  .contact__map, .contact__map iframe { min-height: 300px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--bg); border-top: 1px solid var(--line);
  }
  .mobile-bar a { padding: 18px 0; text-align: center; text-decoration: none; font-weight: 700; font-size: .95rem; }
  .mobile-bar__primary { background: var(--accent); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Фокус с клавиатура */
.wstep:focus { outline: none; } /* стъпката получава фокус само служебно, при смяна */
.dm[data-cat]:focus-visible { outline: 4px solid var(--accent); outline-offset: -4px; }
.dm[data-cat]:focus-visible img { scale: 1.1; }

/* Затвореното мобилно меню не се обхожда с Tab и не се чете от екранен четец */
@media (max-width: 1000px) {
  .nav { visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
  .nav.is-open { visibility: visible; transition: transform .3s ease, visibility 0s; }
}

/* Телефони с лента за жестове отдолу (iPhone): долните бутони не се скриват под нея */
@media (max-width: 640px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar { padding-bottom: env(safe-area-inset-bottom, 0px); }
}

/* Записването не работи (сървърна грешка) */
.widget__down { display: grid; gap: 10px; justify-items: start; padding: 10px 4px; }
.widget__down h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 0; }
.widget__down p { margin: 0 0 6px; color: var(--muted); }

/* Тесен телефон: надписите на стъпките да не се пренасят на два реда */
@media (max-width: 480px) {
  .steps { gap: 6px; }
  .steps li { font-size: .7rem; white-space: nowrap; }
  .steps li::before { content: none; } /* редът личи от лентичките отгоре */
}

/* Цена в картите с услуги: въздух между „от“ и числото; в цветната карта числото е бяло */
.service__foot span { display: inline-flex; align-items: baseline; gap: .5em; }
.service--feature .service__foot b { color: #fff; }

/* ---------- Неща, които идват от контролния панел ---------- */
/* Качено лого вместо изписаното име */
.logo--img { display: inline-flex; align-items: center; line-height: 0; }
.logo--img img { height: 46px; width: auto; max-width: 210px; object-fit: contain; }
.logo--sm.logo--img img { height: 38px; }
/* Facebook / Instagram без адрес в панела не се показват */
a[data-social][href="#"] { display: none; }
/* Карта, която се зарежда едва след щракване */
.map-ask { min-height: inherit; height: 100%; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 28px; text-align: center; }
.map-ask p { margin: 0; max-width: 30ch; color: var(--muted); }
/* „Добави в Google Календар“ след записан час */
.done #gcal { margin: 8px 6px 0; }

/* ---------- Политика за поверителност (прозорец) ---------- */
.legal { width: min(760px, calc(100vw - 24px)); max-height: min(86vh, 900px); padding: 0; border: 0; border-radius: 22px; background: var(--card); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(31,27,24,.55); }
.legal::backdrop { background: rgba(31,27,24,.55); }
.legal__box { position: relative; padding: 38px 40px 34px; overflow-y: auto; max-height: inherit; font-size: .95rem; line-height: 1.65; }
.legal__box h2 { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin: 0 40px 10px 0; }
.legal__box h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin: 26px 0 8px; }
.legal__box p { margin: 0 0 10px; }
.legal__box ul { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 6px; }
.legal__box a { color: var(--accent); }
.legal__lead, .legal__date { color: var(--muted); }
.legal__date { margin-top: 22px; font-size: .86rem; }
.legal__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--accent); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.legal__close:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.legal__box .btn { margin-top: 6px; }
@media (max-width: 640px) { .legal__box { padding: 30px 20px 26px; } .legal__box h2 { font-size: 1.6rem; } }
.legal__box code { font-family: ui-monospace, Consolas, monospace; font-size: .88em; padding: 1px 5px; border-radius: 5px; background: rgba(181, 96, 63, .1); }
.footer__links a[hidden] { display: none; }

/* ---------- Карти с услуги: заглавието води, границата се вижда ---------- */
.services { gap: 20px; }
.service {
  padding: 32px 30px 26px; min-height: 280px;
  border: 1.5px solid #cbb8a6;
  box-shadow: 0 12px 28px -20px rgba(31,27,24,.4);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service:hover { border-color: var(--accent); box-shadow: 0 24px 46px -24px rgba(181,96,63,.55); }
/* къса теракотена черта горе: при посочване се разтяга по цялата карта */
.service::after {
  content: ""; position: absolute; top: 0; left: 30px; width: 46px; height: 3px;
  border-radius: 0 0 3px 3px; background: var(--accent);
  transition: width .4s cubic-bezier(.65,.05,.25,1);
}
.service:hover::after { width: calc(100% - 60px); }
/* номерът отива в ъгъла, голям и блед, за да не се състезава със заглавието */
.service__num {
  position: absolute; top: 20px; right: 26px; margin: 0;
  font-family: var(--serif); font-size: 2.6rem; font-weight: 400; line-height: 1;
  color: rgba(181,96,63,.26);
}
.service h3 { font-size: 1.85rem; line-height: 1.12; color: var(--ink); margin: 6px 0 12px; padding-right: 58px; }
.service p { color: #4f463f; font-size: 1rem; font-weight: 500; line-height: 1.6; margin: 0 0 24px; }
.service__foot { padding-top: 18px; border-top-color: #cbb8a6; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.service__foot b { font-size: 1.9rem; letter-spacing: 0; text-transform: none; }
.service__foot a {
  padding: 9px 18px; border: 1.5px solid var(--accent); border-radius: 999px;
  font-size: .9rem; letter-spacing: 0; text-transform: none; white-space: nowrap;
  transition: background-color .25s, color .25s, translate .3s;
}
.service:hover .service__foot a, .service__foot a:focus-visible { background: var(--accent); color: #fff; }
.service--feature { border-color: var(--accent); box-shadow: 0 18px 40px -22px rgba(181,96,63,.8); }
.service--feature::after { background: rgba(255,255,255,.85); }
.service--feature .service__num { color: rgba(255,255,255,.34); }
.service--feature h3 { color: #fff; }
.service--feature p { color: rgba(255,255,255,.94); }
.service--feature .service__foot { color: rgba(255,255,255,.9); border-top-color: rgba(255,255,255,.4); }
.service--feature .service__foot a { border-color: rgba(255,255,255,.85); color: #fff; }
.service--feature:hover .service__foot a, .service--feature .service__foot a:focus-visible { background: #fff; color: var(--accent-2); }
@media (max-width: 640px) {
  .service { padding: 28px 22px 22px; min-height: 0; }
  .service::after { left: 22px; }
  .service:hover::after { width: calc(100% - 44px); }
  .service h3 { font-size: 1.65rem; }
}
