/* ==========================================================================
   8 Марта, 12А — прототип редизайна
   Палитра: тёплый белый + графит + медный акцент
   ========================================================================== */

:root {
  --ink: #12171f;
  --navy: #16233c;
  --navy-soft: #22304b;
  --copper: #a9663a;
  --copper-soft: #f3e7dd;
  --paper: #fbfaf8;
  --card: #ffffff;
  --line: #e7e2da;
  --muted: #5d6675;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(18, 23, 31, .05);
  --shadow-md: 0 18px 40px -24px rgba(18, 23, 31, .35);
  --font: "Manrope", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 { margin: 0 0 16px; line-height: 1.12; letter-spacing: -.022em; font-weight: 700; }
h1 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; }
h2 { font-size: clamp(27px, 3.3vw, 42px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
p  { margin: 0 0 16px; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -14px rgba(22, 35, 60, .9); }
.btn-primary:hover { background: var(--navy-soft); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }
.btn-small { padding: 11px 18px; font-size: 14.5px; background: #fff; border-color: var(--navy); color: var(--navy); }
.btn-small:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--copper); outline-offset: 3px;
}

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 248, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -22px rgba(18,23,31,.6); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 44px; border-radius: 12px;
  background: var(--navy); color: #fff;
  font-weight: 800; font-size: 16px; letter-spacing: -.02em;
}
.brand-mark span { color: var(--copper); margin: 0 1px; }
.brand-mark.small { width: 54px; height: 39px; font-size: 14px; }
.brand-mark.on-dark { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 15.5px; font-weight: 700; }
.brand-text small { font-size: 12.5px; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  text-decoration: none; font-size: 15px; font-weight: 500; color: #29313f;
  transition: color .15s ease;
}
.nav a:hover { color: var(--copper); }
.nav-phone { font-weight: 700 !important; white-space: nowrap; }
.nav-cta { padding: 12px 20px; font-size: 15px; color: #fff !important; }
.nav-cta:hover { color: #fff !important; }

.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 58px 0 62px;
  background:
    radial-gradient(720px 420px at 82% 8%, rgba(169, 102, 58, .10), transparent 62%),
    radial-gradient(560px 380px at 4% 92%, rgba(22, 35, 60, .07), transparent 66%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }

.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--copper); margin: 0 0 18px;
}
.hero h1 em {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: .58em;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--copper);
}
.lead { font-size: 18.5px; color: #38414f; max-width: 52ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 40px; }

.hero-stats { display: flex; gap: 40px; margin: 0; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats dt { font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.hero-stats dd { margin: 0; font-size: 13.5px; color: var(--muted); }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; height: auto; aspect-ratio: 4 / 3.35; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -50px rgba(18, 23, 31, .75);
}
.media-card {
  position: absolute; left: -18px; bottom: 22px;
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, .95);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  border-radius: 16px; padding: 16px 20px;
  box-shadow: var(--shadow-md);
  max-width: 250px;
}
.media-card-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--copper); font-weight: 700; }
.media-card strong { font-size: 19px; letter-spacing: -.02em; }
.media-card-note { font-size: 12.5px; color: var(--muted); }

/* ---------- Секции ---------- */
.section { padding: 84px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.split { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: end; max-width: none; }
.section-note { color: var(--muted); font-size: 15.5px; max-width: 38ch; justify-self: end; margin: 0 0 6px; }
.muted { color: var(--muted); font-size: 15.5px; }

.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d9d2c7; }

.benefit .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--copper-soft); color: var(--copper);
  display: grid; place-items: center; margin-bottom: 18px;
}
.benefit .icon svg { width: 22px; height: 22px; }
.benefit h3 { font-size: 18px; margin-bottom: 8px; }
.benefit p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- Офисы ---------- */
.offices { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.office { display: flex; flex-direction: column; padding: 26px 26px 22px; }
.office-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.tag {
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); background: #eef1f6; border-radius: 999px; padding: 6px 12px;
}
.office-floor { font-size: 13px; color: var(--muted); }
.office-area { font-size: 46px; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 0 0 12px; color: var(--navy); }
.office-area span { font-size: 17px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.office-desc { font-size: 15px; color: var(--muted); margin: 0 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0 0 22px; padding: 0; }
.chips li {
  font-size: 12.5px; color: #3d4655; background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px;
}
.office-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-top: 18px; border-top: 1px dashed var(--line);
}
.price { font-size: 14px; font-weight: 700; color: var(--ink); }

.offices-cta {
  margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 28px;
}
.offices-cta p { margin: 0; font-size: 16.5px; font-weight: 600; max-width: 56ch; }

