/* =========================================================
   Заглушка pro-color.ru — дополнения к style.css v3-2
   ========================================================= */

html { scroll-behavior: smooth; }
/* .row.g-5 v3-2 вылезает за контейнер на 12px (в style.css поправлено только ≤767px) */
main { overflow-x: clip; }
/* шапка v3-2 липкая — якоря не должны уезжать под неё */
section[id] { scroll-margin-top: 90px; }
[id^="office-"] { scroll-margin-top: 165px; }
@media (max-width: 991px) {
  section[id] { scroll-margin-top: 40px; }
  [id^="office-"] { scroll-margin-top: 85px; }
}

/* ---------- Алерт «сокращённый режим» ---------- */
.stub-alert { background: var(--pc-light-gray); border-bottom: 1px solid var(--pc-border); padding: 18px 0; }
.stub-alert-box {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid rgba(0,160,227,.28); border-left: 5px solid var(--pc-cyan);
  border-radius: var(--pc-radius); padding: 16px 20px; box-shadow: var(--pc-shadow-sm);
  font-size: 16px; line-height: 1.55; color: var(--pc-text);
}
.stub-alert-ico { font-size: 26px; line-height: 1; color: var(--pc-cyan); flex-shrink: 0; margin-top: 1px; }
.stub-alert-text strong { color: var(--pc-dark); }
.stub-alert-text a { color: var(--pc-link); text-decoration: underline; text-underline-offset: 2px; }
.stub-alert-text a:hover { color: var(--pc-cta); }

/* ---------- Шапка ---------- */
.header-hours { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 2px; }
.header-nav .catalog-btn { text-decoration: none; }
.header-nav .main-menu > li > a { font-size: 16px; padding: 0 16px; }

