/* Genplan 3.33 — блоки связи: [genplan_cta] и [genplan_contacts] */

/* ===== Строка CTA между генпланом и таблицей ===== */
.gp-icta {
  margin: 18px clamp(10px, 2vw, 24px);
  font-family: inherit;
}
.gp-icta__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 22px 24px 22px 34px;
  background: var(--lu-surface-alt, #FDF9F2);
  border: 1px solid rgba(184, 139, 74, .28);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(28, 34, 26, .05);
}
/* Тема добавляет абзацам отступы — в блоке они не нужны */
.gp-icta p { margin: 0 !important; padding: 0 !important; }
.gp-icta__copy { min-width: 0; }
/* Заголовок в стиле H2 сайта: тонкий, крупный, золотое выделение */
.gp-icta__title {
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--lu-text, #2C2A26);
}
.gp-icta__title span { color: var(--lu-gold, #B88B4A); }
.gp-icta__lead {
  margin-top: 6px !important;
  font-size: 16px;
  line-height: 1.5;
  color: var(--lu-muted, #6b655b);
}
.gp-icta__actions { display: flex; gap: 10px; flex-shrink: 0; }
/* десктоп / телефон: разные тексты и кнопка телефона */
.gp-icta .gp-icta__mob { display: none; }
@media (max-width: 900px) {
  .gp-icta .gp-icta__desk { display: none; }
  .gp-icta p.gp-icta__mob { display: block; }
  .gp-icta__title { text-align: center; font-size: 24px; }
  .gp-icta a.gp-icta__mob { display: inline-flex; }
}

.gp-icta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 50px;
  border: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.gp-icta__btn:hover { transform: translateY(-1px); }
.gp-icta__btn:focus-visible,
.gp-icta__m:focus-visible { outline: 2px solid var(--lu-gold, #B88B4A); outline-offset: 2px; }
.gp-icta__btn--phone {
  background: linear-gradient(135deg, #B88B4A 0%, #D1A75C 100%);
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(184, 139, 74, .35);
}
.gp-icta__btn--phone:hover { box-shadow: 0 6px 18px rgba(184, 139, 74, .45); }
.gp-icta__btn--phone.is-revealed { letter-spacing: .01em; }
.gp-icta__btn--msg {
  background: #2C2A26;
  color: #fff !important;
}
.gp-icta__btn--msg:hover { background: #45413a; }
.gp-icta__btn--msg .gp-ico:last-child { width: 16px; height: 16px; margin-left: -2px; transition: transform .18s ease; }
.gp-icta__btn--msg[aria-expanded="true"] .gp-ico:last-child { transform: rotate(180deg); }

.gp-icta__msg { position: relative; }
.gp-icta__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  min-width: 210px;
  padding: 6px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(28, 34, 26, .16);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gp-icta__menu[hidden] { display: none; }
.gp-icta__m {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--lu-text, #2C2A26) !important;
  text-decoration: none !important;
}
.gp-icta__m:hover { background: #F6F1E8; }
.gp-icta__m .gp-ico { width: 22px; height: 22px; flex-shrink: 0; }
.gp-icta__m--wa .gp-ico  { color: #128C7E; }
.gp-icta__m--tg .gp-ico  { color: #229ED9; }
.gp-icta__m--max .gp-ico { color: #6633CC; }

@media (max-width: 900px) {
  .gp-icta__in { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 16px 16px; }
  .gp-icta__actions { width: 100%; }
  .gp-icta__actions > * { flex: 1 1 0; }
  .gp-icta__btn { width: 100%; padding: 0 14px; }
  .gp-icta__menu { left: 0; right: 0; min-width: 0; }
}
@media (max-width: 420px) {
  .gp-icta__btn { font-size: 14px; gap: 6px; }
}

/* ===== Кнопки в карточке «Характеристики» ===== */
.gp-contacts--card .gp-contacts__phone {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
  text-decoration: none !important;
}
.gp-contacts--card .gp-contacts__row { display: flex; gap: 8px; }
.gp-contacts--card .gp-contacts__msg {
  flex: 1 1 0;
  justify-content: center;
  min-width: 0;
  font-size: 13px;
  padding: 12px 6px;
  text-decoration: none !important;
}

/* ===== Кнопки нижнего блока ===== */
.gp-contacts--cta .lu-cta-btn { text-decoration: none !important; }
.gp-contacts--cta .gp-ico { width: 20px; height: 20px; flex-shrink: 0; }
