/* ===========================================================================
 * css-seo-extras.css — SEO-блоки и промо-сетка для главной + посадочные.
 * Подключается ПОСЛЕ main.css. Использует токены из tokens.css.
 * Этот файл деплоится вместе с правками index.php.
 * ========================================================================= */


/* ------------------------------------------------------------------ PROMO */

.promo {
  padding: var(--s-9) 0;
}

.promo__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-6);
}

@media (min-width: 1100px) {
  .promo__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-4);
  }
}

@media (max-width: 720px) {
  .promo {
    padding: var(--s-7) 0;
  }
  .promo__grid {
    grid-template-columns: 1fr;
    gap: var(--s-4);
    margin-top: var(--s-5);
  }
}

.promo-tile {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out),
              border-color var(--t-fast);
  height: 100%;
}

.promo-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 200, 177, .25);
}

.promo-tile__media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--paper-dim);
  overflow: hidden;
}

.promo-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow) var(--ease-out);
}

.promo-tile:hover .promo-tile__media img {
  transform: scale(1.04);
}

.promo-tile__body {
  display: flex;
  flex-direction: column;
  padding: var(--s-5);
  gap: var(--s-3);
  flex: 1 1 auto;
}

.promo-tile__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.2;
  letter-spacing: -.005em;
  color: var(--ink);
  margin: 0;
}

.promo-tile__lead {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.promo-tile__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.promo-tile__feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(13, 200, 177, .08);
  color: var(--brand-teal-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.promo-tile__feature::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: .6;
}

.promo-tile__meta {
  margin-top: auto;
  padding-top: var(--s-2);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.promo-tile__count {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .02em;
}

.promo-tile__count::before {
  content: "•";
  color: var(--brand-teal);
  margin-right: 6px;
}

.promo-tile__cta {
  align-self: flex-start;
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

@media (min-width: 1100px) {
  .promo-tile__cta {
    width: auto;
  }
}


/* ---------------------------------------------------------------- REVIEWS */

.reviews {
  padding: var(--s-9) 0;
}

@media (max-width: 720px) {
  .reviews {
    padding: var(--s-7) 0;
  }
}

.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin-top: var(--s-6);
}

@media (min-width: 720px) {
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-5);
  }
}

@media (min-width: 1100px) {
  .reviews__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile: показываем первые 4 карточки, остальные скрываем */
@media (max-width: 719px) {
  .reviews__grid > .review:nth-child(n + 5) {
    display: none;
  }
}

.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: box-shadow var(--t-med), transform var(--t-med);
}

.review:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.review__head {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.review__rating {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}

.review__star {
  width: 18px;
  height: 18px;
  fill: rgba(10, 31, 29, .12);
}

.review__star--filled {
  fill: #F5B53C; /* golden */
}

.review__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.review__name {
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.3;
}

.review__date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: .03em;
}

.review__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-primary);
  margin: 0;
  /* Не больше 8 строк, дальше — overflow ellipsis. Полный текст — на Я.Картах. */
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reviews__cta {
  margin-top: var(--s-6);
  display: flex;
  justify-content: center;
}


/* --------------------------------------------------- LEAD FORM EXTENSIONS */

.lead-form__contact-group {
  border: 0;
  margin: 0 0 var(--s-3);
  padding: var(--s-3) 0 0;
  border-top: 1px solid var(--line);
}

.lead-form__legend {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  padding: 0;
  margin: 0 0 4px;
}

.lead-form__legend em {
  color: var(--brand-teal-dark);
  font-style: normal;
}

.lead-form__contact-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 var(--s-3);
  line-height: 1.4;
}

.lead-form__field--compact {
  margin-bottom: 10px;
}

.lead-form__field--compact:last-child {
  margin-bottom: 0;
}

.lead-form__field--compact .lead-form__label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.lead-form__field--compact input {
  padding: 10px 14px !important;
  font-size: 14.5px !important;
}

