/* =========================================================
   Салон „Чар“, Плевен — козметика за лице и тяло
   Палитра: топъл въглен, крем, старо злато
   ========================================================= */

:root {
  --ink: #14100d;
  --ink-soft: #1d1815;
  --ink-line: #2e2721;
  --cream: #f2ece1;
  --cream-dim: #c8bfb0;
  --muted: #8d8275;
  --gold: #c9a44c;
  --gold-bright: #e0c078;
  --rose: #b9836f;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Segoe UI', system-ui, sans-serif;

  --maxw: 1240px;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Фина зърнистост върху целия сайт */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::before {
  content: '';
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.section { padding: clamp(4.5rem, 10vw, 8.5rem) 0; position: relative; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-top: 1.1rem; }
.section-head p { color: var(--cream-dim); max-width: 46ch; margin-top: 1.1rem; }

/* ------------------------------------------------ бутони */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-bright);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: scaleX(1); }
.btn:hover { color: var(--ink); }
.btn > * { position: relative; z-index: 1; }

.btn-solid { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-solid::before { background: var(--gold-bright); }
.btn-solid:hover { color: var(--ink); }

.btn-ghost { border-color: var(--ink-line); color: var(--cream-dim); }
.btn-ghost::before { background: var(--cream); }
.btn-ghost:hover { color: var(--ink); border-color: var(--cream); }

.btn:disabled { opacity: 0.35; cursor: not-allowed; }
.btn:disabled::before { transform: scaleX(0); }

.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.68rem; letter-spacing: 0.14em; }

/* ------------------------------------------------ хедър */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease),
    backdrop-filter 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(20, 16, 13, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--ink-line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 5rem;
}

.logo { display: flex; flex-direction: column; line-height: 1; }
.logo .mark {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}
.logo .mark em { font-style: italic; color: var(--gold); }
.logo .sub {
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.35rem;
}

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.3s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav a:hover { color: var(--cream); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  width: 2.75rem;
  height: 2.75rem;
}
.burger span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--cream);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.burger span + span { margin-top: 6px; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------- герой */

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  position: relative;
  padding-top: 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transform: scale(1.06);
  animation: slowZoom 24s ease-out forwards;
}
@keyframes slowZoom { to { transform: scale(1); } }
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--ink) 18%, rgba(20, 16, 13, 0.7) 52%, rgba(20, 16, 13, 0.3) 100%),
    linear-gradient(to top, var(--ink), transparent 42%);
}

.hero-inner { max-width: 44rem; padding-block: 6rem; }
.hero h1 {
  font-size: clamp(3rem, 9vw, 7rem);
  margin: 1.5rem 0 0;
}
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero p {
  color: var(--cream-dim);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  max-width: 46ch;
  margin-top: 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.8rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem clamp(1.5rem, 3vw, 3rem);
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ink-line);
}
.hero-meta div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 400;
}
.hero-meta div span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------------------------------------------- услуги */

.svc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--ink-line);
  padding-bottom: 1.25rem;
}
.svc-tab {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem 1.1rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.svc-tab:hover { color: var(--cream); }
.svc-tab.active { color: var(--gold); border-color: var(--ink-line); }

.svc-list { display: grid; gap: 0; }
.svc-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--ink-line);
  transition: background 0.35s var(--ease), padding-inline 0.35s var(--ease);
}
.svc-row:hover { background: rgba(201, 164, 76, 0.045); padding-inline: 1.25rem; }
.svc-row h3 { font-size: 1.5rem; }
.svc-row p { color: var(--muted); font-size: 0.9rem; max-width: 60ch; margin-top: 0.3rem; }
.svc-dur {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.svc-price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold);
  white-space: nowrap;
}
.svc-cta { justify-self: end; }

/* ------------------------------------------------- екип */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
/* Един специалист — картата не бива да се разтегля през цялата ширина. */
.team-grid:has(.team-card:only-child) { grid-template-columns: minmax(230px, 340px); }
.team-card { position: relative; }
.team-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ink-soft);
  position: relative;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.05);
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.team-card:hover .team-photo img { transform: scale(1.05); filter: grayscale(0) contrast(1.05); }
.team-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 16, 13, 0.85), transparent 55%);
}
.team-card h3 { font-size: 1.45rem; margin-top: 1.1rem; }
.team-card .role {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.3rem;
}
.team-card .bio { color: var(--muted); font-size: 0.87rem; margin-top: 0.7rem; }

