/* ===================================================
   ЗЕМЛЯ КРЫМА — Инвестиционный медиа-сайт
   Дизайн-система v1.0
   =================================================== */

/* ---------- Шрифты ---------- */
@font-face {
  font-family: 'Montserrat';
  font-display: optional;
  src: url('/wp-content/themes/cleantemplate/assets/fonts/Montserrat-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  font-display: optional;
  src: url('/wp-content/themes/cleantemplate/assets/fonts/Montserrat-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  font-display: optional;
  src: url('/wp-content/themes/cleantemplate/assets/fonts/Montserrat-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  font-display: optional;
  src: url('/wp-content/themes/cleantemplate/assets/fonts/Montserrat-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  font-display: optional;
  src: url('/wp-content/themes/cleantemplate/assets/fonts/Montserrat-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal;
}

/* ---------- CSS-переменные ---------- */
:root {
  --sand:         #C9965A;
  --sand-light:   #F5E8D2;
  --sand-bg:      #FBF6EE;
  --graphite:     #1E2626;
  --graphite-mid: #4A5568;
  --white:        #FFFFFF;
  --off-white:    #FAF8F4;
  --blue:         #1B3A5C;
  --blue-mid:     #2C5282;
  --olive:        #4A6741;
  --olive-light:  #6B9164;
  --bg:           #F6F3EE;
  --border:       #E2D9CC;
  --text:         #1E2626;
  --text-mid:     #4A5568;
  --text-light:   #7A8591;
  --radius:       8px;
  --radius-lg:    16px;
  --shadow:       0 2px 16px rgba(30,38,38,.08);
  --shadow-hover: 0 8px 32px rgba(30,38,38,.14);
  --transition:   0.22s ease;
  --container:    1220px;
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; }

/* ---------- Утилиты ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-sand { color: var(--sand); }
.text-blue { color: var(--blue); }
.text-olive { color: var(--olive); }
.text-muted { color: var(--text-light); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.hidden { display: none !important; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--sand);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(201,150,90,.3);
}
.btn--primary:hover {
  background: #B8833D;
  box-shadow: 0 6px 24px rgba(201,150,90,.4);
}
.btn--outline {
  background: transparent;
  color: var(--sand);
  border: 2px solid var(--sand);
}
.btn--outline:hover {
  background: var(--sand);
  color: var(--white);
}
.btn--white {
  background: var(--white);
  color: var(--graphite);
}
.btn--white:hover {
  background: var(--sand-bg);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  padding: 13px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn--blue {
  background: var(--blue);
  color: var(--white);
}
.btn--blue:hover { background: var(--blue-mid); }
.btn--lg { padding: 16px 36px; font-size: 15px; }
.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--tg {
  background: #229ED9;
  color: var(--white);
}
.btn--tg:hover { background: #1A86BA; }
.btn--full { width: 100%; justify-content: center; }

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(30,38,38,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background var(--transition);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.header__logo-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}
.header__logo-tag {
  font-size: 10px;
  font-weight: 500;
  color: var(--sand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}
.header__nav { flex: 1; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav__list a {
  display: block;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav__list a:hover,
.nav__list a.active {
  color: var(--sand);
  background: rgba(201,150,90,.1);
}
.header__cta { flex-shrink: 0; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Мобильное меню ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: var(--graphite);
  overflow-y: auto;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  border-radius: var(--radius);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--sand); }
.mobile-nav .btn { margin-top: 16px; }

/* ---------- Отступ под шапкой ---------- */
.page-top { padding-top: 68px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--graphite);
}
.hero__bg-pic {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27,58,92,.72) 0%,
    rgba(30,38,38,.55) 60%,
    rgba(74,103,65,.3) 100%
  );
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(201,150,90,.18);
  border: 1px solid rgba(201,150,90,.4);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sand);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  max-width: 760px;
  margin-bottom: 20px;
}
.hero__title .accent { color: var(--sand); }
.hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.8);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 400;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero__stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--sand);
  line-height: 1;
}
.hero__stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
  max-width: 140px;
  line-height: 1.4;
}

