/* Built by tools/build-css.mjs — edit the parts, not this file. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/manrope-300-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/manrope-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/manrope-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/manrope-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ===== _tokens.css ===== */
/* Office Space — design tokens.
   Source of truth: Figma file l3e0JfhvftgePzh5xn5WhW, page "2. Дизайн-система" (node 5:2).
   Values mirror the Figma variables one-to-one — do not hand-tune. */

:root {
  /* graphite */
  --os-graphite-900: #0f1012;
  --os-graphite-800: #15171a;
  --os-graphite-700: #1e2125;
  --os-graphite-600: #26292e;
  --os-graphite-500: #33373d;
  --os-graphite-400: #4a4f56;

  /* ivory */
  --os-ivory-100: #ffffff;
  --os-ivory-200: #f2ede4;
  --os-ivory-300: #e0d8cb;
  --os-ivory-400: #cfc7ba;
  --os-ivory-500: #b9b0a2;

  /* accent */
  --os-bronze: #c29a63;
  --os-bronze-dark: #7a5730;
  --os-logo-bronze: #916a3b;

  /* text */
  --os-text-on-light: #1b1c1e;
  --os-text-on-light-muted: #4f4b45;
  --os-text-on-light-subtle: #5c5852;
  --os-text-on-dark: #f2ede4;
  --os-text-on-dark-muted: #a9a49b;

  /* status */
  --os-status-free-bg: #dcebdf;
  --os-status-free-fg: #1f4a2f;
  --os-status-soon-bg: #f1e3c8;
  --os-status-soon-fg: #5e431f;
  --os-status-busy-bg: #d9d3c9;
  --os-status-busy-fg: #4f4b45;
  --os-status-meeting-bg: #e3e8ee;
  /* Заливки плана этажа. Пастельные --os-status-*-bg на 40% прозрачности
     над чертежом не читаются, поэтому у полигонов свои, более плотные тона.
     Легенда собирается из этих же значений, смешанных с белым на те же 40%,
     так что образец в легенде и офис на плане совпадают по построению. */
  --os-plan-free: #3f8f5c;
  --os-plan-soon: #c08a2e;
  --os-plan-busy: #8e867b;
  --os-plan-meeting: #4f7aa6;
  --os-plan-fill: 40%;

  --os-status-error-bg: #f6deda;
  --os-status-error-fg: #8a2a1c;

  /* type scale — letter-spacing is px in Figma, kept as px here */
  --os-font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  --os-display-l-size: 56px;
  --os-display-l-weight: 600;
  --os-display-l-lh: 1;
  --os-display-l-ls: -0.84px;   /* Figma -1.5% of 56px */

  --os-heading-m-size: 32px;
  --os-heading-m-weight: 600;
  --os-heading-m-lh: 1.04;
  --os-heading-m-ls: -0.32px;   /* Figma -1% of 32px */

  --os-heading-s-size: 22px;
  --os-heading-s-weight: 600;
  --os-heading-s-lh: 1.2;
  --os-heading-s-ls: 0;

  --os-body-l-size: 18px;
  --os-body-l-lh: 1.6;
  --os-body-m-size: 16px;
  --os-body-m-lh: 1.6;
  --os-body-s-size: 14px;
  --os-body-s-lh: 1.55;

  --os-number-l-size: 48px;
  --os-number-l-weight: 300;
  --os-number-l-lh: 1;

  --os-label-button-size: 14px;
  --os-label-button-weight: 700;
  --os-label-button-lh: 1;
  --os-label-button-ls: 1.12px; /* Figma 8% of 14px */

  --os-label-eyebrow-size: 13px;
  --os-label-eyebrow-weight: 600;
  --os-label-eyebrow-lh: 1.3;
  --os-label-eyebrow-ls: 2.34px; /* Figma 18% of 13px */

  /* layout */
  --os-container: 1440px;
  --os-gutter-desktop: 80px;
  --os-gutter-mobile: 16px;
  --os-header-h-desktop: 88px;
  --os-header-h-mobile: 64px;
}


/* ===== _reset.css ===== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--os-ivory-200);
  color: var(--os-text-on-light);
  font-family: var(--os-font);
  font-size: var(--os-body-m-size);
  line-height: var(--os-body-m-lh);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Figma renders text with default kerning and no optional ligatures; matching
     that here keeps headline widths identical to the reference PNGs. */
  font-kerning: normal;
  font-variant-ligatures: none;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
  margin: 0;
}
button { background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

:focus-visible { outline: 2px solid var(--os-bronze); outline-offset: 2px; }

.os-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ===== _typography.css ===== */
/* Type styles from the Figma text styles. Sizes are fixed — the design has a
   separate 390px mobile layout rather than fluid type, so these are overridden
   per breakpoint in the page styles, never scaled with vw. */

.os-display-l {
  font-size: var(--os-display-l-size);
  font-weight: var(--os-display-l-weight);
  line-height: var(--os-display-l-lh);
  letter-spacing: var(--os-display-l-ls);
}

.os-heading-m {
  font-size: var(--os-heading-m-size);
  font-weight: var(--os-heading-m-weight);
  line-height: var(--os-heading-m-lh);
  letter-spacing: var(--os-heading-m-ls);
}

.os-heading-s {
  font-size: var(--os-heading-s-size);
  font-weight: var(--os-heading-s-weight);
  line-height: var(--os-heading-s-lh);
}

.os-body-l { font-size: var(--os-body-l-size); line-height: var(--os-body-l-lh); }
.os-body-m { font-size: var(--os-body-m-size); line-height: var(--os-body-m-lh); }
.os-body-s { font-size: var(--os-body-s-size); line-height: var(--os-body-s-lh); }

.os-number-l {
  font-size: var(--os-number-l-size);
  font-weight: var(--os-number-l-weight);
  line-height: var(--os-number-l-lh);
}

.os-eyebrow {
  font-size: var(--os-label-eyebrow-size);
  font-weight: var(--os-label-eyebrow-weight);
  line-height: var(--os-label-eyebrow-lh);
  letter-spacing: var(--os-label-eyebrow-ls);
  text-transform: uppercase;
}

.os-muted { color: var(--os-text-on-light-muted); }
.os-subtle { color: var(--os-text-on-light-subtle); }


/* ===== _layout.css ===== */
/* The design is a fixed 1440 desktop canvas with an 80px gutter and a fixed 390
   mobile canvas with a 16px gutter. Everything in between stretches the gutter,
   never the content column, which is how the Figma frames behave. */

.os-container {
  width: 100%;
  max-width: var(--os-container);
  margin-inline: auto;
  padding-inline: var(--os-gutter-desktop);
}

.os-section { position: relative; }
.os-section--light { background: var(--os-ivory-200); color: var(--os-text-on-light); }
.os-section--dark { background: var(--os-graphite-800); color: var(--os-text-on-dark); }
.os-section--white { background: var(--os-ivory-100); color: var(--os-text-on-light); }

.os-grid { display: grid; gap: 32px; }
.os-grid--2 { grid-template-columns: repeat(2, 1fr); }
.os-grid--3 { grid-template-columns: repeat(3, 1fr); }
.os-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1023px) {
  .os-container { padding-inline: 32px; }
  .os-grid--3, .os-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .os-container { padding-inline: var(--os-gutter-mobile); }
  .os-grid { gap: 16px; }
  .os-grid--2, .os-grid--3, .os-grid--4 { grid-template-columns: 1fr; }
}


/* ===== ui/_button.css ===== */
/* Figma 5:85. Padding 32/21 with line-height 1 gives the 56px height from the
   spec; the outline variants add a 1px border and come out at 58px, exactly as
   in the design. */
.os-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 21px 32px;
  border: 0;
  font-size: var(--os-label-button-size);
  font-weight: var(--os-label-button-weight);
  line-height: var(--os-label-button-lh);
  letter-spacing: var(--os-label-button-ls);
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

/* Keeps the tap target at 44px without changing the painted box. */
.os-btn::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  translate: 0 -50%;
  min-height: 44px;
  height: 100%;
}

.os-btn--primary { background: var(--os-bronze); color: var(--os-graphite-800); }
.os-btn--primary:hover { background: #b78a4e; }

.os-btn--dark { background: var(--os-graphite-800); color: var(--os-text-on-dark); }
.os-btn--dark:hover { background: var(--os-graphite-600); }

.os-btn--outline-dark {
  background: var(--os-graphite-800);
  border: 1px solid var(--os-graphite-400);
  color: var(--os-text-on-dark);
}
.os-btn--outline-dark:hover { border-color: var(--os-bronze); }

.os-btn--outline-light {
  background: transparent;
  border: 1px solid var(--os-graphite-800);
  color: var(--os-text-on-light);
}
.os-btn--outline-light:hover { background: var(--os-graphite-800); color: var(--os-text-on-dark); }

.os-btn--link {
  padding: 12px 0;
  background: none;
  color: var(--os-bronze-dark);
}
.os-btn--link:hover { color: var(--os-graphite-800); }

/* A disabled primary keeps its shape but drops to a flat muted fill: the
   translucent version let the panel behind it show through unevenly. */
.os-btn[disabled] { cursor: not-allowed; }
.os-btn--primary[disabled] { background: var(--os-graphite-500); color: var(--os-text-on-dark-muted); }
.os-btn--dark[disabled], .os-btn--outline-dark[disabled], .os-btn--outline-light[disabled] { opacity: .45; }
.os-btn--block { width: 100%; }

/* A button label is one line in every screen of the design. Without this it
   wraps wherever a flex row squeezes the button, and the control grows by a
   whole line. */
.os-btn > span { white-space: nowrap; }
.os-btn--block > span { white-space: normal; }


/* ===== ui/_chip.css ===== */
/* Figma 5:97. 13/18 padding at 14px semibold renders the 47px tall chip. */
.os-chip {
  display: inline-flex;
  align-items: center;
  padding: 13px 18px;
  border: 1px solid;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.os-chip--light {
  background: transparent;
  border-color: var(--os-ivory-500);
  color: var(--os-text-on-light);
}
.os-chip--light.is-selected,
.os-chip--light[aria-pressed="true"] {
  background: var(--os-graphite-800);
  border-color: var(--os-graphite-800);
  color: var(--os-text-on-dark);
}

.os-chip--dark {
  background: transparent;
  border-color: var(--os-graphite-400);
  color: var(--os-text-on-dark);
}
.os-chip--dark.is-selected,
.os-chip--dark[aria-pressed="true"] {
  background: var(--os-ivory-200);
  border-color: var(--os-ivory-200);
  color: var(--os-text-on-light);
}

.os-chips { display: flex; flex-wrap: wrap; gap: 8px; }


/* ===== ui/_time-slot.css ===== */
/* Figma 5:113 — fixed 104x48 tile. */
.os-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 48px;
  border: 1px solid;
  font-size: 15px;
  font-weight: 600;
  line-height: normal;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.os-slot--light { background: var(--os-ivory-100); border-color: var(--os-ivory-500); color: var(--os-text-on-light); }
.os-slot--light.is-selected { background: var(--os-graphite-800); border-color: var(--os-graphite-800); color: var(--os-text-on-dark); }
.os-slot--light.is-busy {
  background: var(--os-status-busy-bg);
  border-color: var(--os-status-busy-bg);
  color: var(--os-text-on-light-subtle);
  text-decoration: line-through;
  cursor: not-allowed;
}

.os-slot--dark { background: transparent; border-color: var(--os-graphite-400); color: var(--os-text-on-dark); }
.os-slot--dark.is-selected { background: var(--os-bronze); border-color: var(--os-bronze); color: var(--os-text-on-light); }
.os-slot--dark.is-busy {
  background: var(--os-graphite-600);
  border-color: var(--os-graphite-600);
  color: var(--os-text-on-dark-muted);
  text-decoration: line-through;
  cursor: not-allowed;
}

.os-slots { display: flex; flex-wrap: wrap; gap: 8px; }

/* Legend under the slot grid on the booking page. */
.os-slots-legend { display: flex; gap: 20px; align-items: center; font-size: 12px; color: var(--os-text-on-light-subtle); }
.os-slots-legend span { display: inline-flex; align-items: center; gap: 6px; }
.os-slots-legend i { width: 10px; height: 10px; border: 1px solid var(--os-ivory-500); background: var(--os-ivory-100); }
.os-slots-legend .is-selected i { background: var(--os-graphite-800); border-color: var(--os-graphite-800); }
.os-slots-legend .is-busy i { background: var(--os-status-busy-bg); border-color: var(--os-status-busy-bg); }


/* ===== ui/_status-badge.css ===== */
/* Figma 5:127 — 12/7 padding at 13px bold gives the 32px pill. */
.os-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}

.os-badge--free    { background: var(--os-status-free-bg);    color: var(--os-status-free-fg); }
.os-badge--soon    { background: var(--os-status-soon-bg);    color: var(--os-status-soon-fg); }
.os-badge--busy    { background: var(--os-status-busy-bg);    color: var(--os-status-busy-fg); }
.os-badge--meeting { background: var(--os-status-meeting-bg); color: var(--os-text-on-light); }
.os-badge--error   { background: var(--os-status-error-bg);   color: var(--os-status-error-fg); }


/* ===== ui/_input.css ===== */
/* Figma 5:139 — label, 8px gap, then a 16/15 padded field at 16px regular. */
.os-field { display: flex; flex-direction: column; gap: 8px; width: 100%; }

.os-field__label {
  font-size: 13px;
  font-weight: 600;
  line-height: normal;
}

.os-field__input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid;
  border-radius: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  appearance: none;
}

.os-field--light .os-field__label { color: var(--os-text-on-light); }
.os-field--light .os-field__input {
  background: var(--os-ivory-100);
  border-color: var(--os-ivory-500);
  color: var(--os-text-on-light);
}
.os-field--light .os-field__input::placeholder { color: var(--os-text-on-light-subtle); }
.os-field--light .os-field__input:focus { border-color: var(--os-graphite-800); outline: none; }

.os-field--dark .os-field__label { color: var(--os-text-on-dark-muted); }
.os-field--dark .os-field__input {
  background: var(--os-graphite-800);
  border-color: var(--os-graphite-400);
  color: var(--os-text-on-dark);
}
.os-field--dark .os-field__input::placeholder { color: var(--os-text-on-dark-muted); }
.os-field--dark .os-field__input:focus { border-color: var(--os-bronze); outline: none; }

.os-field--area .os-field__input { resize: vertical; line-height: 1.5; }

/* Галка согласия. Квадрат 18px под размер строки, подпись мелкая — она
   поясняет, а не спорит за внимание с полями формы. */
.os-consent { display: flex; align-items: flex-start; gap: 10px; width: 100%; }

.os-consent__box {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 1px solid;
  border-radius: 0;
  appearance: none;
  cursor: pointer;
}
.os-consent__box:checked {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 6.5 4.5 10 11 2' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
}

.os-consent__label { font-size: 13px; line-height: 19px; cursor: pointer; }
.os-consent__label a { text-decoration: underline; }

.os-consent--light .os-consent__box { background: var(--os-ivory-100); border-color: var(--os-ivory-500); }
.os-consent--light .os-consent__box:checked { background-color: var(--os-graphite-800); border-color: var(--os-graphite-800); }
.os-consent--light .os-consent__box:focus-visible { outline: 2px solid var(--os-graphite-800); outline-offset: 2px; }
.os-consent--light .os-consent__label { color: var(--os-text-on-light-subtle); }
.os-consent--light .os-consent__label a { color: var(--os-text-on-light); }

.os-consent--dark .os-consent__box { background: var(--os-graphite-800); border-color: var(--os-graphite-400); }
.os-consent--dark .os-consent__box:checked { background-color: var(--os-bronze); border-color: var(--os-bronze); }
.os-consent--dark .os-consent__box:focus-visible { outline: 2px solid var(--os-bronze); outline-offset: 2px; }
.os-consent--dark .os-consent__label { color: var(--os-text-on-dark-muted); }
.os-consent--dark .os-consent__label a { color: var(--os-text-on-dark); }


/* ===== ui/_code-digit.css ===== */
/* Figma 5:143. The component is 56x72; the login screen resizes its instances
   to 64x64, so the box is sized by the parent and only the type is fixed here. */
.os-code-digit {
  width: 56px;
  height: 72px;
  padding: 0;
  border: 0;
  background: var(--os-ivory-200);
  font-size: 36px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
  color: var(--os-text-on-light);
}
.os-code-digit:focus { outline: 2px solid var(--os-bronze); outline-offset: -2px; }

.os-code { display: flex; gap: 10px; }
.os-code--login .os-code-digit { width: 64px; height: 64px; }