/* ----- Guarantees under submit ------ */

.lead-form__guarantees {
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 480px) {
  .lead-form__guarantees {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--s-3);
  }
}

.lead-form__guarantee {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-primary);
}

.lead-form__guarantee-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  fill: none;
  stroke: var(--brand-teal-dark);
  stroke-width: 2.5;
  background: rgba(13, 200, 177, .12);
  border-radius: 50%;
  padding: 2px;
  box-sizing: border-box;
}


/* ========================================================================
 * SEO landing pages (брифы 02-05)
 * ======================================================================== */

/* TODO-плашка для незаполненных секций (видна только на копии) */
.todo-block {
  display: inline-block;
  background: rgba(245, 181, 60, .15);
  border: 1px dashed rgba(245, 181, 60, .55);
  color: #8B5A0F;
  border-radius: var(--r-sm);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .01em;
}


/* ----------------------------------------------------------- BREADCRUMBS */

/* .nav на главной — position: fixed, z-index 100, плавает над hero.
   На посадочной hero ниже, и breadcrumbs идут сразу под nav —
   компенсируем высотой nav (~16px padding + 34px логотип ≈ 66px). */
.breadcrumbs {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  padding: 80px 0 var(--s-3);
  border-bottom: 1px solid var(--line-soft);
}

.breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs__item::after {
  content: "/";
  margin: 0 var(--s-2);
  opacity: .35;
}

.breadcrumbs__item:last-child::after {
  display: none;
}

.breadcrumbs__item a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  transition: color var(--t-fast);
}

.breadcrumbs__item a:hover {
  color: var(--brand-teal-bright);
}

.breadcrumbs__item--current {
  color: var(--white);
  font-weight: 600;
}


/* ---------------------------------------------------------- LANDING HERO */

.landing-hero {
  background: var(--ink);
  color: var(--white);
  padding: var(--s-9) 0 var(--s-8);
  overflow: hidden;
  position: relative;
}

.landing-hero::before {
  /* Лёгкая теплота сверху, чтобы фон не был однотонным */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(13, 200, 177, .16), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(13, 200, 177, .06), transparent 50%);
  pointer-events: none;
}

.landing-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
}

@media (min-width: 960px) {
  .landing-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: var(--s-8);
  }
}

.landing-hero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.landing-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-teal-bright);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: var(--s-5);
}

.landing-hero__eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

@media (min-width: 960px) {
  .landing-hero__eyebrow {
    white-space: nowrap;
  }
}

.landing-hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -.012em;
  color: var(--white);
  margin: 0;
}

.landing-hero__lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
  max-width: 56ch;
  margin: 0;
}

.landing-hero__facts {
  list-style: none;
  margin: var(--s-3) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: var(--s-4) 0;
}

.landing-hero__fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid var(--line-soft);
  padding-left: var(--s-3);
}

.landing-hero__fact:first-child {
  border-left: 0;
  padding-left: 0;
}

.landing-hero__fact-value {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  color: var(--white);
}

.landing-hero__fact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.landing-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-3);
}

.landing-hero__media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, .04);
  box-shadow: var(--shadow-lg);
}

.landing-hero__media img,
.landing-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 720px) {
  .landing-hero {
    padding: var(--s-7) 0 var(--s-6);
  }
  .landing-hero__cta .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}


/* ----------------------------------------------- COMMERCIAL-ONLY (отсечка) */

.commercial-only {
  padding: var(--s-7) 0;
}

.commercial-only__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-5);
  align-items: start;
  max-width: 880px;
}

.commercial-only__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 99, 71, .12);
  color: #FF7A6B;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.commercial-only__icon svg {
  width: 28px;
  height: 28px;
}

.commercial-only__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -.005em;
  margin: 0 0 var(--s-3);
  color: var(--white);
}

.commercial-only__text {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .8);
  margin: 0;
}