/* ---------- Фотоблок ---------- */
.inside { background: var(--paper); }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.photo {
  margin: 0; position: relative; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: #0d1117;
}
.photo img {
  width: 100%; height: 100%; aspect-ratio: 4 / 3;
  object-fit: cover; display: block;
  transition: transform .6s ease;
}
.photo:hover img { transform: scale(1.03); }
.photo figcaption {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(14, 18, 25, .72); color: #fff;
  font-size: 13.5px; line-height: 1.3; font-weight: 500;
  padding: 8px 14px; border-radius: 999px;
  backdrop-filter: blur(8px);
}

/* ---------- Галерея видов ---------- */
.views { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { margin: 0; }
.gallery-item img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 14px; display: block;
  border: 1px solid var(--line);
  transition: transform .45s ease, box-shadow .45s ease;
}
.gallery-item:hover img { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery-item figcaption {
  font-size: 12.5px; line-height: 1.35; color: var(--muted);
  margin-top: 9px;
}

/* ---------- О здании ---------- */
.about-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: start; }
.about-copy p { color: #3a4351; max-width: 62ch; }
.facts { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts span { font-size: 13.5px; color: var(--muted); }
.facts strong { font-size: 15.5px; font-weight: 600; }

.quote-card {
  background: var(--navy); color: #fff; border-radius: var(--radius-lg);
  padding: 34px 30px 30px; box-shadow: var(--shadow-md); position: sticky; top: 100px;
}
.quote-mark { font-size: 64px; line-height: .6; color: var(--copper); margin: 0 0 10px; font-weight: 800; }
.quote-card blockquote { margin: 0 0 18px; font-size: 19px; line-height: 1.5; letter-spacing: -.01em; }
.quote-caption { margin: 0; font-size: 13px; color: #a9b3c6; }

/* ---------- Локация ---------- */
.location { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.location-list { list-style: none; margin: 26px 0 18px; padding: 0; }
.location-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px;
}
.location-list span { color: var(--muted); white-space: nowrap; font-size: 15px; }

.map-card {
  position: relative; min-height: 380px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: #e9ede6; border: 1px solid var(--line);
}
.map-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0; display: block;
}
.map-caption {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  display: flex; flex-direction: column; gap: 1px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 15px;
  box-shadow: var(--shadow-md);
}
.map-caption strong { font-size: 16px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.map-caption a { font-size: 12.5px; color: var(--copper); text-decoration: none; font-weight: 600; }
.map-caption a:hover { text-decoration: underline; }

/* ---------- Шаги ---------- */
.steps-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-num { display: block; font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--copper); margin-bottom: 14px; }
.steps-grid h3 { font-size: 18px; margin-bottom: 8px; }
.steps-grid p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- Контакты ---------- */
.contacts { background: var(--paper); }
.contacts-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; }
.contact-list li {
  display: grid; grid-template-columns: 150px 1fr; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px;
}
.contact-list span { color: var(--muted); font-size: 13.5px; }
.contact-list .val { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--ink); font-size: 15.5px; }
.contact-list a { text-decoration: none; font-weight: 600; border-bottom: 1px solid transparent; }
.contact-list a:hover { border-bottom-color: var(--copper); color: var(--copper); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-note { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }
.form-card label { display: block; font-size: 13px; font-weight: 600; color: #39414f; margin: 14px 0 7px; }
.optional { font-weight: 400; color: var(--muted); }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 15px;
  border: 1px solid #dcd6cc; border-radius: 12px; background: #fdfdfc; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-card input::placeholder, .form-card textarea::placeholder { color: #9aa1ac; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(22,35,60,.08);
}
.form-card textarea { resize: vertical; }
.form-card .btn { margin-top: 22px; }
.form-consent { font-size: 12px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-status { font-size: 14px; margin: 10px 0 0; min-height: 20px; color: #1f7a4d; }
.form-status.error { color: #b3261e; }

/* ---------- Подвал ---------- */
.site-footer { background: var(--navy); color: #dfe5ef; padding: 54px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-owner { font-size: 13.5px; color: #a9b3c6; margin: 14px 0 0; line-height: 1.7; }
.footer-logo {
  display: block; width: auto; height: 76px;
  background: #fff; border-radius: 12px; padding: 9px 14px;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-contacts a { color: #dfe5ef; text-decoration: none; font-size: 15px; }
.footer-nav a:hover, .footer-contacts a:hover { color: var(--copper); }
.footer-contacts { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-contacts span { color: #a9b3c6; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; font-size: 12.5px; color: #8e99ad; }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .location-grid, .contacts-grid { grid-template-columns: 1fr; gap: 36px; }
  .quote-card { position: static; }
  .section-head.split { grid-template-columns: 1fr; gap: 12px; }
  .section-note { justify-self: start; }
}

@media (max-width: 860px) {
  .header-inner { min-height: 68px; }
  .burger { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 22px; box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-cta { margin-top: 14px; border-bottom: 0 !important; text-align: center; justify-content: center; }
  .hero { padding: 34px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero-stats dt { font-size: 20px; }
  .hero-stats dd { font-size: 12px; line-height: 1.35; }
  .media-card { left: 12px; bottom: 12px; }
  .section { padding: 60px 0; }
  .cards-3 { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .offices-cta { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .facts li, .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .location-list li { flex-direction: column; gap: 2px; align-items: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards-4, .steps-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .form-card { padding: 24px; }
  .brand-text small { display: none; }
  .office-foot { flex-direction: column; align-items: flex-start; }
  .section-head { margin-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Страница «Аренда офисов»
   ========================================================================== */

.page-hero {
  padding: 34px 0 58px;
  background:
    radial-gradient(680px 400px at 88% 6%, rgba(169, 102, 58, .09), transparent 62%),
    var(--paper);
}
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--copper); }

.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.page-hero h1 em {
  display: block; margin-top: 8px; font-style: normal;
  font-size: .52em; font-weight: 700; color: var(--copper); letter-spacing: -.02em;
}
.page-hero-facts {
  list-style: none; margin: 0; padding: 4px 0 4px 24px;
  border-left: 2px solid #e8d8cb; display: grid; gap: 18px;
}
.page-hero-facts li { display: flex; flex-direction: column; gap: 2px; }
.page-hero-facts strong { font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--navy); line-height: 1.1; }
.page-hero-facts span { font-size: 13.5px; color: var(--muted); }

.offices-list { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 28px; }
.filter-btn {
  font: inherit; font-size: 14.5px; padding: 10px 18px; cursor: pointer;
  border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.filter-btn:hover { border-color: var(--navy); }
.filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-count { margin-left: auto; font-size: 13.5px; color: var(--muted); }
.office.is-hidden { display: none; }

.included { background: var(--paper); }
.included-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.check-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15.5px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--copper-soft); box-shadow: inset 0 0 0 1px rgba(169, 102, 58, .3);
}
.check-list li::after {
  content: ""; position: absolute; left: 6px; top: 7px; width: 6px; height: 3px;
  border-left: 1.6px solid var(--copper); border-bottom: 1.6px solid var(--copper);
  transform: rotate(-45deg);
}
.note-card { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 30px; }
.note-card h3 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.note-card p { color: #c8d0de; font-size: 15px; }
.note-card .note-card-foot { font-size: 12.5px; color: #8e99ad; margin-top: 16px; margin-bottom: 0; }

.faq { background: #fff; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 18px 40px 18px 0; font-weight: 600; font-size: 16.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 22px; line-height: 1; color: var(--copper); font-weight: 400;
}
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding: 0 40px 18px 0; color: var(--muted); font-size: 15.5px; }
.faq-answer p:last-child { margin-bottom: 0; }

@media (max-width: 1024px) {
  .page-hero-grid, .included-grid, .faq-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 640px) {
  .check-list { grid-template-columns: 1fr; }
  .filter-count { margin-left: 0; width: 100%; }
  .page-hero { padding: 24px 0 44px; }
}

.faq .muted a { white-space: nowrap; font-weight: 600; }

/* Карточки офисов без номера: этаж прижат вправо */
.office-top.is-plain { justify-content: flex-end; }

/* Четыре офиса в ряд — компактнее внутри карточки */
.cards-4 .office { padding: 22px 20px 18px; }
.cards-4 .office-area { font-size: 40px; }
.cards-4 .office-desc { font-size: 14px; }
.cards-4 .office-foot { flex-wrap: wrap; gap: 10px; }
.cards-4 .price { font-size: 13px; }
.cards-4 .btn-small { padding: 9px 14px; font-size: 13.5px; }

/* ---------- WordPress: админ-бар и контент страниц ---------- */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.page-content { max-width: 760px; }
.page-content p { color: #3a4351; }
.page-content a { color: var(--copper); }

/* Отступ при переходе по якорям — чтобы заголовок не прятался под шапкой */
[id] { scroll-margin-top: 96px; }
@media (max-width: 860px) { [id] { scroll-margin-top: 84px; } }