/* ===== ui/_stat.css ===== */
/* Figma 5:151 — Number/L over Body/S with an 8px gap. */
.os-stat { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

.os-stat__value {
  font-size: var(--os-number-l-size);
  font-weight: var(--os-number-l-weight);
  line-height: var(--os-number-l-lh);
}

.os-stat__caption { font-size: 14px; line-height: 1.55; }

.os-stat--light .os-stat__value { color: var(--os-text-on-light); }
.os-stat--light .os-stat__caption { color: var(--os-text-on-light-subtle); }
.os-stat--dark .os-stat__value { color: var(--os-text-on-dark); }
.os-stat--dark .os-stat__caption { color: var(--os-text-on-dark-muted); }


/* ===== ui/_numbered-item.css ===== */
/* Figma 5:162 — a top rule, the index, then title and body in a column. */
.os-num {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding-block: 28px;
  border-top: 1px solid;
}

.os-num__n { font-size: 14px; font-weight: 600; line-height: normal; white-space: nowrap; }
.os-num__body { display: flex; flex-direction: column; gap: 8px; flex: 1 0 0; min-width: 0; }
.os-num__title { font-size: 22px; font-weight: 600; line-height: 1.2; text-transform: uppercase; }
.os-num__text { font-size: 16px; line-height: 1.6; }

.os-num--light { border-top-color: var(--os-ivory-400); }
.os-num--light .os-num__n { color: var(--os-bronze-dark); }
.os-num--light .os-num__title { color: var(--os-text-on-light); }
.os-num--light .os-num__text { color: var(--os-text-on-light-muted); }

.os-num--dark { border-top-color: var(--os-graphite-500); }
.os-num--dark .os-num__n { color: var(--os-bronze); }
.os-num--dark .os-num__title { color: var(--os-text-on-dark); }
.os-num--dark .os-num__text { color: var(--os-text-on-dark-muted); }

@media (max-width: 767px) {
  .os-num { gap: 16px; padding-block: 20px; }
  .os-num__title { font-size: 18px; }
}

/* UX-8: оставшиеся шаги приглушены, пройденные остаются бронзовыми
   (Figma 18:245) — различие только в цвете номера. */
.os-num--dark-muted { border-top-color: var(--os-graphite-500); }
.os-num--dark-muted .os-num__n { color: var(--os-text-on-dark-muted); }
.os-num--dark-muted .os-num__title { color: var(--os-text-on-dark); }
.os-num--dark-muted .os-num__text { color: var(--os-text-on-dark-muted); }


/* ===== ui/_section-heading.css ===== */
/* Figma 5:169 — eyebrow, 20px gap, Display/L title. */
.os-heading { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

.os-heading__eyebrow {
  font-size: var(--os-label-eyebrow-size);
  font-weight: var(--os-label-eyebrow-weight);
  line-height: var(--os-label-eyebrow-lh);
  letter-spacing: var(--os-label-eyebrow-ls);
  text-transform: uppercase;
}

.os-heading__title {
  font-size: var(--os-display-l-size);
  font-weight: var(--os-display-l-weight);
  line-height: var(--os-display-l-lh);
  letter-spacing: var(--os-display-l-ls);
  text-transform: uppercase;
}

.os-heading--light .os-heading__eyebrow { color: var(--os-bronze-dark); }
.os-heading--light .os-heading__title { color: var(--os-text-on-light); }
.os-heading--dark .os-heading__eyebrow { color: var(--os-bronze); }
.os-heading--dark .os-heading__title { color: var(--os-text-on-dark); }

@media (max-width: 767px) {
  .os-heading { gap: 14px; }
  .os-heading__title { font-size: 34px; letter-spacing: -0.51px; }
}


/* ===== ui/_sidebar-item.css ===== */
/* Figma 5:174 — 220x44, active state adds a 3px bronze rule and a darker fill.
   The border is on both states so the label never shifts by 3px on activation. */
.os-side-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px;
  border-left: 3px solid transparent;
  font-size: 15px;
  font-weight: 500;
  line-height: normal;
  color: var(--os-text-on-dark);
  transition: background-color .18s ease;
}
.os-side-item:hover { background: var(--os-graphite-700); }
.os-side-item.is-active {
  background: var(--os-graphite-700);
  border-left-color: var(--os-bronze);
  font-weight: 700;
}


/* ===== ui/_card-office.css ===== */
/* Figma Card/Office 6:135 (light) and the dark build on the home page 99:675.
   Dark card: 410.5 wide, 260px photo, 28px inset. */

.os-card-office { display: flex; flex-direction: column; }

.os-card-office__media { display: block; overflow: hidden; }
.os-card-office__photo,
.os-card-office__media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.os-card-office__body { display: flex; flex-direction: column; flex: 1 0 auto; }

.os-card-office__place { font-size: 13px; line-height: 18px; }
.os-card-office__specs { display: flex; gap: 24px; font-size: 15px; line-height: 20.5px; }
.os-card-office__amount { font-size: 26px; font-weight: 600; line-height: 35.5px; }
.os-card-office__period { font-size: 15px; line-height: 35.5px; }

/* ---- dark ---- */
.os-card-office--dark { background: var(--os-graphite-700); }
.os-card-office--dark .os-card-office__body { padding: 28px 28px 40.5px; }
.os-card-office--dark .os-card-office__place { color: var(--os-text-on-dark-muted); margin-bottom: 18px; }
.os-card-office--dark .os-card-office__title { font-size: 0; margin: 0; }
.os-card-office--dark .os-card-office__title a { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.os-card-office--dark .os-card-office__specs { color: var(--os-text-on-dark); margin-bottom: 18.5px; }
.os-card-office--dark .os-card-office__amount { color: var(--os-text-on-dark); }
.os-card-office--dark .os-card-office__period { color: var(--os-text-on-dark-muted); }
.os-card-office--dark .os-card-office__price { margin-bottom: 27px; }

.os-card-office--dark .os-card-office__more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  line-height: 19px;
  letter-spacing: 0.8182px;
  text-transform: uppercase;
  color: var(--os-bronze);
}
.os-card-office--dark .os-card-office__more:hover { color: var(--os-text-on-dark); }

/* ---- light (catalogue) — Figma 32:157: 410.5x461, 1px rule, 220px photo ---- */
.os-card-office--light {
  background: var(--os-ivory-100);
  border: 1px solid var(--os-ivory-300);
  min-height: 461px;
}
.os-card-office--light .os-card-office__photo,
.os-card-office--light .os-card-office__media img { height: 220px; }
.os-card-office--light .os-card-office__body { padding: 24px; gap: 0; }
.os-card-office--light .os-card-office__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11.5px;
}

/* The catalogue states the status as coloured text rather than a filled
   badge, and in its own green (Figma 32:162). */
.os-card-office__status {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 16.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.os-card-office__status.is-free { color: #2f6b45; }
.os-card-office__status.is-soon { color: var(--os-status-soon-fg); }
.os-card-office__status.is-busy { color: var(--os-text-on-light-subtle); }
.os-card-office--light .os-card-office__place { color: var(--os-text-on-light-subtle); }
.os-card-office--light .os-card-office__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 27.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.os-card-office--light .os-card-office__specs {
  gap: 20px;
  color: var(--os-text-on-light-muted);
  margin-bottom: 12.5px;
}
.os-card-office--light .os-card-office__amount { font-size: 24px; line-height: 33px; color: var(--os-text-on-light); }
.os-card-office--light .os-card-office__period { font-size: 14px; line-height: 33px; color: var(--os-text-on-light-subtle); }
.os-card-office--light .os-card-office__price { margin-bottom: 8px; }

.os-card-office--light .os-card-office__btn.os-btn {
  margin-top: auto;
  align-self: flex-start;
  height: 44px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0.8333px;
}

/* The light card's badge sits in the top row, so it must not stretch. */
.os-card-office__top .os-badge { flex-shrink: 0; }

@media (max-width: 767px) {
  .os-card-office__photo,
  .os-card-office__media img { height: 220px; }
  .os-card-office--dark .os-card-office__body { padding: 20px; }
  .os-card-office__amount { font-size: 22px; }
}


/* ===== ui/_card-object.css ===== */
/* Figma Card/Object 6:149 as placed in the catalogue (32:141): 628x280, a
   276px photo on the left and a 28px-inset dark panel beside it. */
.os-card-object {
  display: grid;
  grid-template-columns: 276px 1fr;
  height: 280px;
  background: var(--os-text-on-light);
  color: var(--os-text-on-dark);
  overflow: hidden;
}

.os-card-object__media { height: 280px; overflow: hidden; }
.os-card-object__photo,
.os-card-object__media img { width: 100%; height: 100%; object-fit: cover; }

.os-card-object__body { padding: 28px; }

.os-card-object__eyebrow {
  font-size: 12px;
  font-weight: 700;
  line-height: 16.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--os-bronze);
}

.os-card-object__title {
  margin-top: 14.5px;
  font-size: 24px;
  font-weight: 600;
  line-height: 33px;
  text-transform: uppercase;
}

.os-card-object__address {
  max-width: 296px;
  margin-top: 13.75px;
  font-size: 14px;
  line-height: 21.5px;
  color: var(--os-text-on-dark-muted);
}

.os-card-object__counts { margin-top: 14.25px; font-size: 15px; line-height: 20.5px; }

.os-card-object__link {
  display: inline-block;
  margin-top: 36.5px;
  font-size: 14px;
  font-weight: 600;
  line-height: 19px;
  letter-spacing: 0.8333px;
  text-transform: uppercase;
  color: var(--os-bronze);
}
.os-card-object__link:hover { color: var(--os-text-on-dark); }

@media (max-width: 767px) {
  .os-card-object { grid-template-columns: 1fr; height: auto; }
  .os-card-object__media { height: 200px; }
  .os-card-object__body { padding: 20px; }
  .os-card-object__title { font-size: 20px; line-height: 28px; }
}


/* ===== ui/_card-review.css ===== */
/* Figma Card/Review 6:181 as placed at 32:311: a 302x492 panel with a 246px
   scan inset 28px. */
.os-card-review {
  display: flex;
  flex-direction: column;
  min-height: 492px;
  margin: 0;
  padding: 28px;
  background: var(--os-graphite-700);
  color: var(--os-text-on-dark);
}

/* contain, а не cover: это письмо на бланке, и обрезка по центру съедала и
   шапку с логотипом компании, и подпись с печатью внизу — оставался
   безымянный кусок текста. Лист показывается целиком и открывается в
   полном размере по клику. */
.os-card-review__scan {
  display: block;
  height: 220px;
  overflow: hidden;
  background: var(--os-ivory-100);
}
.os-card-review__scan img { width: 100%; height: 100%; object-fit: contain; }
a.os-card-review__scan:hover { outline: 2px solid var(--os-bronze); outline-offset: -2px; }

.os-card-review__quote {
  margin-top: 17.5px;
  font-size: 15px;
  line-height: 24px;
  color: #d6d0c6;
}

/* Pinned to the bottom so the attributions line up across cards whose quotes
   run to different lengths. */
.os-card-review__by { margin-top: auto; padding-top: 18.5px; }
.os-card-review__company { display: block; font-size: 16px; font-weight: 700; line-height: 22px; }
.os-card-review__person {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 18px;
  color: var(--os-text-on-dark-muted);
}


/* ===== parts/_header.css ===== */
/* Figma: inner pages 96:633 (95px band, bottom rule), home hero 99:597 (the
   same bar laid transparently over the photo with a slightly larger logo).
   One element, two modifiers — the geometry differences are all variables. */

.os-header {
  --os-header-h: 95px;
  --os-logo-w: 189px;
  --os-logo-h: 36px;

  position: relative;
  z-index: 20;
  background: var(--os-graphite-800);
  border-bottom: 1px solid var(--os-graphite-600);
  color: var(--os-text-on-dark);
}

.os-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--os-header-h);
  max-width: var(--os-container);
  margin-inline: auto;
  padding-inline: var(--os-gutter-desktop);
}

/* Over the hero photo: no fill, no rule, and it does not take layout height. */
.os-header--over {
  --os-header-h: 102px;
  --os-logo-w: 210px;
  --os-logo-h: 40px;

  position: absolute;
  inset: 0 0 auto;
  background: transparent;
  border-bottom: 0;
}

.os-logo-link { display: flex; width: max-content; flex-shrink: 0; line-height: 0; }
.os-logo { display: inline-flex; align-items: center; }
.os-logo__mark { width: var(--os-logo-w); height: var(--os-logo-h); }

.os-header__nav { display: flex; gap: 28px; align-items: center; }

.os-header__link {
  font-size: 14px;
  font-weight: 500;
  line-height: 19px;
  color: var(--os-text-on-dark);
  white-space: nowrap;
  transition: color .18s ease;
}
.os-header__link:hover,
.os-header__link.is-current { color: var(--os-bronze); }

.os-header__right { display: flex; gap: 20px; align-items: center; }

.os-header__phone {
  font-size: 15px;
  font-weight: 600;
  line-height: 20.5px;
  white-space: nowrap;
}

/* The header CTA is a smaller build of the outline button: 46px tall at 13px,
   not the 58px body-copy variant. */
.os-header__cta.os-btn--outline-dark {
  /* Fixed in the design (170.5x46), so the label never widens it and shifts
     the phone and the nav along with it. */
  width: 170.5px;
  height: 46px;
  padding: 0;
  background: transparent;
  border-color: rgba(242, 237, 228, .5);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0.8214px;
}
.os-header__cta.os-btn--outline-dark:hover {
  background: rgba(242, 237, 228, .08);
  border-color: var(--os-text-on-dark);
}

.os-burger { display: none; }

/* Mobile header — Figma Header/Mobile 6:32, 64px tall inside a 245px stack. */
@media (max-width: 1023px) {
  .os-header { --os-header-h: 64px; --os-logo-w: 150px; --os-logo-h: 28px; }
  .os-header--over { --os-header-h: 64px; }
  .os-header__inner { padding-inline: var(--os-gutter-mobile); }
  .os-header__nav,
  .os-header__right { display: none; }

  .os-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    align-items: flex-end;
  }
  .os-burger__bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--os-text-on-dark);
    transition: transform .2s ease, opacity .2s ease;
  }
  .os-burger[aria-expanded="true"] .os-burger__bar:first-child { transform: translateY(4px) rotate(45deg); }
  .os-burger[aria-expanded="true"] .os-burger__bar:last-child { transform: translateY(-4px) rotate(-45deg); }
}


/* ===== parts/_footer.css ===== */
/* Two footers from the design: the slim bar on inner pages (32:402, 93px) and
   the contacts block on the home page (99:795, 314px). */

.os-footer { background: var(--os-graphite-900); color: var(--os-text-on-dark); }
.os-footer .os-logo__mark { width: 189px; height: 36px; }