/* ---------- Первый экран ---------- */
.stub-hero.hero-home { padding: 64px 0 72px; }
.hero-quick-links button {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; cursor: pointer; font-family: inherit;
  border: 1px solid rgba(255,255,255,.22); border-radius: 100px; color: #fff; font-size: 14.5px; background: rgba(255,255,255,.05);
  transition: all .2s;
}
.hero-quick-links button:hover { background: var(--pc-cta); border-color: var(--pc-cta); color: #fff; }

.stub-contact-card {
  background: var(--pc-dark-soft); border: 1px solid rgba(255,255,255,.12); border-top: 4px solid var(--pc-cta);
  border-radius: var(--pc-radius-lg); padding: 28px 28px 22px; color: rgba(255,255,255,.78);
}
.scc-title { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 12px; }
.scc-phone { display: block; color: #fff; font-size: 32px; font-weight: 700; letter-spacing: .3px; line-height: 1.15; }
.scc-phone .phone-code { font-size: 22px; font-weight: 500; opacity: .7; }
.scc-phone-2 { display: inline-block; color: rgba(255,255,255,.85); font-size: 18px; font-weight: 600; margin-top: 4px; }
.scc-phone:hover, .scc-phone-2:hover, .scc-email:hover { color: var(--pc-cta); }
.scc-email { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 17px; font-weight: 600; margin-top: 14px; }
.scc-email .bi { color: var(--pc-cta); }
.scc-msgs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.scc-msgs a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--pc-radius);
  border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 15px; font-weight: 500; transition: all .2s;
}
.scc-msgs a .bi-telegram { color: #2AABEE; font-size: 18px; }
.scc-msgs a img { border-radius: 5px; display: block; }
.scc-msgs a:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.scc-hours { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 15px; }
.scc-hours .bi { color: var(--pc-cta); }
.scc-pay {
  display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.22); border-radius: var(--pc-radius);
  color: #fff; font-size: 15px; font-weight: 600; transition: all .2s;
}
.scc-pay .bi-credit-card { color: var(--pc-cta); font-size: 18px; }
.scc-pay .bi-arrow-right { margin-left: auto; color: var(--pc-cta); }
.scc-pay:hover { border-color: var(--pc-cta); background: rgba(255,107,26,.08); color: #fff; }
.main-menu > li > a.menu-pay { color: var(--pc-cta); gap: 7px; }
.main-menu > li > a.menu-pay:hover { color: var(--pc-cta-hover); }
.m-acc-link.menu-pay { color: var(--pc-cta); }
.footer-col a.footer-pay { color: var(--pc-cta); font-weight: 600; }
.footer-col a.footer-pay:hover { color: var(--pc-cta-hover); }
.scc-offices { margin-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.scc-office {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.75); font-size: 14.5px; line-height: 1.4;
}
.scc-office:last-child { border-bottom: none; padding-bottom: 0; }
.scc-office img { margin-top: 3px; flex-shrink: 0; }
.scc-office strong { color: #fff; font-weight: 600; }
.scc-office .bi-arrow-right { margin-left: auto; color: var(--pc-cta); align-self: center; }
.scc-office:hover strong { color: var(--pc-cta); }

/* ---------- Что мы печатаем ---------- */
.stub-sub { color: var(--pc-text-light); font-size: 17px; margin: 12px 0 0; }
/* компактная горизонтальная плитка: 24 направления не растягивают страницу */
button.cat-tile {
  width: 100%; font-family: inherit; cursor: pointer;
  flex-direction: row; align-items: center; text-align: left; gap: 14px; padding: 16px 16px;
}
button.cat-tile .cat-ico { width: 52px; height: 52px; flex-shrink: 0; }
.cat-tile .cat-ico svg { width: 28px; height: 28px; stroke-width: 1.6; }
.cat-tile .cat-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cat-tile .cat-title { font-size: 16px; line-height: 1.25; font-weight: 700; color: var(--pc-dark); }
.cat-tile .cat-desc { font-size: 13.5px; line-height: 1.35; color: var(--pc-text-light); }
.cat-tile:focus-visible { outline: 3px solid var(--pc-cta); outline-offset: 2px; }

/* ---------- Контакты ---------- */
.stub-office { padding: 18px 18px 14px; }
.stub-office h3 { display: flex; align-items: center; gap: 8px; margin: 4px 0 14px; }
.stub-map { height: 280px; min-height: 280px; }

/* ---------- Заявка ---------- */
.stub-checks { list-style: none; padding: 0; margin: 24px 0 0; }
.stub-checks li { display: flex; gap: 10px; margin-bottom: 10px; font-size: 16px; color: rgba(255,255,255,.82); }
.stub-checks .bi { color: var(--pc-cta); font-size: 19px; line-height: 1.2; }
.stub-request-alt { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 16px; color: rgba(255,255,255,.75); }
.stub-request-alt a { color: #fff; font-weight: 600; white-space: nowrap; }
.stub-request-alt a:hover { color: var(--pc-cta); }
.stub-linkbtn {
  background: none; border: none; padding: 0; font: inherit; color: #fff; cursor: pointer;
  border-bottom: 1px dashed rgba(255,255,255,.5);
}
.stub-linkbtn:hover { color: var(--pc-cta); border-color: var(--pc-cta); }
.form-card .form-success { padding: 28px 0 8px; }
.kit-files:empty { display: none; }
.kit-form-msg { border-radius: var(--pc-radius); font-size: 15px; }

/* ---------- Подвал ---------- */
.footer-col .footer-office { color: #fff; font-weight: 600; }
.footer-col .footer-hours { font-size: 14px; color: rgba(255,255,255,.55); }
.footer-col .footer-linkbtn { color: rgba(255,255,255,.7); font-size: 15px; cursor: pointer; text-align: left; }
.footer-col .footer-linkbtn:hover { color: var(--pc-cta); }
.footer-req { font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- Политика ---------- */
.policy h1 { font-size: 32px; margin-bottom: 24px; }
.policy h2 { font-size: 22px; margin: 28px 0 12px; }

@media (max-width: 1199px) {
  .header-nav .main-menu > li > a { font-size: 15px; padding: 0 9px; }
}
@media (max-width: 991px) {
  .stub-hero.hero-home { padding: 44px 0 52px; }
  .scc-phone { font-size: 28px; }
}
@media (max-width: 767px) {
  .stub-alert { padding: 12px 0; }
  .stub-alert-box { padding: 12px 14px; gap: 12px; font-size: 15px; }
  .stub-alert-ico { font-size: 22px; }
  .stub-contact-card { padding: 22px 18px 18px; }
  .cat-tile .cat-desc { display: none; }
  button.cat-tile { padding: 14px 8px; gap: 8px; flex-direction: column; text-align: center; }
  .cat-tile .cat-txt { align-items: center; }
  button.cat-tile .cat-ico { width: 40px; height: 40px; }
  .cat-tile .cat-ico svg { width: 22px; height: 22px; }
  .cat-tile .cat-title { font-size: 14.5px; }
  .stub-map { height: 220px; min-height: 220px; }
  .hero-quick-links button { font-size: 14px; padding: 7px 13px; }
}
@media (max-width: 400px) {
  /* в style.css v3-2 телефон в шапке скрыт < 400px — у заглушки он главный контакт, оставляем */
  .header-phone { display: flex; }
  .header-phone a { font-size: 16px; }
  .header-hours { display: none; }
  .brand img { width: 150px; }
}
@media (max-width: 575px) {
  .contact-quick { padding: 12px; gap: 10px; }
  .contact-quick > i { font-size: 20px; }
  .contact-quick > .cq-max { width: 20px; height: 20px; }
  .contact-quick a, .contact-quick span:not(.cq-label) { font-size: 14px; }
}
