.price-hero{padding:clamp(48px,7vw,96px) 0 56px;background:var(--color-surface-warm)}.price-hero__inner{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(270px,.65fr);gap:clamp(28px,6vw,88px);align-items:end}.price-hero h1,.price-section h2,.guest-card h2,.price-cta h2{margin:8px 0 18px;font-family:var(--font-editorial);font-size:clamp(2.35rem,5vw,4.8rem);line-height:.98;letter-spacing:-.045em}.price-hero__lead,.price-intro,.price-note{max-width:720px;color:var(--color-muted);font-size:1.05rem;line-height:1.6}.price-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.price-hero__facts{display:grid;gap:12px}.price-hero__facts p{margin:0;padding:18px 20px;border:1px solid #eadfbf;border-radius:var(--radius-md);background:#fffdf7;font-weight:700;line-height:1.45}.price-section{padding:clamp(48px,7vw,90px) 0}.price-section--warm{background:var(--color-surface-warm)}.price-section--soft{background:var(--color-surface)}.price-section h2{font-size:clamp(2rem,3.8vw,3.6rem)}.price-rates,.price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.price-rates article,.price-card,.discount-grid article{min-width:0;border:1px solid var(--color-border);border-radius:var(--radius-md);background:#fff;box-shadow:var(--shadow-soft)}.price-rates article{padding:clamp(24px,4vw,42px)}.price-rates span{display:block;margin-bottom:12px;color:var(--color-muted);font-weight:700}.price-rates strong{font-family:var(--font-editorial);font-size:clamp(2rem,4vw,3.5rem);line-height:1;color:var(--color-primary-dark)}.price-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.price-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}.price-card{position:relative;display:flex;flex-direction:column;padding:28px;min-height:300px}.price-card--featured{border-color:var(--color-accent);transform:translateY(-8px)}.price-badge{position:absolute;top:-12px;left:24px;padding:6px 11px;border-radius:var(--radius-pill);background:var(--color-accent);font-size:13px;font-weight:800}.price-card h3,.discount-grid h3{margin:0;font-family:var(--font-editorial);font-size:1.75rem}.price-card__prices{display:flex;align-items:baseline;gap:12px;margin:24px 0 16px}.price-card__prices s{color:var(--color-muted)}.price-card__prices strong,.price-format strong{font-family:var(--font-editorial);font-size:2.2rem;color:var(--color-primary-dark)}.price-card>p:not(.price-card__prices),.discount-grid p{color:var(--color-muted);line-height:1.55}.price-card .button{width:100%;margin-top:auto}.price-format{font-weight:700}.discount-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.discount-grid article{padding:20px;box-shadow:none}.discount-grid h3{font-size:1.35rem}.discount-grid p{margin-bottom:0}.guest-card{padding:clamp(48px,7vw,88px) 0;background:var(--color-primary-dark);color:#fff}.guest-card__inner,.price-cta__inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.guest-card h2,.price-cta h2{font-size:clamp(2.1rem,4vw,3.7rem)}.guest-card p,.price-cta p{max-width:650px;margin:0;line-height:1.55}.guest-card .eyebrow{color:#f8d46c}.price-cta{padding:clamp(48px,7vw,86px) 0;background:var(--color-surface-warm)}.price-cta h2{margin-bottom:10px}.price-cta .price-actions{margin-top:0}@media(max-width:800px){.price-hero__inner{grid-template-columns:1fr}.price-grid,.discount-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.price-card--featured{transform:none}.guest-card__inner,.price-cta__inner{align-items:flex-start;flex-direction:column}}@media(max-width:560px){.price-hero,.price-section{padding:48px 0}.price-rates,.price-grid,.price-grid--two,.discount-grid{grid-template-columns:1fr}.price-actions,.price-actions .button{width:100%}.price-card{min-height:0}.price-cta .price-actions{margin-top:6px}}

/* Guest card: compact information panel matching the site surfaces. */
.guest-card { padding: clamp(34px, 4.5vw, 56px) 0; color: var(--color-text); background: var(--color-surface-warm); }
.guest-card h2 { margin: 8px 0 14px; font-family: var(--font-editorial); font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1; color: var(--color-text); }
.guest-card .eyebrow { color: #a77500; }
.guest-card__inner > div > p:last-child { color: var(--color-muted); }
.guest-card__inner > p { display: flex; align-items: flex-start; gap: 12px; max-width: 360px; margin: 0; padding: 18px 20px; color: var(--color-text); border: 1px solid #eadfbf; border-radius: var(--radius-md); background: #fffdf7; box-shadow: var(--shadow-soft); font-weight: 700; line-height: 1.45; }
.guest-card__inner > p::before { content: "\1F43E"; flex: 0 0 auto; font-size: 1.25rem; line-height: 1.2; }
@media (max-width: 800px) { .guest-card__inner > p { max-width: none; } }

/* Discount hierarchy: permanent benefits, birthday offer and temporary notices. */
.discount-grid--benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.discount-grid--benefits article { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 4px 10px; min-height: 110px; }
.discount-card__icon { grid-row: span 2; font-size: 24px; }
.discount-grid--benefits h3 { margin: 0; }
.discount-grid--benefits strong { color: var(--color-primary-dark); font-family: var(--font-editorial); font-size: 1.85rem; line-height: 1; }
.birthday-discount, .moscovite-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 18px 20px; border-radius: var(--radius-md); line-height: 1.5; }
.birthday-discount { border: 1px solid #e6bd45; background: #fff4cc; color: var(--color-text); }
.birthday-discount span { font-size: 1.35rem; }
.birthday-discount p, .moscovite-note p { margin: 0; }
.moscovite-note { border: 1px solid var(--color-border); background: #fffdf7; color: var(--color-muted); }
.moscovite-note > span { color: var(--color-primary-dark); font-weight: 800; }
@media (max-width: 800px) { .discount-grid--benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .discount-grid--benefits { grid-template-columns: 1fr; } }

/* Coworking tariffs */
.coworking-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.coworking-card { position: relative; padding: 28px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-soft); }
.coworking-card__badge { display: inline-block; margin-bottom: 16px; padding: 6px 11px; border-radius: var(--radius-pill); background: #eaf1df; color: var(--color-primary-dark); font-size: 13px; font-weight: 800; }
.coworking-card__badge--weekend { background: #fff0c6; color: #806000; }
.coworking-card h3 { margin: 0 0 22px; font-family: var(--font-editorial); font-size: 1.9rem; }
.coworking-card dl { display: grid; gap: 10px; margin: 0; }
.coworking-card dl > div { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--color-border); }
.coworking-card dt { color: var(--color-muted); }
.coworking-card dd { margin: 0; font-weight: 800; white-space: nowrap; }
.coworking-card__free { padding: 12px !important; border: 0 !important; border-radius: var(--radius-sm); background: #edf4e7; color: var(--color-primary-dark); }
.coworking-card__maximum { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 24px 0 16px; }
.coworking-card__maximum span { color: var(--color-muted); font-weight: 700; }
.coworking-card__maximum strong { color: var(--color-primary-dark); font-family: var(--font-editorial); font-size: 2.45rem; line-height: .9; white-space: nowrap; }
.coworking-card ul { display: grid; gap: 7px; margin: 0; padding: 0; color: var(--color-muted); font-size: .94rem; line-height: 1.45; list-style: none; }
.coworking-card li::before { content: "✓"; margin-right: 8px; color: var(--color-primary-dark); font-weight: 800; }
.coworking-note { max-width: 820px; margin: 24px 0 0; color: var(--color-muted); line-height: 1.6; }
.coworking-extra { margin-top: 34px; }
@media (max-width: 560px) { .coworking-grid { grid-template-columns: 1fr; } .coworking-card { padding: 24px 20px; } }

/* Advance tickets: compact equal-height cards without clipped neighbours. */
.price-section--warm .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; overflow: visible; }
.price-section--warm .price-card { min-height: 278px; height: 100%; box-sizing: border-box; }
.price-section--warm .price-card--featured { transform: none; }
.price-section--warm .price-badge { top: 16px; left: 20px; }
.price-section--warm .price-card--featured h3 { margin-top: 26px; }
.price-section--warm .price-card__prices { min-height: 48px; margin: 18px 0; align-items: center; }
.price-section--warm .price-card__prices s { flex: 0 0 auto; }
.price-section--warm .price-card__prices strong { white-space: nowrap; }
.price-section--warm .price-card .button { min-height: 48px; }
/* Gaming tariff uses the coworking cards and their responsive grid. */
.gaming-card__limits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 16px; }
.gaming-card__limits p { margin: 0; padding: 12px; border-radius: var(--radius-sm); background: var(--color-surface); }
.gaming-card__limits span { display: block; color: var(--color-muted); font-size: .8rem; line-height: 1.3; }
.gaming-card__limits strong { display: block; margin-top: 4px; color: var(--color-primary-dark); font-family: var(--font-editorial); font-size: 1.8rem; line-height: 1; white-space: nowrap; }
.gaming-note { max-width: 860px; margin: 24px 0 0; color: var(--color-muted); line-height: 1.6; }
@media (max-width: 560px) { .gaming-card__limits { grid-template-columns: 1fr 1fr; } }

/* Price page quick links */
:root { scroll-behavior: smooth; }
.price-quick-nav { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 0; }
.price-quick-nav a { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 14px; border: 1px solid #eadfbf; border-radius: var(--radius-pill); background: #fffdf7; color: var(--color-text); font-size: 14px; font-weight: 800; text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.price-quick-nav a:hover { border-color: var(--color-accent); box-shadow: var(--shadow-soft); transform: translateY(-1px); }
.price-section[id], .guest-card[id], .birthday-discount[id] { scroll-margin-top: 96px; }
@media (max-width: 560px) { .price-quick-nav { gap: 8px; } .price-quick-nav a { flex: 1 1 calc(50% - 8px); justify-content: center; min-width: 0; padding: 0 10px; } }

/* Sticky quick navigation */
.price-quick-nav-wrap { position: sticky; top: 74px; z-index: 900; padding: 10px 0; border-bottom: 1px solid rgba(47, 39, 28, .10); background: rgba(255, 248, 231, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 8px 18px rgba(48, 40, 25, .04); transition: background-color .18s ease, box-shadow .18s ease; }
.price-quick-nav { margin: 0; }
.price-quick-nav a.is-active, .price-quick-nav a[aria-current="true"] { border-color: var(--color-primary-dark); background: var(--color-primary-dark); color: #fff; box-shadow: none; }
@media (max-width: 760px) { .price-quick-nav-wrap { top: 74px; padding: 7px 0; } }

/* Mobile sticky strip: the page never scrolls horizontally, only this nav does. */
.price-section[id], .guest-card[id], .birthday-discount[id] { scroll-margin-top: 142px; }
@media (max-width: 767px) {
  .price-quick-nav-wrap { top: 74px; min-height: 56px; box-sizing: border-box; padding: 6px 0; }
  .price-quick-nav { flex-wrap: nowrap; gap: 9px; width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .price-quick-nav::-webkit-scrollbar { display: none; }
  .price-quick-nav a { flex: 0 0 auto; min-height: 44px; max-width: 142px; padding: 0 12px; white-space: normal; text-align: center; line-height: 1.15; }
}

/* Extra quick-link anchors. */
.price-grid[id] { scroll-margin-top: 142px; }
@media (max-width: 767px) { .price-quick-nav a { max-width: none; padding-inline: 10px; white-space: nowrap; } }

/* Keep the first and last mobile chips inside the viewport. */
@media (max-width: 767px) {
  .price-quick-nav { padding-inline: 18px; box-sizing: border-box; scroll-padding-inline: 18px; }
}


/* Mobile price navigation: compact selector instead of a horizontal chip strip. */
.price-nav-mobile { display: none; }

@media (max-width: 767px) {
  .price-quick-nav-wrap {
    top: calc(74px + env(safe-area-inset-top, 0px));
    min-height: 52px;
    padding: 4px 0;
  }

  .price-quick-nav { display: none; }

  .price-nav-mobile {
    position: relative;
    display: block;
  }

  .price-nav-mobile__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 9px 13px;
    border: 1px solid #eadfbf;
    border-radius: 12px;
    background: rgba(255, 253, 247, .96);
    color: var(--color-text);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(48, 40, 25, .05);
  }

  .price-nav-mobile__toggle:focus-visible,
  .price-nav-mobile__menu a:focus-visible {
    outline: 3px solid rgba(187, 138, 44, .45);
    outline-offset: 2px;
  }

  .price-nav-mobile__chevron {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-right: 3px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s ease;
  }

  .price-nav-mobile.is-open .price-nav-mobile__chevron { transform: rotate(225deg) translate(-1px, -1px); }

  .price-nav-mobile__menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 1;
    display: none;
    max-height: min(360px, calc(100vh - 156px));
    margin: 0;
    padding: 6px;
    overflow-y: auto;
    border: 1px solid #eadfbf;
    border-radius: 12px;
    background: rgba(255, 253, 247, .98);
    box-shadow: 0 14px 28px rgba(48, 40, 25, .15);
    -webkit-overflow-scrolling: touch;
  }

  .price-nav-mobile.is-open .price-nav-mobile__menu { display: grid; gap: 2px; }

  .price-nav-mobile__menu a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.25;
    text-decoration: none;
  }

  .price-nav-mobile__menu a.is-active,
  .price-nav-mobile__menu a[aria-current="true"] {
    background: rgba(187, 138, 44, .16);
    color: var(--color-primary-dark);
  }

  .price-nav-mobile__menu a.is-active::after,
  .price-nav-mobile__menu a[aria-current="true"]::after {
    margin-left: auto;
    content: "✓";
    font-weight: 900;
  }

  .price-section[id], .guest-card[id], .birthday-discount[id] { scroll-margin-top: 142px; }
}

/* Active desktop quick link: explicit palette avoids legacy variable overrides. */
.price-quick-nav a.is-active,
.price-quick-nav a[aria-current="true"] {
  background: #56713f !important;
  border-color: #56713f !important;
  color: #fff !important;
}
.price-quick-nav a.is-active span,
.price-quick-nav a[aria-current="true"] span { color: inherit; }


/* Price page visual rhythm and decorative SVG assets. */
:root {
  --price-nav-height: 52px;
  --price-anchor-gap: 14px;
  --price-anchor-offset: calc(var(--header-height-desktop) + var(--price-anchor-gap));
}

/* The legacy body clipping context prevents reliable sticky behavior in iOS Safari. */
html:has(.price-quick-nav-wrap) { overflow-x: clip; }
body:has(.price-quick-nav-wrap) { overflow-x: visible; }

.price-section { position: relative; padding-block: clamp(64px, 8vw, 112px); }
.price-section--coffee { background: #f6faf1; }
.price-section--advance { background: #fff5df; }
.price-section--coworking { background: #f5f8f2; }
.price-section--gaming { background: #f1f6ec; }
.price-section--discounts { background: #fff9ed; }
.price-section--coffee .price-rates article { background: #fffef9; }
.price-section--advance .price-card { background: #fffdf7; }
.price-section--coworking .coworking-card { background: #fcfdf9; }
.price-section--gaming .gaming-card { background: #fbfdf8; }
.price-section--discounts .discount-grid article { background: #fffef9; }
.price-section--coffee h2,
.price-section--advance h2,
.price-section--coworking h2,
.price-section--gaming h2,
.price-section--discounts h2 {
  display: table;
  margin-inline: -12px;
  padding: 7px 12px 10px;
  border-radius: 12px;
}
.price-section--coffee h2 { background: #eaf3df; }
.price-section--advance h2 { background: #ffedc5; }
.price-section--coworking h2 { background: #e4efe0; }
.price-section--gaming h2 { background: #e4f0db; }
.price-section--discounts h2 { background: #fff0c9; }

.price-doodle {
  position: absolute;
  z-index: 0;
  display: block;
  width: clamp(58px, 8vw, 108px);
  height: auto;
  pointer-events: none;
  user-select: none;
  opacity: .78;
}
.price-section > .price-doodle, .price-section > .container > .price-doodle { right: max(18px, 5vw); top: 44px; }
.price-doodle--advance, .price-doodle--gaming, .price-doodle--discounts { top: 38px; }
.price-doodle--coworking { right: max(18px, 4vw); }
.guest-card { position: relative; overflow: hidden; background: #f7f1e4; }
.guest-card__inner { position: relative; }
.price-doodle--guest { right: max(22px, 6vw); bottom: 20px; width: clamp(68px, 9vw, 116px); }
.price-section > .container > :not(.price-doodle), .guest-card__inner > :not(.price-doodle) { position: relative; z-index: 1; }

.price-section[id], .price-grid[id], .guest-card[id], .birthday-discount[id] { scroll-margin-top: var(--price-anchor-offset); }
.price-quick-nav-wrap {
  top: var(--header-height-desktop);
  z-index: 950;
  isolation: isolate;
}

@media (max-width: 767px) {
  :root {
    --price-anchor-offset: calc(var(--header-height-mobile) + env(safe-area-inset-top, 0px) + var(--price-nav-height) + var(--price-anchor-gap));
  }

  .price-quick-nav-wrap {
    top: calc(var(--header-height-mobile) + env(safe-area-inset-top, 0px));
    min-height: var(--price-nav-height);
    width: 100%;
    padding-block: 4px;
  }

  .price-nav-mobile__menu { z-index: 2; max-height: calc(100vh - var(--price-anchor-offset) - 12px); }
  .price-section { padding-block: 64px; }
  .price-section--coffee h2, .price-section--advance h2, .price-section--coworking h2, .price-section--gaming h2, .price-section--discounts h2 { margin-inline: 0; }
  .price-doodle { width: 48px; opacity: .65; }
  .price-section > .price-doodle, .price-section > .container > .price-doodle { top: 24px; right: 18px; }
  .price-doodle--guest { right: 18px; bottom: 18px; width: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .price-quick-nav-wrap, .price-quick-nav a, .price-nav-mobile__chevron { transition: none; }
}

/* Advance-ticket grid: override the more-specific desktop selector at responsive breakpoints. */
@media (max-width: 1024px) {
  .price-section--warm .price-grid#advance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .price-section--warm .price-grid#advance { grid-template-columns: minmax(0, 1fr); }
  .price-section--warm .price-card { min-width: 0; width: 100%; }
  .price-section--warm .price-card__prices { overflow: visible; }
}

/* Mobile price navigation lives at the bottom of the viewport. */
@media (max-width: 767px) {
  :root {
    --price-mobile-nav-height: 60px;
    --price-anchor-offset: calc(var(--header-height-mobile) + env(safe-area-inset-top, 0px) + var(--price-anchor-gap));
  }

  .price-quick-nav-wrap {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 950;
    min-height: var(--price-mobile-nav-height);
    padding: 4px 0 calc(4px + env(safe-area-inset-bottom, 0px));
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    border-top: 1px solid rgba(47, 39, 28, .10);
    border-bottom: 0;
    background: rgba(255, 248, 231, .94);
    box-shadow: 0 -8px 20px rgba(48, 40, 25, .10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .price-nav-mobile__toggle {
    min-height: 52px;
    border-radius: 14px;
  }

  .price-nav-mobile__menu {
    top: auto;
    bottom: calc(100% + 8px);
    max-height: calc(100svh - var(--header-height-mobile) - env(safe-area-inset-top, 0px) - var(--price-mobile-nav-height) - env(safe-area-inset-bottom, 0px) - 24px);
    box-shadow: 0 -14px 28px rgba(48, 40, 25, .15);
  }

  .page:has(.price-quick-nav-wrap),
  body:has(.price-quick-nav-wrap) {
    padding-bottom: calc(var(--price-mobile-nav-height) + env(safe-area-inset-bottom, 0px) + 16px);
  }
}
/* The mobile selector itself is viewport-fixed and never changes state on scroll. */
@media (max-width: 767px) {
  .price-quick-nav-wrap { display: contents; }
  .price-nav-mobile {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 960;
    display: block;
    min-height: var(--price-mobile-nav-height);
    padding: 4px 16px calc(4px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    border-top: 1px solid rgba(47, 39, 28, .10);
    background: rgba(255, 248, 231, .94);
    box-shadow: 0 -8px 20px rgba(48, 40, 25, .10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .price-nav-mobile__menu {
    right: 16px;
    left: 16px;
    z-index: 961;
  }
}
@media (max-width: 767px) {
  .container.price-nav-mobile { width: 100%; max-width: none; margin-inline: 0; }
}