/* ---- slim ---- */
.os-footer--slim .os-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 93px;
  max-width: var(--os-container);
  margin-inline: auto;
  padding: 0 var(--os-gutter-desktop);
}
.os-footer--slim .os-logo__mark { width: 136px; height: 26px; }
.os-footer--slim .os-footer__copy,
.os-footer--slim .os-footer__policy { font-size: 13px; line-height: 18px; color: #8c877f; }
.os-footer--slim .os-footer__policy { text-decoration: underline; }

/* ---- full ---- */
.os-footer--full .os-footer__inner {
  max-width: var(--os-container);
  margin-inline: auto;
  padding: 64px var(--os-gutter-desktop) 40px;
}

.os-footer__columns { display: grid; grid-template-columns: 480px 400px 1fr; align-items: start; }

.os-footer__address { margin-top: 15.25px; font-size: 14px; line-height: 22.5px; color: var(--os-text-on-dark-muted); }

.os-footer__sitemap { display: flex; flex-direction: column; gap: 12.5px; padding-top: 0; }
.os-footer__link { font-size: 15px; line-height: 20.5px; color: #d6d0c6; white-space: nowrap; }
.os-footer__link:hover { color: var(--os-bronze); }

.os-footer__contacts { display: flex; flex-direction: column; align-items: flex-start; }
.os-footer__phone { font-size: 22px; font-weight: 600; line-height: 30px; white-space: nowrap; }

.os-footer__channels { display: flex; gap: 10px; margin-top: 12px; }
.os-footer__channel {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 19px;
  border: 1px solid var(--os-graphite-500);
  font-size: 14px;
  line-height: 19px;
  white-space: nowrap;
}
.os-footer__channel:hover { border-color: var(--os-bronze); color: var(--os-bronze); }

.os-footer__email { margin-top: 12px; font-size: 14px; line-height: 19px; color: var(--os-text-on-dark-muted); }
.os-footer__email:hover { color: var(--os-text-on-dark); }

.os-footer--full .os-footer__legal {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 25px;
  border-top: 1px solid var(--os-graphite-600);
  font-size: 13px;
  line-height: 18px;
  color: #8c877f;
}
.os-footer--full .os-footer__policy { text-decoration: underline; }
.os-footer--full .os-footer__policy:hover { color: var(--os-text-on-dark); }

@media (max-width: 1023px) {
  .os-footer--full .os-footer__inner { padding: 40px var(--os-gutter-mobile) 32px; }
  .os-footer__columns { grid-template-columns: 1fr; row-gap: 32px; }
  .os-footer--full .os-footer__legal { flex-direction: column; gap: 10px; margin-top: 32px; }

  .os-footer--slim .os-footer__inner {
    flex-wrap: wrap;
    height: auto;
    padding: 24px var(--os-gutter-mobile);
    row-gap: 12px;
  }
  .os-footer--slim .os-footer__policy { flex-basis: 100%; }
}


/* ===== parts/_menu-mobile.css ===== */
/* Figma Menu/Mobile 6:53 — a full-width sheet under the header. */
.os-mobile-menu {
  position: fixed;
  inset: 64px 0 0;
  z-index: 19;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px var(--os-gutter-mobile) 32px;
  background: var(--os-graphite-800);
  color: var(--os-text-on-dark);
  overflow-y: auto;
}
.os-mobile-menu[hidden] { display: none; }

.os-mobile-menu__nav { display: flex; flex-direction: column; }

.os-mobile-menu__link {
  padding: 18px 0;
  border-bottom: 1px solid var(--os-graphite-600);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}
.os-mobile-menu__link.is-current { color: var(--os-bronze); }

.os-mobile-menu__foot { display: flex; flex-direction: column; gap: 16px; padding-top: 32px; }
.os-mobile-menu__phone { font-size: 22px; font-weight: 600; }

@media (min-width: 1024px) {
  .os-mobile-menu { display: none !important; }
}


/* ===== pages/_prose.css ===== */
/* Ordinary WordPress content (policy pages, fallbacks): the site's type scale
   applied to editor output. */
.os-plain { padding: 120px 0; min-height: 50vh; }
.os-prose { max-width: 760px; }
.os-prose__title {
  font-size: var(--os-heading-m-size);
  font-weight: var(--os-heading-m-weight);
  line-height: var(--os-heading-m-lh);
  letter-spacing: var(--os-heading-m-ls);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.os-prose p { margin-bottom: 16px; line-height: var(--os-body-m-lh); color: var(--os-text-on-light-muted); }
.os-prose h2 { margin: 32px 0 12px; font-size: 22px; font-weight: 600; line-height: 1.2; }
.os-prose ul { margin-bottom: 16px; padding-left: 20px; list-style: disc; }
.os-prose li { margin-bottom: 8px; color: var(--os-text-on-light-muted); }
.os-prose a { color: var(--os-bronze-dark); text-decoration: underline; }
.os-prose .os-btn { margin-top: 16px; }

@media (max-width: 767px) { .os-plain { padding: 56px 0; } }


/* ===== pages/_home.css ===== */
/* Home page — Figma 99:595. Section heights, offsets and type sizes are taken
   from the frame, not from the shared scale: this page runs a larger display
   size (92px) than the rest of the site. */

/* ---- hero 99:597 ------------------------------------------------------ */

.os-hero {
  position: relative;
  min-height: 956.5px;
  background: var(--os-graphite-900);
  color: var(--os-text-on-dark);
  overflow: hidden;
}

.os-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.os-hero__image--empty { background: var(--os-ivory-400); }

.os-hero__scrim { position: absolute; inset: 0; background: rgba(15, 16, 18, .7); }

.os-hero__inner { position: relative; padding-top: 182px; }

.os-hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 2.3875px;
  text-transform: uppercase;
  color: var(--os-bronze);
}

.os-hero__title {
  max-width: 980px;
  margin-top: 40.25px;
  font-size: 92px;
  font-weight: 600;
  line-height: 90px;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.os-hero__lead {
  max-width: 620px;
  margin-top: 40px;
  font-size: 20px;
  line-height: 30px;
  color: #d6d0c6;
}

.os-hero__actions { display: flex; gap: 12px; margin-top: 40.5px; }

/* The hero's outline button is drawn on the photo, so its fill is dropped and
   the rule is lightened to the ivory tint used across the hero. */
.os-btn--ghost.os-btn--outline-dark {
  background: transparent;
  border-color: rgba(242, 237, 228, .5);
  font-weight: 600;
}
.os-btn--ghost.os-btn--outline-dark:hover { background: rgba(242, 237, 228, .1); }

.os-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 320px);
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid rgba(242, 237, 228, .3);
}
.os-hero__stat { margin: 0; }
.os-hero__stat-value { font-size: 44px; font-weight: 300; line-height: 44px; }
.os-hero__stat-caption { margin: 6px 0 0; font-size: 14px; line-height: 19px; color: #c9c3b9; }

/* ---- "О формате" 99:654 ------------------------------------------------ */

.os-format { padding: 120px 0; }
.os-format__head { display: grid; grid-template-columns: 670px 1fr; gap: 40px; }
.os-format__head .os-heading { gap: 20px; }
.os-format__head .os-heading__title { line-height: 57px; letter-spacing: -1px; }

.os-format__lead {
  max-width: 570px;
  margin-top: 36.25px;
  font-size: 18px;
  line-height: 29px;
  color: var(--os-text-on-light-muted);
}

.os-format__points {
  display: grid;
  grid-template-columns: repeat(3, 394.5px);
  column-gap: 32px;
  /* Пунктов пять, а колонок три: без отступа между рядами второй ряд
     прилипает к тексту первого. На один ряд, как было раньше, не влияет. */
  row-gap: 48px;
  margin-top: 64px;
  padding-top: 33px;
  border-top: 1px solid var(--os-ivory-400);
}
/* Block, not inline: an inline span sits on a line box sized by the parent's
   strut (16px/1.6 = 25.6px here), which pushes everything below it ~4px down
   from where the design puts it. */
.os-format__num {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 19px;
  color: var(--os-bronze-dark);
}
.os-format__point-title {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
  text-transform: uppercase;
}
.os-format__point-text {
  max-width: 394.5px;
  margin-top: 13.25px;
  font-size: 16px;
  line-height: 25.5px;
  color: var(--os-text-on-light-muted);
}

.os-format__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 65.25px; }
.os-format__photos > * { height: 420px; }
.os-format__photo, .os-format__photos img { width: 100%; height: 420px; object-fit: cover; }

/* ---- "Выберите идеальный офис" 99:675 ---------------------------------- */

.os-offices { padding: 120px 0; }
.os-offices__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.os-offices__head .os-heading__title { line-height: 57px; letter-spacing: -0.8913px; }

.os-offices__all.os-btn { margin-top: 41px; height: 54px; padding: 0 29px; font-size: 13px; letter-spacing: 1.0577px; }

.os-offices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }

/* ---- founder quote 99:707 ---------------------------------------------- */

.os-story { padding: 120px 0; }
.os-story__inner { display: grid; grid-template-columns: 360.5px 1fr; column-gap: 64px; }

.os-story__photo { height: 480px; background: #ddd5c8; }
.os-story__photo img { width: 100%; height: 100%; object-fit: cover; }

.os-story__eyebrow { color: var(--os-bronze-dark); letter-spacing: 2.5px; margin-top: 14px; }
.os-story__quote { max-width: 855.5px; margin-top: 27.5px; font-size: 30px; line-height: 42px; }
.os-story__quote strong { font-weight: 700; }
.os-story__text {
  max-width: 855.5px;
  margin-top: 30px;
  font-size: 17px;
  line-height: 28px;
  color: var(--os-text-on-light-muted);
}
.os-story__author { max-width: 855.5px; margin-top: 26.6px; padding-top: 20.5px; border-top: 1px solid var(--os-ivory-400); }
.os-story__name { font-size: 18px; font-weight: 700; line-height: 24.5px; }
.os-story__role { margin-top: 4px; font-size: 15px; line-height: 20.5px; color: var(--os-text-on-light-subtle); }

/* ---- "Запустите свой бизнес" 99:717 ------------------------------------ */

.os-business { padding: 120px 0; }
.os-business .os-heading__title { line-height: 57px; letter-spacing: -1px; max-width: 900px; }

/* The two panels sit on a shared 1px rule, which the design draws as a filled
   frame showing through a 1px grid gap. */
.os-business__cards {
  display: grid;
  /* auto-fit схлопывает пустую колонку: одна карточка занимает всю ширину,
     две по-прежнему делят её пополам. Длина строки держится max-width у
     текста, так что типографика не разъезжается. */
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1px;
  margin-top: 56px;
  background: var(--os-graphite-500);
  border: 1px solid var(--os-graphite-500);
}
.os-business__card { background: var(--os-graphite-800); padding: 36px; min-height: 293px; }
.os-business__num { display: block; font-size: 14px; font-weight: 600; line-height: 19px; color: var(--os-bronze); }
.os-business__title {
  margin-top: 16px;
  font-size: 24px;
  font-weight: 600;
  line-height: 33px;
  text-transform: uppercase;
}
.os-business__text {
  max-width: 566.5px;
  margin-top: 15px;
  font-size: 16px;
  line-height: 25.5px;
  color: var(--os-text-on-dark-muted);
}
.os-business__link {
  display: inline-block;
  margin-top: 31px;
  font-size: 14px;
  font-weight: 600;
  line-height: 19px;
  letter-spacing: 0.8824px;
  text-transform: uppercase;
  color: var(--os-bronze);
}
.os-business__link:hover { color: var(--os-text-on-dark); }

.os-business__stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 23.75px;
  row-gap: 31.5px;
  margin-top: 55.5px;
}
.os-business__stats .os-stat { margin: 0; padding-top: 2.4px; }
.os-business__stats .os-stat__caption { margin: 0; }

/* ---- advantages 99:744 -------------------------------------------------- */

.os-advantages { padding: 120px 0; }
.os-advantages__inner { display: grid; grid-template-columns: 404.5px 1fr; column-gap: 0; }

.os-advantages__eyebrow { color: var(--os-bronze-dark); letter-spacing: 2.5px; }
.os-advantages__title {
  max-width: 340.5px;
  margin-top: 23.25px;
  font-size: 48px;
  font-weight: 600;
  line-height: 50px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.os-advantages__cta.os-btn { margin-top: 24.25px; height: 52px; padding: 0 28px; font-size: 13px; letter-spacing: 1px; }

/* This list runs tighter than the shared Numbered item: 20px titles, a 60px
   gutter and a 29px top inset. */
/* Figma puts the index at x=484.5 and the copy at x=544.5: a fixed 60px
   column, not a gap after a shrink-to-fit number. The difference is a whole
   wrapped line in the longer items. */
.os-advantages__list .os-num { gap: 0; padding-block: 28.5px 28px; }
.os-advantages__list .os-num__n { flex: 0 0 60px; }
.os-advantages__list .os-num:last-child { border-bottom: 1px solid var(--os-ivory-400); }
.os-advantages__list .os-num__title { font-size: 20px; line-height: 27.5px; }
.os-advantages__list .os-num__body { gap: 7px; }
.os-advantages__list .os-num__text { line-height: 25.5px; }

/* ---- finmodel 99:770 ---------------------------------------------------- */

.os-finmodel { padding: 96px 0; background: var(--os-graphite-700); color: var(--os-text-on-dark); }
.os-finmodel__inner { display: grid; grid-template-columns: 611px 1fr; column-gap: 56px; }

.os-finmodel__title {
  margin-top: 22.75px;
  font-size: 44px;
  font-weight: 600;
  line-height: 46px;
  text-transform: uppercase;
}
.os-finmodel__text { margin-top: 24.25px; font-size: 17px; line-height: 27px; color: var(--os-text-on-dark-muted); }
.os-finmodel__actions { display: flex; align-items: center; gap: 20px; margin-top: 24.5px; }
.os-finmodel__phone { font-size: 17px; font-weight: 600; line-height: 23px; }

.os-finmodel__shot { min-height: 342px; display: flex; align-items: center; justify-content: center; }
.os-finmodel__shot.is-empty { border: 1px dashed var(--os-graphite-400); }
.os-finmodel__shot-label {
  font-size: 14px;
  line-height: 19px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--os-text-on-dark-muted);
}
.os-finmodel__shot img { max-width: 100%; height: auto; }

/* ---- consult 99:779 ----------------------------------------------------- */

.os-consult { position: relative; min-height: 608px; color: var(--os-text-on-dark); overflow: hidden; }
.os-consult__scrim { position: absolute; inset: 0; background: rgba(15, 16, 18, .8); }
.os-consult .os-hero__image--empty { background: var(--os-ivory-400); }

.os-consult__inner {
  position: relative;
  display: grid;
  grid-template-columns: 582px 1fr;
  column-gap: 56px;
  align-items: start;
  padding-top: 120px;
  padding-bottom: 120px;
}

.os-consult__body { padding-top: 90px; }
.os-consult__title { font-size: 52px; font-weight: 600; line-height: 53px; text-transform: uppercase; }
.os-consult__text { margin-top: 23.5px; font-size: 18px; line-height: 29px; color: #d6d0c6; }

/* ---- lead form ---------------------------------------------------------- */

.os-lead { display: flex; flex-direction: column; }
.os-lead--light { background: var(--os-ivory-200); padding: 40px; color: var(--os-text-on-light); }
.os-lead .os-field + .os-field { margin-top: 18px; }
.os-lead .os-field__label { text-transform: uppercase; letter-spacing: 1px; }
.os-lead .os-field__input { padding: 15px 16px; }
.os-lead .os-btn { margin-top: 18px; }
.os-lead__note { margin-top: 17.5px; font-size: 12px; line-height: 18px; color: var(--os-text-on-light-subtle); }
.os-lead__error { margin-top: 10px; font-size: 13px; color: var(--os-status-error-fg); }
.os-lead__done { font-size: 18px; line-height: 1.5; }

/* ---- mobile 100:595 ------------------------------------------------------ */

@media (max-width: 1023px) {
  .os-format__head,
  .os-format__points,
  .os-format__photos,
  .os-offices__grid,
  .os-story__inner,
  .os-business__cards,
  .os-advantages__inner,
  .os-finmodel__inner,
  .os-consult__inner { grid-template-columns: 1fr; }

  .os-hero__stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .os-business__stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
}

@media (max-width: 767px) {
  .os-hero { min-height: 0; }
  .os-hero__inner { padding-top: 140px; padding-bottom: 56px; }
  .os-hero__title { font-size: 40px; line-height: 42px; letter-spacing: -0.9px; margin-top: 24px; }
  .os-hero__lead { font-size: 17px; line-height: 27px; margin-top: 24px; }
  .os-hero__actions { flex-direction: column; gap: 10px; margin-top: 32px; }
  .os-hero__actions .os-btn { width: 100%; }
  .os-hero__stats { margin-top: 40px; padding-top: 24px; }
  .os-hero__stat-value { font-size: 32px; line-height: 34px; }

  .os-format,
  .os-offices,
  .os-story,
  .os-business,
  .os-advantages { padding: 64px 0; }
  .os-finmodel { padding: 56px 0; }

  .os-format__head .os-heading__title,
  .os-offices .os-heading__title,
  .os-business .os-heading__title { font-size: 34px; line-height: 36px; letter-spacing: -0.6px; }

  .os-format__lead { margin-top: 20px; font-size: 17px; line-height: 27px; }
  .os-format__points { margin-top: 32px; row-gap: 28px; }
  .os-format__photos { margin-top: 32px; }
  .os-format__photos > *,
  .os-format__photo, .os-format__photos img { height: 260px; }

  .os-offices__head { flex-direction: column; gap: 20px; }
  .os-offices__all.os-btn { margin-top: 0; width: 100%; }
  .os-offices__grid { margin-top: 32px; gap: 16px; }

  .os-story__inner { row-gap: 28px; }
  .os-story__photo { height: 320px; }
  .os-story__quote { font-size: 22px; line-height: 32px; margin-top: 16px; }
  .os-story__text { margin-top: 20px; font-size: 16px; line-height: 26px; }

  .os-business__cards { margin-top: 40px; }
  .os-business__card { padding: 24px; }
  .os-business__title { font-size: 20px; line-height: 28px; }
  .os-business__stats { margin-top: 40px; }

  .os-advantages__inner { row-gap: 32px; }
  .os-advantages__title { font-size: 34px; line-height: 36px; margin-top: 16px; }
  .os-advantages__cta.os-btn { margin-top: 24px; width: 100%; }
  .os-advantages__list .os-num { gap: 16px; }

  .os-finmodel__title { font-size: 32px; line-height: 34px; margin-top: 0; }
  .os-finmodel__actions { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 28px; }
  .os-finmodel__shot { margin-top: 32px; min-height: 220px; }

  .os-consult__inner { padding: 56px 0; row-gap: 32px; }
  .os-consult__body { padding-top: 0; }
  .os-consult__title { font-size: 34px; line-height: 36px; }
  .os-consult__text { margin-top: 20px; font-size: 16px; line-height: 26px; }
  .os-lead--light { padding: 24px 20px; }
}

/* Фраза основателя, переехавшая из цитаты на главной: здесь она довод для
   собственника, поэтому набрана крупнее текста карточек, но тише заголовка. */
.os-business__quote {
  max-width: 760px;
  margin-top: 40px;
  font-size: 20px;
  line-height: 30px;
  color: var(--os-text-on-dark);
}

/* Слоган над надзаголовком: та же бронза, что у надзаголовка, но крупнее —
   он представляет компанию, а не уточняет город и год. */
.os-hero__slogan {
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
  color: var(--os-bronze);
}
.os-hero__slogan + .os-hero__eyebrow { margin-top: 10px; }

@media (max-width: 767px) {
  .os-hero__slogan { font-size: 18px; line-height: 25px; }
  .os-business__quote { margin-top: 28px; font-size: 17px; line-height: 26px; }
}

/* ---- Office Space Club -------------------------------------------------- */

.os-club__text { max-width: 760px; margin-top: 32px; font-size: 18px; line-height: 28px; color: var(--os-text-on-light-muted); }
.os-club__text p + p { margin-top: 16px; }

/* Заметка для администратора: намеренно выглядит как служебная, чтобы её не
   приняли за часть страницы. */
.os-club__todo {
  max-width: 760px;
  margin-top: 32px;
  padding: 16px 20px;
  border: 1px dashed var(--os-ivory-500);
  font-size: 15px;
  line-height: 22px;
  color: var(--os-text-on-light-subtle);
}


/* ===== pages/_club.css ===== */
/* ---- Office Space Club -------------------------------------------------- */

.os-club { padding: 120px 0; background: var(--os-graphite-900); }

.os-club__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  column-gap: 64px;
  align-items: start;
}

