/**
 * Подвал sluck24.by — уникальные slc-footer__* классы.
 * Портал (светлый) и страницы услуг (тёмный + контакт-бар).
 */
body.site-sluck .slc-footer {
  font-family: 'Inter', system-ui, sans-serif;
  position: relative;
  overflow: hidden;
}

body.site-sluck .slc-footer__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% 100%, rgba(34, 197, 94, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(34, 197, 94, 0.06) 0%, transparent 50%);
}

body.site-sluck .slc-footer__shell {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ——— Портал ——— */
body.site-sluck .slc-footer--portal {
  background: linear-gradient(180deg, #f8fafc 0%, #f0fdf4 100%);
  border-top: 1px solid #e2e8f0;
  color: #334155;
}

body.site-sluck .slc-footer--portal .slc-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}

body.site-sluck .slc-footer__logo-link {
  display: inline-block;
  margin-bottom: 16px;
}

body.site-sluck .slc-footer__logo {
  max-height: 42px;
  width: auto;
}

body.site-sluck .slc-footer__tagline {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #64748b;
  max-width: 320px;
}

body.site-sluck .slc-footer__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.site-sluck .slc-footer__pill {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #166534;
  background: #fff;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
}

body.site-sluck .slc-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

body.site-sluck .slc-footer__nav-title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

body.site-sluck .slc-footer__nav-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.site-sluck .slc-footer__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 14px;
  font-weight: 500;
  color: #334155 !important;
  text-decoration: none;
  transition: color 0.15s, background 0.15s, border-color 0.15s, transform 0.15s;
}

body.site-sluck .slc-footer__nav-link span {
  line-height: 1.3;
}

body.site-sluck .slc-footer__nav-link:hover {
  color: #16a34a !important;
}

body.site-sluck .slc-footer__nav-tile {
  border-radius: 12px;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

body.site-sluck .slc-footer__cta-card {
  padding: 24px;
  background: linear-gradient(145deg, #fff 0%, #f0fdf4 100%);
  border: 1px solid #bbf7d0;
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(34, 197, 94, 0.08);
}

body.site-sluck .slc-footer__cta-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #166534;
}

body.site-sluck .slc-footer__cta-title .slc-icon {
  color: #22c55e;
}

body.site-sluck .slc-footer__cta-text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
}

body.site-sluck .slc-footer__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #fff !important;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.25);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

body.site-sluck .slc-footer__cta-btn:hover {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.3);
}

body.site-sluck .slc-footer__mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #166534 !important;
  background: #fff;
  border: 1px solid #d1fae5;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

body.site-sluck .slc-footer__mail .slc-icon {
  color: #16a34a;
}

body.site-sluck .slc-footer__mail:hover {
  background: #ecfdf5;
  border-color: #86efac;
}

body.site-sluck .slc-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 28px;
  border-top: 1px solid #e2e8f0;
}

body.site-sluck .slc-footer__copy {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
}