/* ---------- Секции ---------- */
.section { padding: 80px 0; }
.section--sand { background: var(--sand-bg); }
.section--dark { background: var(--graphite); }
.section--blue { background: var(--blue); }
.section--gray { background: var(--bg); }
.section--white { background: var(--white); }

.section__header { margin-bottom: 48px; }
.section__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--graphite);
  line-height: 1.15;
}
.section__title--white { color: var(--white); }
.section__desc {
  margin-top: 16px;
  font-size: 16px;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.7;
}
.section__desc--white { color: rgba(255,255,255,.75); }

/* ---------- Карточки "Почему Крым" ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.why-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.why-card__icon {
  width: 52px;
  height: 52px;
  background: var(--sand-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sand);
  margin-bottom: 18px;
  flex-shrink: 0;
}
.why-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 10px;
  line-height: 1.35;
}
.why-card__text {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ---------- Карточки локаций ---------- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.loc-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.loc-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.loc-card__img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg);
}
.loc-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.loc-card:hover .loc-card__img-wrap img { transform: scale(1.05); }
.loc-card__body { padding: 20px; }
.loc-card__region {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 8px;
}
.loc-card__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 8px;
}
.loc-card__desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}
.loc-card__tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--sand-light);
  color: var(--sand);
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
}
/* Заглушка изображения локации */
.loc-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  background: linear-gradient(135deg, var(--sand-light), var(--bg));
}

/* ---------- Карточки статей/знаний ---------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.article-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.article-card__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 14px;
}
.article-card__cat--blue { color: var(--blue); }
.article-card__cat--sand { color: var(--sand); }
.article-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--graphite);
  line-height: 1.4;
  margin-bottom: 12px;
  flex: 1;
}
.article-card__excerpt {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}
.article-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sand);
  transition: gap var(--transition);
}
.article-card__link:hover { gap: 10px; }
.article-card__link svg { width: 14px; height: 14px; }

/* ---------- Блок разборов ---------- */
.review-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-hover); }
.review-card__img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg);
}
.review-card__img img { width: 100%; height: 100%; object-fit: cover; }
.review-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.review-card__tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--sand-light);
  color: var(--sand);
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.review-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 12px;
}
.review-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.review-card__meta-item {
  font-size: 12px;
  color: var(--text-mid);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 20px;
}
.review-card__desc {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.review-card__score {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.review-card__score-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--olive);
}
.review-card__score-label {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.4;
}

/* ---------- Дневник карточки ---------- */
.diary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.diary-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.diary-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.diary-card__date {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 12px;
}
.diary-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 12px;
  line-height: 1.4;
}
.diary-card__text {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.diary-card__read {
  font-size: 13px;
  font-weight: 600;
  color: var(--sand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.diary-card__read:hover { gap: 10px; }

/* ---------- Новости ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.news-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.news-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-card__date {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
}
.news-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--graphite);
  line-height: 1.4;
  margin-bottom: 10px;
}
.news-card__text {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}
.news-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--sand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Объекты ---------- */
.objects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.object-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.object-card:hover { box-shadow: var(--shadow-hover); }
.object-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}
.object-card__img img { width: 100%; height: 100%; object-fit: cover; }
.object-card__status {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.object-card__status--sale { background: #22C55E; color: #fff; }
.object-card__status--soon { background: var(--sand); color: #fff; }
.object-card__status--inv { background: var(--blue); color: #fff; }
.object-card__body { padding: 24px; }
.object-card__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 10px;
}
.object-card__params {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.object-card__param {
  font-size: 12px;
  color: var(--text-mid);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 20px;
}

/* ---------- Форма консультации ---------- */
.consult-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--graphite) 100%);
  padding: 80px 0;
}
.consult-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.consult-info__title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.consult-info__text {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin-bottom: 32px;
}
.consult-tg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  transition: background var(--transition);
}
.consult-tg:hover { background: rgba(255,255,255,.18); }
.form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-box__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 24px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form__field { margin-bottom: 16px; }
.form__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--sand);
  box-shadow: 0 0 0 3px rgba(201,150,90,.15);
}
.form__textarea { resize: vertical; min-height: 100px; }
.form__select { cursor: pointer; }
.form__consent {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 16px;
}
.form__consent a { color: var(--sand); text-decoration: underline; }
.form__submit {
  width: 100%;
  padding: 14px;
  background: var(--sand);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
  border: none;
}
.form__submit:hover {
  background: #B8833D;
  box-shadow: 0 4px 16px rgba(201,150,90,.35);
}

