/* ===== FOOTER PRO ===== */

#footer-pro {
  font-family: 'Open Sans', sans-serif;
  margin-top: 40px;
}

.footer-inner {
  position: relative;
  background-color: #1a1a1a;
  background-image: url('/image/catalog/ww1.png');
  background-size: cover;
  background-position: center center;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 70px;
  -webkit-box-shadow: 0px 14px 21px rgba(0, 0, 0, 0.56);
  -moz-box-shadow: 0px 14px 21px rgba(0, 0, 0, 0.56);
  box-shadow: 0px 14px 21px rgba(0, 0, 0, 0.56);
}

/* Dark overlay over bg image */
.footer-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 0;
}

.footer-inner>* {
  position: relative;
  z-index: 1;
}

/* ---- Divider ---- */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0;
}

/* ---- Contacts row ---- */
.footer-contacts-row {
  padding: 65px 50px;
}

.footer-contacts-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.footer-heading {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: center;
}

.footer-phone i {
  font-size: 32px;
  color: #fff;
  opacity: 0.85;
}

.footer-phone a {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}

.footer-phone a:hover {
  opacity: 0.8;
  color: #fff;
}

.footer-callback {
  flex-shrink: 0;
  margin-left: auto;
}

.btn-callback {
  border: 0;
  display: inline-block;
  padding: 25px 32px;
  background: #2e608b;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-callback:hover {
  background: #245070;
  color: #fff;
  text-decoration: none;
}

/* ---- Socials row ---- */
.footer-socials-row {
  padding: 28px 50px;
}

.footer-socials-grid {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-socials-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  flex: 1;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Кнопка "Заказать звонок" */
.btn-order-call {
  display: inline-block;
  padding: 11px 28px;
  background: #fff;
  color: #222;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.btn-order-call:hover {
  background: #f0f0f0;
  color: #222;
}

.footer-social-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.footer-social-item:hover {
  opacity: 0.7;
  color: #fff;
  text-decoration: none;
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.footer-social-icon i {
  font-size: 28px;
  color: #fff;
}

.footer-social-icon svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.footer-social-title {
  font-size: 16px;
  color: #fff;
}

/* ---- Bottom row ---- */
.footer-bottom-row {
  padding: 35px 50px;
}

.footer-bottom-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-copyright {
  font-size: 14px;
  color: #2e608b;
  line-height: 1.5;
  color: white;
}

.footer-copyright a {
  color: #2e608b;
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .footer-contacts-grid {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-callback {
    margin-left: 0;
  }

  .footer-heading {
    font-size: 22px;
  }

  .footer-phone a {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .footer-contacts-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-socials-grid {
    justify-content: flex-start;
    gap: 24px;
  }

  .footer-social-title {
    display: none;
  }

  .footer-social-icon {
    width: 44px;
    height: 44px;
  }

  .footer-social-icon i {
    font-size: 32px;
  }

  .footer-social-icon svg {
    width: 30px;
    height: 30px;
  }
}

.footer-policy a {
  font-size: 14px;
  color: white;
}

/* ===== CALLBACK MODAL ===== */
.callback-modal-content {
  border-radius: 0;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.callback-modal-header {
  background: #2e608b;
  border-radius: 0;
  padding: 16px 20px;
  border-bottom: none;
}

.callback-modal-header .modal-title {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.callback-modal-header .close {
  color: #fff;
  opacity: 0.8;
  font-size: 22px;
  margin-top: -2px;
}

.callback-modal-header .close:hover {
  opacity: 1;
}

.callback-modal-body {
  padding: 24px 20px 20px;
}

.callback-modal-body .form-control {
  border-radius: 0;
  border-color: #ddd;
  font-size: 14px;
  height: 40px;
  box-shadow: none;
}

.callback-modal-body .form-control:focus {
  border-color: #2e608b;
  box-shadow: 0 0 0 2px rgba(46, 96, 139, 0.15);
}

.callback-modal-body textarea.form-control {
  height: auto;
  resize: vertical;
}

.cb-privacy-group {
  margin-top: 4px;
}

.cb-privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: normal;
  font-size: 13px;
  color: #555;
  cursor: pointer;
}

.cb-privacy-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #2e608b;
}

.cb-privacy-label a {
  color: #2e608b;
  text-decoration: underline;
}

.btn-cb-submit {
  display: block;
  width: 100%;
  padding: 12px;
  background: #2e608b;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  margin-top: 16px;
  transition: background 0.2s;
}

.btn-cb-submit:hover {
  background: #245070;
}

.btn-cb-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Repair form upload */
.btn-rp-upload {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: #f5f5f5;
  border: 1px dashed #bbb;
  color: #444;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn-rp-upload:hover {
  background: #eee;
  border-color: #2e608b;
  color: #2e608b;
}

.rp-filename {
  display: inline-block;
  margin-left: 10px;
  font-size: 12px;
  color: #666;
  vertical-align: middle;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collab-intro {
  font-size: 13px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 6px;
}

.collab-sub {
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
  font-style: italic;
}

@media (max-width: 767px) {
  .footer-inner {
    margin: 0 !important;
  }
}