/* Бръснача: бръснарница вечер. Черно, слонова кост и едно месингово (цветът на стълба и бръснача) */
:root {
  --bg: #0c0b0a;
  --bg-2: #151311;
  --bg-3: #1f1c18;
  --ink: #f1ede4;
  --ink-2: #a8a196;
  --line: rgba(241, 237, 228, .12);
  --acc: #c9a227;
  --acc-ink: #160f00;
  --cursor: #f1ede4;
  --pad: clamp(16px, 2.6vw, 40px);
  --display: "Oswald", "Onest", system-ui, sans-serif;
  --text: "Onest", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--acc); color: var(--acc-ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* филмово зърно върху целия екран */
body::after { content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .6s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-4%, 3%); } 50% { transform: translate(3%, -5%); } 75% { transform: translate(-2%, 4%); } }

/* ---------- бутони ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--acc); color: var(--acc-ink); font: 600 16px/1 var(--text); text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn-lg { min-height: 64px; padding: 0 40px; font-size: 18px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .55em; padding: 6px 0; border: 0; background: none; font: 600 16px/1.2 var(--text); color: var(--ink); text-decoration: none; cursor: pointer;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .5s var(--ease); }
.link-arrow:hover, .link-arrow:focus-visible { background-size: 100% 1.5px; }
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- навигация ---------- */
.nav { position: fixed; z-index: 80; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 32px; padding: 14px var(--pad);
  transition: background-color .4s, transform .6s var(--ease); }