/* --------------------------------------------- галерия */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.6rem;
}
.gallery figure { overflow: hidden; aspect-ratio: 1; background: var(--ink-soft); }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), opacity 0.5s;
  opacity: 0.85;
}
.gallery figure:hover img { transform: scale(1.07); opacity: 1; }
.gallery figure { cursor: zoom-in; }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
/* При по-малко от пет снимки голямата първа клетка разкривява реда. */
.gallery.plain figure:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(8, 6, 5, 0.94);
  cursor: zoom-out;
  animation: fade 0.25s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90svh; object-fit: contain; }
.lightbox .modal-close { position: absolute; top: 1.25rem; right: 1.5rem; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }

/* ------------------------------------------- резервация */

.booking {
  background: var(--ink-soft);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--ink-line);
}
.step-chip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.35s;
}
.step-chip .num {
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  font-size: 0.75rem;
  transition: all 0.35s var(--ease);
}
/* Стъпка може да се скрие (напр. „Специалист“ при един-единствен козметик). */
.step-chip[hidden] { display: none; }
.step-chip.active { color: var(--cream); }
.step-chip.active .num { border-color: var(--gold); color: var(--gold); }
.step-chip.done { color: var(--gold); }
.step-chip.done .num { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.step-panel { display: none; animation: fadeUp 0.5s var(--ease); }
.step-panel.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.8rem;
}
.choice {
  text-align: left;
  background: rgba(242, 236, 225, 0.02);
  border: 1px solid var(--ink-line);
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.choice:hover { border-color: var(--gold); transform: translateY(-2px); }
.choice.selected { border-color: var(--gold); background: rgba(201, 164, 76, 0.09); }
.choice .t { font-family: var(--font-display); font-size: 1.25rem; }
.choice .d { font-size: 0.78rem; color: var(--muted); margin-top: 0.25rem; }
.choice .p { color: var(--gold); font-size: 0.85rem; margin-top: 0.5rem; letter-spacing: 0.08em; }
.choice-avatar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.choice-avatar img,
.choice-avatar .ph {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ink-line);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  color: var(--gold);
  flex: 0 0 auto;
}

/* календар */
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 1rem;
}
.cal-head .m {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: capitalize;
}
.cal-nav { display: flex; gap: 0.5rem; }
.cal-nav button {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--ink-line);
  background: none;
  cursor: pointer;
  color: var(--cream-dim);
  transition: border-color 0.3s, color 0.3s;
}
.cal-nav button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.cal-nav button:disabled { opacity: 0.3; cursor: not-allowed; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.35rem; }
.cal-dow {
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 0.5rem;
}
.cal-day {
  aspect-ratio: 1;
  border: 1px solid transparent;
  background: rgba(242, 236, 225, 0.02);
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
  font-size: 0.9rem;
  color: var(--cream-dim);
  transition: all 0.25s var(--ease);
}
.cal-day:hover:not(:disabled) { border-color: var(--gold); color: var(--cream); }
.cal-day.selected { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.cal-day:disabled { opacity: 0.22; cursor: not-allowed; background: none; }
.cal-day.empty { background: none; border: 0; cursor: default; }
.cal-day .dot {
  position: absolute;
  bottom: 0.45rem;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}
.cal-day.selected .dot { background: var(--ink); }

.slots { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.slot {
  padding: 0.65rem 1rem;
  border: 1px solid var(--ink-line);
  background: none;
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--cream-dim);
  transition: all 0.25s var(--ease);
}
.slot:hover { border-color: var(--gold); color: var(--gold); }
.slot.selected { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: rgba(242, 236, 225, 0.03);
  border: 1px solid var(--ink-line);
  padding: 0.85rem 1rem;
  color: var(--cream);
  transition: border-color 0.3s, background 0.3s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(201, 164, 76, 0.05);
}
/* Отвореният списък на едно меню се рисува от системата: без изричен фон
   светлият текст пада върху бяло и става нечетим. */
.field select option { background: var(--ink-soft); color: var(--cream); }
.field select optgroup { background: var(--ink-soft); color: var(--muted); }
.field textarea { resize: vertical; min-height: 5.5rem; }
.field .hint { font-size: 0.72rem; color: var(--muted); margin-top: 0.4rem; }

.summary {
  border: 1px solid var(--ink-line);
  padding: 1.5rem;
  background: rgba(242, 236, 225, 0.02);
  position: sticky;
  top: 6rem;
}
.summary h4 {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 400;
  margin-bottom: 1.1rem;
}
.summary dl { display: grid; gap: 0.75rem; }
.summary .r {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ink-line);
}
.summary .r:last-child { border-bottom: 0; padding-bottom: 0; }
.summary .r dt { color: var(--muted); }
.summary .r dd { text-align: right; }
.summary .total { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); }

