/* Кнопки, как на лендинге (02.12.2026, решения владельца):
   1) на карточках проектов — чёрные #1b1b1b, круглые, с иконкой ↓; при наведении приподнимаются, иконка сдвигается вниз;
   2) остальные основные — бирюзовые, один размер и скругление 12 px, без иконок; кнопки перехода — стрелка → только при наведении;
   3) второстепенные — белые с тонкой рамкой, как «Показать ещё» на лендинге.
   Файл подключается последним; !important — только там, где старые стили сильнее по весу селектора. */
:root{--ebb-teal:#0ea498;--ebb-teal-d:#0b8a80;--ebb-navy:#24364f;--ebb-line:#dbe5ea;
  --ebb-dl:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10.5l5 5 5-5M5 20h14'/%3E%3C/svg%3E")}

/* ---------- 1. Карточки проектов ---------- */
.ebc-pr .ebc-btn:not(.ebc-btn--ghost),
.ref22 .pc .pr .btn[data-est]{
  display:inline-flex!important;align-items:center;justify-content:center;gap:8px;
  background:#1b1b1b!important;color:#fff!important;border:0!important;border-radius:999px!important;
  padding:10px 18px!important;font-weight:700;font-size:14px;line-height:1.2;white-space:nowrap;
  box-shadow:none;transition:background .15s,transform .2s,box-shadow .2s}
/* иконка ↓ — только у «Получить комплектацию» и «Получить смету»; «Хочу такой же» на «Мы построили» — без иконки */
.ebc-pr .ebc-btn[onclick*="get-complete-set"]::before,
.ref22 .pc .pr .btn[data-est]::before{
  content:"";width:16px;height:16px;flex:none;background:currentColor;
  -webkit-mask:var(--ebb-dl) center/contain no-repeat;mask:var(--ebb-dl) center/contain no-repeat;transition:transform .2s}
@media (hover:hover){
  .ebc-pr .ebc-btn:not(.ebc-btn--ghost):hover,
  .ref22 .pc .pr .btn[data-est]:hover{background:#000!important;transform:translateY(-2px);box-shadow:0 12px 22px -12px rgba(0,0,0,.55)}
  .ebc-pr .ebc-btn[onclick*="get-complete-set"]:hover::before,
  .ref22 .pc .pr .btn[data-est]:hover::before{transform:translateY(3px)}
}

/* ---------- 2. Основные кнопки — бирюзовые, один размер ---------- */
.ebp-btn:not(.ebp-btn--ghost),
.eb-catband__btn,
.btn-green,
.ebpr-btn,
.btn-blue,
.eba-cta__btn,
.project-detail-page .equipment-download-link a,
.eb-tail .btn:not(.ghost),
.ref22 .btn:not(.out):not(.sm),
.eb-pk .btn{
  display:inline-flex!important;align-items:center;justify-content:center;gap:8px;
  background:var(--ebb-teal)!important;color:#fff!important;border:0!important;border-radius:12px!important;
  padding:15px 24px!important;min-height:51px;font-family:Golos,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-weight:700!important;font-size:15px!important;line-height:1.35!important;letter-spacing:normal;text-transform:none!important;
  text-decoration:none!important;box-shadow:none;transition:background .15s,transform .2s,box-shadow .2s}
/* иконки скачивания у основных кнопок убираем — иконка ↓ остаётся только на карточках */
.project-detail-page .equipment-download-link a::before{display:none!important}
@media (hover:hover){
  .ebp-btn:not(.ebp-btn--ghost):hover,.eb-catband__btn:hover,.btn-green:hover,.ebpr-btn:hover,.btn-blue:hover,.eba-cta__btn:hover,
  .project-detail-page .equipment-download-link a:hover,.eb-tail .btn:not(.ghost):hover,.ref22 .btn:not(.out):not(.sm):hover,.eb-pk .btn:hover{
    background:var(--ebb-teal-d)!important;transform:translateY(-2px);box-shadow:0 12px 22px -12px rgba(0,0,0,.45)}
}
/* кнопки перехода на другую страницу — стрелка появляется при наведении */
.eba-cta__btn[href]::after,
.eb-tail .loc-lp .lc-act .btn::after,
.eb-pk a.btn::after{content:"→";display:inline-block;width:0;opacity:0;margin-left:-8px;transform:translateX(-6px);transition:width .2s,opacity .2s,transform .2s,margin .2s}
@media (hover:hover){
  .eba-cta__btn[href]:hover::after,
  .eb-tail .loc-lp .lc-act .btn:hover::after,
  .eb-pk a.btn:hover::after{width:1em;opacity:1;margin-left:0;transform:none}
}

/* ---------- 3. Второстепенные — белые ---------- */
.ebc-btn--ghost,
.ebp-btn--ghost,
.ref22 .btn.out,
.contacts-page .contacts-download a{
  display:inline-flex!important;align-items:center;justify-content:center;
  background:#fff!important;color:var(--ebb-navy)!important;border:0!important;border-radius:12px!important;
  box-shadow:inset 0 0 0 1.5px var(--ebb-line)!important;padding:15px 24px!important;min-height:51px;
  font-weight:700!important;font-size:15px!important;line-height:1.35!important;text-decoration:none!important;transition:box-shadow .15s,color .15s}
.contacts-page .contacts-download a::before{display:none!important}
@media (hover:hover){
  .ebc-btn--ghost:hover,.ebp-btn--ghost:hover,.ref22 .btn.out:hover,.contacts-page .contacts-download a:hover{
    box-shadow:inset 0 0 0 1.5px var(--ebb-teal)!important;color:var(--ebb-teal-d)!important}
}
@media (prefers-reduced-motion:reduce){
  .ebc-pr .ebc-btn,.ref22 .pc .pr .btn,.ebp-btn,.eb-catband__btn,.btn-green,.ebpr-btn,.btn-blue,.eba-cta__btn,.eb-tail .btn,.ref22 .btn,.eb-pk .btn{transition:none}
}