.os-club__eyebrow { color: var(--os-text-on-dark); letter-spacing: 2.34px; }

.os-club__title {
  margin: 18px 0 0;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.05;
  /* −1.5 в Figma — это проценты от кегля: 56 × 0.015 = 0.84px. */
  letter-spacing: -0.84px;
  color: var(--os-text-on-dark);
}

.os-club__lead {
  max-width: 620px;
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--os-text-on-dark-muted);
}

/* ---- Привилегии --------------------------------------------------------- */

.os-club__perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  max-width: 620px;
}

.os-club__perk { display: block; color: var(--os-bronze); }
.os-club__icon { display: block; }

.os-club__perk-text {
  display: block;
  margin-top: 14px;
  font-size: 15px;
  line-height: 22px;
  color: var(--os-text-on-dark-muted);
}

/* ---- Карта -------------------------------------------------------------- */

.os-club__card {
  position: relative;
  aspect-ratio: 1.58;            /* пропорции банковской карты */
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 85% 15%, #3a3b40 0%, #1a1b1e 55%, #121315 100%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}

/* Две дуги в углу — тот же приём, что на карте в макете: свет, уходящий
   за край, а не рисунок. */
.os-club__card::before,
.os-club__card::after {
  content: '';
  position: absolute;
  right: -32%;
  bottom: -70%;
  width: 120%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(242, 237, 228, .14);
}
.os-club__card::after { right: -48%; bottom: -88%; border-color: rgba(194, 154, 99, .22); }

.os-club__card-name {
  position: absolute;
  top: 38%;
  left: 12%;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(242, 237, 228, .72);
}

/* ---- Панель уровней ----------------------------------------------------- */

.os-club__panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 64px;
  margin-top: 56px;
  padding: 36px 40px 40px;
  border: 1px solid var(--os-graphite-600);
  border-radius: 18px;
  background: rgba(242, 237, 228, .03);
}

.os-club__sub {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--os-text-on-dark);
}

.os-club__levels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.os-club__level {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--os-graphite-600);
  background: linear-gradient(160deg, rgba(242, 237, 228, .07), rgba(242, 237, 228, .02));
}

/* Старший уровень выделен бронзой — в макете он единственный тёплый. */
.os-club__level.is-privilege {
  border-color: rgba(194, 154, 99, .45);
  background: linear-gradient(160deg, rgba(194, 154, 99, .28), rgba(194, 154, 99, .08));
}

.os-club__level-brand { font-size: 13px; line-height: 18px; color: var(--os-text-on-dark-muted); }
.os-club__level-name { font-size: 19px; font-weight: 600; line-height: 26px; color: var(--os-text-on-dark); }
.os-club__level-since { margin-top: 6px; font-size: 13px; line-height: 18px; color: var(--os-text-on-dark-muted); }

/* ---- Как получить ------------------------------------------------------- */

.os-club__steps { margin: 24px 0 0; padding: 0; list-style: none; }
.os-club__step { display: flex; gap: 14px; align-items: flex-start; }
.os-club__step + .os-club__step { margin-top: 16px; }

.os-club__step-num {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--os-graphite-500);
  font-size: 13px;
  font-weight: 600;
  color: var(--os-text-on-dark);
}

.os-club__step-text { font-size: 15px; line-height: 22px; color: var(--os-text-on-dark-muted); }

.os-club__btn.os-btn { margin-top: 28px; border-radius: 999px; }

/* ---- Узкие экраны ------------------------------------------------------- */

@media (max-width: 1023px) {
  .os-club__inner { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .os-club__card { max-width: 420px; }
  .os-club__panel { grid-template-columns: minmax(0, 1fr); row-gap: 36px; margin-top: 40px; padding: 28px 24px 32px; }
}

@media (max-width: 767px) {
  .os-club { padding: 64px 0; }
  .os-club__title { font-size: 34px; letter-spacing: -0.51px; }
  .os-club__perks { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  /* Три уровня в ряд на телефоне нечитаемы: это карточки с текстом, а не
     значки. */
  .os-club__levels { grid-template-columns: minmax(0, 1fr); }
  .os-club__panel { padding: 24px 16px 28px; }
}


/* ===== pages/_rent.css ===== */
/* Catalogue page — Figma 32:73. */

/* ---- hero 32:115 ------------------------------------------------------- */

.os-rent-hero { background: var(--os-graphite-800); color: var(--os-text-on-dark); }
.os-rent-hero__inner {
  display: grid;
  grid-template-columns: 812px 1fr;
  column-gap: 48px;
  min-height: 768px;
  padding-top: 143px;
  padding-bottom: 96px;
}

.os-rent-hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 2.4359px;
  text-transform: uppercase;
  color: var(--os-bronze);
}

.os-rent-hero__title {
  max-width: 812px;
  margin-top: 31.25px;
  font-size: 80px;
  font-weight: 600;
  line-height: 78.5px;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}

.os-rent-hero__actions { display: flex; gap: 12px; margin-top: 32.75px; }

.os-rent-hero__points {
  display: grid;
  grid-template-columns: repeat(3, 254.5px);
  column-gap: 24px;
  max-width: 812px;
  margin-top: 32px;
  padding-top: 29px;
  border-top: 1px solid var(--os-graphite-500);
}

.os-rent-hero__point-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  text-transform: uppercase;
}
.os-rent-hero__point-text {
  margin-top: 7.75px;
  font-size: 15px;
  line-height: 23.5px;
  color: var(--os-text-on-dark-muted);
}

/* The hero photo is a fixed 420.5x600 panel pinned 72px below the header. */
.os-rent-hero__photo { margin-top: -71px; width: 420.5px; height: 600px; justify-self: end; overflow: hidden; }
.os-rent-hero__photo img,
.os-rent-hero__photo .os-photo-placeholder { width: 100%; height: 100%; object-fit: cover; }

/* ---- catalogue 32:131 -------------------------------------------------- */

.os-catalog { padding: 112px 0 112px; }
.os-catalog .os-heading { gap: 20px; }
.os-catalog .os-heading__title { line-height: 57px; letter-spacing: -0.9px; }

.os-catalog__filters { margin-top: 25.1px; }

/* The filter chips in the catalogue are shorter than the shared Chip (44 vs
   47) and centre their label. */
.os-catalog__filters .os-chip {
  height: 44px;
  padding: 0 20px;
  justify-content: center;
}

.os-catalog__objects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.os-catalog__offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }

@media (max-width: 1023px) {
  .os-rent-hero__inner { grid-template-columns: 1fr; row-gap: 32px; min-height: 0; padding-top: 64px; padding-bottom: 64px; }
  .os-rent-hero__photo { margin-top: 0; width: 100%; height: 320px; }
  .os-rent-hero__points { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .os-catalog__objects, .os-catalog__offices { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .os-rent-hero__title { font-size: 40px; line-height: 42px; letter-spacing: -0.75px; margin-top: 20px; }
  .os-rent-hero__actions { flex-direction: column; gap: 10px; }
  .os-rent-hero__actions .os-btn { width: 100%; }
  .os-rent-hero__points { grid-template-columns: 1fr; margin-top: 24px; padding-top: 24px; }
  .os-catalog { padding: 64px 0; }
  .os-catalog .os-heading__title { font-size: 34px; line-height: 36px; letter-spacing: -0.55px; }
  .os-catalog__objects, .os-catalog__offices { margin-top: 28px; gap: 16px; }
}

/* ---- "Всё включено" 32:192 --------------------------------------------- */

.os-included { background: var(--os-graphite-800); color: var(--os-text-on-dark); padding: 0 0 112px; }
.os-included__head { display: grid; grid-template-columns: 820px 1fr; padding-top: 112px; }
.os-included .os-heading { gap: 20px; }
.os-included .os-heading__title { line-height: 57px; letter-spacing: -1px; }
.os-included__lead { max-width: 460px; margin-top: 37px; font-size: 18px; line-height: 29px; color: var(--os-text-on-dark-muted); }

/* One shared rule under three panels, drawn as a filled frame showing through
   a 1px grid gap (Figma 32:196). */
.os-included__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 56px;
  background: var(--os-graphite-500);
  border: 1px solid var(--os-graphite-500);
}
.os-included__card { background: var(--os-graphite-800); padding: 35.5px 36px; min-height: 269.5px; }

.os-included__title { font-size: 20px; font-weight: 600; line-height: 27.5px; text-transform: uppercase; }

.os-included__list { margin-top: 17.5px; }
.os-included__list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 22.5px;
  color: #d6d0c6;
}
.os-included__list li + li { margin-top: 10px; }
.os-included__list li::before {
  content: "•";
  position: absolute;
  left: 0;
}
.os-included__list li.is-extra { color: var(--os-text-on-dark-muted); }

/* ---- comparison 32:233 -------------------------------------------------- */

.os-compare { background: var(--os-graphite-700); color: var(--os-text-on-dark); padding: 112px 0 110.6px; }
.os-compare .os-heading { gap: 20px; }
.os-compare .os-heading__eyebrow { letter-spacing: 2.3889px; }
.os-compare .os-heading__title { max-width: 880px; line-height: 57px; letter-spacing: -1px; }

.os-compare__table { margin-top: 42px; table-layout: fixed; }
.os-compare__table th,
.os-compare__table td { text-align: left; vertical-align: top; }

.os-compare__table thead th {
  height: 62.5px;
  padding-top: 20px;
  border-bottom: 1px solid var(--os-graphite-400);
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: var(--os-text-on-dark-muted);
}
.os-compare__th-label { width: 461px; }
.os-compare__th-usual { width: 385.5px; padding-left: 16px; font-weight: 600 !important; color: var(--os-text-on-dark) !important; }
.os-compare__th-smart {
  padding-left: 16px;
  border-bottom-color: var(--os-bronze) !important;
  font-weight: 700 !important;
  color: var(--os-bronze) !important;
}

/* The expense label is centred against its row, which is what makes a row
   with a sub-note 85px tall and one without it 63px (Figma 32:243 / 32:249). */
.os-compare__table tbody th {
  padding: 0 16px 0 0;
  border-bottom: 1px solid var(--os-graphite-500);
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  vertical-align: middle;
}
/* Row heights are fixed in the design (85 with a sub-note, 63 without), and
   the content does not fill them on its own. */
.os-compare__table tbody tr { height: 63px; }
.os-compare__table tbody tr:has(.os-compare__note) { height: 85px; }

.os-compare__table tbody td {
  padding: 19px 16px 0;
  border-bottom: 1px solid var(--os-graphite-500);
  vertical-align: top;
}

.os-compare__value { display: block; font-size: 16px; line-height: 22px; }
.os-compare__note { display: block; font-size: 13px; line-height: 22px; color: var(--os-text-on-dark-muted); }
.os-compare__smart .os-compare__value { color: var(--os-bronze); }

.os-compare__table tfoot th {
  padding: 43.5px 16px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  text-transform: uppercase;
}
.os-compare__table tfoot td { padding: 21px 16px 0; }
.os-compare__total { display: block; font-size: 22px; font-weight: 600; line-height: 30px; }
.os-compare__smart .os-compare__total { font-weight: 700; color: var(--os-bronze); }
.os-compare__smart .os-compare__note { line-height: 30px; }
.os-compare__table tfoot .os-compare__note { line-height: 30px; }

.os-compare__footnote { margin-top: 67.5px; font-size: 13px; line-height: 18px; color: var(--os-text-on-dark-muted); }

@media (max-width: 1023px) {
  .os-included__head { grid-template-columns: 1fr; }
  .os-included__cards { grid-template-columns: 1fr; }
  .os-compare__table { table-layout: auto; }
  .os-compare__th-label, .os-compare__th-usual { width: auto; }
}

@media (max-width: 767px) {
  .os-included { padding-bottom: 56px; }
  .os-included__head { padding-top: 56px; }
  .os-included .os-heading__title,
  .os-compare .os-heading__title { font-size: 34px; line-height: 36px; letter-spacing: -0.6px; }
  .os-included__lead { margin-top: 20px; font-size: 16px; line-height: 26px; }
  .os-included__cards { margin-top: 32px; }
  .os-included__card { padding: 24px 20px; min-height: 0; }

  .os-compare { padding: 56px 0; }
  /* The table drops its column structure on a phone: each row becomes a block
     with the two figures stacked under the expense it compares. */
  .os-compare__table, .os-compare__table tbody, .os-compare__table tfoot { display: block; }
  .os-compare__table thead { display: none; }
  .os-compare__table tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--os-graphite-500); }
  .os-compare__table th, .os-compare__table td { display: block; padding: 0; border: 0; }
  .os-compare__table tbody th, .os-compare__table tfoot th { margin-bottom: 8px; padding: 0; }
  .os-compare__table td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    color: var(--os-text-on-dark-muted);
  }
  .os-compare__table td + td { margin-top: 10px; }
}

/* ---- reviews 32:308 ----------------------------------------------------- */

.os-reviews { background: var(--os-graphite-800); padding: 112px 0; }
.os-reviews .os-heading { gap: 20px; }
.os-reviews .os-heading__title { line-height: 57px; letter-spacing: -1px; }
.os-reviews__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }

/* ---- contacts 32:380 ---------------------------------------------------- */

.os-contacts { background: var(--os-graphite-800); padding: 112px 0; }
.os-contacts__inner { display: grid; grid-template-columns: 552px 1fr; column-gap: 56px; align-items: start; }

.os-contacts__title { font-size: 44px; font-weight: 600; line-height: 46px; text-transform: uppercase; }
.os-contacts__lead { margin-top: 28px; font-size: 17px; line-height: 27px; color: var(--os-text-on-dark-muted); }
.os-contacts__phone { display: inline-block; margin-top: 28.5px; font-size: 32px; font-weight: 600; line-height: 43.5px; }

.os-contacts__channels { display: flex; gap: 10px; margin-top: 28.5px; }
.os-contacts__channel {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 21.9px;
  border: 1px solid var(--os-graphite-400);
  font-size: 14px;
  font-weight: 600;
  line-height: 19px;
  white-space: nowrap;
}
.os-contacts__channel:hover { border-color: var(--os-bronze); color: var(--os-bronze); }

.os-contacts__extra { margin-top: 28px; padding-top: 25px; border-top: 1px solid var(--os-graphite-500); }
.os-contacts__extra-title { font-size: 16px; font-weight: 700; line-height: 22px; text-transform: uppercase; }
.os-contacts__extra-text {
  max-width: 552px;
  margin-top: 11.5px;
  font-size: 15px;
  line-height: 24px;
  color: var(--os-text-on-dark-muted);
}

/* The dark lead form: a 672px panel with 40px insets (Figma 32:391). */
.os-lead--dark {
  background: var(--os-graphite-700);
  padding: 40px;
  color: var(--os-text-on-dark);
}
.os-lead--dark .os-field + .os-field { margin-top: 16px; }
.os-lead--dark .os-field__label { text-transform: none; letter-spacing: 0; color: #d6d0c6; }
.os-lead--dark .os-btn { margin-top: 16px; }
/* Fixed in the design (Figma 32:399); three rows of text do not reach 96px. */
.os-lead--dark .os-field--area .os-field__input { height: 96px; }

@media (max-width: 1023px) {
  .os-reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .os-contacts__inner { grid-template-columns: 1fr; row-gap: 32px; }
}

@media (max-width: 767px) {
  .os-reviews, .os-contacts { padding: 56px 0; }
  .os-reviews .os-heading__title { font-size: 34px; line-height: 36px; letter-spacing: -0.6px; }
  .os-reviews__grid { grid-template-columns: 1fr; margin-top: 28px; gap: 16px; }
  .os-card-review { min-height: 0; padding: 20px; }
  .os-contacts__title { font-size: 32px; line-height: 34px; }
  .os-contacts__phone { font-size: 26px; line-height: 34px; }
  .os-lead--dark { padding: 24px 20px; }
}


/* ===== pages/_object.css ===== */
/* Object page — Figma 33:150. */

/* ---- hero 33:190 -------------------------------------------------------- */

.os-object-hero { background: var(--os-graphite-800); color: var(--os-text-on-dark); padding: 40px 0 0; }

.os-breadcrumbs { display: flex; gap: 8px; font-size: 13px; line-height: 18px; color: var(--os-text-on-dark-muted); }
.os-breadcrumbs a:hover { color: var(--os-bronze); }

.os-object-hero__eyebrow {
  margin-top: 26px;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--os-bronze);
}