.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-line);
}

.notice {
  padding: 0.9rem 1.15rem;
  border-left: 2px solid var(--gold);
  background: rgba(201, 164, 76, 0.07);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}
.notice.error { border-color: #c0614f; background: rgba(192, 97, 79, 0.1); }

.done-card { text-align: center; padding: clamp(2rem, 6vw, 4rem) 0; }
.done-card .tick {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.75rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  animation: pop 0.6s var(--ease);
}
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
.done-card h3 { font-size: clamp(2rem, 5vw, 3rem); }
.done-card .code {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin: 1.25rem 0 0.5rem;
}
.done-recap {
  display: inline-grid;
  gap: 0.6rem;
  margin: 2rem auto 0;
  text-align: left;
  border: 1px solid var(--ink-line);
  padding: 1.5rem 2rem;
}
.done-recap .r { display: flex; justify-content: space-between; gap: 2.5rem; font-size: 0.9rem; }
.done-recap .r span:first-child { color: var(--muted); }

.skeleton {
  height: 2.6rem;
  background: linear-gradient(90deg, rgba(242,236,225,0.03), rgba(242,236,225,0.08), rgba(242,236,225,0.03));
  background-size: 200% 100%;
  animation: shimmer 1.3s infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------------------------------------------- контакти */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.contact-block h3 {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 400;
  margin-bottom: 1rem;
}
.contact-block p, .contact-block a { color: var(--cream-dim); }
.contact-block a:hover { color: var(--gold); }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.hours-table td { padding: 0.5rem 0; border-bottom: 1px solid var(--ink-line); color: var(--cream-dim); }
.hours-table td:last-child { text-align: right; }
.hours-table tr.today td { color: var(--gold); }

/* ------------------------------------------------- футър */

.site-footer {
  border-top: 1px solid var(--ink-line);
  padding: 3rem 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer a:hover { color: var(--gold); }

/* ------------------------------------------------- модал */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 1.25rem;
  background: rgba(10, 8, 6, 0.85);
  backdrop-filter: blur(6px);
}
.modal.open { display: grid; }
.modal-card {
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  width: min(520px, 100%);
  max-height: 90svh;
  overflow-y: auto;
  animation: fadeUp 0.4s var(--ease);
}
.modal-card h3 { font-size: 1.8rem; margin-bottom: 0.4rem; }
.modal-card .lead { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.5rem; }
.modal-close {
  float: right;
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.25rem;
}
.modal-close:hover { color: var(--gold); }

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid currentColor;
}
.status-pending { color: var(--gold); }
.status-confirmed { color: #7fb08a; }
.status-cancelled { color: #c0614f; }
.status-done { color: var(--muted); }
.status-noshow { color: #c0614f; }

/* --------------------------------------------- анимации */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

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

/* --------------------------------------------- адаптив */

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 760px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 5rem 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(20, 16, 13, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ink-line);
    padding: 1rem var(--pad) 2rem;
    transform: translateY(-120%);
    transition: transform 0.5s var(--ease);
  }
  .nav.open { transform: none; }
  .nav a { width: 100%; padding: 1rem 0; border-bottom: 1px solid var(--ink-line); font-size: 0.9rem; }
  .nav .btn { margin-top: 1.25rem; width: 100%; }

  .svc-row { grid-template-columns: 1fr auto; row-gap: 0.75rem; }
  .svc-row h3 { font-size: 1.3rem; }
  .svc-cta { grid-column: 1 / -1; justify-self: start; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 1; }
  .hero-meta { gap: 1.5rem 2rem; }
}

/* При тясна лента auto-fit побира само една колона, а първата снимка иска две —
   затова тук решетката се фиксира на две равни колони, а голямата заема целия ред. */
@media (max-width: 600px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:first-child { grid-column: 1 / -1; }
}
