:root {
  --deep: linear-gradient(155deg, #3b2b20 0%, #241913 48%, #120c09 100%);
  --cream: #f6f0e8;
  --paper: #fcf8f3;
  --sand: #eee3d4;
  --clay: #b08a4f;
  --clay-deep: #7a5528;
  --cocoa: #2a1f1a;
  --ink: #231a15;
  --muted: #76665a;
  --sage: #9a83c9;
  --line: rgba(42, 31, 26, .12);
  --shadow: 0 20px 50px -24px rgba(42, 31, 26, .35);
  --radius: 22px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--clay-deep); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.05; margin: 0; color: var(--cocoa); }
h2 { font-size: clamp(38px, 6vw, 64px); }
h3 { font-size: 26px; }
p { margin: 0 0 .8em; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 600; color: var(--clay); margin-bottom: 14px; }
[hidden] { display: none !important; }

/* ---------- buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 999px; padding: 14px 26px;
  font: 600 15px/1 var(--body); cursor: pointer; text-decoration: none;
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: linear-gradient(135deg, #a07a43, #3a281b); background-size: 160% 160%; background-position: 0 0; color: var(--cream); box-shadow: 0 12px 30px -12px rgba(42,31,26,.6); }
.btn-primary:hover { background-position: 100% 100%; }
.btn-ghost { background: transparent; color: var(--cocoa); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--cocoa); }
.btn-danger { background: #fff; color: #a33; border-color: #e6c3c3; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.linkish { background: none; border: 0; color: var(--clay-deep); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }

label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 14px; }
input, textarea, select {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  font: 15px/1.4 var(--body); transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 4px rgba(176,138,79,.15); }
.form-error { color: #a33; font-size: 14px; min-height: 1.2em; margin: 4px 0 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- topbar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 48px); transition: background .4s, box-shadow .4s, padding .4s;
}
.topbar.is-scrolled { background: rgba(246,240,232,.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cocoa); font: 600 22px/1 var(--display); }
.brand em { font-style: italic; color: var(--clay); font-weight: 500; }
.brand-mark { width: 30px; height: 30px; border-radius: 50%; background: url(/img/favicon.svg) center/cover; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(180deg); }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn {
  display: flex; align-items: center; gap: 10px; border: 0; cursor: pointer; z-index: 60; position: relative;
  background: var(--cocoa); color: var(--cream); padding: 10px 16px; border-radius: 999px; font: 600 14px var(--body);
}
.burger { width: 18px; height: 10px; position: relative; }
.burger i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger i:first-child { top: 0; }
.burger i:last-child { top: 8px; }
.menu-open .burger i:first-child { top: 4px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 4px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--deep); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  clip-path: circle(0 at calc(100% - 60px) 36px); transition: clip-path .7s var(--ease); visibility: hidden;
}
.menu-open .topbar { background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .brand { color: var(--cream); }
.menu-open .topbar-actions .btn-ghost { color: var(--cream); border-color: rgba(246,240,232,.25); }
.menu-open .menu-btn { background: var(--cream); color: var(--cocoa); }
.menu-open .menu { clip-path: circle(150% at calc(100% - 60px) 36px); visibility: visible; }
.menu { overflow-y: auto; }
/* margin: auto центрирует список, но при нехватке высоты даёт прокрутить его до самого верха */
.menu ul { list-style: none; margin: auto; padding: 84px 0 32px; text-align: center; }
.menu li { overflow: hidden; }
.menu a {
  display: inline-block; color: var(--cream); text-decoration: none; font: 500 clamp(34px, 6.5vh, 60px)/1.15 var(--display);
  transform: translateY(110%); transition: transform .6s var(--ease), color .3s;
}
.menu a:hover { color: var(--sand); font-style: italic; }
.menu-open .menu a { transform: none; }
.menu-open .menu li:nth-child(n) a { transition-delay: calc(.15s + var(--i, 0) * .045s); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px clamp(16px, 5vw, 64px) 80px; overflow: hidden; }
.hero-inner { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero-title { font-size: clamp(48px, 7.2vw, 104px); letter-spacing: -.015em; line-height: .95; text-wrap: balance; margin-bottom: 18px; }
.hero-sub { font: italic 500 clamp(22px, 2.6vw, 30px)/1.3 var(--display); color: var(--clay-deep); max-width: 30ch; }
.hero-preview { color: var(--muted); max-width: 48ch; font-size: 17px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-copy > * { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .22s; }
.hero-copy > :nth-child(4) { animation-delay: .32s; }
.hero-copy > :nth-child(5) { animation-delay: .42s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 20px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--clay); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) clamp(16px, 5vw, 64px); max-width: 1328px; margin: 0 auto; }
.section-tint { max-width: none; background: var(--paper); }
.section-tint > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 44px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.section-lead { color: var(--muted); max-width: 60ch; margin-top: 14px; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.empty { color: var(--muted); padding: 40px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); grid-column: 1 / -1; }