.nav.solid { background: rgba(11, 12, 13, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav.away { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 22px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; }
.brand svg { width: 30px; height: 30px; fill: var(--acc); transition: transform .6s var(--ease); }
.brand:hover svg { transform: rotate(-35deg); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-weight: 500; font-size: 15px; text-decoration: none; color: var(--ink-2); transition: color .3s; }
.nav-links a:hover { color: var(--ink); }

/* ---------- сцената ---------- */
.stage { position: relative; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50vw 70vh at 50% 46vh, #241e12 0%, transparent 70%); background-attachment: fixed; }
.stage-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; z-index: 1; pointer-events: none; }
.stage-sticky .three-fallback { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.stage-flow { position: relative; margin-top: -100vh; margin-top: -100svh; }

.hero { position: relative; overflow: clip; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: calc(96px + var(--ribbon-h, 0px)) var(--pad) 36px; }
.monument { position: absolute; z-index: 0; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad);
  font: 700 clamp(96px, 16.5vw, 330px)/.85 var(--display); letter-spacing: -.01em; color: var(--ink); text-transform: uppercase; pointer-events: none; white-space: nowrap; }
.monument > span { display: block; }
.hero-top, .hero-foot, .scroll-cue { position: relative; z-index: 2; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.hero h1 { max-width: 14em; font: 600 clamp(22px, 2vw, 30px)/1.15 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.open { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.open i { width: 9px; height: 9px; border-radius: 50%; background: #6b6f74; }
.open.on i { background: #7fd67a; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: ping 2s infinite; }
.open.on span { color: var(--ink); }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.hero-foot { grid-row: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.hero-say { max-width: 27em; font-size: 18px; color: var(--ink); }
.hero-act { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: flex-end; }
.scroll-cue { position: absolute; left: 50%; bottom: 36px; width: 1.5px; height: 56px; background: var(--line); overflow: hidden; }
.scroll-cue i { position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--ink); animation: cue 2s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* частите: текстът отляво, колелото отдясно */
.part { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px var(--pad); }
.part-text { width: min(40vw, 560px); }
.part-count { font: 600 15px/1 var(--display); letter-spacing: .08em; color: var(--ink-2); margin-bottom: 28px; }
.part-count b { color: var(--acc); font-weight: 600; }
.part h2 { font: 700 clamp(72px, 10vw, 180px)/.85 var(--display); text-transform: uppercase; margin-left: -.03em; }
.part-price { margin-top: 14px; font: 500 clamp(24px, 2.2vw, 34px)/1 var(--display); color: var(--ink-2); text-transform: uppercase; }
.part-price b { color: var(--acc); font-weight: 700; font-size: 1.7em; }
.part-price small { font: 500 15px/1 var(--text); text-transform: none; margin-left: 8px; }
.part-say { margin-top: 28px; max-width: 27em; font-size: 19px; }
.part-list { margin: 26px 0 30px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.part-list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); display: flex; gap: 14px; align-items: baseline; }
.part-list li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--acc); border-radius: 50%; transform: translateY(-2px); }

/* ---------- лента ---------- */
.band { overflow: hidden; padding: 34px 0; background: var(--acc); color: var(--acc-ink); }
.band p { display: flex; width: max-content; }
.band span { font: 700 clamp(48px, 7vw, 120px)/1 var(--display); text-transform: uppercase; padding: 0 .35em; display: flex; align-items: center; gap: .7em; }
.band span::after { content: ""; width: .32em; height: .32em; border-radius: 50%; background: currentColor; margin-left: .35em; }

/* ---------- цени ---------- */
.prices { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 120px); padding: clamp(110px, 14vw, 200px) var(--pad) clamp(90px, 10vw, 160px); align-items: start; }
.prices-side { position: sticky; top: 110px; display: grid; gap: 24px; justify-items: start; }
.prices-side h2 { font: 700 clamp(96px, 15vw, 280px)/.8 var(--display); text-transform: uppercase; padding-bottom: .12em; }
.prices-side p { color: var(--ink-2); font-size: 18px; max-width: 18em; }
.pg + .pg { margin-top: 48px; }
.pg h3 { font: 600 clamp(26px, 2.4vw, 38px)/1 var(--display); text-transform: uppercase; color: var(--acc); margin-bottom: 8px; }
.rows li { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.rows li:hover { padding-left: 12px; }
.rows span { font: 600 clamp(20px, 1.7vw, 26px)/1.2 var(--text); }
.rows small { display: block; margin-top: 4px; font: 400 15px/1.4 var(--text); color: var(--ink-2); }
.rows b { font: 600 clamp(24px, 2vw, 32px)/1 var(--display); white-space: nowrap; font-variant-numeric: tabular-nums; }


/* ---------- как работим ---------- */
.how { background: var(--bg-2); }
.how-pin { height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.how-track { display: flex; gap: clamp(20px, 2vw, 32px); padding: 0 var(--pad); will-change: transform; }
.how-intro { flex: none; width: min(34vw, 480px); display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-right: 3vw; }
.how-intro h2 { font: 700 clamp(52px, 5.6vw, 104px)/.9 var(--display); text-transform: uppercase; }
.how-intro p { font-size: 19px; color: var(--ink-2); max-width: 20em; }
.step { flex: none; width: min(62vw, 860px); height: min(72vh, 640px); position: relative; overflow: hidden; border-radius: 28px; background: var(--bg-3); }
.step img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.step::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 9, 10, 0) 35%, rgba(8, 9, 10, .88) 100%); }
.step div { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3vw, 44px); display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; align-items: end; }
.step span { grid-row: 1 / span 2; font: 700 clamp(64px, 8vw, 140px)/.8 var(--display); text-transform: uppercase; color: var(--acc); }
.step h3 { font: 600 clamp(24px, 2.4vw, 38px)/1.05 var(--display); text-transform: uppercase; }
.step p { max-width: 30em; color: var(--ink); opacity: .85; }

/* ---------- снимката до целия екран ---------- */
.reveal { position: relative; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.reveal-frame { position: absolute; inset: 0; clip-path: inset(18% 22% round 28px); }
.reveal-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
.reveal-frame::after { content: ""; position: absolute; inset: 0; background: rgba(8, 9, 10, .5); }
.reveal-text { position: relative; z-index: 1; padding: 0 var(--pad); text-align: center; }
.reveal h2 { font: 700 clamp(44px, 6.4vw, 120px)/.95 var(--display); text-transform: uppercase; max-width: 13em; margin: 0 auto; }

/* ---------- запис ---------- */
.book { padding: clamp(110px, 13vw, 190px) var(--pad); }
.book-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.book-head h2 { font: 700 clamp(56px, 7.4vw, 136px)/.9 var(--display); text-transform: uppercase; }
.book-head p { max-width: 24em; font-size: 18px; color: var(--ink-2); }
.book-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 3vw, 48px); align-items: start; }
.steps-col { display: grid; gap: 36px; }
.bstep { border: 0; margin: 0; padding: 0; }
.bstep legend { padding: 0; margin-bottom: 14px; font: 600 24px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.opt { border: 0; border-radius: 16px; padding: 16px; background: var(--bg-2); cursor: pointer; display: grid; gap: 4px; text-align: left; transition: background-color .3s, color .3s, transform .3s; }
.opt b { font-weight: 600; }
.opt span { font-size: 14px; color: var(--ink-2); }
.opt:hover { background: var(--bg-3); }
.opt[aria-pressed="true"] { background: var(--acc); color: var(--acc-ink); }
.opt[aria-pressed="true"] span { color: #4a3a08; }
.day-toggle { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--bg-2); margin-bottom: 14px; }
.day-toggle button { border: 0; border-radius: 999px; padding: 10px 22px; background: none; cursor: pointer; font-weight: 600; }
.day-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { border: 0; border-radius: 999px; padding: 11px 16px; background: var(--bg-2); cursor: pointer; font-weight: 500; font-variant-numeric: tabular-nums; transition: background-color .3s; }
.slot:hover { background: var(--bg-3); }
.slot[aria-pressed="true"] { background: var(--acc); color: var(--acc-ink); }
.slot:disabled { opacity: .28; cursor: not-allowed; text-decoration: line-through; }
.slot-none { color: var(--ink-2); }
.ticket { position: sticky; top: 100px; overflow: hidden; background: var(--ink); color: var(--bg); border-radius: 28px; padding: clamp(24px, 2.6vw, 40px); display: grid; gap: 14px; }
.ticket-head { display: flex; justify-content: space-between; font: 700 22px/1 var(--display); text-transform: uppercase; padding-bottom: 16px; border-bottom: 2px dashed rgba(12, 11, 10, .25); }
.ticket dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(12, 11, 10, .12); }
.ticket dt { color: #6d665b; }
.ticket dd { font-weight: 600; text-align: right; }
.ticket-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 8px; }
.ticket-total b { font: 700 64px/1 var(--display); font-variant-numeric: tabular-nums; }
.ticket-msg { min-height: 1.4em; font-size: 15px; color: #8a4b00; }
.ticket .btn { background: var(--bg); color: var(--ink); }
.ticket .btn::before { background: var(--acc); }
.ticket .btn:hover { color: var(--acc-ink); }
.ticket-done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 32px; text-align: center; background: var(--ink); }
.ticket-done[hidden] { display: none; }
.ticket-done svg { width: 72px; height: 72px; fill: none; stroke: var(--bg); stroke-width: 3; stroke-linecap: round; }
.ticket-done h3 { font: 700 48px/1 var(--display); text-transform: uppercase; }
.done-note { color: #6d665b; font-size: 14px; }
.cb-title { margin: 36px 0 14px; font-weight: 600; font-size: 18px; }
.cb { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.field input { min-height: 52px; padding: 0 16px; border: 1px solid transparent; border-radius: 14px; background: var(--bg-2); color: var(--ink); font-size: 16px; transition: border-color .3s; }
.field input:focus { outline: none; border-color: var(--acc); }
.field input::placeholder { color: #5f594f; }
.info small { color: var(--ink-2); font-size: 15px; margin-left: 8px; }


/* ---------- контакт ---------- */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 96px); padding: 0 var(--pad) clamp(100px, 12vw, 180px); align-items: stretch; }
.contact h2 { font: 700 clamp(56px, 7.4vw, 136px)/.9 var(--display); text-transform: uppercase; max-width: 8em; margin-bottom: clamp(36px, 4vw, 64px); }
.info { display: grid; margin-bottom: 0; border-top: 1px solid var(--line); }
.info div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: clamp(18px, 1.6vw, 24px); }
.info dt { color: var(--ink-2); font-size: 16px; align-self: center; }
.info dd { font-weight: 500; }
.info a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .5s var(--ease); }
.info a:hover { background-size: 100% 1.5px; }
.info .today dt, .info .today dd { color: var(--acc); }
.note { margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.contact-photo { position: relative; overflow: hidden; border-radius: 28px; min-height: 520px; }
.contact-photo img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }

