/* === Подвал сайта (перенесено из HTML-блока rec1803220651 страницы Footer, 17.09.2026) === */
/* ===== FOOTER: белая подложка + брендовые заголовки ===== */
.site-footer {
  background: #ffffff;                 /* подложка белая */
  color: #000000;
  padding: 60px 25px 40px;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  border-top: 1px solid rgba(231, 181, 77, 0.3);
}

/* контейнер */
.footer-inner { max-width: 1100px; margin: 0 auto; }

/* сетка */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 35px;
  margin-bottom: 40px;
}

/* ===== Заголовки: жёлтые, жирные ===== */
.footer-col h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #E7B54D;                     /* жёлтый */
  font-weight: 800;                  /* жирный */
  letter-spacing: 0.2px;
}

/* ===== Текст услуг (ссылки в колонках): серый, hover чёрный ===== */
.footer-col a{
  color: #8A8A8A !important;          /* серый */
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col a:hover{
  color: #000000 !important;          /* при наведении чёрный */
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Жирный текст внутри столбцов */
.footer-col p,
.footer-col a{
  font-weight: 700; /* 600-700 — оптимально, 800 будет очень жирно */
}

/* Контакты: серый текст, ссылки серые -> hover чёрный */
.footer-contacts-left{
  text-align: left;
  margin-bottom: 20px;
  color: #777777;
}
.footer-contacts-left a{
  color: #8A8A8A !important;
  text-decoration: none;
}
.footer-contacts-left a:hover{
  color: #000000 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Ссылки в одну строку: серые, hover чёрные */
.footer-links-row {
  text-align: center;
  margin: 10px 0 25px;
  font-size: 14px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-links-row a{
  color: #8A8A8A !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links-row a:hover{
  color: #000000 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-links-row span { color:#B0B0B0; }

/* ===== Соцсети: чёрные (иконки через фильтр) ===== */
.footer-social-icons {
  margin: 20px 0 10px;
  display: flex;
  justify-content: center;
  gap: 25px;
}
.footer-social-icons img{
  display: block;
  filter: grayscale(1) brightness(0);  /* делает иконки чёрными */
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.footer-social-icons a:hover img{
  opacity: 1;
  transform: translateY(-1px);
}

/* копирайт */
.footer-copy {
  text-align: center;
  margin-top: 15px;
  font-size: 13px;
  color: #777777;
}

/* === Попап шапки .crg-* (перенесено из HTML-блока rec2095154891 страницы «Новый Header», 17.09.2026) === */
.crg-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
  }
  .crg-popup-overlay.crg-popup-visible { display: flex; }

  .crg-popup-inner {
    position: relative;
    background: #fff;
    max-width: 420px;
    width: 90%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    font-family: Arial, sans-serif;
  }

  .crg-popup-close {
    position: absolute;
    top: 8px; right: 10px;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 4px rgba(0,0,0,0.6);
    z-index: 2;
  }

  .crg-popup-image img { display: block; width: 100%; height: auto; }

  .crg-popup-content { padding: 16px 18px 20px; }

  .crg-popup-title {
    font-size: 18px; margin: 0 0 8px;
    font-weight: 700; text-align: center;
  }

  .crg-popup-form { display: flex; flex-direction: column; gap: 10px; }
  .crg-popup-field { display: flex; flex-direction: column; gap: 4px; }
  .crg-popup-label { font-size: 13px; font-weight: 600; }

  .crg-popup-input {
    padding: 10px 12px; border-radius: 6px;
    border: 1px solid #d0d0d0; font-size: 14px;
    outline: none; width: 100%; box-sizing: border-box;
  }
  .crg-popup-input:focus { border-color: #ff4c3a; }

  .crg-popup-submit {
    margin-top: 8px; padding: 11px 24px; border-radius: 6px;
    border: none; background: #ff4c3a; color: #fff;
    font-size: 15px; font-weight: 600; cursor: pointer;
    display: block; width: 100%; box-sizing: border-box;
    transition: opacity 0.3s;
  }
  .crg-popup-submit:hover { opacity: 0.9; }

  .crg-popup-consent {
    font-size: 12px; line-height: 1.3; color: #555; margin: 6px 0 2px;
  }
  .crg-popup-consent label {
    display: flex; align-items: flex-start; gap: 6px; cursor: pointer;
  }
  .crg-popup-consent a { color: #0077ff; text-decoration: underline; }
  .crg-popup-consent a:hover { color: #000; }

  .crg-popup-checkbox { width: 16px; height: 16px; cursor: pointer; margin-top: 2px; }
  .crg-checkbox-error { outline: 2px solid red; outline-offset: 2px; }

  .crg-status {
    text-align: center; margin-top: 8px; font-size: 14px; min-height: 20px;
  }

  @media (min-width: 768px) {
    .crg-popup-inner { max-width: 480px; }
  }