@media (max-width: 600px) {
  .commercial-only__inner {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }
}


/* ------------------------------------------------------------- MAP BRIDGE */

.map-bridge {
  padding: var(--s-8) 0;
}

.map-bridge__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  align-items: center;
}

@media (min-width: 900px) {
  .map-bridge__inner {
    grid-template-columns: 1fr auto;
    gap: var(--s-7);
  }
}

.map-bridge__copy .section-title {
  margin-bottom: var(--s-3);
}

.map-bridge__cta {
  white-space: nowrap;
}


/* -------------------------------------------------------- LEAD SECTION */

.lead-section {
  padding: var(--s-9) 0;
}

/* Заголовок секции — два варианта (mobile / desktop), переключаются по media */
.lead-section__head--mobile { display: block; }
.lead-section__head--desktop { display: none; }

.lead-section__head .section-title { margin-bottom: var(--s-2); }
.lead-section__head .section__desc { margin: 0; }

@media (min-width: 960px) {
  .lead-section__head--mobile  { display: none; }
  .lead-section__head--desktop { display: block; }
}

/* Layout: 1 колонка на мобиле, 2 — на десктопе.
   Колонки выравнены по верху (start), высота — по контенту каждой. */
.lead-section__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  align-items: start;
}

@media (min-width: 960px) {
  .lead-section__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
    gap: var(--s-7);
  }
}

/* Mobile: порядок = заголовок → форма → aside (преимущества/контакты/отзыв) */
@media (max-width: 959px) {
  .lead-section__layout > .lead-section__head--mobile { order: 1; }
  .lead-section__layout > .lead-section__card         { order: 2; }
  .lead-section__layout > .lead-section__aside        { order: 3; }
}

/* LEFT: aside как обычный контент на фоне секции (без карточки и линий-разделителей).
   Блоки разделяются увеличенными вертикальными отступами. */
.lead-section__aside {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (max-width: 720px) {
  .lead-section__aside {
    gap: 32px;
  }
}

.lead-section__info-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-section__info-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-teal-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lead-section__info-title::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.lead-section__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lead-section__bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-primary);
}

.lead-section__bullet-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(13, 200, 177, .15);
  color: var(--brand-teal-dark);
  border-radius: 50%;
  padding: 4px;
  box-sizing: border-box;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  margin-top: 1px;
}

.lead-section__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lead-section__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.4;
}

.lead-section__contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--brand-teal-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lead-section__contact-item a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(13, 200, 177, .35);
  transition: border-color var(--t-fast);
}

.lead-section__contact-item a:hover {
  border-bottom-color: var(--brand-teal);
}

/* Цитата арендатора — оформлена как блок-цитата с brand-полоской слева */
.lead-section__quote {
  margin: 0;
  padding-left: 20px;
  border-left: 3px solid var(--brand-teal);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lead-section__quote-text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-primary);
  font-style: italic;
  letter-spacing: -.005em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Подпись отзыва — одна строка через flex с разделителями */
.lead-section__quote-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Все text-spans в подписи — серым */
.lead-section__quote-line > span:not(.lead-section__quote-tenant):not(.lead-section__quote-stars) {
  color: var(--text-muted);
}

/* Имя — слегка выделим (не жирно, но в ink) */
.lead-section__quote-name {
  color: var(--ink) !important;
  font-weight: 600;
}

/* Разделители "·" между текстовыми span'ами (не перед бейджем — он сам визуально отделяется) */
.lead-section__quote-line > span:not(.lead-section__quote-stars) + span:not(.lead-section__quote-tenant)::before {
  content: "·";
  margin-right: 8px;
  opacity: .6;
}

.lead-section__quote-stars {
  display: inline-flex;
  gap: 2px;
}

.lead-section__quote-stars svg {
  width: 13px;
  height: 13px;
  fill: #F5B53C;
}

.lead-section__quote-tenant {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-teal-dark) !important;
  background: rgba(13, 200, 177, .12);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.lead-section__quote-source {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
}