/* ---------- Хлебные крошки ---------- */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 32px;
}
.breadcrumbs a {
  color: var(--sand);
  transition: opacity var(--transition);
}
.breadcrumbs a:hover { opacity: 0.75; }
.breadcrumbs__sep { color: var(--border); }

/* ---------- Страница локации ---------- */
.loc-hero {
  position: relative;
  background: linear-gradient(135deg, var(--blue) 0%, var(--graphite) 100%);
  padding: 100px 0 60px;
  background-size: cover;
  background-position: center;
}
.loc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,58,92,.80) 0%, rgba(30,38,38,.75) 100%);
  z-index: 0;
}
.loc-hero .container {
  position: relative;
  z-index: 1;
}
.loc-hero__tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(201,150,90,.2);
  border: 1px solid rgba(201,150,90,.4);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 20px;
}
.loc-hero__title {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}
.loc-hero__desc {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  max-width: 620px;
  line-height: 1.7;
}
.loc-overview {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 48px 0;
}
.loc-overview__item {
  background: var(--white);
  padding: 24px 20px;
  text-align: center;
}
.loc-overview__num {
  font-size: 22px;
  font-weight: 700;
  color: var(--sand);
  margin-bottom: 4px;
}
.loc-overview__label {
  font-size: 12px;
  color: var(--text-light);
}
.loc-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--graphite);
  margin: 40px 0 16px;
}
.loc-content h2:first-child { margin-top: 0; }
.loc-content p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}
.loc-content ul {
  list-style: none;
  margin-bottom: 16px;
}
.loc-content ul li {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.65;
  padding: 6px 0 6px 20px;
  position: relative;
}
.loc-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--sand);
  border-radius: 50%;
}
.loc-cta {
  background: var(--sand-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  margin-top: 48px;
}
.loc-cta__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 12px;
}
.loc-cta__text {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 24px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ---------- FAQ ---------- */
.faq { margin-top: 48px; }
.faq__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 24px;
}
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--graphite);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background var(--transition);
}
.faq__q:hover { background: var(--bg); }
.faq__q svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--sand);
}
.faq__item.is-open .faq__q svg { transform: rotate(180deg); }
.faq__a {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.faq__item.is-open .faq__a { display: block; }

/* ---------- Страница статьи (Academy) ---------- */
.page-hero {
  position: relative;
  background: url('/wp-content/uploads/2025/06/hero-bg-sm.jpg') center center / cover no-repeat;
  padding: 100px 0 60px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,38,38,.82) 0%, rgba(27,58,92,.75) 100%);
  z-index: 0;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero__title {
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  max-width: 720px;
}
.page-hero__desc {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  max-width: 580px;
  line-height: 1.7;
}
.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.category-tab {
  padding: 8px 18px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.category-tab:hover,
.category-tab.active {
  border-color: var(--sand);
  color: var(--sand);
  background: var(--sand-light);
}

/* ---------- О проекте ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg);
  box-shadow: 0 12px 48px rgba(30,38,38,.14);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.about-text h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 24px;
  line-height: 1.2;
}
.about-text p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 20px;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.about-value {
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
  border-left: 3px solid var(--sand);
}
.about-value__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 6px;
}
.about-value__text {
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ---------- Контакты ---------- */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-items { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item__icon {
  width: 48px;
  height: 48px;
  background: var(--sand-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-item__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-item__value {
  font-size: 16px;
  font-weight: 600;
  color: var(--graphite);
}
.contact-item__sub {
  font-size: 13px;
  color: var(--text-mid);
  margin-top: 2px;
}

/* ---------- Объекты (заглушка) ---------- */
.objects-empty {
  text-align: center;
  padding: 64px 24px;
  background: var(--white);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  max-width: 640px;
  margin: 0 auto;
}
.objects-empty__icon { font-size: 48px; margin-bottom: 20px; }
.objects-empty__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 16px;
}
.objects-empty__text {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 28px;
}
.objects-cats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.objects-cat {
  padding: 8px 20px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
.objects-cat:hover,
.objects-cat.active {
  border-color: var(--sand);
  color: var(--sand);
}

/* ---------- Статистика / Блок с числами ---------- */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 48px 0;
}
.stat {
  text-align: center;
}
.stat__num {
  font-size: 36px;
  font-weight: 700;
  color: var(--sand);
  line-height: 1;
}
.stat__label {
  font-size: 13px;
  color: var(--text-mid);
  margin-top: 6px;
  max-width: 120px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Уведомление об успехе формы ---------- */
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
}
.form-success__icon { font-size: 40px; margin-bottom: 12px; }
.form-success__title { font-size: 18px; font-weight: 700; color: var(--olive); margin-bottom: 8px; }
.form-success__text { font-size: 14px; color: var(--text-mid); }

/* ---------- Футер ---------- */
.footer {
  background: var(--graphite);
  padding: 60px 0 0;
  color: rgba(255,255,255,.8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__logo-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.footer__logo-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--sand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer__about {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer__tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 16px;
  background: #229ED9;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  transition: background var(--transition);
}
.footer__tg:hover { background: #1A86BA; }
.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 16px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--sand); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}
.footer__bottom a {
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}
.footer__bottom a:hover { color: rgba(255,255,255,.7); }
.footer__bottom-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Страница с боковым содержанием ---------- */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
/* Без min-width:0 grid-item расширяется до min-content (напр. ширины <pre>) */
.content-main { min-width: 0; }
.sidebar { position: sticky; top: 90px; }
.sidebar-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}
.sidebar-box__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sidebar-box__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-box__links a {
  font-size: 13px;
  color: var(--text-mid);
  transition: color var(--transition);
  padding: 4px 0;
}
.sidebar-box__links a:hover { color: var(--sand); }

/* ---------- Inline CTA полоса ---------- */
.cta-strip {
  background: var(--sand);
  padding: 40px 0;
  text-align: center;
}
.cta-strip__title {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.cta-strip__sub {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  margin-bottom: 24px;
}
.cta-strip__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Анонс / промо-блок ---------- */
.promo-card {
  background: linear-gradient(135deg, var(--blue), var(--graphite));
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.promo-card__icon { font-size: 48px; flex-shrink: 0; }
.promo-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.promo-card__text {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* ---------- Cookie уведомление ---------- */
#cookie-notice {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 480px;
  background: var(--graphite);
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
  z-index: 2000;
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  line-height: 1.5;
}
#cookie-notice a { color: var(--sand); text-decoration: underline; }
#cookie-notice.hidden { display: none; }
.cookie-accept {
  flex-shrink: 0;
  padding: 8px 18px;
  background: var(--sand);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .loc-overview { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .burger { display: flex; }
  .consult-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .review-card { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .promo-card { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero__content { padding: 100px 0 60px; }
  .hero__stats { gap: 24px; margin-top: 40px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .loc-overview { grid-template-columns: 1fr 1fr; }
  .form-box { padding: 24px; }
  .about-values { grid-template-columns: 1fr; }
  .stats-row { gap: 28px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .cta-strip__actions { flex-direction: column; align-items: center; }
}

/* ---------- PDF-воронка: адаптив ---------- */
.pdf-cta-block {
  box-sizing: border-box;
  width: 100%;
}
.pdf-cta-block form {
  box-sizing: border-box;
}
.pdf-cta-block input:not([type="checkbox"]),
.pdf-cta-block select,
.pdf-cta-block button {
  box-sizing: border-box;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
/* select: стрелка вместо системной */
.pdf-cta-block select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,.6)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px !important;
}
/* кнопка Telegram в success */
.pdf-tg-link {
  display: inline-block;
  width: auto;
  box-sizing: border-box;
}

/* Внешняя двухколоночная обёртка на главной (секция рисков + PDF) */
.pdf-risks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .pdf-risks-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pdf-cta-block {
    padding: 24px 20px !important;
  }
  .pdf-tg-link {
    display: block;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .pdf-cta-block {
    padding: 20px 16px !important;
    border-radius: 10px !important;
  }
  .pdf-cta-block h3 {
    font-size: 17px !important;
  }
}

/* ── Согласие на обработку ПД ── */
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.55;
  cursor: pointer;
}
/* Кастомный чекбокс — всегда виден на любом фоне */
.consent-label input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 2px solid var(--sand);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: background 0.15s, border-color 0.15s;
}
.consent-label input[type="checkbox"]:checked {
  background: var(--sand);
  border-color: var(--sand);
}
.consent-label input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0px;
  width: 6px;
  height: 11px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.consent-label a { color: var(--sand); text-decoration: underline; }
.consent-label a:hover { text-decoration: none; }

.consent-label--dark { color: rgba(255,255,255,.65); }
.consent-label--dark input[type="checkbox"] {
  border-color: rgba(255,255,255,.6);
}
.consent-label--dark input[type="checkbox"]:checked {
  background: var(--sand);
  border-color: var(--sand);
}
.consent-label--dark a { color: rgba(255,255,255,.8); }

.consent-wrap { display: flex; flex-direction: column; gap: 10px; }

/* Cookie-уведомление */
#cookie-notice {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--graphite);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  line-height: 1.55;
  z-index: 9000;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 -2px 12px rgba(0,0,0,.25);
  transition: transform .3s ease;
}
#cookie-notice.hidden { display: none; }
.cookie-notice__text { flex: 1; min-width: 200px; }
.cookie-notice__link { color: var(--sand); text-decoration: underline; }
.cookie-notice__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
#cookie-notice .cookie-accept {
  background: var(--sand); color: #fff;
  border: none; border-radius: 6px;
  padding: 8px 18px; font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
}
.cookie-notice__more { color: rgba(255,255,255,.55); font-size: 12px; text-decoration: underline; white-space: nowrap; }
@media (max-width: 600px) {
  #cookie-notice { padding: 12px 16px; gap: 10px; }
  .cookie-notice__actions { width: 100%; justify-content: flex-end; }
}

/* ── Internal Linking Engine (Phase 6.2) ── */
.il-related {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--bg-soft, #f7f5f2);
  border-radius: var(--radius-lg, 12px);
  border: 1px solid var(--border, #e8e3db);
}
.il-related__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text, #1a1713);
  margin: 0 0 14px;
  padding: 0;
  border: none;
}
.il-related__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.il-related__item { margin: 0; }
.il-related__link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}
.il-related__link:hover .il-related__text { text-decoration: underline; }
.il-related__badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--sand-bg, #fdf6e3);
  color: var(--sand, #b08d30);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 3px;
  white-space: nowrap;
}
.il-related__text {
  font-size: 14px;
  color: var(--text, #1a1713);
  line-height: 1.5;
}
.il-related--grid .il-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.il-related__col-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-mid, #6b6059);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}
.il-freshness {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--sand, #b08d30);
  background: var(--bg-soft, #f7f5f2);
  border-radius: 0 var(--radius, 8px) var(--radius, 8px) 0;
}
.il-freshness__title {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text-mid, #6b6059);
}
.il-freshness__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.il-freshness__item { margin: 0; }
.il-freshness__link {
  font-size: 13px;
  color: var(--accent, #1a5c96);
  text-decoration: none;
  line-height: 1.45;
}
.il-freshness__link:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .il-related--grid .il-related__grid { grid-template-columns: 1fr; }
  .il-related { padding: 16px; }
}