/* ---------- футър ---------- */
.foot { position: relative; overflow: hidden; background: #060707; padding: clamp(60px, 8vw, 120px) var(--pad) 0; }
.foot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot-links { display: grid; gap: 10px; font-size: 18px; }
.foot-links a { text-decoration: none; color: var(--ink-2); transition: color .3s; }
.foot-links a:hover { color: var(--ink); }
.foot-legal { font-size: 14px; color: var(--ink-2); justify-self: end; max-width: 34em; }
.foot-legal summary { cursor: pointer; margin-top: 10px; color: var(--ink); }
.foot-legal details p { margin-top: 10px; }
.foot-word { font: 700 clamp(80px, 24vw, 470px)/.8 var(--display); letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; text-align: center; margin: 4vw -1vw 0; color: var(--ink); transform: translateY(18%); }

/* ---------- телефон ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav .btn-sm { margin-left: auto; }
  .hero { padding-top: calc(84px + var(--ribbon-h, 0px)); padding-bottom: 28px; }
  .hero-top { flex-direction: column; gap: 14px; }
  .hero h1 { font-size: 21px; }
  .monument { justify-content: center; align-items: flex-end; gap: 0; padding-bottom: 200px; font-size: 20vw; }
  .part h2 { font-size: min(19vw, 110px) !important; }
  .prices, .book-head, .book-grid, .contact, .foot-row { grid-template-columns: 1fr; }
  .prices-side { position: static; }
  .opts { grid-template-columns: 1fr 1fr; }
  .cb { grid-template-columns: 1fr; }
  .hero-foot { flex-direction: column; align-items: stretch; gap: 22px; }
  .hero-say { font-size: 16px; }
  .hero-act { justify-content: space-between; }
  .scroll-cue { display: none; }
  .part { align-items: flex-end; padding: 54vh var(--pad) 56px; }
  .part-text { width: 100%; padding: 22px 0 0; }
  .part-count { margin-bottom: 14px; }
  .part h2 { font-size: min(10.4vw, 72px); }
  .part-say { margin-top: 16px; font-size: 17px; }
  .part-list { margin: 18px 0 18px; }
  .part-list li { padding: 10px 0; font-size: 15px; }
  .how-pin { height: auto; overflow: visible; display: block; padding: 100px 0; }
  .how-track { flex-direction: column; }
  .how-intro { width: auto; padding: 0 0 12px; }
  .step { width: 100%; height: 72vh; max-height: 560px; }
  .reveal { height: 80vh; }
  .contact-photo { min-height: 380px; }
  .info div { grid-template-columns: 6.5em 1fr; }
  .foot-legal { justify-self: start; }
}
@media (max-width: 480px) {
  .hero-act .link-arrow { display: none; }
  .hero-act .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
  .reveal-frame { clip-path: none; }
  .step img, .reveal-frame img { transform: none; }
  .foot-word { transform: none; }
}

/* без анимации (или без JS): таблата на „Как работим“ се подреждат в мрежа, вместо да се плъзгат */
html:not(.fx-on) .how-pin { height: auto; overflow: visible; display: block; padding: clamp(90px, 10vw, 160px) 0; }
html:not(.fx-on) .how-track { flex-wrap: wrap; }
html:not(.fx-on) .how-intro { width: 100%; padding-bottom: 24px; }
html:not(.fx-on) .step { width: calc(50% - 16px); height: 520px; }
@media (max-width: 900px) { html:not(.fx-on) .step { width: 100%; } }