/* RIGHT: card с формой */
.lead-section__card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-md);
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

@media (max-width: 600px) {
  .lead-section {
    padding: var(--s-7) 0;
  }
  .lead-section__card {
    padding: 24px;
  }
}

/* Заголовок над формой — баланс к левой шапке */
.lead-section__form-head {
  margin: 0;
}

.lead-section__form-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(20px, 1.6vw, 22px);
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}

.lead-section__form-desc {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* ---------- Embedded form (lead-form--inline) ---------- */
/* Все стили скоупированы в .lead-form--inline,
   чтобы не задеть модал на главной (он использует те же базовые классы). */

.lead-form--inline {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.lead-form--inline .lead-form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
}

.lead-form--inline .lead-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.lead-form--inline .lead-form__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

.lead-form--inline .lead-form__req {
  color: var(--brand-teal-dark);
  font-style: normal;
  font-weight: 600;
}

.lead-form--inline .lead-form__optional {
  color: var(--text-muted);
  font-weight: 400;
}

.lead-form--inline .lead-form__input {
  display: block;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #FFFFFF;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  box-sizing: border-box;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}

.lead-form--inline .lead-form__input:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(13, 200, 177, .15);
}

.lead-form--inline .lead-form__input.is-invalid,
.lead-form--inline .lead-form__input:invalid:not(:placeholder-shown) {
  border-color: #D14F3E;
  background: #FFF8F6;
}

.lead-form--inline .lead-form__textarea {
  height: auto;
  min-height: 88px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.5;
}

.lead-form--inline .lead-form__fieldset {
  border: 0;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-form--inline .lead-form__legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 0;
  margin: 0;
}

.lead-form--inline .lead-form__hint {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: -8px 0 0;
  line-height: 1.4;
}

.lead-form--inline .lead-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.lead-form--inline .lead-form__consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--brand-teal);
  cursor: pointer;
}

.lead-form--inline .lead-form__consent a {
  color: var(--ink);
  border-bottom: 1px solid rgba(13, 200, 177, .4);
  text-decoration: none;
}

.lead-form--inline .lead-form__consent a:hover {
  border-bottom-color: var(--brand-teal);
}

.lead-form--inline .lead-form__error {
  background: #FEF2F0;
  border: 1px solid #F0CFC8;
  color: #8B2D1B;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13.5px;
  margin: 0;
}

.lead-form--inline .lead-form__submit {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 12px;
  background: var(--brand-teal);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--t-fast), transform var(--t-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0 16px;
}

.lead-form--inline .lead-form__submit:hover:not([disabled]) {
  background: var(--brand-teal-bright);
}

.lead-form--inline .lead-form__submit:hover:not([disabled]) .lead-form__submit-arrow {
  transform: translateX(3px);
}

.lead-form--inline .lead-form__submit[disabled] {
  opacity: .7;
  cursor: wait;
}

.lead-form--inline .lead-form__submit-arrow {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform var(--t-fast);
}

.lead-form--inline .lead-form__submit[disabled] .lead-form__submit-arrow {
  display: none;
}

.lead-form--inline .lead-form__submit-spinner svg {
  width: 20px;
  height: 20px;
  animation: leadSpin .8s linear infinite;
}

/* ---------- Success state ---------- */

.lead-section__success {
  text-align: center;
  padding: var(--s-3) 0;
}

.lead-section__success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(13, 200, 177, .15);
  color: var(--brand-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s-3);
}

.lead-section__success-icon svg {
  width: 28px;
  height: 28px;
}

.lead-section__success h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  color: var(--ink);
  margin: 0 0 8px;
}

.lead-section__success p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 auto 16px;
  max-width: 32ch;
}

.lead-section__success a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(13, 200, 177, .4);
}

@keyframes leadSpin { to { transform: rotate(360deg); } }