.os-object-hero__title {
  margin-top: 23px;
  font-size: 64px;
  font-weight: 600;
  line-height: 64px;
  letter-spacing: -1.2px;
  text-transform: uppercase;
}

.os-object-hero__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 26px;
}
.os-object-hero__meta { font-size: 15px; line-height: 20.5px; color: var(--os-text-on-dark-muted); }

.os-object-hero__features { display: flex; flex-wrap: wrap; gap: 8px; }
.os-object-hero__features li {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--os-graphite-400);
  font-size: 13px;
  line-height: 18px;
  white-space: nowrap;
}

.os-object-hero__strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; padding-bottom: 40px; }
.os-object-hero__photo, .os-object-hero__strip img { width: 100%; height: 240px; object-fit: cover; }

/* ---- floor plan 33:213 --------------------------------------------------- */

.os-plan { padding: 96px 0 96px; }
.os-plan__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.os-plan .os-heading { gap: 16px; }
.os-plan .os-heading__title { line-height: 57px; letter-spacing: -1px; }

.os-plan__legend { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 72.5px; }
.os-plan__legend-item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 19px; }
.os-plan__swatch { width: 18px; height: 18px; border: 1px solid; }

.os-plan__legend-item.is-free .os-plan__swatch { background: color-mix(in srgb, var(--os-plan-free) var(--os-plan-fill), #fff); border-color: var(--os-plan-free); }
.os-plan__legend-item.is-soon .os-plan__swatch { background: color-mix(in srgb, var(--os-plan-soon) var(--os-plan-fill), #fff); border-color: var(--os-plan-soon); }
.os-plan__legend-item.is-busy .os-plan__swatch { background: color-mix(in srgb, var(--os-plan-busy) var(--os-plan-fill), #fff); border-color: var(--os-plan-busy); }
.os-plan__legend-item.is-meeting .os-plan__swatch { background: color-mix(in srgb, var(--os-plan-meeting) var(--os-plan-fill), #fff); border-color: var(--os-plan-meeting); }

.os-plan__layout { display: grid; grid-template-columns: 864px 1fr; column-gap: 32px; margin-top: 35px; align-items: start; }

.os-plan__canvas { background: var(--os-ivory-100); border: 1px solid var(--os-ivory-300); padding: 25px; }
/* Коробка берёт высоту от картинки, а не из макета: полигоны — это проценты
   ИМЕННО картинки, от неё же считает редактор в админке. Фиксированная высота
   с object-fit: contain добавляла пустые поля всякому плану, чьи пропорции не
   совпали с макетными, и вся разметка уезжала на величину этого поля. На
   демо-плане (814 × 790.5) высота выходит ровно макетная. */
.os-plan__figure { position: relative; line-height: 0; }
.os-plan__image { display: block; width: 100%; height: auto; }
.os-plan__image--empty { height: 790.5px; background: var(--os-ivory-100); }

.os-plan__svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Заливка намеренно полупрозрачная: план под ней и есть смысл картинки —
   стены, двери и мебель должны читаться сквозь цвет статуса. */
.os-plan__shape {
  stroke: #1b1c1e;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  fill-opacity: .4; /* = --os-plan-fill */
  transition: fill .18s ease, fill-opacity .18s ease;
}
.os-plan__shape.is-free { fill: var(--os-plan-free); }
.os-plan__shape.is-soon { fill: var(--os-plan-soon); }
.os-plan__shape.is-busy { fill: var(--os-plan-busy); }
.os-plan__shape.is-meeting { fill: var(--os-plan-meeting); }
.os-plan__shape:hover { fill-opacity: .58; }

/* Выделение сгущает цвет статуса и утолщает контур — оно не должно
   перекрашивать занятый офис в «свободную» зелень. */
.os-plan__shape.is-active { fill-opacity: .62; stroke-width: 2.5; }
.os-plan__shape.is-active:hover { fill-opacity: .7; }
.os-plan__shape:focus { outline: none; }
.os-plan__shape:focus-visible { outline: 2px solid var(--os-bronze); outline-offset: 2px; }

/* Tags are positioned at each polygon's area centroid, so they stay inside
   their own outline instead of landing on a neighbour. */
.os-plan__tag {
  position: absolute;
  translate: -50% -50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 61px;
  height: 44px;
  padding: 0 9px;
  pointer-events: none;
}
.os-plan__tag-name { font-size: 13px; font-weight: 700; line-height: 18px; white-space: nowrap; }
.os-plan__tag-state {
  font-size: 10px;
  font-weight: 700;
  line-height: 13.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.os-plan__tag.is-free { background: var(--os-status-free-bg); color: var(--os-status-free-fg); }
.os-plan__tag.is-soon { background: var(--os-status-soon-bg); color: var(--os-status-soon-fg); }
.os-plan__tag.is-busy { background: #e5e0d8; color: var(--os-text-on-light-muted); }
.os-plan__tag.is-meeting { background: var(--os-status-meeting-bg); color: #24384f; }

/* The selected shape's tag inverts, as in the design (Figma 33:258). */
.os-plan__tag.is-selected { background: var(--os-text-on-light); color: var(--os-text-on-dark); }

.os-plan__hint { margin-top: 32px; font-size: 13px; line-height: 18px; color: var(--os-text-on-light-subtle); }

.os-plan__panel { background: var(--os-text-on-light); color: var(--os-text-on-dark); padding: 32px; }

.os-plan__card-eyebrow {
  font-size: 12px;
  font-weight: 700;
  line-height: 16.5px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--os-bronze);
}
.os-plan__card-title {
  margin-top: 20.5px;
  font-size: 30px;
  font-weight: 600;
  line-height: 41px;
  text-transform: uppercase;
}

.os-plan__specs { margin-top: 20px; }
.os-plan__specs > div { display: grid; grid-template-columns: 121.5px 1fr; }
.os-plan__specs > div + div { margin-top: 12.5px; }
.os-plan__specs dt { font-size: 15px; line-height: 20.5px; color: var(--os-text-on-dark-muted); }
.os-plan__specs dd { margin: 0; font-size: 15px; line-height: 20.5px; }

.os-plan__card-price { margin-top: 20.5px; }
.os-plan__card-amount { font-size: 28px; font-weight: 600; line-height: 38px; }
.os-plan__card-period { font-size: 14px; line-height: 38px; color: var(--os-text-on-dark-muted); }

.os-plan__card-note {
  max-width: 320px;
  margin-top: 19.75px;
  font-size: 14px;
  line-height: 21.5px;
  color: var(--os-text-on-dark-muted);
}

.os-plan__card-cta.os-btn { margin-top: 42px; }
.os-plan__card-more.os-btn { margin-top: 12px; height: 50px; padding: 0; font-size: 13px; letter-spacing: 0.8214px; }

/* ---- location 33:279 ----------------------------------------------------- */

.os-location { background: var(--os-graphite-800); color: var(--os-text-on-dark); padding: 96px 0; }
.os-location__inner { display: grid; grid-template-columns: 1fr 440px; column-gap: 56px; align-items: start; }

.os-location__title { font-size: 44px; font-weight: 600; line-height: 46px; text-transform: uppercase; }
.os-location__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 32px; margin-top: 40px; }
.os-location__fact { font-size: 15px; line-height: 23.5px; color: var(--os-text-on-dark-muted); }

.os-location__aside { background: var(--os-graphite-700); padding: 32px; }
.os-location__aside-title { font-size: 16px; font-weight: 700; line-height: 22px; text-transform: uppercase; }
.os-location__aside-text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 21.5px;
  color: var(--os-text-on-dark-muted);
}
.os-location__aside .os-lead--dark { background: none; padding: 24px 0 0; }

@media (max-width: 1279px) {
  .os-plan__layout { grid-template-columns: 1fr; row-gap: 24px; }
  /* Здесь раньше стоял aspect-ratio кадра из макета. Он делал ровно то же,
     что фиксированная высота на десктопе: картинка со своими пропорциями
     занимала коробку не полностью, SVG растягивался на всю, и полигоны
     уезжали. Высоту задаёт картинка — на всех ширинах. */
}

@media (max-width: 1023px) {
  .os-object-hero__row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .os-object-hero__strip { grid-template-columns: repeat(2, 1fr); }
  .os-location__inner { grid-template-columns: 1fr; row-gap: 32px; }
  .os-location__facts { grid-template-columns: repeat(2, 1fr); }
  .os-plan__head { flex-direction: column; gap: 20px; }
  .os-plan__legend { margin-top: 0; gap: 16px; }
}

@media (max-width: 767px) {
  .os-object-hero__title { font-size: 36px; line-height: 38px; letter-spacing: -0.7px; }
  .os-object-hero__photo, .os-object-hero__strip img { height: 160px; }
  .os-plan { padding: 56px 0; }
  .os-plan .os-heading__title { font-size: 34px; line-height: 36px; letter-spacing: -0.6px; }
  .os-plan__canvas { padding: 12px; }
  .os-plan__panel { padding: 24px 20px; }
  .os-plan__card-title { font-size: 24px; line-height: 32px; }
  /* The tags lose their captions on a phone — at this width they overlap. */
  .os-plan__tag { min-width: 0; height: auto; padding: 2px 5px; }
  .os-plan__tag-state { display: none; }
  .os-plan__tag-name { font-size: 10px; line-height: 14px; }

  /* Отступление от мобильного кадра (45:477), и намеренное: там подписаны все
     полигоны разом. В макете чертёж почти квадратный и занимает 308×299,
     поэтому восьми подписям хватает места. Настоящий план этажа шире, на 390
     он сжимается вдвое по высоте, и подписи наезжают друг на друга — вместо
     «Офис 4» и «Офис 5» читается «Офис 45». Показывать точно, но нечитаемо —
     хуже, чем показать подпись у выбранного офиса: статусы при этом остаются
     видны цветом заливки, а легенда их расшифровывает. */
  .os-plan__tag { display: none; }
  .os-plan__tag.is-selected { display: flex; }
  .os-location { padding: 56px 0; }
  .os-location__title { font-size: 32px; line-height: 34px; }
  .os-location__facts { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .os-location__aside { padding: 24px 20px; }
}


/* ===== pages/_office-modal.css ===== */
/* Карточка офиса — Figma 30:7.
   В макете это оверлей 1120 с полотном 1040 внутри. Размеры отсюда и взяты:
   герой 1040×440, лента из четырёх плиток 257×120, контент на 40 от края,
   левая колонка 516, тёмная панель 404. Та же разметка работает и страницей,
   поэтому отступы живут на .os-office, а не на оболочке попапа. */

.os-modal { position: fixed; inset: 0; z-index: 90; overflow-y: auto; }
.os-modal[hidden] { display: none; }
.os-modal__backdrop { position: fixed; inset: 0; background: rgba(15, 16, 18, .9); }

.os-modal__dialog {
  position: relative;
  width: min(1040px, calc(100% - 32px));
  margin: 40px auto;
  background: var(--os-ivory-200);
}

.os-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  font-size: 0;
  color: var(--os-text-on-dark);
  background: var(--os-text-on-light);
  border: 0;
  cursor: pointer;
}
.os-modal__close::before {
  /* Иконка из макета (30:47), 20×20 — крест рисуется ей, а не символом ×:
     у × другая толщина штриха и он зависит от шрифта. */
  content: '';
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url('img/icon-close.svg') center / 20px 20px no-repeat;
  mask: url('img/icon-close.svg') center / 20px 20px no-repeat;
}
.os-modal__close:hover { background: var(--os-graphite-600); }

/* ---- Сама карточка ---------------------------------------------------- */

.os-office { background: var(--os-ivory-200); }

.os-office__media { aspect-ratio: 1040 / 440; background: var(--os-ivory-400); overflow: hidden; }
.os-office__hero { display: block; width: 100%; height: 100%; object-fit: cover; }
.os-office__hero--empty { display: block; }

/* 4 плитки по 257 с зазором 4 — 4×257 + 3×4 = 1040. */
.os-office__strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 4px; }
.os-office__thumb { display: block; width: 100%; height: 120px; object-fit: cover; background: var(--os-ivory-400); }

.os-office__tour {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  font-size: 14px;
  font-weight: 700;
  line-height: 19px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--os-text-on-dark);
  background: var(--os-text-on-light);
}
.os-office__tour:hover { background: var(--os-graphite-600); }

.os-office__content {
  display: grid;
  grid-template-columns: 516px 404px;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
}

.os-office__where { font-size: 13px; line-height: 18px; color: var(--os-text-on-light-subtle); }

.os-office__title {
  margin: 23.5px 0 0;
  font-size: 40px;
  font-weight: 600;
  line-height: 40px;
  text-transform: uppercase;
  color: var(--os-text-on-light);
}

.os-office__specs { display: flex; gap: 32px; margin-top: 24.5px; font-size: 16px; line-height: 22px; }
.os-office__specs b { font-weight: 700; }

.os-office__block { margin-top: 25px; padding-top: 21px; border-top: 1px solid var(--os-ivory-400); }
.os-office__block-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 20.5px;
  text-transform: uppercase;
  color: var(--os-text-on-light);
}
.os-office__block-text { margin: 10px 0 0; font-size: 15px; line-height: 24px; color: var(--os-text-on-light-muted); }

.os-office__plan {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 700;
  line-height: 19px;
  letter-spacing: 0.82px;
  text-transform: uppercase;
  text-decoration: underline;
  color: var(--os-bronze-dark);
}

.os-office__panel { padding: 32px; background: var(--os-text-on-light); color: var(--os-text-on-dark); }
.os-office__price { font-size: 30px; font-weight: 600; line-height: 41px; }
.os-office__terms { margin-top: 14px; font-size: 14px; line-height: 19px; color: var(--os-text-on-dark-muted); }
/* Форма лежит прямо на панели: в макете (30:38…30:43) вокруг полей нет
   второй коробки, а .os-lead--dark рисует свою для страницы аренды. */
.os-office__panel .os-lead { margin-top: 19px; padding: 0; background: none; }
.os-office__cian { margin-top: 14px; }

/* Мобильный: колонки складываются, лента превращается в прокрутку — четыре
   плитки по 257 в 390 не помещаются ни при каком сжатии. */
@media (max-width: 1023px) {
  .os-modal__dialog { width: calc(100% - 16px); margin: 8px auto; }
  .os-office__content { grid-template-columns: 1fr; gap: 32px; padding: 24px 16px; }
  .os-office__title { font-size: 28px; line-height: 1.05; }
  .os-office__strip { grid-auto-flow: column; grid-auto-columns: 180px; grid-template-columns: none; overflow-x: auto; }
  .os-office__thumb, .os-office__tour { height: 96px; }
  .os-office__specs { flex-wrap: wrap; gap: 16px; }
  .os-office__panel { padding: 24px; }
}

/* Отдельная страница офиса держит те же пропорции, что и попап: герой в
   макете 1040×440, и на широком контейнере он расползался бы в полосу. */
.os-office-page { padding-block: 0 60px; }
.os-office-page .os-office { max-width: 1040px; margin: 0 auto; }


/* ===== pages/_about.css ===== */
/* About page — Figma 91:417. */

/* ---- hero 96:711 -------------------------------------------------------- */

.os-about-hero { min-height: 720px; }
.os-about-hero .os-hero__inner { padding-top: 231.5px; padding-bottom: 73px; }
.os-about-hero .os-hero__eyebrow { letter-spacing: 2.4px; }

.os-about-hero__title {
  max-width: 1040px;
  margin-top: 27.75px;
  font-size: 86.5px;
  font-weight: 600;
  line-height: 84.5px;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}
.os-about-hero__lead { max-width: 640px; margin-top: 27.75px; font-size: 19px; line-height: 29.5px; color: #d6d0c6; }

/* ---- figures 91:463 ------------------------------------------------------ */

.os-about-stats { background: var(--os-graphite-700); color: var(--os-text-on-dark); padding: 55.5px 0 56px; }
.os-about-stats__grid { display: grid; grid-template-columns: repeat(4, 326px); }
.os-about-stats__item { margin: 0; }
.os-about-stats__value { font-size: 52px; font-weight: 300; line-height: 52px; }
.os-about-stats__caption { margin: 8.5px 0 0; font-size: 14px; line-height: 19px; color: var(--os-text-on-dark-muted); }

/* ---- story 91:473 --------------------------------------------------------- */

.os-about-story { padding: 120px 0; }
.os-about-story__inner { display: grid; grid-template-columns: 424.5px 1fr; column-gap: 0; }

.os-about-story__eyebrow { color: var(--os-bronze-dark); letter-spacing: 2.7143px; }
.os-about-story__title {
  max-width: 360.5px;
  margin-top: 24px;
  font-size: 52px;
  font-weight: 600;
  line-height: 53px;
  letter-spacing: -1px;
  text-transform: uppercase;
}
.os-about-story__photo { width: 360.5px; height: 420px; margin-top: 25px; background: #ddd5c8; }
.os-about-story__photo img { width: 100%; height: 100%; object-fit: cover; }

.os-about-story__body { max-width: 855.5px; }
.os-about-story__lead { font-size: 20px; line-height: 32px; }
.os-about-story__text { margin-top: 28px; font-size: 18px; line-height: 30.5px; color: var(--os-text-on-light-muted); }
.os-about-story__author { margin-top: 28.5px; padding-top: 20.5px; border-top: 1px solid var(--os-ivory-400); }

/* ---- milestones 96:754 ----------------------------------------------------- */

.os-milestones { background: var(--os-graphite-800); color: var(--os-text-on-dark); padding: 120px 0 117.7px; }
.os-milestones__title { font-size: 56px; font-weight: 600; line-height: 57px; letter-spacing: -1px; text-transform: uppercase; }

.os-milestones__grid { display: grid; grid-template-columns: repeat(4, 320px); margin-top: 48px; }
.os-milestones__item { padding-top: 30px; border-top: 2px solid var(--os-graphite-400); padding-right: 24px; }
/* A reached milestone carries the bronze rule; the one still ahead does not. */
.os-milestones__item.is-done { border-top-color: var(--os-bronze); }
.os-milestones__year { display: block; font-size: 32px; font-weight: 600; line-height: 43.5px; }
.os-milestones__text {
  display: block;
  max-width: 296px;
  margin-top: 10.25px;
  font-size: 15px;
  line-height: 23.5px;
  color: var(--os-text-on-dark-muted);
}

/* ---- how we work 91:499 ------------------------------------------------------ */

.os-about-how .os-advantages__title { max-width: 340.5px; }
.os-about-how__photo { width: 340.5px; height: 360px; margin-top: 24px; overflow: hidden; }
.os-about-how__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---- trust 91:525 -------------------------------------------------------------- */

.os-trust { background: var(--os-graphite-800); color: var(--os-text-on-dark); padding: 120px 0 120px; }
.os-trust__head { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; }
.os-trust__title { font-size: 56px; font-weight: 600; line-height: 57px; letter-spacing: -1px; text-transform: uppercase; }
.os-trust__all {
  font-size: 14px;
  font-weight: 600;
  line-height: 19px;
  letter-spacing: 0.8333px;
  text-transform: uppercase;
  color: var(--os-bronze);
  white-space: nowrap;
}

/* Four panels on one shared rule, drawn as a filled frame behind a 1px gap. */
.os-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: var(--os-graphite-500);
  border: 1px solid var(--os-graphite-500);
}
.os-trust__item { background: var(--os-graphite-800); padding: 27.5px 28px; min-height: 126px; }
.os-trust__company { display: block; font-size: 18px; font-weight: 700; line-height: 24.5px; }
.os-trust__since {
  display: block;
  max-width: 263px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 19px;
  color: var(--os-text-on-dark-muted);
}

.os-trust__partner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 81px;
  margin-top: 48px;
  padding: 0 29px;
  border: 1px solid var(--os-graphite-500);
}
.os-trust__partner-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--os-bronze);
  white-space: nowrap;
}
.os-trust__partner-text { font-size: 17px; line-height: 23px; }

/* ---- closing CTA 91:544 ---------------------------------------------------------- */

.os-about-cta { background: var(--os-graphite-700); color: var(--os-text-on-dark); padding: 95.5px 0 96px; }
.os-about-cta__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; }
.os-about-cta__title { flex: 0 0 856.5px; font-size: 48px; font-weight: 600; line-height: 50px; text-transform: uppercase; }
.os-about-cta__actions { display: flex; align-items: flex-start; gap: 12px; margin-top: 21.5px; }
.os-about-cta__phone.os-btn { letter-spacing: 1.1563px; text-transform: none; font-weight: 600; }

@media (max-width: 1279px) {
  .os-about-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .os-milestones__grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
}

@media (max-width: 1023px) {
  .os-about-story__inner { grid-template-columns: 1fr; row-gap: 32px; }
  .os-about-story__photo, .os-about-how__photo { width: 100%; }
  .os-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .os-about-cta__inner { flex-direction: column; gap: 24px; }
  .os-about-cta__actions { margin-top: 0; }
}

@media (max-width: 767px) {
  .os-about-hero { min-height: 0; }
  .os-about-hero .os-hero__inner { padding-top: 140px; padding-bottom: 56px; }
  .os-about-hero__title { font-size: 38px; line-height: 40px; letter-spacing: -0.7px; margin-top: 20px; }
  .os-about-hero__lead { margin-top: 20px; font-size: 16px; line-height: 26px; }

  .os-about-stats { padding: 40px 0; }
  .os-about-stats__value { font-size: 34px; line-height: 36px; }

  .os-about-story, .os-milestones, .os-trust { padding: 56px 0; }
  .os-about-story__title { font-size: 32px; line-height: 34px; }
  .os-about-story__photo { height: 320px; }
  .os-about-story__lead { font-size: 17px; line-height: 27px; }
  .os-about-story__text { font-size: 16px; line-height: 26px; margin-top: 20px; }

  .os-milestones__title, .os-trust__title { font-size: 34px; line-height: 36px; letter-spacing: -0.6px; }
  .os-milestones__grid { grid-template-columns: 1fr; margin-top: 28px; }
  .os-trust__head { flex-direction: column; gap: 12px; }
  .os-trust__grid { grid-template-columns: 1fr; margin-top: 28px; }
  .os-trust__partner { flex-direction: column; align-items: flex-start; gap: 8px; height: auto; padding: 20px; }

  .os-about-cta { padding: 56px 0; }
  .os-about-cta__title { font-size: 30px; line-height: 34px; }
  .os-about-cta__actions { flex-direction: column; }
  .os-about-cta__actions .os-btn { width: 100%; }
  .os-about-how__photo { height: 240px; }
}


/* ===== pages/_owners.css ===== */
/* Owners page — Figma 92:533. */

/* ---- hero 97:632 -------------------------------------------------------- */

.os-owners-hero { min-height: 839px; }
.os-owners-hero .os-hero__inner { padding-top: 160px; padding-bottom: 72px; }
.os-owners-hero .os-hero__eyebrow { letter-spacing: 2.4231px; }

.os-owners-hero__title {
  max-width: 1040px;
  margin-top: 31.75px;
  font-size: 86.5px;
  font-weight: 600;
  line-height: 84.5px;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}
.os-owners-hero__lead { max-width: 640px; margin-top: 32px; font-size: 19px; line-height: 29.5px; color: #d6d0c6; }
.os-owners-hero__actions { display: flex; align-items: flex-start; gap: 12px; margin-top: 33.25px; }

.os-owners-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 320px);
  margin-top: 32px;
  padding-top: 24.5px;
  border-top: 1px solid rgba(242, 237, 228, .3);
}
.os-owners-hero__stat { margin: 0; }
.os-owners-hero__value { font-size: 40px; font-weight: 300; line-height: 40px; }
.os-owners-hero__caption { margin: 6.5px 0 0; font-size: 14px; line-height: 19px; color: #c9c3b9; }

/* ---- audiences 97:686 ----------------------------------------------------- */

.os-audience { padding: 112px 0 112px; }
.os-audience__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 24px; }
.os-audience__card { background: var(--os-ivory-100); border: 1px solid var(--os-ivory-300); padding: 40px; min-height: 318px; }
.os-audience__num { display: block; font-size: 14px; font-weight: 600; line-height: 19px; color: var(--os-bronze-dark); }
.os-audience__title { margin-top: 18px; font-size: 28px; font-weight: 600; line-height: 38px; text-transform: uppercase; }
.os-audience__text {
  max-width: 546px;
  margin-top: 17px;
  font-size: 16px;
  line-height: 25.5px;
  color: var(--os-text-on-light-muted);
}
.os-audience__btn.os-btn { margin-top: 20px; height: 48px; padding: 0 24px; font-size: 13px; letter-spacing: 0.8px; }

.os-audience__promise {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px 57.5px;
  margin-top: 48px;
  padding-top: 29px;
  border-top: 1px solid var(--os-ivory-400);
}
.os-audience__promise-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--os-bronze-dark);
  white-space: nowrap;
}
.os-audience__promise-list { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.os-audience__promise-list li { font-size: 17px; line-height: 23px; }

/* ---- before / after 92:611 ------------------------------------------------- */

.os-transform { background: var(--os-graphite-800); padding: 112px 0 135.5px; }
.os-transform__title {
  max-width: 960px;
  font-size: 56px;
  font-weight: 600;
  line-height: 57px;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.os-transform__text { max-width: 860px; margin-top: 47.5px; }
.os-transform__text p { margin: 0; font-size: 18px; line-height: 28px; color: var(--os-text-on-dark-muted); }
.os-transform__text p + p { margin-top: 20px; }

.os-transform__pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 47.5px; }
.os-transform__side { margin: 0; }
.os-transform__photo { height: 380px; overflow: hidden; }
.os-transform__photo img { width: 100%; height: 100%; object-fit: cover; }
/* The "before" slot is deliberately empty in the design: a dashed frame, not
   a photo of someone else's empty room. */
.os-transform__photo.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 382px;
  background: var(--os-graphite-600);
  border: 1px dashed var(--os-graphite-400);
}
.os-transform__photo-label {
  font-size: 14px;
  line-height: 19px;
  letter-spacing: 1.4167px;
  text-transform: uppercase;
  color: var(--os-text-on-dark-muted);
}