/* ---------- schedule ---------- */
.schedule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1200px; margin: 0 auto; }
.schedule-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.schedule-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.schedule-card-accent { background: var(--deep); color: var(--cream); border-color: transparent; }
.schedule-card-accent h3, .schedule-card-accent .hours { color: var(--cream); }
.schedule-card-accent .muted { color: rgba(246,240,232,.7); }
.schedule-card .tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--sand); color: var(--cocoa); margin-bottom: 18px; }
.schedule-card-accent .tag { background: var(--clay); color: var(--cream); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 22px 0; }
.week span { text-align: center; padding: 12px 0; border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--muted); background: rgba(42,31,26,.05); transition: transform .4s var(--ease); }
.week span.on { background: var(--clay); color: var(--cream); }
.schedule-card-accent .week span { background: rgba(246,240,232,.08); color: rgba(246,240,232,.5); }
.schedule-card-accent .week span.on { background: var(--cream); color: var(--cocoa); }
.week span.on:hover { transform: translateY(-3px); }
.hours { font: 600 34px/1 var(--display); color: var(--cocoa); margin-bottom: 8px; }
.map { margin-top: 24px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: rgba(42,31,26,.06); position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-fallback { display: grid; place-items: center; text-align: center; gap: 8px; padding: 20px; height: 100%; color: inherit; text-decoration: none;
  background: repeating-linear-gradient(45deg, rgba(176,138,79,.08) 0 12px, transparent 12px 24px); }
.map-fallback b { font-size: 16px; }
.map-fallback span { font-size: 13px; opacity: .75; }
.map-link { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; }
.schedule-card-accent .map-link { color: var(--sand); }
.schedule-card-accent .phone-link { color: var(--cream); margin-bottom: 8px; }
.schedule-card-accent .phone-link:hover { color: var(--sand); }
.schedule-card-accent .phone-link::before { background-color: rgba(246,240,232,.92); }
.schedule-card { display: flex; flex-direction: column; align-items: flex-start; }
.schedule-card > .week, .schedule-card > .map { align-self: stretch; }
.schedule-card .map { margin-top: auto; }
.schedule-card .map-gap { flex: 1; min-height: 24px; }
.phone-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font: 600 22px/1.2 var(--body); color: var(--cocoa); text-decoration: none; }
.phone-link:hover { color: var(--clay-deep); }
.phone-link::before { content: ''; width: 40px; height: 40px; border-radius: 50%; background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232a1f1a'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.6 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.6 3.6a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/18px no-repeat; }

/* ---------- booking ---------- */
.booking { max-width: 1200px; margin: 0 auto; background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: clamp(18px, 3vw, 36px); }
.booking-steps { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.step { flex: 1; min-width: 70px; text-align: center; padding: 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); background: var(--cream); transition: background .4s, color .4s; }
.step.is-active { background: var(--cocoa); color: var(--cream); }
.step.is-done { background: var(--sand); color: var(--cocoa); }
.booking-body { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.calendar { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head strong { font: 600 26px/1 var(--display); text-transform: capitalize; }
.cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; color: var(--cocoa); transition: background .2s; }
.cal-nav:hover:not(:disabled) { background: var(--cream); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); padding: 6px 0; }
.cal-day { aspect-ratio: 1; border: 0; border-radius: 12px; background: transparent; font: 600 15px var(--body); color: #c6b8ad; cursor: default; position: relative; transition: transform .25s var(--ease), background .25s, color .25s; }
.cal-day.avail { background: var(--cream); color: var(--cocoa); cursor: pointer; }
.cal-day.avail::after { content: ''; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--sage); }
.cal-day.avail:hover { transform: scale(1.08); background: var(--sand); }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--clay); }
.cal-day.selected { background: var(--cocoa); color: var(--cream); animation: pop .4s var(--ease); }
.cal-day.selected::after { background: var(--cream); }
@keyframes pop { 50% { transform: scale(1.15); } }
.cal-legend { display: flex; gap: 16px; font-size: 13px; color: var(--muted); margin-top: 14px; flex-wrap: wrap; }
.cal-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; margin-right: 6px; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.cal-legend i.off { background: transparent; }