/* ============ WAREHOUSE CARDS ============ */

.warehouse-slider {
  position: relative;
  margin-top: var(--s-6);
}

.warehouse-cards {
  display: flex;
  gap: var(--s-4);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-top: 0;
  padding: 4px 4px 12px;
  scroll-padding-left: 4px;
}
.warehouse-cards::-webkit-scrollbar { display: none; }

.warehouse-card {
  flex: 0 0 86%;
  max-width: 320px;
  scroll-snap-align: start;
}
@media (min-width: 640px)  { .warehouse-card { flex: 0 0 320px; } }
@media (min-width: 1100px) { .warehouse-card { flex: 0 0 calc((100% - 2 * var(--s-4)) / 3); max-width: 360px; } }

.warehouse-slider__nav {
  position: absolute;
  top: calc(50% - 24px);
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text-primary);
  font-size: 24px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(10, 31, 29, 0.12);
  transition: opacity var(--t-fast), background var(--t-fast), color var(--t-fast);
  font-family: ui-sans-serif, system-ui, sans-serif;
}
.warehouse-slider__nav:hover { background: var(--brand-teal); color: #fff; border-color: var(--brand-teal); }
.warehouse-slider__nav:disabled { opacity: 0; pointer-events: none; }
.warehouse-slider__nav--prev { left: -22px; }
.warehouse-slider__nav--next { right: -22px; }
@media (max-width: 900px) { .warehouse-slider__nav { display: none; } }

/* Edge-fade: подсказка что справа есть ещё карточки */
.warehouse-slider::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 16px;
  width: 48px;
  background: linear-gradient(to right, transparent, var(--paper-dim));
  pointer-events: none;
  opacity: 1;
  transition: opacity var(--t-fast);
  z-index: 2;
}
.warehouse-slider.is-end::after { opacity: 0; }
.warehouse-slider:not(.is-scrollable)::after { display: none; }

/* Dots-индикатор */
.warehouse-slider__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
  flex-wrap: wrap;
}
.warehouse-slider:not(.is-scrollable) .warehouse-slider__dots { display: none; }
.warehouse-slider__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(10, 31, 29, .18);
  cursor: pointer;
  padding: 0;
  transition: background var(--t-fast), transform var(--t-fast), width var(--t-fast);
}
.warehouse-slider__dot:hover { background: rgba(10, 31, 29, .35); }
.warehouse-slider__dot.is-active {
  background: var(--brand-teal);
  width: 22px;
  border-radius: 4px;
}

.warehouse-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-fast);
}

.warehouse-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 200, 177, .35);
}

.warehouse-card__media {
  aspect-ratio: 4 / 3;
  background: var(--paper-dim);
  overflow: hidden;
}

.warehouse-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow) var(--ease-out);
}

.warehouse-card:hover .warehouse-card__media img {
  transform: scale(1.04);
}

.warehouse-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
  flex: 1 1 auto;
}

.warehouse-card__id {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

.warehouse-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
}

.warehouse-card__area {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 1.8vw, 26px);
  line-height: 1;
  color: var(--ink);
}

.warehouse-card__rate {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--brand-teal-dark);
  white-space: nowrap;
}

.warehouse-card__tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.warehouse-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(13, 200, 177, .08);
  color: var(--brand-teal-dark);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.warehouse-card__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: var(--s-2);
}