.os-transform__tag {
  display: block;
  margin-top: 17px;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--os-text-on-dark-muted);
}
.os-transform__tag.is-after { color: var(--os-bronze); }
.os-transform__caption { display: block; margin-top: 5.5px; font-size: 18px; line-height: 24.5px; }

.os-transform__points { display: grid; grid-template-columns: repeat(4, 296px); column-gap: 32px; margin-top: 47.5px; }
.os-transform__point { padding-top: 25px; border-top: 1px solid var(--os-graphite-500); }
.os-transform__point-title { font-size: 17px; font-weight: 700; line-height: 23px; text-transform: uppercase; }
.os-transform__point-text { margin-top: 7.5px; font-size: 15px; line-height: 24px; color: var(--os-text-on-dark-muted); }

/* ---- service 92:633 --------------------------------------------------------- */

.os-service { padding: 112px 0 112px; }
.os-service__title { font-size: 56px; font-weight: 600; line-height: 57px; letter-spacing: -0.8438px; text-transform: uppercase; }

.os-service__panel { margin-top: 40px; padding: 40px; background: var(--os-text-on-light); color: var(--os-text-on-dark); }
.os-service__panel-title { font-size: 28px; font-weight: 600; line-height: 38px; text-transform: uppercase; }
.os-service__panel-lead { margin-top: 20px; font-size: 16px; line-height: 22px; color: var(--os-text-on-dark-muted); }

.os-service__streams {
  display: grid;
  grid-template-columns: repeat(3, 404px);
  margin-top: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--os-graphite-500);
  border-bottom: 1px solid var(--os-graphite-500);
}
.os-service__stream-num { display: block; font-size: 14px; font-weight: 700; line-height: 20.5px; color: var(--os-bronze); }
.os-service__stream-text { display: block; margin-top: 6px; font-size: 14px; line-height: 20.5px; }

.os-service__list { margin-top: 20px; }
.os-service__list li { position: relative; padding-left: 14px; font-size: 16px; line-height: 24px; color: #d6d0c6; }
.os-service__list li + li { margin-top: 10px; }
.os-service__list li::before { content: "•"; position: absolute; left: 0; }

.os-service__result { margin-top: 20px; font-size: 18px; font-weight: 700; line-height: 24.5px; }
.os-service__btn.os-btn { margin-top: 20px; height: 48px; padding: 0 24px; font-size: 13px; letter-spacing: 0.8333px; }

/* ---- revenue model 92:661 ------------------------------------------------------ */

.os-model { background: var(--os-graphite-800); padding: 112px 0 112px; }
.os-model__inner { display: grid; grid-template-columns: 428px 852px; align-items: start; }

.os-model__eyebrow { color: var(--os-bronze); letter-spacing: 2.3906px; }
.os-model__title {
  max-width: 380px;
  margin-top: 23.5px;
  font-size: 48px;
  font-weight: 600;
  line-height: 50px;
  text-transform: uppercase;
}
.os-model__lead { max-width: 380px; margin-top: 24.25px; font-size: 17px; line-height: 27px; color: var(--os-text-on-dark-muted); }
.os-model__btn.os-btn { margin-top: 24.75px; }

.os-model__panel { background: var(--os-graphite-700); padding: 36px; min-height: 448px; }
.os-model__table th, .os-model__table td { text-align: left; font-size: 16px; line-height: 22px; }
.os-model__table th { font-weight: 400; padding: 14px 0; border-bottom: 1px solid var(--os-graphite-500); }
.os-model__table td { font-weight: 600; text-align: right; padding: 14px 0; border-bottom: 1px solid var(--os-graphite-500); white-space: nowrap; }

.os-model__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-top: 19.5px;
  font-size: 18px;
  font-weight: 700;
  line-height: 24.5px;
  text-transform: uppercase;
}
.os-model__total b { color: var(--os-bronze); }
.os-model__note { margin-top: 11.25px; font-size: 14px; line-height: 22.5px; color: var(--os-text-on-dark-muted); }

/* ---- case 92:686 ----------------------------------------------------------------- */

.os-case { padding: 112px 0 112px; }
.os-case__eyebrow { color: var(--os-bronze-dark); letter-spacing: 2.4074px; }
.os-case__title {
  margin-top: 20px;
  font-size: 56px;
  font-weight: 600;
  line-height: 57px;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.os-case__grid { display: grid; grid-template-columns: 627px 1fr; gap: 24px; margin-top: 48px; align-items: start; }

.os-case__compare { background: var(--os-ivory-100); border: 1px solid var(--os-ivory-300); height: 203px; }
.os-case__compare th, .os-case__compare td { text-align: left; height: 64px; padding: 0 20px; font-size: 17px; line-height: 23px; }
.os-case__compare thead th { font-weight: 600; border-bottom: 1px solid var(--os-ivory-300); }
.os-case__compare thead td { border-bottom: 1px solid var(--os-ivory-300); }
.os-case__compare thead .is-smart { color: var(--os-bronze-dark); font-weight: 700; }
.os-case__compare tbody th { font-weight: 500; color: var(--os-text-on-light-subtle); border-bottom: 1px solid #efe9df; }
.os-case__compare tbody td { border-bottom: 1px solid #efe9df; }
.os-case__compare tbody tr:last-child th, .os-case__compare tbody tr:last-child td { border-bottom: 0; }
.os-case__highlight { font-size: 24px; font-weight: 700; line-height: 33px; }

/* Six facts on a shared rule, as one filled frame behind a 1px grid gap. */
.os-case__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--os-ivory-400);
  border: 1px solid var(--os-ivory-400);
}
.os-case__fact { background: var(--os-ivory-200); padding: 20px; min-height: 92px; }
.os-case__fact dt { font-size: 13px; line-height: 18px; color: var(--os-text-on-light-subtle); }
.os-case__fact dd { margin: 4px 0 0; font-size: 22px; font-weight: 600; line-height: 30px; }

.os-case__photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; }
.os-case__photo, .os-case__photos img { width: 100%; height: 240px; object-fit: cover; }
.os-case__photos .os-photo-placeholder { height: 240px; }

/* ---- closing consultation 92:734 ---------------------------------------------------- */

.os-owners-consult { background: var(--os-graphite-800); padding: 112px 0 112px; }
.os-owners-consult__inner { display: grid; grid-template-columns: 582px 1fr; column-gap: 56px; align-items: start; }

.os-owners-consult__title { font-size: 52px; font-weight: 600; line-height: 53px; text-transform: uppercase; }
.os-owners-consult__text { margin-top: 23.5px; font-size: 18px; line-height: 29px; color: var(--os-text-on-dark-muted); }
.os-owners-consult__phone { display: inline-block; margin-top: 24px; font-size: 28px; font-weight: 600; line-height: 38px; }
.os-owners-consult .os-lead { margin-top: 12px; }

