/* THE Office — public site. One bold moment (the lit-up first screen); everything after it is quiet and exact. */
body { background: var(--paper); }
.wrap { padding-inline: var(--gutter); }
main section[id], footer[id] { scroll-margin-top: 72px; }
main h2, .foot h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 3.6vw, 60px); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
.hero :focus-visible, .tariffs :focus-visible, .foot :focus-visible { outline-color: var(--mustard); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30em); gap: 16px clamp(24px, 5vw, 96px); align-items: end; margin-bottom: clamp(26px, 3vw, 46px); }
.sec-head p { margin: 0; font-size: 16px; color: var(--color-neutral-700); }
@media (max-width: 860px) { .sec-head { grid-template-columns: minmax(0, 1fr); } }

/* — buttons of the site — */
.btn-cta { background: var(--mustard); color: var(--ink); }
.btn-cta:hover { background: color-mix(in srgb, var(--mustard) 88%, #fff); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--mustard) 85%, transparent); }
.btn-line { border-color: color-mix(in srgb, currentColor 32%, transparent); color: inherit; }
.btn-line:hover { border-color: currentColor; background: color-mix(in srgb, currentColor 10%, transparent); }
.btn-back { margin-left: -8px; }

/* — top bar — */
.top { position: fixed; inset: 0 0 auto; z-index: 40; color: var(--ink); background: color-mix(in srgb, var(--paper) 84%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--color-divider);
  transition: background-color .4s, color .4s, box-shadow .4s; }
html[data-page="home"]:not(.scrolled) .top { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html[data-page="home"]:not(.scrolled) .top-logo img { filter: brightness(0) invert(1); }
.top-in { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); height: 72px; }
.top-logo img { display: block; height: 40px; width: auto; transition: filter .4s; }
.top-nav { display: flex; gap: clamp(16px, 2.2vw, 34px); margin-left: auto; }
.top-nav a, .top-link { color: inherit; text-decoration: none; font-size: 14.5px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease-out); }
.top-nav a:hover, .top-link:hover { background-size: 100% 1px; }
@media (max-width: 960px) { .top-nav { display: none; } .top-link { margin-left: auto; } }
@media (max-width: 480px) { .top-link { display: none; } .top-in > .btn-cta { margin-left: auto; } .top-logo img { height: 32px; } }

/* — first screen: the lights come on — */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(100svh, 1000px); padding: 112px 0 64px; background: var(--ink); color: #fff; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 18% 55%, color-mix(in srgb, var(--ink) 88%, transparent), transparent 70%); }
.ceiling { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.led polyline { fill: none; stroke: var(--led); stroke-linecap: round; stroke-linejoin: round; }
.led-glow { stroke-width: 16; opacity: .05; }
.led-core { stroke-width: 2; opacity: .42; }
.ceiling.enter .led { animation: flicker 1.5s linear both; animation-delay: calc(var(--d) * 1s + .15s); }
@keyframes flicker { 0% { opacity: 0; } 9% { opacity: .9; } 12% { opacity: .1; } 17% { opacity: .75; } 20% { opacity: .2; } 30%, 100% { opacity: 1; } }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: center; width: 100%; }
.hero-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(44px, 5.4vw, 92px); line-height: .98; letter-spacing: -.025em; margin: 0 0 24px; text-wrap: balance; }
.hero-sub { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.55; color: color-mix(in srgb, #fff 70%, transparent); max-width: 34em; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-live { display: flex; align-items: center; gap: 10px; margin: 30px 0 0; font-size: 14px; color: color-mix(in srgb, #fff 72%, transparent); }
.hero-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); animation: live 2.2s calc(var(--now, 0) * -1s) infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--sage) 80%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
.hero-copy.enter > * { animation: rise-in 1s var(--ease-out) both; }
.hero-copy.enter > :nth-child(2) { animation-delay: .12s; }
.hero-copy.enter > :nth-child(3) { animation-delay: .24s; }
.hero-copy.enter > :nth-child(4) { animation-delay: 2.1s; }
@keyframes rise-in { from { opacity: 0; translate: 0 26px; } }