.warehouse-card__action {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.warehouse-card__action--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.warehouse-card__action--ghost:hover {
  border-color: var(--ink);
}

.warehouse-card__action--primary {
  background: var(--brand-teal);
  color: var(--ink);
}

.warehouse-card__action--primary:hover {
  background: var(--brand-teal-bright);
}

.warehouse-cards__more {
  margin-top: var(--s-6);
  display: flex;
  justify-content: center;
}
/* Длинная кнопка ("Свободные ... помещения на схеме") не должна вылезать
   за viewport. .btn глобально имеет white-space:nowrap — здесь переопределяем. */
.warehouse-cards__more .btn {
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  max-width: 100%;
}
@media (max-width: 640px) {
  .warehouse-cards__more .btn {
    padding: 16px 22px;
    font-size: 15px;
  }
}


/* ============ TERMS GRID (условия аренды) ============ */

.terms-grid {
  margin-top: var(--s-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

@media (min-width: 640px)  { .terms-grid { grid-template-columns: repeat(2, 1fr); } }

.terms-grid__item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-4);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.terms-grid__item:hover {
  border-color: rgba(13, 200, 177, .35);
  box-shadow: var(--shadow-sm);
}

.terms-grid__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(13, 200, 177, .12);
  color: var(--brand-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.terms-grid__icon svg {
  width: 22px;
  height: 22px;
}

.terms-grid__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.terms-grid__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.terms-grid__value {
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
}


/* ============ SPECS GRID (технические характеристики) ============ */

.specs-grid {
  margin-top: var(--s-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

@media (min-width: 560px)  { .specs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .specs-grid { grid-template-columns: repeat(3, 1fr); } }

.specs-grid__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-2);
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .55);
  transition: background-color var(--t-fast), border-color var(--t-fast);
}

.specs-grid__item:hover {
  background: var(--card);
  border-color: rgba(13, 200, 177, .35);
}

.specs-grid__icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(13, 200, 177, .12);
  color: var(--brand-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.specs-grid__icon-wrap svg {
  width: 22px;
  height: 22px;
}

.specs-grid__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.specs-grid__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.specs-grid__value {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}


/* ============ LOCATION (карта + transit + travel) ============ */

.location__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  margin-top: var(--s-6);
  align-items: start;
}

@media (min-width: 960px) {
  .location__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: var(--s-7);
  }
}

.location__info {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.location__info-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-teal-dark);
  margin: 0;
  padding-top: 4px;
}

.location__info-title:first-child {
  padding-top: 0;
}

.location__info-title::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
  margin-right: 10px;
  vertical-align: middle;
}

/* Transit list — метро рядом */
.transit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.transit-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.transit-list__pin {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #D62D20;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.transit-list__pin--mck {
  background: #F39C13;
  font-size: 9px;
  letter-spacing: .03em;
}

.transit-list__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.transit-list__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.transit-list__meta {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Travel times — время в пути */
.travel-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.travel-list__item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.travel-list__from {
  color: var(--text-primary);
  flex-shrink: 0;
}

.travel-list__dots {
  flex: 1 1 auto;
  border-bottom: 1px dotted var(--line);
  position: relative;
  top: -4px;
}

.travel-list__time {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-teal-dark);
  white-space: nowrap;
}

.location__logistics {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0;
}

.location__route-btn {
  align-self: flex-start;
  margin-top: var(--s-3);
}

/* Map iframe */
.location__map {
  margin: 0;
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--paper-dim);
  display: flex;
  flex-direction: column;
}

.location__map-iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

@media (min-width: 960px) {
  .location__map-iframe {
    height: 480px;
  }
}

.location__map-caption {
  background: var(--card);
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}


/* ============ COMPARE table (Циан/Авито vs Кластер 73) ============ */

.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

@media (min-width: 720px) {
  .compare {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-4);
  }
}

.compare__col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.compare__col--us {
  background: rgba(13, 200, 177, .06);
  border-color: rgba(13, 200, 177, .35);
}

.compare__col-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.compare__col--us .compare__col-eyebrow {
  color: var(--brand-teal-dark);
}

.compare__col-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.2;
  color: var(--ink);
}

.compare__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.45;
}

.compare__item--minus {
  color: var(--text-muted);
}

.compare__item--plus {
  color: var(--text-primary);
  font-weight: 500;
}

.compare__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}


/* ============ REVIEWS landing variant ============ */