@media (max-width: 1279px) {
  .os-owners-hero__stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .os-transform__points { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .os-service__streams { grid-template-columns: repeat(3, 1fr); }
  .os-model__inner { grid-template-columns: 1fr; row-gap: 32px; }
  .os-case__grid { grid-template-columns: 1fr; }
}

@media (max-width: 1023px) {
  .os-audience__cards { grid-template-columns: 1fr; }
  .os-transform__pair { grid-template-columns: 1fr; }
  .os-case__photos { grid-template-columns: repeat(2, 1fr); }
  .os-owners-consult__inner { grid-template-columns: 1fr; row-gap: 32px; }
}

@media (max-width: 767px) {
  .os-owners-hero { min-height: 0; }
  .os-owners-hero .os-hero__inner { padding-top: 120px; padding-bottom: 48px; }
  .os-owners-hero__title { font-size: 36px; line-height: 38px; letter-spacing: -0.7px; margin-top: 20px; }
  .os-owners-hero__lead { margin-top: 20px; font-size: 16px; line-height: 26px; }
  .os-owners-hero__actions { flex-direction: column; }
  .os-owners-hero__actions .os-btn { width: 100%; }
  .os-owners-hero__value { font-size: 28px; line-height: 30px; }

  .os-audience, .os-transform, .os-service, .os-model, .os-case, .os-owners-consult { padding: 56px 0; }
  .os-audience__card { padding: 24px 20px; min-height: 0; }
  .os-audience__title { font-size: 22px; line-height: 30px; }
  .os-transform__title, .os-service__title, .os-case__title { font-size: 32px; line-height: 34px; letter-spacing: -0.55px; }
  .os-transform__points { grid-template-columns: 1fr; }
  .os-transform__photo, .os-transform__photo.is-empty { height: 240px; }
  .os-service__panel { padding: 24px 20px; }
  .os-service__panel-title { font-size: 22px; line-height: 30px; }
  .os-service__streams { grid-template-columns: 1fr; row-gap: 16px; }
  .os-model__title, .os-owners-consult__title { font-size: 30px; line-height: 34px; }
  .os-model__panel { padding: 24px 20px; min-height: 0; }
  .os-case__facts { grid-template-columns: 1fr; }
  .os-case__photos { grid-template-columns: 1fr; margin-top: 28px; }
  .os-owners-consult__phone { font-size: 22px; line-height: 30px; }
}


/* ===== pages/_meeting-rooms.css ===== */
/* Meeting rooms page — Figma 36:2. */

/* ---- hero 36:42 --------------------------------------------------------- */

.os-rooms-hero { position: relative; min-height: 579.5px; color: var(--os-text-on-dark); overflow: hidden; }
.os-rooms-hero__scrim { position: absolute; inset: 0; background: rgba(15, 16, 18, .72); }
.os-rooms-hero .os-hero__image--empty { background: var(--os-ivory-400); }
.os-rooms-hero__inner { position: relative; padding-top: 76px; padding-bottom: 56px; }

.os-rooms-hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--os-bronze);
}

.os-rooms-hero__title {
  max-width: 900px;
  margin-top: 26px;
  font-size: 60px;
  font-weight: 600;
  line-height: 62px;
  letter-spacing: -1.2px;
  text-transform: uppercase;
}

.os-rooms-hero__lead { max-width: 620px; margin-top: 24px; font-size: 17px; line-height: 27px; color: #d6d0c6; }

.os-rooms-hero__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(242, 237, 228, .3);
}
.os-rooms-hero__step-num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 16.5px;
  letter-spacing: 1.5px;
  color: var(--os-bronze);
}
.os-rooms-hero__step-text { display: block; margin-top: 8px; font-size: 15px; line-height: 21px; }

/* ---- booking 36:56 ------------------------------------------------------ */

.os-booking { padding: 95.5px 0 110px; }
.os-booking__inner { display: grid; grid-template-columns: 876px 404px; column-gap: 0; align-items: start; }
/* Элемент грида не ужимается уже своего содержимого (min-width: auto),
   поэтому колонка с карточками и сеткой часов распирала страницу до
   512px при экране 390 — вся бронь уезжала вбок. */
.os-booking__inner > *, .os-booking__rooms > *, .os-booking__slots > * { min-width: 0; }

.os-booking__step { font-size: 18px; font-weight: 700; line-height: 24.5px; text-transform: uppercase; }
.os-booking__step--date { margin-top: 69.5px; }
.os-booking__step--time { margin-top: 71.5px; }
.os-booking__step-hint { font-size: 15px; font-weight: 400; text-transform: none; color: var(--os-text-on-light-subtle); }

.os-booking__objects { margin-top: 16px; }
.os-booking__objects .os-chip { height: 44px; padding: 0 20px; justify-content: center; }

/* Room picker: a chip-sized control that carries a photo and a spec block.
   The selected card takes a 3px rule, as in the design (36:63). */
.os-booking__rooms { display: grid; grid-template-columns: repeat(2, 414px); gap: 16px; margin-top: 16px; }

.os-room-pick {
  display: flex;
  flex-direction: column;
  /* Карточка наследует .os-chip, а у чипа align-items: center и
     white-space: nowrap. В колонке это прижимало картинку и текст к центру по
     ширине и запрещало переносы: картинка выходила уже карточки, а заголовок
     и состав оснащения вылезали за рамку. */
  align-items: stretch;
  white-space: normal;
  height: 329px;
  padding: 0;
  background: var(--os-ivory-100);
  border: 1px solid var(--os-ivory-300);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease;
}
.os-room-pick.is-selected { border: 3px solid var(--os-text-on-light); }

.os-room-pick__media { display: block; height: 180px; overflow: hidden; }
.os-room-pick__media img,
.os-room-pick__media .os-photo-placeholder { width: 100%; height: 180px; object-fit: cover; }

.os-room-pick__body { display: block; padding: 19.5px 20px 20px; }
.os-room-pick__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.os-room-pick__title { font-size: 20px; font-weight: 600; line-height: 27.5px; text-transform: uppercase; }
.os-room-pick__cap {
  font-size: 12px;
  font-weight: 700;
  line-height: 16.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--os-bronze-dark);
  white-space: nowrap;
}
.os-room-pick__specs { display: block; margin-top: 8px; font-size: 15px; line-height: 20.5px; color: var(--os-text-on-light-muted); }
.os-room-pick__kit { display: block; margin-top: 8px; font-size: 13px; line-height: 19.5px; color: var(--os-text-on-light-subtle); }

.os-booking__plan-link {
  display: inline-block;
  margin-top: 29px;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0.7727px;
  text-transform: uppercase;
  text-decoration: underline;
  color: var(--os-bronze-dark);
}

.os-booking__dates { display: flex; gap: 8px; margin-top: 16px; }
.os-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 72px;
  height: 72px;
  background: var(--os-ivory-100);
  border: 1px solid var(--os-ivory-500);
  cursor: pointer;
}
.os-date.is-selected { background: var(--os-text-on-light); border-color: var(--os-text-on-light); color: var(--os-text-on-dark); }
.os-date__weekday { font-size: 12px; line-height: 16.5px; letter-spacing: 1px; text-transform: uppercase; }
.os-date__day { font-size: 22px; font-weight: 600; line-height: 30px; }

/* Seven slots across the 876px column, so they are wider than the shared
   104px Time slot (Figma 36:101). */
.os-booking__slots { display: grid; grid-template-columns: repeat(7, 113.5px); gap: 8px; margin-top: 16px; }
.os-booking__slots .os-slot { width: 100%; }
.os-booking__slots .os-slot--light.is-busy { background: #ddd6ca; border-color: #ddd6ca; color: #8c877f; text-decoration: none; }
.os-booking .os-slots-legend { margin-top: 24px; }

.os-booking__summary { background: var(--os-text-on-light); color: var(--os-text-on-dark); padding: 32px; }
.os-booking__summary-eyebrow {
  font-size: 12px;
  font-weight: 700;
  line-height: 16.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--os-bronze);
}

.os-booking__summary-list { margin-top: 18.5px; }
.os-booking__summary-list > div { display: grid; grid-template-columns: 123.5px 1fr; }
.os-booking__summary-list > div + div { margin-top: 10.5px; }
.os-booking__summary-list dt { font-size: 15px; line-height: 20.5px; color: var(--os-text-on-dark-muted); }
.os-booking__summary-list dd { margin: 0; font-size: 15px; line-height: 20.5px; }

.os-booking__total {
  margin-top: 39px;
  padding-top: 17px;
  border-top: 1px solid var(--os-graphite-500);
  font-size: 32px;
  font-weight: 600;
  line-height: 43.5px;
}

.os-booking__summary .os-field { margin-top: 18px; }
.os-booking__summary .os-field__input { height: 50px; padding: 0 14px; }
.os-booking__pay.os-btn { margin-top: 44px; }
.os-booking__note { margin-top: 17px; font-size: 13px; line-height: 19.5px; color: var(--os-text-on-dark-muted); }
.os-booking__note a { color: var(--os-bronze); text-decoration: underline; }

/* ---- "Как работает код" 36:155 ------------------------------------------ */

.os-code-how { background: var(--os-graphite-800); padding: 72px 0 80px; }
.os-code-how__title { font-size: 44px; font-weight: 600; line-height: 46px; text-transform: uppercase; }
.os-code-how__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--os-graphite-500);
}
.os-code-how__point-title { font-size: 16px; font-weight: 700; line-height: 22px; }
.os-code-how__point-text { margin-top: 10px; font-size: 14px; line-height: 21.5px; color: var(--os-text-on-dark-muted); }

@media (max-width: 1279px) {
  .os-booking__inner { grid-template-columns: 1fr; row-gap: 32px; }
  .os-booking__rooms { grid-template-columns: repeat(2, 1fr); }
  .os-booking__slots { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 767px) {
  .os-rooms-hero__inner { padding-top: 56px; }
  .os-rooms-hero__title { font-size: 34px; line-height: 36px; letter-spacing: -0.6px; }
  .os-rooms-hero__steps { grid-template-columns: 1fr; gap: 16px; }

  .os-booking { padding: 56px 0; }
  .os-booking__rooms { grid-template-columns: 1fr; }
  .os-room-pick { height: auto; }
  .os-booking__step--date, .os-booking__step--time { margin-top: 40px; }
  .os-booking__dates { overflow-x: auto; padding-bottom: 4px; }
  .os-date { flex: 0 0 64px; width: 64px; height: 64px; }
  .os-booking__slots { grid-template-columns: repeat(3, 1fr); }
  .os-booking__summary { padding: 24px 20px; }
  .os-code-how { padding: 56px 0; }
  .os-code-how__title { font-size: 32px; line-height: 34px; }
  .os-code-how__points { grid-template-columns: 1fr; gap: 24px; }
}

/* Подсказка про минимум: появляется, пока часов набрано меньше нужного. */
.os-booking__min {
  margin-top: 10px;
  font-size: 13px;
  line-height: 18px;
  color: var(--os-bronze);
}
.os-booking__min[hidden] { display: none; }

/* Часы по договору: это хорошая новость, поэтому не бронзовым, как
   предупреждение о минимуме, а цветом «свободно». */
.os-booking__free {
  margin-top: 6px;
  font-size: 13px;
  line-height: 18px;
  color: #9ec4a8;
}
.os-booking__free[hidden] { display: none; }


/* ===== pages/_account.css ===== */
/* Client portal — Figma 37:61 (tenant) and 38:91 (meeting rooms only). */

.os-account { display: grid; grid-template-columns: 260.5px 1fr; min-height: 100vh; background: var(--os-ivory-200); }

/* ---- sidebar 37:65 ------------------------------------------------------ */

.os-account__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--os-graphite-800);
  color: var(--os-text-on-dark);
  padding: 28px 0 28px;
}
.os-account__side .os-logo-link { padding-inline: 28px; }
.os-account__side .os-logo__mark { width: 168px; height: 32px; }

.os-account__nav { display: flex; flex-direction: column; gap: 4px; margin-top: 36px; padding-inline: 20px; }

.os-account__side-foot { padding: 21px 28px 0; margin: 0 20px; border-top: 1px solid var(--os-graphite-600); }
.os-account__side-foot { padding-inline: 8px; }
.os-account__side-name { font-size: 14px; font-weight: 600; line-height: 19px; }
.os-account__side-person { margin-top: 6px; font-size: 13px; line-height: 18px; color: var(--os-text-on-dark-muted); }
.os-account__side-admin {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  line-height: 18px;
  text-decoration: underline;
  color: var(--os-bronze);
}
.os-account__side-logout {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 18px;
  color: var(--os-text-on-dark-muted);
}
.os-account__side-logout:hover { color: var(--os-text-on-dark); }

/* ---- content ------------------------------------------------------------ */

.os-account__main { padding: 43px 43px 60px; }

.os-account__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.os-account__eyebrow {
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 2.1944px;
  text-transform: uppercase;
  color: var(--os-bronze-dark);
}
.os-account__title {
  margin-top: 8px;
  font-size: 40px;
  font-weight: 600;
  line-height: 54.5px;
  text-transform: uppercase;
}

.os-account__flag {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  margin-top: 41px;
  font-size: 14px;
  font-weight: 700;
  line-height: 19px;
  white-space: nowrap;
}
.os-account__flag.is-paid { background: var(--os-status-free-bg); color: var(--os-status-free-fg); }
.os-account__flag.is-note { background: var(--os-ivory-300); color: var(--os-text-on-light-muted); }

.os-account__top { display: grid; grid-template-columns: 322.5px 1fr; gap: 24px; margin-top: 32px; align-items: stretch; }

/* ---- cards --------------------------------------------------------------- */

.os-card {
  background: var(--os-ivory-100);
  border: 1px solid var(--os-ivory-300);
  padding: 24px 25px;
  margin-top: 24px;
}
.os-account__top .os-card { margin-top: 0; }
.os-card--dark { background: var(--os-text-on-light); border-color: var(--os-text-on-light); color: var(--os-text-on-dark); padding: 27.5px 28px; }

.os-card__title { font-size: 18px; font-weight: 600; line-height: 24.5px; text-transform: uppercase; }
.os-card--dark .os-card__title,
.os-my-office .os-card__title,
.os-my-rooms .os-card__title { font-size: 20px; line-height: 27.5px; }
.os-card__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.os-card__action.os-btn { height: 40px; padding: 0 16px; font-size: 13px; letter-spacing: 0.5px; }
.os-card__empty { margin-top: 16px; font-size: 15px; line-height: 20.5px; color: var(--os-text-on-light-subtle); }

/* The outline button on the portal's light cards. */
.os-btn--outline-light { padding: 0 20px; height: 44px; font-size: 13px; letter-spacing: 0.8182px; border-color: var(--os-ivory-500); }

/* ---- "Мой офис" 37:109 ---------------------------------------------------- */

.os-my-office { padding: 0; display: flex; flex-direction: column; }
.os-my-office__media { height: 180px; overflow: hidden; }
.os-my-office__media img,
.os-my-office__media .os-photo-placeholder { width: 100%; height: 180px; object-fit: cover; }
.os-my-office__body { padding: 23.5px 24px 24px; display: flex; flex-direction: column; flex: 1 0 auto; }

.os-my-office__rows { margin-top: 14px; }
.os-my-office__rows > div { display: grid; grid-template-columns: 161px 1fr; column-gap: 0; }
.os-my-office__rows > div + div { margin-top: 10px; }
.os-my-office__rows dt { font-size: 15px; line-height: 20.5px; color: var(--os-text-on-light-subtle); }
.os-my-office__rows dd { margin: 0; font-size: 15px; line-height: 20.5px; }
.os-my-office__rows .is-strong dd { font-weight: 700; }

.os-my-office__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 24px; }
.os-account__btn.os-btn { height: 44px; padding: 0 20px; font-size: 13px; letter-spacing: 0.8182px; }

/* ---- "Мои переговорные" 38:93 --------------------------------------------- */

.os-my-rooms { display: flex; flex-direction: column; }
.os-my-rooms__stats { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 20px; border: 1px solid var(--os-ivory-300); }
.os-my-rooms__stat { padding: 18px 16px; }
.os-my-rooms__stat + .os-my-rooms__stat { border-left: 1px solid var(--os-ivory-300); }
.os-my-rooms__value { display: block; font-size: 26px; font-weight: 600; line-height: 34px; }
.os-my-rooms__caption { display: block; margin-top: 2px; font-size: 13px; line-height: 18px; color: var(--os-text-on-light-subtle); }

.os-my-rooms__fav { margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--os-text-on-light-muted); }
.os-my-rooms__repeat.os-btn { margin-top: 16px; }

.os-my-rooms__upsell { margin-top: auto; padding-top: 24px; }
.os-my-rooms__upsell-title { font-size: 15px; font-weight: 700; line-height: 20.5px; }
.os-my-rooms__upsell-text { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--os-text-on-light-muted); }
.os-my-rooms__upsell-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--os-bronze-dark);
}

/* ---- quick booking 37:128 -------------------------------------------------- */

.os-quick { display: flex; flex-direction: column; }
.os-quick__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.os-quick__note { font-size: 13px; line-height: 18px; color: var(--os-text-on-dark-muted); white-space: nowrap; }

.os-quick__rooms { margin-top: 20px; }
.os-quick__rooms .os-chip,
.os-quick__dates .os-chip { height: 44px; padding: 0 18px; justify-content: center; }
.os-quick__dates { margin-top: 18px; }