/* the live plan, drawn in light */
.hero-plan { margin: 0; }
.neon { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 5px color-mix(in srgb, var(--led) 40%, transparent)); }
.n-line { fill: none; stroke: var(--led); stroke-width: 2.4; stroke-linecap: round; }
.n-furn { fill: none; stroke: color-mix(in srgb, var(--led) 16%, transparent); stroke-width: 1; }
.n-mark { font: 200 120px var(--font-display); fill: color-mix(in srgb, var(--led) 7%, transparent); text-anchor: middle; }
.n-room { fill: transparent; stroke: color-mix(in srgb, var(--led) 32%, transparent); stroke-width: 1.2; stroke-dasharray: 4 5; cursor: pointer; transition: fill .25s, stroke .25s; }
.n-room.busy { fill: color-mix(in srgb, #000 55%, transparent); stroke: #4a5055; stroke-dasharray: none; }
.n-room.mine { fill: color-mix(in srgb, var(--mustard) 22%, transparent); stroke: var(--mustard); stroke-dasharray: none; }
.n-room:hover { fill: color-mix(in srgb, var(--sage) 14%, transparent); stroke: var(--sage); }
.n-room.sel { fill: color-mix(in srgb, var(--mustard) 16%, transparent); stroke: var(--mustard); stroke-dasharray: none; }
.n-room-name { font: 500 24px var(--font-display); fill: color-mix(in srgb, var(--led) 70%, transparent); pointer-events: none; }
.n-desk { stroke-width: 1.6; cursor: pointer; transition: fill .25s, stroke .25s; }
.n-desk.free { fill: color-mix(in srgb, #fff 82%, transparent); stroke: #fff; }
.n-desk.free:hover { fill: #fff; filter: drop-shadow(0 0 6px #fff); }
.n-desk.busy { fill: #000; stroke: #4a5055; }
.n-desk.mine { fill: var(--mustard); stroke: var(--mustard); }
.n-desk.sel { fill: var(--mustard); stroke: var(--mustard); animation: sel-glow 1.8s ease-in-out calc(var(--now, 0) * -1s) infinite; }
@keyframes sel-glow { 50% { opacity: .55; } }
.neon.enter .n-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 1s + .5s); }
.neon.enter .n-desk { animation: desk-on .7s linear both; animation-delay: calc(var(--d) * 1s + .7s); }
@keyframes desk-on { 0% { opacity: 0; } 30% { opacity: 1; } 45% { opacity: .25; } 60%, 100% { opacity: 1; } }
.neon.enter .n-furn, .neon.enter .n-room, .neon.enter .n-room-name, .neon.enter .n-mark { animation: fade 1s ease-out 1.5s both; }
.hero-plan-cap { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: color-mix(in srgb, #fff 60%, transparent); }
.hero-legend { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-legend i { display: inline-block; width: 11px; height: 11px; margin-right: 7px; border-radius: 50%; vertical-align: -1px; }
.hero-legend .free { background: #fff; }
.hero-legend .busy { background: #000; border: 1.5px solid #6a7075; }
.hero-legend .sel { background: var(--mustard); }
.seg-dark > button { padding: 6px 18px; border-color: color-mix(in srgb, #fff 22%, transparent); color: #fff; }
.seg-dark > button:hover:not(.on) { background: color-mix(in srgb, #fff 10%, transparent); }
.seg-dark > button.on { background: #fff; border-color: #fff; color: var(--ink); }
@media (max-width: 1000px) {
  .hero { min-height: 0; padding: 104px 0 56px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); }
}

/* — photo strip — */
.gal { padding: clamp(64px, 7vw, 112px) 0 clamp(48px, 5vw, 80px); }
.gal-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.gal-nav { display: flex; gap: 8px; }
.gal-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--color-divider); background: transparent; font: inherit; font-size: 22px; line-height: 1; color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .18s var(--ease-out); }
.gal-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.gal-track { --gh: clamp(220px, 28vw, 420px); display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 4px 0; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track.panning { cursor: grabbing; }
.gal-item { flex: none; width: calc(var(--gh) * 4 / 3); margin: 0; } /* one size for every photo, cropped to 4:3 */
.gal-photo { position: relative; display: block; width: 100%; height: var(--gh); padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: var(--concrete); cursor: zoom-in; }
.gal-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gal-photo:hover img, .gal-photo:focus-visible img { transform: scale(1.04); }
.gal-item figcaption { margin-top: 12px; font-size: 14px; color: var(--color-neutral-700); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* — full-screen photo — */
.lb { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 56px 72px; background: color-mix(in srgb, var(--ink) 94%, transparent); touch-action: pan-y; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lb-fig img { max-width: min(1400px, 100%); max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 6px; }
.lb-fig figcaption { display: flex; gap: 14px; color: color-mix(in srgb, #fff 75%, transparent); font-size: 14px; }
.lb-fig figcaption span { color: var(--mustard); font-variant-numeric: tabular-nums; }
.lb-nav, .lb-close { position: absolute; border: 0; border-radius: 50%; background: color-mix(in srgb, #fff 12%, transparent); color: #fff; font: inherit; cursor: pointer; transition: background-color .2s, transform .18s var(--ease-out); }
.lb-nav:hover, .lb-close:hover { background: color-mix(in srgb, #fff 26%, transparent); }
.lb-nav { top: 50%; width: 52px; height: 52px; margin-top: -26px; font-size: 30px; line-height: 1; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-close { top: 14px; right: 14px; width: 44px; height: 44px; font-size: 18px; }
@media (max-width: 600px) { .lb { padding: 56px 8px; } .lb-nav { top: auto; bottom: 14px; } }

/* — the space, zone by zone — */
.zones { padding: clamp(40px, 5vw, 80px) 0 clamp(64px, 8vw, 128px); }
.zones-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.zones-lead { font-size: 17px; line-height: 1.6; color: var(--color-neutral-700); max-width: 34em; margin: 20px 0 34px; }
.zone-list { border-top: 1px solid var(--color-divider); }
.zone { position: relative; display: flex; flex-direction: column; width: 100%; padding: 18px 0; border: 0; border-bottom: 1px solid var(--color-divider); background: none; font: inherit; text-align: left; color: var(--color-neutral-500); cursor: pointer; }
.zone::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.zone.on { color: var(--ink); }
.zone.on::after { transform: scaleX(1); }
.zone-name { font: 500 clamp(22px, 1.9vw, 30px)/1.15 var(--font-display); transition: transform .45s var(--ease-out), color .3s; }
.zone:hover .zone-name { transform: translateX(6px); }
.zone-text { max-height: 0; overflow: hidden; opacity: 0; font-size: 15px; line-height: 1.55; color: var(--color-neutral-700); transition: max-height .5s var(--ease-out), opacity .35s, margin-top .35s; }
.zone.on .zone-text { max-height: 6em; opacity: 1; margin-top: 8px; }
.zones-photo { position: sticky; top: 96px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--concrete); }
.zones-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.06; transition: opacity .7s ease, scale 1.4s var(--ease-out); }
.zones-photo img.on { opacity: 1; scale: 1; }
@media (max-width: 1000px) {
  .zones-in { grid-template-columns: minmax(0, 1fr); }
  .zones-photo { position: relative; top: 0; grid-row: 1; }
}

/* — booking: the plan on terrazzo, like the floor of the open-space — */
.booking { padding: clamp(64px, 8vw, 120px) 0; background-color: var(--concrete);
  /* terrazzo chips: grey stone, a little sage and white, several tile sizes so the pattern never visibly repeats */
  background-image:
    radial-gradient(circle at 12% 18%, #b9bcb6 0 1.6px, transparent 2.1px),
    radial-gradient(circle at 68% 32%, #cfd1cc 0 2.4px, transparent 2.9px),
    radial-gradient(circle at 34% 72%, #a3a7a1 0 1.2px, transparent 1.7px),
    radial-gradient(circle at 84% 78%, #f2f2ef 0 1.8px, transparent 2.3px),
    radial-gradient(circle at 52% 48%, color-mix(in srgb, var(--sage) 45%, var(--concrete)) 0 1.7px, transparent 2.2px),
    radial-gradient(ellipse 3.4px 2.2px at 22% 44%, #9da19b 60%, transparent 70%),
    radial-gradient(circle at 90% 12%, #c4c7c1 0 1.3px, transparent 1.8px),
    radial-gradient(ellipse 2.6px 3.6px at 60% 88%, #b0b3ad 60%, transparent 70%);
  background-size: 64px 64px, 92px 92px, 48px 48px, 118px 118px, 86px 86px, 72px 72px, 54px 54px, 102px 102px; }
.book-bar { display: flex; gap: 14px 22px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.book-bar .seg { min-width: min(100%, 260px); background: var(--color-bg); border-radius: 999px; }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 25vw, 420px); gap: clamp(20px, 2.4vw, 34px); align-items: start; }
/* the whole floor always fits: as wide as the column, never taller than the screen under the top bar */
.site-map { padding: 10px; border-radius: 12px; background: var(--color-bg); box-shadow: var(--shadow-md); }
.site-map svg { display: block; width: 100%; height: auto; max-height: calc(100svh - 72px - 64px); }
.panel { position: sticky; top: 92px; padding: 26px; border-radius: 16px; background: var(--color-bg); box-shadow: var(--shadow-md); }
.panel-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.panel-title { font: 500 24px/1.15 var(--font-display); letter-spacing: -.01em; margin: 0 0 4px; }
.panel-note { font-size: 13.5px; margin: 0 0 12px; }
.panel-price { font-size: 15px; margin: 0 0 18px; }
.facts { margin: 14px 0 0; border-top: 1px solid var(--color-divider); }
.facts div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 14px; border-bottom: 1px solid var(--color-divider); }
.facts dd { margin: 0; font-weight: 600; }
.place-prices { margin: 2px 0 16px; }
.tag-free { background: color-mix(in srgb, var(--sage) 22%, #fff); color: var(--sage-deep); }
.input-static { display: flex; align-items: center; margin-bottom: 14px; opacity: .7; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--color-divider); margin-top: 6px; padding-top: 12px; }
.total b { font: 500 26px var(--font-display); }
.total-when { font-size: 12.5px; }
.pay-sum { font: 500 36px/1.1 var(--font-display); margin: 6px 0 16px; }
.pay-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; margin-bottom: 8px; font: inherit; font-size: 14.5px; text-align: left; cursor: pointer; border: 1px solid var(--color-divider); background: transparent; border-radius: 999px; color: var(--color-text); transition: border-color .2s, background-color .2s, transform .18s var(--ease-out); }
.pay-opt:hover { border-color: color-mix(in srgb, var(--color-text) 35%, transparent); }
.pay-opt > span { width: 16px; height: 16px; border-radius: 50%; flex: none; border: 1.5px solid var(--color-neutral-400); }
.pay-opt.on { border-color: var(--color-accent); background: var(--color-accent-100); }
.pay-opt.on > span { border-color: var(--color-accent); background: var(--color-accent); box-shadow: inset 0 0 0 3px var(--color-bg); }
/* Card payment (demo): a graphite card lit like the space — mustard and sage glow, a drifting sheen —
   that mirrors the fields as they're typed and turns over for the CVC (pure CSS, :has). */
.cc-pay { margin-top: 10px; }
.cc-stage { perspective: 1000px; margin: 2px 0 18px; container-type: inline-size; }
.cc { position: relative; max-width: 330px; aspect-ratio: 1.586; margin: 0 auto; transform-style: preserve-3d; transition: transform .75s var(--ease-spring); }
.cc-pay:has([name=ccCvc]:focus) .cc { transform: rotateY(180deg); }
.cc-face { position: absolute; inset: 0; overflow: hidden; border-radius: 16px; padding: 18px 20px; color: var(--led); backface-visibility: hidden;
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--mustard) 34%, transparent), transparent 55%),
    radial-gradient(90% 85% at 0% 100%, color-mix(in srgb, var(--sage) 42%, transparent), transparent 60%), linear-gradient(135deg, var(--ink-2), var(--ink));
  box-shadow: 0 22px 44px -18px color-mix(in srgb, var(--ink) 70%, transparent), inset 0 0 0 1px color-mix(in srgb, #fff 9%, transparent); }
.cc-face::after { content: ''; position: absolute; inset: -40%; pointer-events: none; translate: -55% 0; animation: cc-sheen 7s ease-in-out infinite;
  background: linear-gradient(105deg, transparent 42%, color-mix(in srgb, #fff 13%, transparent) 50%, transparent 58%); }
@keyframes cc-sheen { 45%, 100% { translate: 55% 0; } }
.cc-front { display: flex; flex-direction: column; justify-content: space-between; }
.cc-back { transform: rotateY(180deg); padding: 0; }
.cc-top { display: flex; justify-content: space-between; align-items: center; }
.cc-chip { position: relative; width: 42px; height: 31px; border-radius: 7px; background: linear-gradient(135deg, #f5d995, var(--mustard) 55%, #b5801c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .2); }
.cc-chip::before { content: ''; position: absolute; inset: 9px 0; border-block: 1px solid rgb(0 0 0 / .22); }
.cc-chip::after { content: ''; position: absolute; inset: 0 15px; border-inline: 1px solid rgb(0 0 0 / .22); }
.cc-brand { display: flex; align-items: center; height: 26px; font: italic 700 21px/1 var(--font-display); letter-spacing: .05em; }
.cc-brand::after { transition: opacity .3s; }
.cc[data-brand=visa] .cc-brand::after { content: 'VISA'; }
.cc[data-brand=mir] .cc-brand::after { content: 'МИР'; font-style: normal; }
.cc[data-brand=mc] .cc-brand { width: 46px; background: radial-gradient(circle at 14px 50%, #eb001b 12.5px, transparent 13px), radial-gradient(circle at 32px 50%, rgb(247 158 27 / .92) 12.5px, transparent 13px); }
/* 19 characters (16 digits and 3 spaces) ≈ 13em of monospace: sized by the card's own width, so it never spills */
.cc-num { font: 500 min(21px, calc((min(100cqw, 330px) - 40px) / 13))/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .06em; white-space: nowrap; text-shadow: 0 1px 0 rgb(0 0 0 / .35); }
.cc-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.cc-row > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-row small { display: block; margin-bottom: 3px; font-size: 9px; opacity: .55; }
.cc-row b { font: 500 14px ui-monospace, "SF Mono", Menlo, monospace; }
.cc-stripe { height: 44px; margin-top: 22px; background: #0a0b0c; }
.cc-sign { display: flex; align-items: center; justify-content: flex-end; height: 38px; margin: 18px 20px 0; padding: 0 12px; border-radius: 6px; color: var(--ink);
  background: repeating-linear-gradient(-45deg, #f4f1e8 0 6px, #e7e2d4 6px 12px); font: 600 15px ui-monospace, Menlo, monospace; letter-spacing: .2em; }
.cc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-pay .input { font-variant-numeric: tabular-nums; }
.cc-demo { display: flex; gap: 9px; align-items: baseline; margin: 2px 0 0; padding: 9px 12px; border-radius: 10px; background: var(--color-surface); font-size: 12.5px; line-height: 1.45; color: var(--color-neutral-700); }
.cc-demo b { flex: none; padding: 1px 7px; border-radius: 999px; background: var(--mustard); color: var(--ink); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.cc-go { margin-top: 14px; }
/* while "the bank" answers, the card breathes */
.cc-pay.busy .cc { animation: cc-charge 1.1s ease-in-out infinite; }
@keyframes cc-charge { 50% { transform: translateY(-5px) scale(1.02); filter: brightness(1.12); } }
.cc-inline { max-width: 400px; margin-top: 14px; padding-top: 4px; border-top: 1px solid var(--color-divider); }
.cc-inline.enter { animation: rise .45s var(--ease-out); }
.done { text-align: center; }
.done .check-draw { display: block; margin: 0 auto 10px; color: var(--sage-deep); }
.done-card { display: flex; flex-direction: column; gap: 4px; margin: 14px 0; padding: 14px; text-align: left; border-radius: 12px; background: var(--color-surface); font-size: 14px; }
.done-sum { font: 500 20px var(--font-display); }
@media (max-width: 1000px) { .book-grid { grid-template-columns: minmax(0, 1fr); } .panel { position: static; } }

/* — tariffs: a board, not a row of cards — */
.tariffs { padding: clamp(64px, 8vw, 128px) 0; background: var(--ink); color: #fff; }
.tariffs .sec-head p { color: color-mix(in srgb, #fff 62%, transparent); }
.board { border-top: 1px solid var(--ink-line); }
.board-row { position: relative; display: grid; grid-template-columns: minmax(90px, .9fr) minmax(170px, 1.3fr) minmax(130px, 1fr) minmax(0, 2.2fr) minmax(170px, auto); gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--ink-line); }
.board-row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--led); box-shadow: 0 0 14px 1px color-mix(in srgb, var(--led) 70%, transparent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.board-row:not(.board-cols):hover::after { transform: scaleX(1); }
.board-cols { padding: 0 0 12px; font-size: 13px; color: color-mix(in srgb, #fff 45%, transparent); }
.b-k { font: 500 clamp(22px, 1.8vw, 28px) var(--font-display); }
.b-price { font: 500 clamp(24px, 2.2vw, 36px)/1.05 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.b-price small { font: 400 14px var(--font-body); letter-spacing: 0; color: color-mix(in srgb, #fff 55%, transparent); }
.b-day { display: flex; flex-direction: column; gap: 3px; font-size: 15.5px; color: color-mix(in srgb, #fff 80%, transparent); font-variant-numeric: tabular-nums; }
.b-day em { font-style: normal; font-size: 13px; color: var(--mustard); }
.b-text { font-size: 15px; color: color-mix(in srgb, #fff 62%, transparent); }
.b-cta { justify-self: end; }
.board-row.best .b-price { color: var(--mustard); }
@media (max-width: 1000px) {
  .board-cols { display: none; }
  .board-row { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .b-price { text-align: right; }
  .b-day, .b-text { grid-column: 1 / -1; }
  .b-day { flex-direction: row; gap: 10px; }
  .b-day.empty { display: none; }
  .b-cta { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
}

/* — on site and on request — */
.services { padding: clamp(64px, 8vw, 128px) 0; }
.services-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 120px); }
.services h2 { font-size: clamp(28px, 2.6vw, 42px); margin-bottom: 26px; }
.inside { list-style: none; margin: 0; padding: 0; columns: 2 15em; column-gap: 32px; }
.inside li { position: relative; break-inside: avoid; padding: 13px 0 13px 22px; border-top: 1px solid var(--color-divider); font-size: 15.5px; }
.inside li::before { content: ""; position: absolute; left: 0; top: 21px; width: 9px; height: 9px; border-radius: 2px; background: var(--sage); }
.extra { margin: 0; }
.extra > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--color-divider); }
.extra dt { font: 500 19px/1.25 var(--font-display); }
.extra dd { margin: 0; font-size: 14.5px; color: var(--color-neutral-700); }
@media (max-width: 900px) { .services-in { grid-template-columns: minmax(0, 1fr); } .extra > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* — contacts — */
.foot { position: relative; overflow: hidden; padding-top: clamp(64px, 8vw, 128px); background: var(--ink); color: #fff; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 120px); }
.foot-cta p { max-width: 30em; margin: 20px 0 30px; font-size: 17px; color: color-mix(in srgb, #fff 66%, transparent); }
.foot-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.foot-contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; align-content: start; margin: 0; }
.foot-contacts dt { margin-bottom: 6px; font-size: 13px; color: color-mix(in srgb, #fff 45%, transparent); }
.foot-contacts dd { margin: 0; font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.foot a { color: #fff; text-decoration-color: color-mix(in srgb, #fff 30%, transparent); transition: text-decoration-color .2s; }
.foot a:hover { text-decoration-color: var(--mustard); }
.foot a.btn { text-decoration: none; }
.foot .btn-cta { color: var(--ink); }
.foot-word { margin: clamp(48px, 7vw, 110px) 0 0; padding-left: var(--gutter); font: 200 clamp(64px, 16.5vw, 320px)/1.08 var(--font-display); letter-spacing: .14em; color: var(--ink-2); white-space: nowrap; user-select: none; }
.foot-legal { display: flex; gap: 10px 28px; flex-wrap: wrap; padding-block: 20px 28px; border-top: 1px solid var(--ink-line); font-size: 13px; color: color-mix(in srgb, #fff 45%, transparent); }
.foot-legal a { color: inherit; }
@media (max-width: 900px) { .foot-in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .foot-contacts { grid-template-columns: minmax(0, 1fr); } }

/* — cabinet and documents — */
.page { max-width: 780px; margin: 0 auto; padding: 108px 24px 80px; }
.page h2 { font-size: clamp(28px, 3vw, 40px); }
.page .subhead { font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--color-neutral-700); }

/* — request popup — */
.lead { width: min(900px, 100%); display: grid; grid-template-columns: .95fr 1.05fr; gap: 0; padding: 0; overflow: hidden; position: relative; border-radius: 20px; }
.lead-art { position: relative; isolation: isolate; overflow: hidden; min-height: 500px; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; color: #fff; background: var(--ink); }
.lead-art img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-in-out calc(var(--now, 0) * -1s) infinite alternate; }
@keyframes kenburns { to { transform: scale(1.12) translate(-2%, -2%); } }
.lead-art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 10%, transparent), color-mix(in srgb, var(--ink) 40%, transparent) 40%, color-mix(in srgb, var(--ink) 92%, transparent)); }
.lead-name { font: 500 40px/1.05 var(--font-display); letter-spacing: -.02em; }
.lead-price { margin-top: 6px; font-size: 17px; color: color-mix(in srgb, #fff 85%, transparent); }
.lead-price b { font: 500 24px var(--font-display); color: var(--mustard); }
.lead-perks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 14.5px; }
.lead-perks li { display: flex; gap: 10px; align-items: center; }
.lead-perks li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--sage); }
.lead-art-text.enter .lead-name, .lead-art-text.enter .lead-price, .lead-art-text.enter .lead-perks li { animation: rise .45s var(--ease-out) both; }
.lead-art-text.enter .lead-perks li:nth-child(2) { animation-delay: .06s; }
.lead-art-text.enter .lead-perks li:nth-child(3) { animation-delay: .12s; }
.lead-body { display: flex; flex-direction: column; gap: 14px; padding: 40px 36px 30px; }
.lead-body h3 { font: 500 30px/1.1 var(--font-display); margin: 0; }
.lead-body > p { margin: 0; font-size: 14.5px; }
.lead-body .btn-lg { width: 100%; margin-top: 4px; }
.lead-legal { font-size: 12px; color: var(--color-neutral-600); text-align: center; }
.lead-legal a { color: inherit; }
.lead-done { justify-content: center; align-items: center; text-align: center; }
.lead-done .check-draw { width: 76px; height: 76px; margin-bottom: 6px; }
.dialog-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--color-surface); color: var(--color-text); font: inherit; font-size: 15px; cursor: pointer; transition: background-color .2s, transform .35s var(--ease-spring); }
.dialog-x:hover { background: var(--color-neutral-200); transform: rotate(90deg); }
/* floating-label field */
.ff { position: relative; }
.ff input { width: 100%; height: 58px; padding: 24px 16px 6px; font: inherit; font-size: 15.5px; color: var(--color-text); background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: 14px; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.ff input:hover { border-color: color-mix(in srgb, var(--color-text) 35%, transparent); }
.ff input:focus { outline: none; border-color: var(--color-text); background: var(--color-bg); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 8%, transparent); }
.ff label { position: absolute; left: 17px; top: 18px; font-size: 15.5px; color: var(--color-neutral-600); pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease-out), color .2s; }
.ff input:focus + label, .ff input:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.76); color: var(--color-neutral-700); }
@media (max-width: 720px) {
  .lead { grid-template-columns: minmax(0, 1fr); }
  .lead-art { min-height: 190px; padding: 22px; }
  .lead-perks { display: none; }
  .lead-body { padding: 24px 20px 20px; }
  .dialog-x { background: color-mix(in srgb, #fff 85%, transparent); }
}

/* ── guest sign-in: a card with an envelope that draws itself, then six code cells ── */
.login-card { position: relative; max-width: 460px; margin: 18px 0 8px; padding: 30px 28px 26px; border-radius: 22px; background: var(--color-bg);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--color-divider); overflow: hidden; }
.login-card::before { content: ''; position: absolute; inset: -40% -30% auto auto; width: 260px; height: 260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--mustard) 30%, transparent), transparent 65%); }
.login-card.enter { animation: rise .45s var(--ease-out); }
.login-card form { position: relative; display: flex; flex-direction: column; gap: 12px; }
.login-card h2 { margin: 0; font-size: clamp(24px, 3vw, 30px); }
.login-card p { margin: 0 0 4px; font-size: 14.5px; line-height: 1.55; }
.login-ico { position: relative; width: 46px; height: 46px; margin-bottom: 8px; fill: none; stroke: var(--color-text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.login-ico rect { fill: var(--led); stroke-dasharray: 140; stroke-dashoffset: 140; animation: draw .8s var(--ease-out) .1s forwards; }
.login-ico path { stroke: var(--mustard); stroke-width: 2.6; stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .5s var(--ease-out) .7s forwards; }
.login-more { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13.5px; }
.otp { position: relative; display: block; margin: 4px 0; }
.otp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; caret-color: transparent; }
.otp span { display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); gap: 8px; max-width: calc(var(--n, 6) * 66px); pointer-events: none; }
.otp i { display: grid; place-items: center; height: 60px; border: 1.5px solid var(--color-neutral-300); border-radius: 14px; background: var(--color-surface);
  font: 500 28px var(--font-display); font-style: normal; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.otp i.full { border-color: var(--color-text); background: var(--color-bg); animation: pop-soft .3s var(--ease-spring); }
.otp:focus-within i.at { border-color: var(--mustard); background: var(--color-bg); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mustard) 28%, transparent); }
.otp:focus-within i.at::after { content: ''; width: 2px; height: 28px; background: var(--color-text); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.otp.bad i { border-color: var(--color-accent-2-600); animation: shake .42s ease-in-out; }
@keyframes shake { 20%, 60% { translate: -6px 0; } 40%, 80% { translate: 6px 0; } }
.me-head { display: flex; align-items: center; gap: 16px; margin: 16px 0 4px; flex-wrap: wrap; }
.me-head.enter { animation: rise .45s var(--ease-out); }
.me-ava { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--mustard); color: var(--ink); font: 600 20px var(--font-display); }
.top-me { display: inline-flex; align-items: center; gap: 8px; }
.top-me i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mustard); color: var(--ink); font: 600 12.5px var(--font-body); font-style: normal; }
@media (max-width: 480px) { .login-card { padding: 24px 18px 20px; } .otp span { gap: 6px; } .otp i { height: 52px; font-size: 24px; } }