.reviews__grid--landing {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .reviews__grid--landing {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review__badge {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-teal-dark);
  background: rgba(13, 200, 177, .12);
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
}


/* ============ FORMATS (под какой формат подойдёт — авто/свободное назначение) ============ */

.formats-grid {
  margin-top: var(--s-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

@media (min-width: 640px)  { .formats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .formats-grid { grid-template-columns: repeat(3, 1fr); } }

.formats-grid__item {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-med);
}

.formats-grid__item:hover {
  border-color: rgba(13, 200, 177, .35);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.formats-grid__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(13, 200, 177, .12);
  color: var(--brand-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.formats-grid__icon-wrap svg {
  width: 26px;
  height: 26px;
}

.formats-grid__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
  letter-spacing: -.005em;
}

.formats-grid__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}


/* ============ FORMATS DETAILED — раздел с copy + 2 фото на каждый формат ============ */

.formats-detailed {
  margin-top: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-7);
}

.formats-detailed__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  align-items: start;
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--line);
}

.formats-detailed__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

@media (min-width: 900px) {
  .formats-detailed__item {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: var(--s-7);
  }
  /* Зеркалим каждый второй для разнообразия */
  .formats-detailed__item:nth-child(even) {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
  .formats-detailed__item:nth-child(even) .formats-detailed__copy {
    order: 2;
  }
  .formats-detailed__item:nth-child(even) .formats-detailed__media {
    order: 1;
  }
}

.formats-detailed__copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.formats-detailed__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
  letter-spacing: -.005em;
}

.formats-detailed__desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0;
}

.formats-detailed__media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}

.formats-detailed__photo {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--paper-dim);
  border: 1px solid var(--line);
}

.formats-detailed__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow) var(--ease-out);
}

.formats-detailed__photo:hover img {
  transform: scale(1.04);
}


/* ============ FIT GRID — «Подходит / Не подходит» ============ */

.fit-grid {
  margin-top: var(--s-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

@media (min-width: 720px) {
  .fit-grid { grid-template-columns: repeat(2, 1fr); }
}

.fit-grid__col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.fit-grid__col--ok {
  background: rgba(13, 200, 177, .06);
  border-color: rgba(13, 200, 177, .35);
}

.fit-grid__col--no {
  background: rgba(209, 79, 62, .04);
  border-color: rgba(209, 79, 62, .25);
}

.fit-grid__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fit-grid__head h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}

.fit-grid__head-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.fit-grid__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fit-grid__col li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-primary);
}

.fit-grid__col--ok li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-teal-dark);
  font-weight: 700;
}

.fit-grid__col--no li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: -2px;
  color: #D14F3E;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
}


/* ============ FAQ ============ */

.faq-list {
  margin-top: var(--s-6);
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: 22px 0;
  cursor: pointer;
  user-select: none;
  list-style: none;          /* Firefox/Safari */
  transition: color var(--t-fast);
}

.faq-item__q::-webkit-details-marker { display: none; } /* Chrome/Safari */
.faq-item__q::marker { content: ''; }                   /* Firefox modern */

.faq-item__q-text {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.3;
  color: var(--ink);
  flex: 1 1 auto;
  letter-spacing: -.005em;
}

.faq-item:hover .faq-item__q-text {
  color: var(--brand-teal-dark);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--brand-teal-dark);
  transition: transform var(--t-med) var(--ease-out);
}

.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__a {
  padding: 0 0 22px;
  max-width: 760px;
}

.faq-item__a p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-primary);
}


/* ----------------------------------------------------------- CROSS LINKS */

.cross-links__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  margin: 0 0 var(--s-5);
  color: var(--ink);
}

.cross-links__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}

@media (min-width: 720px) {
  .cross-links__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cross-links__grid--two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
  }
}

.cross-links__card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: border-color var(--t-fast), transform var(--t-med), box-shadow var(--t-med);
}