.os-quick__slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 18px; }
.os-quick__slots .os-slot { width: 100%; height: 44px; }
.os-quick__slots .os-slot--dark.is-busy { background: var(--os-graphite-600); border-color: var(--os-graphite-600); color: #6f6b64; text-decoration: none; }
.os-quick__submit.os-btn { margin-top: auto; margin-block-start: 26px; }

/* ---- upcoming 37:169 -------------------------------------------------------- */

.os-upcoming__list { margin-top: 12px; }
.os-upcoming__row {
  display: grid;
  grid-template-columns: 152px 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--os-ivory-300);
}
.os-upcoming__date { font-size: 15px; font-weight: 700; line-height: 20.5px; }
.os-upcoming__what { font-size: 15px; line-height: 20.5px; }
.os-upcoming__code { font-size: 14px; line-height: 19px; color: var(--os-text-on-light-subtle); white-space: nowrap; }
.os-upcoming__code b { letter-spacing: 2.95px; color: var(--os-text-on-light); }
.os-upcoming__cancel.os-btn--link { padding: 0; font-size: 13px; letter-spacing: 0.5px; }

/* ---- tables ------------------------------------------------------------------ */

.os-table { margin-top: 20px; }
.os-table th, .os-table td { text-align: left; }
.os-table thead th {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--os-ivory-300);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  color: var(--os-text-on-light-subtle);
}
.os-table thead th + th { padding-left: 12px; }
.os-table tbody td {
  padding: 18px 12px 18px 0;
  border-bottom: 1px solid #efe9df;
  font-size: 15px;
  line-height: 20.5px;
}
.os-table tbody td + td { padding-left: 12px; }
.os-table__amount { font-weight: 600; }
.os-table__muted { color: var(--os-text-on-light-subtle); }
.os-table__docs a { color: var(--os-bronze-dark); text-decoration: underline; }
.os-table .os-badge { font-size: 13px; padding: 5px 10px; }

/* ---- profile ------------------------------------------------------------------ */

.os-profile__form { max-width: 460px; margin-top: 20px; }
.os-profile__form .os-field + .os-field { margin-top: 18px; }
.os-profile__static { margin-top: 6px; font-size: 16px; line-height: 22px; }
.os-profile__hint { margin-top: 6px; font-size: 13px; line-height: 18px; color: var(--os-text-on-light-subtle); }
.os-profile__form .os-btn { margin-top: 24px; }
.os-account__notice { max-width: 460px; margin-top: 16px; padding: 10px 14px; font-size: 14px; line-height: 20px; background: var(--os-status-free-bg); color: var(--os-status-free-fg); }
.os-account__notice--error { background: var(--os-status-error-bg); color: var(--os-status-error-fg); }

/* ---- login UX-1 / UX-2 ---------------------------------------------------------- */

.os-auth { padding: 96px 0 120px; }
.os-auth__inner { max-width: 520px; }
.os-auth__eyebrow {
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--os-bronze-dark);
}
.os-auth__title { margin-top: 16px; font-size: 40px; font-weight: 600; line-height: 44px; text-transform: uppercase; }
.os-auth__lead { margin-top: 16px; font-size: 16px; line-height: 26px; color: var(--os-text-on-light-muted); }
.os-auth__step .os-field { margin-top: 32px; }
.os-auth__step .os-btn--block { margin-top: 20px; }
/* Запасной вход кодом: ссылка под основной кнопкой, не вторая кнопка —
   иначе два равных по весу действия, и человек выбирает наугад. */
.os-auth__alt { margin-top: 16px; text-align: center; }
.os-auth__note { margin-top: 18px; font-size: 13px; line-height: 18px; color: var(--os-text-on-light-subtle); }
.os-auth .os-code { margin-top: 32px; }
.os-auth__code-error { margin-top: 20px; }
.os-auth__resend { margin-top: 20px; font-size: 14px; line-height: 19px; color: var(--os-text-on-light-subtle); }

/* ---- cancellation sheet UX-6 ------------------------------------------------------ */

.os-sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.os-sheet[hidden] { display: none; }
.os-sheet__backdrop { position: absolute; inset: 0; background: rgba(15, 16, 18, .6); }
.os-sheet__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 12px 20px 24px;
  background: var(--os-ivory-200);
}
.os-sheet__grip { display: block; width: 40px; height: 4px; margin: 0 auto 18px; background: var(--os-ivory-500); }
.os-sheet__title { font-size: 22px; font-weight: 600; line-height: 30px; }
.os-sheet__text { margin-top: 14px; font-size: 15px; line-height: 22px; color: var(--os-text-on-light-muted); }
.os-sheet__panel .os-btn--block + .os-btn--block { margin-top: 12px; }
.os-sheet__panel .os-btn--block:first-of-type { margin-top: 24px; }

@media (min-width: 768px) {
  .os-sheet { align-items: center; }
  .os-sheet__panel { max-width: 440px; padding: 28px; }
  .os-sheet__grip { display: none; }
}

/* ---- mobile 49:178 / 50:208 ---------------------------------------------------------- */

@media (max-width: 1023px) {
  .os-account { grid-template-columns: 1fr; }
  /* Элемент грида и флекса по умолчанию не ужимается уже своего содержимого
     (min-width: auto), поэтому прокручиваемая навигация распирала всю
     страницу: на 390 кабинет уезжал вбок целиком. */
  .os-account__side, .os-account__main, .os-account__side-top { min-width: 0; }
  .os-account__side { flex-direction: row; align-items: center; justify-content: space-between; padding: 16px; }
  .os-account__side-top { display: flex; align-items: center; gap: 16px; width: 100%; }
  .os-account__side .os-logo-link { padding-inline: 0; }
  .os-account__nav { flex: 1 1 auto; min-width: 0; flex-direction: row; gap: 4px; margin-top: 0; padding-inline: 0; overflow-x: auto; }
  .os-side-item { width: auto; white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; padding: 10px 12px; }
  .os-side-item.is-active { border-left: 0; border-bottom-color: var(--os-bronze); }
  .os-account__side-foot { display: none; }

  .os-account__main { padding: 24px 16px 48px; }
  /* Экран-поток нарисован на полный мобильный кадр: свои 24/16 у него
     уже есть, и отступ кабинета сверху сдвинул бы всю разметку. */
  .os-account__main:has(.os-flow) { padding: 0; }
  .os-account__head { flex-direction: column; gap: 16px; }
  .os-account__flag { margin-top: 0; }
  .os-account__top { grid-template-columns: 1fr; }
  .os-account__title { font-size: 28px; line-height: 34px; }

  .os-quick__slots { grid-template-columns: repeat(3, 1fr); }
  .os-upcoming__row { grid-template-columns: 1fr; gap: 6px; }

  /* Tables become stacked records: five columns do not fit a phone, and a
     horizontal scroller hides the status people came to check. */
  .os-table, .os-table tbody { display: block; }
  .os-table thead { display: none; }
  .os-table tr { display: block; padding: 14px 0; border-bottom: 1px solid #efe9df; }
  .os-table tbody td { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; border: 0; }
  .os-table tbody td::before { content: attr(data-label); color: var(--os-text-on-light-subtle); font-size: 13px; }

  .os-auth { padding: 48px 0 72px; }
  .os-auth__title { font-size: 30px; line-height: 34px; }
}

/* ---- Документы ---------------------------------------------------------- */

.os-docs__empty { margin-top: 16px; font-size: 15px; line-height: 22px; color: var(--os-text-on-dark-muted); }

.os-docs__kind {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--os-bronze);
}

.os-docs__list { margin: 8px 0 0; padding: 0; list-style: none; }

.os-docs__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--os-graphite-600);
  color: var(--os-text-on-dark);
}
.os-docs__link:hover { color: var(--os-bronze); }

.os-docs__name { font-size: 15px; line-height: 21px; }
.os-docs__meta {
  flex: 0 0 auto;
  font-size: 13px;
  line-height: 18px;
  color: var(--os-text-on-dark-muted);
  white-space: nowrap;
}

@media (max-width: 767px) {
  .os-docs__link { flex-direction: column; gap: 2px; }
  .os-docs__meta { white-space: normal; }
}

/* Статус в клубе рядом с именем: он про человека, а не про договор. */
.os-account__club {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border: 1px solid var(--os-graphite-500);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--os-text-on-dark-muted);
}
/* Старший уровень — единственный тёплый, как и на главной. */
.os-account__club.is-privilege {
  border-color: rgba(194, 154, 99, .5);
  color: var(--os-bronze);
}

/* ---- Статус клуба в кабинете -------------------------------------------- */

.os-account-club {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(120% 160% at 92% 10%, #33343a 0%, #1c1d21 55%, #141518 100%);
  border: 1px solid var(--os-graphite-600);
}

.os-account-club__eyebrow {
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  color: var(--os-text-on-dark-muted);
}

.os-account-club__tier {
  margin-top: 8px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--os-text-on-dark);
}
/* Старший уровень тёплый — как и на главной. */
.os-account-club.is-privilege { border-color: rgba(194, 154, 99, .45); }
.os-account-club.is-privilege .os-account-club__tier { color: var(--os-bronze); }

.os-account-club__perks { margin: 18px 0 0; padding: 0; list-style: none; }
.os-account-club__perks li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 22px;
  color: var(--os-text-on-dark-muted);
}
.os-account-club__perks li + li { margin-top: 6px; }
.os-account-club__perks li::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--os-bronze);
}

.os-account-club__next { margin-top: 16px; font-size: 13px; line-height: 19px; color: var(--os-text-on-dark-muted); }

/* Та же карта, что на главной, только меньше. */
.os-account-club__card {
  position: relative;
  aspect-ratio: 1.58;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(120% 140% at 85% 15%, #3a3b40 0%, #1a1b1e 55%, #121315 100%);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .4);
}
.os-account-club__card::before {
  content: '';
  position: absolute;
  right: -34%;
  bottom: -74%;
  width: 124%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(194, 154, 99, .22);
}
.os-account-club__card-name {
  position: absolute;
  top: 34%;
  left: 12%;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .9px;
  text-transform: uppercase;
  color: rgba(242, 237, 228, .7);
}

@media (max-width: 767px) {
  .os-account-club { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .os-account-club__tier { font-size: 26px; }
  .os-account-club__card { max-width: 240px; }
}


/* ===== pages/_flows.css ===== */
/* Экраны-потоки — Figma UX-3…UX-12 (страница 4:5).
   В макете они нарисованы только для мобильного кадра 390×844: это сценарии,
   в которые клиент попадает с телефона — у двери, при оплате, в листе
   ожидания. Поэтому базовые значения здесь мобильные и ровно макетные, а
   десктоп — осознанная достройка: та же колонка, ограниченная по ширине и
   посаженная в кабинет. */

.os-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 16px;
  min-height: 780px;
}

/* На половине экранов всё содержимое обёрнуто в <form> — тогда колонкой с тем
   же шагом становится форма, иначе отступы из макета схлопываются в один. */
.os-flow > form {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
}

/* Распорка из макета: прижимает кнопки к низу кадра, каким бы коротким ни
   оказался контент. */
.os-flow__spacer { flex: 1 0 0; min-height: 0; width: 100%; }

.os-flow--dark { background: var(--os-graphite-900); color: var(--os-text-on-dark); }

.os-flow__eyebrow {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  /* 18 в Figma — это проценты от кегля: 13 × 0.18 = 2.34px. */
  letter-spacing: 2.34px;
  text-transform: uppercase;
  color: var(--os-bronze-dark);
}
.os-flow--dark .os-flow__eyebrow { color: var(--os-bronze); }

.os-flow__title {
  /* В макете у заголовка и лида ширина кадра (min-w-full), а не по тексту:
     без этого однострочный заголовок сжимается и выпадает из разметки. */
  width: 100%;
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--os-text-on-light);
}
.os-flow--dark .os-flow__title { color: var(--os-text-on-dark); }

.os-flow__lead {
  width: 100%;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--os-text-on-light-muted);
}
.os-flow--dark .os-flow__lead { color: var(--os-text-on-dark-muted); }

.os-flow__label {
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  color: var(--os-text-on-light);
}
.os-flow--dark .os-flow__label { color: var(--os-text-on-dark); }

.os-flow__step {
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
  color: var(--os-text-on-light-subtle);
}

/* Поля, чипы и кнопки внутри потока тянутся на всю ширину кадра. */
.os-flow .os-field,
.os-flow > .os-btn,
.os-flow > form > .os-btn,
.os-flow .os-lead { width: 100%; }

.os-flow__row { display: flex; gap: 8px; align-items: flex-start; width: 100%; }
.os-flow__row--wrap { flex-wrap: wrap; }
/* Ряд из равных долей — «1–3 / 4–6 / 7–10», «СБП / Другая карта». */
.os-flow__row--even > * { flex: 1 0 0; min-width: 0; }
.os-flow__row--even .os-chip { justify-content: center; }

/* Сводка брони — Figma 17:169. */
.os-flow__summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: var(--os-ivory-100);
  border: 1px solid var(--os-ivory-300);
  font-size: 14px;
  line-height: normal;
}
.os-flow__summary div { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.os-flow__summary dt, .os-flow__summary span:first-child { color: var(--os-text-on-light-subtle); }
.os-flow__summary dd, .os-flow__summary span:last-child {
  margin: 0;
  font-weight: 600;
  color: var(--os-text-on-light);
}

/* Шаги-подсказки у двери — Figma 17:214. Линия сверху у каждого пункта. */
.os-flow__steps { width: 100%; }
.os-flow__steps > li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid var(--os-graphite-500);
  list-style: none;
}
.os-flow__steps-n {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  color: var(--os-bronze);
}
.os-flow__steps-text {
  font-size: 15px;
  font-weight: 400;
  line-height: normal;
  color: var(--os-text-on-dark);
}

/* Карточки выбора — Figma 18:403. Текущий вариант обведён жирнее. */
.os-flow__option {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: 18px;
  text-align: left;
  background: var(--os-ivory-100);
  border: 1px solid var(--os-ivory-300);
  cursor: pointer;
}
/* Рамка у выделенной карточки вдвое толще, поэтому отступ уменьшен на тот же
   пиксель — иначе соседние карточки разъезжаются по высоте. */
.os-flow__option.is-current { padding: 17px; border: 2px solid var(--os-graphite-800); }
.os-flow__option:hover { border-color: var(--os-graphite-800); }
.os-flow__option-title { font-size: 17px; font-weight: 600; line-height: normal; color: var(--os-text-on-light); }
.os-flow__option-text { font-size: 13px; font-weight: 400; line-height: normal; color: var(--os-text-on-light-subtle); }

/* Прикрепить фото — Figma 18:364. */
.os-flow__upload {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  padding: 16px;
  border: 1px dashed var(--os-ivory-500);
  font-size: 14px;
  font-weight: 600;
  /* 53 из макета = 16 + 21 + 16; унаследованный интерлиньяж тела даёт больше. */
  line-height: 21px;
  color: var(--os-text-on-light-subtle);
  background: none;
  cursor: pointer;
}
.os-flow__upload:hover { border-color: var(--os-graphite-800); color: var(--os-text-on-light); }
.os-flow__upload input { display: none; }
.os-flow__files { width: 100%; font-size: 13px; color: var(--os-text-on-light-subtle); }

/* Прошлые заявки — Figma 18:366. */
.os-flow__past {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid var(--os-ivory-400);
}
.os-flow__past-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.os-flow__past-name { font-size: 14px; line-height: normal; color: var(--os-text-on-light); }

/* Альтернатива в UX-3: «или [Переговорная 2] в 14:00». */
.os-flow__alt {
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  color: var(--os-bronze-dark);
}
.os-flow__alt a { color: inherit; }

.os-flow__error { width: 100%; font-size: 14px; color: var(--os-status-error-fg); }

/* Десктоп: в макете этих экранов нет. Колонка остаётся той же, просто
   перестаёт растягиваться на всю ширину кабинета — читать строку в 900px
   неудобно, а переверстывать сценарий под широкий экран макет не просит. */
@media (min-width: 768px) {
  .os-flow { max-width: 520px; padding: 40px 0; min-height: 620px; }
  .os-flow--dark { max-width: none; padding: 40px; }
  .os-flow--dark > * { max-width: 520px; }
  .os-flow--dark > .os-flow__spacer { max-width: none; }
}

/* Компактный нумерованный список внутри потока — Figma 18:234.
   Базовый .os-num нарисован для страницы «О нас», где он крупный; здесь тот
   же компонент идёт в мобильном кадре и ужимается, а не переизобретается. */
.os-flow .os-num { gap: 14px; padding-block: 12px; width: 100%; }
.os-flow .os-num__n { font-size: 15px; font-weight: 700; }
.os-flow .os-num__body { gap: 2px; }
.os-flow .os-num__title { font-size: 16px; line-height: normal; text-transform: none; }
.os-flow .os-num__text { font-size: 13px; line-height: normal; }

/* Поля гостей в UX-12 добавляются по месту, поэтому они в своём контейнере. */
.os-flow__guests { display: flex; flex-direction: column; gap: 16px; width: 100%; }