.booking-panel { min-height: 320px; }
.panel-enter { animation: panel .55s var(--ease); }
@keyframes panel { from { opacity: 0; transform: translateX(24px); } }
.panel-placeholder { height: 100%; min-height: 320px; display: grid; place-items: center; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); padding: 30px; }
.panel-placeholder strong { display: block; font: 600 28px/1.1 var(--display); color: var(--cocoa); margin-bottom: 8px; }
.panel-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-title h3 { font-size: 30px; }
.svc-list { display: grid; gap: 10px; }
.svc {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; text-align: left;
  padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer;
  font: inherit; color: inherit; transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
  opacity: 0; animation: rise .5s var(--ease) forwards; animation-delay: calc(var(--i) * 50ms);
}
.svc:hover { border-color: var(--clay); transform: translateX(4px); box-shadow: 0 10px 24px -16px rgba(42,31,26,.5); }
.svc img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.svc b { display: block; font-size: 15px; }
.svc small { color: var(--muted); }
.svc .price { font: 600 22px/1 var(--display); color: var(--cocoa); white-space: nowrap; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-bottom: 18px; }
.slot { padding: 12px 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: 600 15px var(--body); cursor: pointer; color: var(--cocoa); transition: all .25s var(--ease); opacity: 0; animation: rise .4s var(--ease) forwards; animation-delay: calc(var(--i) * 18ms); }
.slot:hover { border-color: var(--clay); }
.slot.selected { background: var(--cocoa); color: var(--cream); border-color: var(--cocoa); }
.summary { background: var(--cream); border-radius: 16px; padding: 16px 18px; margin-bottom: 18px; font-size: 15px; }
.summary div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.summary span { color: var(--muted); }
.success { text-align: center; padding: 30px 10px; }
.success-mark { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; animation: pop .6s var(--ease); }
.success-mark svg { width: 40px; stroke: #fff; stroke-width: 3; fill: none; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .25s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.back-link { font-size: 14px; }

/* ---------- price ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; }
.price-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; }
.price-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.price-card:hover img { transform: scale(1.06); }
.price-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.price-card h3 { font-size: 26px; }
.price-card p { color: var(--muted); font-size: 14px; flex: 1; }
.price-card .meta { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
.price-card .meta strong { font: 600 30px/1 var(--display); color: var(--cocoa); }

/* ---------- photos / videos ---------- */
.photo-grid { columns: 3 260px; column-gap: 18px; }
.photo { break-inside: avoid; margin: 0 0 18px; border-radius: 18px; overflow: hidden; cursor: zoom-in; position: relative; }
.photo img { width: 100%; transition: transform .9s var(--ease), filter .5s; }
.photo:hover img { transform: scale(1.05); }
.photo figcaption { position: absolute; inset: auto 0 0; padding: 34px 16px 14px; color: #fff; font-size: 14px; background: linear-gradient(transparent, rgba(20,14,10,.78)); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; }
.video { margin: 0; border-radius: 18px; overflow: hidden; background: var(--cocoa); }
.video video, .video iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; background: #000; }
.video figcaption { padding: 12px 16px; color: var(--cream); font-size: 14px; }

/* ---------- articles ---------- */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.article-card { background: #fff; border-radius: var(--radius); overflow: hidden; cursor: pointer; border: 1px solid var(--line); text-align: left; padding: 0; font: inherit; color: inherit; transition: transform .5s var(--ease), box-shadow .5s; }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.article-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-card .body { padding: 20px 22px 24px; }
.article-card h3 { margin-bottom: 8px; }
.article-card p { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card small { color: var(--clay); font-weight: 600; }
.article-full img { border-radius: 16px; margin-bottom: 20px; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-full h2 { font-size: 42px; margin-bottom: 16px; }
.article-full .text p { font-size: 17px; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; max-width: 1200px; margin: 0 auto; align-items: start; }
.review-list { display: grid; gap: 16px; }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.review header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.review b { font-size: 16px; }
.stars { color: var(--clay); letter-spacing: 2px; }
.review p { margin: 0; white-space: pre-line; }
.review small { color: var(--muted); }
.review-admin { display: flex; gap: 8px; margin-top: 12px; }
.review-form-wrap { background: var(--deep); color: var(--cream); border-radius: var(--radius); padding: 28px; position: sticky; top: 90px; }
.review-form-wrap h3 { color: var(--cream); margin-bottom: 14px; }
.review-form-wrap label { color: rgba(246,240,232,.7); }
.review-form-wrap .btn-primary { background: var(--cream); color: var(--cocoa); }
.rating-pick { display: flex; gap: 4px; margin: 6px 0 14px; }
.rating-pick button { background: none; border: 0; font-size: 28px; cursor: pointer; color: rgba(246,240,232,.3); transition: transform .2s, color .2s; padding: 0 2px; }
.rating-pick button.on { color: #e6c58f; }
.rating-pick button:hover { transform: scale(1.2); }

/* ---------- license ---------- */
.license { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.license-media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; margin-top: 36px; }
.cert-grid:empty { display: none; }
.cert { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; cursor: zoom-in; transition: transform .4s var(--ease), box-shadow .4s; }
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cert img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: var(--cream); border-radius: 10px; }
.cert figcaption { font-size: 13px; color: var(--muted); padding: 8px 4px 2px; }
.license-copy p { font-size: 17px; }
.license-number { font-weight: 600; color: var(--clay-deep); }

/* ---------- footer ---------- */
.footer { background: var(--deep); color: var(--cream); padding: 64px clamp(16px, 5vw, 64px) 28px; }
.footer a { color: var(--sand); display: block; text-decoration: none; margin-bottom: 4px; }
.footer a:hover { color: #fff; }
.footer .muted { color: rgba(246,240,232,.6); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { font: 600 30px/1 var(--display); }
.footer-brand em { color: var(--sand); }
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(246,240,232,.5); }
.footer-bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(246,240,232,.12); font-size: 14px; }
.footer-bottom a { display: inline; }

/* ---------- modal & drawer ---------- */
.modal, .drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.modal { z-index: 85; }
.modal.is-open, .drawer.is-open { visibility: visible; }
.modal-backdrop, .drawer-backdrop { position: absolute; inset: 0; background: rgba(30,22,18,.5); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
.is-open .modal-backdrop, .is-open .drawer-backdrop { opacity: 1; }
.modal-card {
  position: relative; margin: 6vh auto; width: min(560px, calc(100% - 32px)); max-height: 88vh; overflow: auto;
  background: var(--paper); border-radius: 26px; padding: 34px clamp(20px, 4vw, 38px); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(30px) scale(.97); transition: all .45s var(--ease);
}
.modal.wide .modal-card { width: min(860px, calc(100% - 32px)); }
.is-open .modal-card { opacity: 1; transform: none; }
.modal-card h2 { font-size: 40px; margin-bottom: 18px; }
.modal-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--cream); font-size: 22px; line-height: 1; cursor: pointer; color: var(--cocoa); transition: transform .3s var(--ease); }
.modal-close:hover { transform: rotate(90deg); }
.tabs { display: flex; gap: 6px; background: var(--cream); padding: 4px; border-radius: 999px; margin-bottom: 22px; }
.tabs button { flex: 1; border: 0; background: none; padding: 10px; border-radius: 999px; font: 600 14px var(--body); color: var(--muted); cursor: pointer; transition: all .3s; }
.tabs button.on { background: #fff; color: var(--cocoa); box-shadow: 0 4px 12px -6px rgba(0,0,0,.2); }
.my-booking { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.my-booking.cancelled { opacity: .5; text-decoration: line-through; }

.drawer-card {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(920px, 100%); background: var(--paper);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .55s var(--ease);
}
.is-open .drawer-card { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 28px; border-bottom: 1px solid var(--line); position: relative; }
.drawer-head h2 { font-size: 36px; }
.drawer-head .modal-close { position: static; }
.admin-tabs { display: flex; gap: 6px; padding: 12px 20px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.admin-tabs button { flex: none; border: 1px solid var(--line); background: #fff; padding: 8px 14px; border-radius: 999px; font: 600 13px var(--body); color: var(--muted); cursor: pointer; }
.admin-tabs button.on { background: var(--cocoa); color: var(--cream); border-color: var(--cocoa); }
.drawer-body { flex: 1; overflow: auto; padding: 24px 28px 60px; }
.admin-section h3 { margin: 6px 0 14px; }
.admin-help { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.admin-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; margin-bottom: 10px; }
.admin-item img { width: 72px; height: 54px; object-fit: cover; border-radius: 10px; background: var(--cream); }
.admin-item .actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.admin-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-bottom: 24px; }
.day-picks { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 16px; }
.day-picks label { margin: 0; }
.day-picks input { display: none; }
.day-picks span { display: inline-block; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; color: var(--muted); }
.day-picks input:checked + span { background: var(--cocoa); color: var(--cream); border-color: var(--cocoa); }
.file-row { display: flex; gap: 10px; align-items: center; margin: 6px 0 14px; flex-wrap: wrap; }
.file-row img { width: 90px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--cream); }
.file-row input[type=file] { width: auto; flex: 1; min-width: 180px; }
.bk-day { margin: 18px 0 8px; font: 600 22px var(--display); }
.bk-day::first-letter { text-transform: uppercase; }
.bk { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; font-size: 14px; }
.bk b { font-size: 18px; }
.bk.cancelled { opacity: .45; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; }
.chip { background: var(--cream); border-radius: 999px; padding: 6px 10px 6px 14px; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.chip button { border: 0; background: none; cursor: pointer; font-size: 16px; color: var(--muted); }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, 140%);
  background: var(--cocoa); color: var(--cream); padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  box-shadow: var(--shadow); transition: transform .5s var(--ease), opacity .4s; max-width: calc(100% - 32px); text-align: center;
  opacity: 0; pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast.error { background: #8f2f2f; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner, .schedule-grid, .booking-body, .reviews, .license { grid-template-columns: 1fr; }
  .review-form-wrap { position: static; }
  .brand-text em { display: none; }
}
@media (max-width: 560px) {
  .menu-btn-label { display: none; }
  .topbar-actions .btn-sm { padding: 8px 12px; font-size: 13px; }
  .brand-text { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 52px 1fr; }
  .svc img { width: 52px; height: 52px; }
  .svc .price { grid-column: 2; font-size: 18px; }
  .admin-item, .bk { grid-template-columns: 1fr; }
  .admin-item img { width: 100%; height: 140px; }
  .drawer-body { padding: 18px 16px 60px; }
  .week span { padding: 10px 0; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- фото-фон с параллаксом ---------- */
body { background: #120c09; }
.site-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.site-bg-img { position: absolute; left: 0; right: 0; top: 0; height: max(135vh, 62vw); background: #120c09 60% 30% / cover no-repeat; transform: scale(1.12); transform-origin: 50% 20%; will-change: transform; }
main, .footer { position: relative; z-index: 1; }
.hero { background: transparent; color: var(--cream); }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(14,10,7,.82) 0%, rgba(14,10,7,.55) 38%, rgba(14,10,7,.08) 62%, rgba(14,10,7,0) 100%),
  linear-gradient(0deg, rgba(14,10,7,.55) 0%, rgba(14,10,7,0) 30%); }
.hero-inner { grid-template-columns: minmax(0, 620px) 1fr; }
.hero .eyebrow { color: #d8b77c; }
.hero-title { color: #fbf6ee; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-sub { color: #e6c58f; }
.hero-preview { color: rgba(251,246,238,.82); }
.hero .btn-ghost { color: #fbf6ee; border-color: rgba(251,246,238,.4); }
.hero .btn-ghost:hover { border-color: #fbf6ee; background: rgba(251,246,238,.08); }
.hero .scroll-hint { border-color: rgba(251,246,238,.4); }
.hero .scroll-hint span { background: #fbf6ee; }
.topbar:not(.is-scrolled) .brand { color: #fbf6ee; }
.topbar:not(.is-scrolled) .btn-ghost { color: #fbf6ee; border-color: rgba(251,246,238,.35); }
.topbar:not(.is-scrolled) .menu-btn { background: rgba(251,246,238,.92); color: var(--cocoa); }
.photo-window { position: relative; z-index: 1; min-height: 62vh; display: grid; place-items: center; padding: 60px clamp(16px, 5vw, 64px);
  background: linear-gradient(180deg, rgba(14,10,7,.35), rgba(14,10,7,.15) 50%, rgba(14,10,7,.45)); }
.photo-window p { margin: 0; max-width: 22ch; text-align: center; font: italic 500 clamp(30px, 4.6vw, 56px)/1.15 var(--display); color: #fbf6ee; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
@media (max-width: 900px) {
  .site-bg-img { height: 120vh; background-position: 76% 62%; }
  .hero { padding-top: 38vh; padding-bottom: 72px; }
  .hero-title { font-size: clamp(40px, 11vw, 56px); }
  .hero-preview { font-size: 15px; }
  .hero { align-items: flex-end; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-shade { background: linear-gradient(0deg, rgba(14,10,7,.95) 0%, rgba(14,10,7,.82) 40%, rgba(14,10,7,.1) 66%, rgba(14,10,7,.25) 100%); }
}
@media (prefers-reduced-motion: reduce) { .site-bg-img { transform: none !important; } }

/* ---------- анимации: свет свечей, золотые линии ---------- */
.hero-shade::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(38vmax 26vmax at 82% 38%, rgba(255,190,110,.20), transparent 70%),
              radial-gradient(26vmax 20vmax at 12% 58%, rgba(255,175,95,.16), transparent 70%);
  animation: candle 5.5s ease-in-out infinite alternate; }
@keyframes candle { 0% { opacity: .55; } 30% { opacity: .9; } 55% { opacity: .7; } 80% { opacity: 1; } 100% { opacity: .75; } }
.section-head .eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.section-head .eyebrow::before { content: ''; height: 1px; width: 0; background: var(--clay); transition: width 1.1s .25s var(--ease); }
.section-head.is-in .eyebrow::before { width: 36px; }
.hero .eyebrow::before { content: ''; display: inline-block; vertical-align: middle; height: 1px; width: 36px; margin-right: 12px; background: #d8b77c; transform-origin: left; animation: line 1.2s .4s var(--ease) both; }
@keyframes line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hero-shade::after { animation: none; } }

/* =========================================================
   Тёмная тема: фото-фон с параллаксом на весь сайт,
   разделы — полупрозрачное «стекло» поверх него
   ========================================================= */
.site-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, rgba(12,8,6,.55), rgba(6,4,3,.92));
  opacity: var(--veil, .15); transition: opacity .2s linear; }
main, .footer {
  --ink: #efe5d8; --cocoa-text: #f7eee2; --muted: #bba994; --line: rgba(230,196,140,.16);
  --paper: rgba(22,15,10,.74); --glass: rgba(20,14,9,.74); --glass-2: rgba(255,236,206,.06);
  --sand: rgba(216,176,108,.16); --clay: #d4ab68; --clay-deep: #e6c48b; --gold: #d4ab68;
  --shadow: 0 30px 60px -30px rgba(0,0,0,.8);
  color: var(--ink);
}
main h1, main h2, main h3, .footer h3 { color: var(--cocoa-text); }
main .section-head h2 { text-shadow: 0 2px 24px rgba(0,0,0,.5); }
main .section-lead, main .muted { color: var(--muted); }
.section, .section-tint { background: transparent; }
.glassy, .booking, .schedule-card, .price-card, .article-card, .review, .cert, .empty, .video, .panel-placeholder {
  background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 30px 60px -34px rgba(0,0,0,.85);
}
.schedule-card-accent { background: linear-gradient(160deg, rgba(212,171,104,.28), rgba(30,21,14,.72) 55%); border-color: rgba(230,196,140,.3); }
.schedule-card .tag { color: var(--cocoa-text); }
.schedule-card-accent .tag { background: var(--gold); color: #1b130c; }
.week span { background: rgba(255,236,206,.06); color: rgba(239,229,216,.45); }
.week span.on { background: var(--gold); color: #1b130c; }
.schedule-card-accent .week span.on { background: #f7eee2; color: #1b130c; }
.hours, .phone-link, .svc .price, .price-card .meta strong, .panel-placeholder strong { color: var(--cocoa-text); }
.phone-link::before { background-color: rgba(247,238,226,.9); }
.map { background: rgba(255,236,206,.05); }
main .btn-ghost { color: var(--cocoa-text); border-color: rgba(247,238,226,.3); }
main .btn-ghost:hover { border-color: var(--gold); background: rgba(212,171,104,.1); }
.btn-primary { background: linear-gradient(135deg, #d8b06c, #8a6431 55%, #4a331d); background-size: 180% 180%; color: #fff8ee; }
/* запись */
.step { background: var(--glass-2); color: var(--muted); }
.step.is-active { background: var(--gold); color: #1b130c; }
.step.is-done { background: var(--sand); color: var(--cocoa-text); }
.cal-nav { background: var(--glass-2); color: var(--cocoa-text); }
.cal-nav:hover:not(:disabled) { background: var(--sand); }
.cal-day { color: rgba(239,229,216,.25); }
.cal-day.avail { background: var(--glass-2); color: var(--cocoa-text); }
.cal-day.avail::after { background: var(--gold); }
.cal-day.avail:hover { background: var(--sand); }
.cal-day.selected { background: var(--gold); color: #1b130c; }
.cal-day.selected::after { background: #1b130c; }
.cal-legend i { background: var(--glass-2); }
.svc, .slot { background: var(--glass-2); color: var(--ink); }
.svc:hover, .slot:hover { border-color: var(--gold); box-shadow: 0 10px 30px -16px rgba(212,171,104,.45); }
.slot.selected { background: var(--gold); color: #1b130c; border-color: var(--gold); }
.summary { background: var(--glass-2); }
.success-mark { background: var(--gold); }
main input, main textarea, main select { background: rgba(255,236,206,.06); color: var(--ink); border-color: var(--line); }
main input::placeholder, main textarea::placeholder { color: rgba(239,229,216,.4); }
main input:focus, main textarea:focus, main select:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,171,104,.18); }
main label { color: var(--muted); }
/* карточки */
.price-card:hover, .article-card:hover, .cert:hover { box-shadow: 0 30px 60px -26px rgba(0,0,0,.9), 0 0 0 1px rgba(212,171,104,.35); }
.price-card .meta { border-top-color: var(--line); }
.cert img { background: rgba(255,236,206,.08); }
.stars { color: var(--gold); }
.review-form-wrap { background: linear-gradient(160deg, rgba(212,171,104,.22), rgba(24,17,12,.75) 60%); border: 1px solid rgba(230,196,140,.28); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.review-form-wrap .btn-primary { background: var(--gold); color: #1b130c; }
.license-copy p { color: var(--ink); }
.license-number { color: var(--gold); }
/* шапка сайта и подвал */
.topbar.is-scrolled { background: rgba(16,11,8,.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1px 0 rgba(230,196,140,.14); }
.topbar .brand { color: #fbf6ee; }
.topbar .btn-ghost { color: #fbf6ee; border-color: rgba(251,246,238,.3); }
.topbar .menu-btn { background: rgba(251,246,238,.92); color: #2a1f1a; }
.footer { background: rgba(10,7,5,.78); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-top: 1px solid rgba(230,196,140,.14); }
.footer a { color: var(--gold); }
.photo-window { background: transparent; min-height: 70vh; }
.photo-window p { color: #fff6e8; }
/* золотая подсветка при появлении карточек */
.reveal.price-card, .reveal.article-card, .reveal.review, .reveal.cert { transform: translateY(40px) scale(.98); }
.reveal.is-in.price-card, .reveal.is-in.article-card, .reveal.is-in.review, .reveal.is-in.cert { transform: none; }

.price-card img, .article-card img, .svc img { filter: saturate(.85) brightness(.92); }
.license-copy { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.footer-brand em { color: var(--gold); }
.footer .muted, .footer-label { color: rgba(239,229,216,.55); }

/* ---------- админка: надписи ---------- */
.text-group { border-bottom: 1px solid var(--line); padding: 4px 0; }
.text-group:last-of-type { border-bottom: 0; }
.text-group summary { cursor: pointer; font: 600 22px var(--display); padding: 10px 0; }
.text-group[open] summary { margin-bottom: 6px; }
.text-field { font-size: 14px; color: var(--muted); }
.text-field textarea { min-height: 70px; }
.texts-save { position: sticky; bottom: -20px; background: #fff; padding: 14px 0 6px; margin-top: 10px; border-top: 1px solid var(--line); }

/* ---------- разделы прайса (вкладки) ---------- */
.price-tabs { display: flex; flex-wrap: wrap; gap: 10px; max-width: 1200px; margin: -14px auto 22px; }
.price-tabs[hidden] { display: none; }
.price-tab { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--glass); color: var(--ink); font: 500 21px/1.1 var(--display); cursor: pointer;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background .35s, color .35s, border-color .35s, box-shadow .35s, transform .35s var(--ease); }
.price-tab small { font: 600 12px/1 var(--body); padding: 4px 7px; border-radius: 999px; background: var(--glass-2); color: var(--muted); transition: inherit; }
.price-tab:hover { border-color: var(--gold); transform: translateY(-2px); }
.price-tab.on { background: var(--gold); color: #1b130c; border-color: var(--gold); box-shadow: 0 14px 30px -14px rgba(212,171,104,.7); }
.price-tab.on small { background: rgba(27,19,12,.16); color: #1b130c; }
.price-desc { max-width: 1200px; margin: 0 auto 26px; color: var(--muted); animation: rise .6s var(--ease) both; }
.svc-tabs { margin: 4px 0 14px; gap: 8px; }
.svc-tabs .price-tab { font-size: 17px; padding: 8px 15px; -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--glass-2); }
.svc-tabs .price-tab.on { background: var(--gold); }
@media (max-width: 560px) { .price-tab { font-size: 18px; padding: 9px 16px; } .cat-item { grid-template-columns: 1fr; } }
/* админка: разделы */
.cat-item { grid-template-columns: 1fr auto; }
.svc-admin-group { margin-bottom: 18px; }
.svc-admin-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 12px; }
.svc-admin-head h4 { font: 600 24px var(--display); margin: 0; }
.admin-empty { color: var(--muted); font-size: 14px; padding: 4px 2px 8px; }

/* ---------- просмотр фото: листается свайпом, стрелками, колёсиком, мышкой ---------- */
.gallery { position: fixed; inset: 0; z-index: 90; background: rgba(8,5,3,.94); visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s .35s; }
.gallery.is-open { visibility: visible; opacity: 1; transition: opacity .35s; }
.gallery-track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; cursor: grab; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.dragging { scroll-snap-type: none; cursor: grabbing; }
.g-slide { flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 64px 16px 56px; }
.g-slide img { max-width: min(100%, 1400px); max-height: calc(100% - 40px); object-fit: contain; border-radius: 10px; user-select: none; -webkit-user-drag: none; box-shadow: 0 30px 80px -30px #000; transform: scale(.96); opacity: .4; transition: transform .45s var(--ease), opacity .45s; }
.gallery.is-open .g-slide img { transform: none; opacity: 1; }
.g-slide figcaption { color: #e9dcc8; font-size: 15px; text-align: center; max-width: 60ch; }
.gallery-count { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: rgba(239,229,216,.6); font-size: 13px; letter-spacing: .12em; pointer-events: none; }
.gallery-close { position: absolute; top: 14px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #f6f0e8; font-size: 24px; line-height: 1; cursor: pointer; transition: background .3s, transform .3s var(--ease); }
.gallery-close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }
.gallery.single .gallery-track { cursor: default; }
.svc-move { width: auto; max-width: 190px; margin: 0; padding: 7px 30px 7px 12px; font-size: 13px; border-radius: 999px; }

/* ---------- альбомы фото ---------- */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 34px 26px; margin-bottom: 40px; padding-top: 10px; }
.album-grid[hidden] { display: none; }
.album { margin: 0; cursor: pointer; outline: none; }
.album-cover { position: relative; aspect-ratio: 4/3; }
/* «стопка» фото за обложкой */
.album-cover::before, .album-cover::after { content: ''; position: absolute; inset: 0; border-radius: 18px; border: 1px solid rgba(230,196,140,.22); background: rgba(40,28,20,.7); transition: transform .5s var(--ease); }
.album-cover::before { transform: rotate(-4deg) translateY(-4px); }
.album-cover::after { transform: rotate(3deg) translateY(-2px); }
.album-cover img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.85); transition: transform .6s var(--ease); }
.album:hover .album-cover img, .album:focus-visible .album-cover img { transform: translateY(-6px); }
.album:hover .album-cover::before { transform: rotate(-7deg) translate(-8px, -6px); }
.album:hover .album-cover::after { transform: rotate(6deg) translate(8px, -4px); }
.album figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 4px 0; }
.album figcaption b { font: 500 26px/1.15 var(--display); color: var(--cocoa-text); }
.album figcaption span { color: var(--gold); font-size: 13px; letter-spacing: .08em; white-space: nowrap; }
.album:focus-visible figcaption b { text-decoration: underline; text-decoration-color: var(--gold); }
.cover-mark { font-size: 12px; color: var(--muted); padding: 0 6px; }
.album-empty-thumb { display: block; width: 72px; height: 54px; border-radius: 10px; background: var(--cream); }
.price-tabs-bottom { margin: 34px auto 0; justify-content: center; }
.price-tabs-bottom[hidden] { display: none; }
.tag-link { text-decoration: none; display: inline-flex !important; align-items: center; gap: 6px; transition: transform .3s var(--ease), box-shadow .3s; }
.tag-link span { transition: transform .3s var(--ease); }
.tag-link:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(212,171,104,.8); }
.tag-link:hover span { transform: translateX(3px); }