.cross-links__card:hover {
  border-color: rgba(13, 200, 177, .45);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cross-links__card-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cross-links__card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 400;
}

.cross-links__arrow {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--brand-teal-dark);
  stroke-width: 2;
  transition: transform var(--t-fast);
}

.cross-links__card:hover .cross-links__arrow {
  transform: translateX(4px);
}

/* === Promo-tile hover-play (added 2026-05-05) === */
.promo-tile__media { position: relative; }

.promo-tile__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-slow) var(--ease-out);
  z-index: 1;
}

.promo-tile__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-slow) var(--ease-out);
  z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
  .promo-tile:hover .promo-tile__media.has-video .promo-tile__poster { opacity: 0; }
  .promo-tile:hover .promo-tile__media.has-video .promo-tile__video.is-loaded { opacity: 1; }
  .promo-tile:hover .promo-tile__poster,
  .promo-tile:hover .promo-tile__video { transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .promo-tile__poster, .promo-tile__video { transition: none; transform: none !important; }
}


/* ============ Leaflet location map (light theme, paper-dim block) ============ */
.location__map-leaflet {
  width: 100%;
  height: 360px;
  display: block;
  background: var(--paper-dim);
}

@media (min-width: 960px) {
  .location__map-leaflet {
    height: 480px;
  }
}

/* Лёгкая desaturate, чтобы карта мягко вписалась в палитру сайта */
.location__map-leaflet .leaflet-tile-pane {
  filter: saturate(0.85);
}

/* Attribution — приглушённый, в тон бежевому фону */
.location__map-leaflet .leaflet-control-attribution {
  background: rgba(247, 245, 240, 0.85);
  color: rgba(10, 31, 29, 0.55);
  font-size: 10px;
  padding: 2px 6px;
}
.location__map-leaflet .leaflet-control-attribution a {
  color: var(--brand-teal-dark);
}

/* Zoom-контрол: светлый, в стиле сайта */
.location__map-leaflet .leaflet-bar {
  border: 0;
  box-shadow: 0 2px 6px rgba(10, 31, 29, 0.12);
  border-radius: 6px;
  overflow: hidden;
}
.location__map-leaflet .leaflet-bar a {
  background: #FFFDF8;
  color: var(--ink);
  border-color: rgba(10, 31, 29, 0.08);
  width: 32px;
  height: 32px;
  line-height: 32px;
  font-weight: 400;
}
.location__map-leaflet .leaflet-bar a:hover {
  background: #fff;
  color: var(--brand-teal-dark);
}

/* Кастомный pin */
.leaflet-k73-pin {
  background: transparent;
  border: 0;
}
.leaflet-k73-pin svg {
  display: block;
  filter: drop-shadow(0 3px 6px rgba(10, 31, 29, 0.35));
}

/* Popup в стиле сайта — светлый */
.location__map-leaflet .leaflet-popup-content-wrapper {
  background: #FFFDF8;
  color: var(--ink);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(10, 31, 29, 0.15);
}
.location__map-leaflet .leaflet-popup-content {
  font-size: 13px;
  line-height: 1.45;
  margin: 10px 14px;
}
.location__map-leaflet .leaflet-popup-content strong {
  color: var(--brand-teal-dark);
}
.location__map-leaflet .leaflet-popup-tip {
  background: #FFFDF8;
}
.location__map-leaflet .leaflet-popup-close-button {
  color: rgba(10, 31, 29, 0.45);
}
.location__map-leaflet .leaflet-popup-close-button:hover {
  color: var(--ink);
}


/* YouTube-overlay на video-block (главная) — для лучшего качества */
.video-block__frame { position: relative; }
.video-block__youtube {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(10, 31, 29, 0.18);
  transition: transform var(--t-fast), background var(--t-fast);
}
.video-block__youtube:hover { background: #FF0000; color: #fff; transform: translateY(-1px); }
.video-block__youtube svg { width: 16px; height: 16px; flex-shrink: 0; }