body.site-sluck .slc-footer__geo {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

/* ——— Услуги: контакт-бар ——— */
body.site-sluck .slc-footer--service {
  background: #0b0e14;
  color: #e2e8f0;
}

body.site-sluck .slc-footer__contact-bar {
  background: linear-gradient(135deg, #14532d 0%, #166534 50%, #15803d 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.site-sluck .slc-footer__contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 20px;
}

body.site-sluck .slc-footer__contact-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

body.site-sluck .slc-footer__contact-name {
  margin: 0 0 8px;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

body.site-sluck .slc-footer__contact-addr {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

body.site-sluck .slc-footer__contact-unp {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

body.site-sluck .slc-footer__contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

body.site-sluck .slc-footer__phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 18px;
  font-weight: 800;
  color: #14532d !important;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s, box-shadow 0.15s;
}

body.site-sluck .slc-footer__phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

body.site-sluck .slc-footer__phone-alt {
  font-size: 15px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.site-sluck .slc-footer__messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

body.site-sluck .slc-footer__chip {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s;
}

body.site-sluck .slc-footer__chip:hover {
  background: rgba(255, 255, 255, 0.22);
}

body.site-sluck .slc-footer__chip--mail {
  font-size: 12px;
}

body.site-sluck .slc-footer--service .slc-footer__top--compact {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  padding: 40px 0 28px;
}

body.site-sluck .slc-footer--service .slc-footer__tagline {
  color: #94a3b8;
}

body.site-sluck .slc-footer--service .slc-footer__nav--inline {
  grid-template-columns: 1fr 1fr;
}

body.site-sluck .slc-footer--service .slc-footer__nav-title {
  color: #64748b;
}

body.site-sluck .slc-footer--service .slc-footer__nav-link {
  color: #cbd5e1 !important;
}

body.site-sluck .slc-footer--service .slc-footer__nav-link:hover {
  color: #4ade80 !important;
}

body.site-sluck .slc-footer--service .slc-footer__bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}

body.site-sluck .slc-footer__legal {
  display: flex;
  gap: 16px;
}

body.site-sluck .slc-footer__legal-link {
  font-size: 13px;
  color: #64748b !important;
  text-decoration: none;
}

body.site-sluck .slc-footer__legal-link:hover {
  color: #4ade80 !important;
}

/* ——— FAB на услугах Sluck ——— */
body.site-sluck .service-contact-fab-btn {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 8px 28px rgba(34, 197, 94, 0.45);
}

body.site-sluck .service-contact-action-call {
  background: linear-gradient(135deg, #14532d, #166534);
}

body.site-sluck .service-contact-panel {
  border-color: #bbf7d0;
}

@media (max-width: 900px) {
  body.site-sluck .slc-footer--portal .slc-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  body.site-sluck .slc-footer__cta {
    grid-column: 1 / -1;
  }

  body.site-sluck .slc-footer__contact-inner {
    flex-direction: column;
    align-items: stretch;
  }

  body.site-sluck .slc-footer__contact-actions {
    align-items: stretch;
  }

  body.site-sluck .slc-footer__messengers {
    justify-content: flex-start;
  }

  body.site-sluck .slc-footer--service .slc-footer__top--compact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.site-sluck .slc-footer--service .slc-footer__nav--inline {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body.site-sluck .slc-footer--service .slc-footer__nav-tile {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e2e8f0 !important;
    box-shadow: none;
  }

  body.site-sluck .slc-footer--service .slc-footer__nav-tile:hover {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.25);
    color: #4ade80 !important;
  }

  body.site-sluck .slc-footer--service .slc-footer__nav-tile .slc-icon {
    color: #64748b;
  }

  body.site-sluck .slc-footer--service .slc-footer__nav-tile:hover .slc-icon {
    color: #4ade80;
  }

  body.site-sluck .slc-footer--portal .slc-footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0 32px;
  }

  body.site-sluck .slc-footer__brand {
    text-align: center;
  }

  body.site-sluck .slc-footer__logo-link {
    display: flex;
    justify-content: center;
  }

  body.site-sluck .slc-footer__tagline {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  body.site-sluck .slc-footer__pills {
    justify-content: center;
  }

  body.site-sluck .slc-footer__nav {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body.site-sluck .slc-footer__nav-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.site-sluck .slc-footer__nav-tile {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  }

  body.site-sluck .slc-footer__nav-tile:hover {
    background: #f0fdf4;
    border-color: #bbf7d0;
    transform: translateY(-1px);
  }

  body.site-sluck .slc-footer__nav-tile .slc-icon {
    flex-shrink: 0;
  }

  body.site-sluck .slc-footer__nav-tile span {
    min-width: 0;
  }

  body.site-sluck .slc-footer__cta {
    grid-column: auto;
  }

  body.site-sluck .slc-footer__bottom {
    flex-direction: column;
    text-align: center;
    padding-bottom: 24px;
  }
}

@media (max-width: 380px) {
  body.site-sluck .slc-footer__nav-tile {
    padding: 11px 12px;
    font-size: 12px;
    gap: 8px;
  }

  body.site-sluck .slc-footer__nav-tile .slc-icon {
    width: 16px;
    height: 16px;
  }
}
