/* Site footer — matches editorial header / dark theme */

.site-footer {
  --footer-bg: #0b0c0e;
  --footer-surface: #13151a;
  --footer-border: rgba(255, 255, 255, 0.07);
  --footer-text: #e8ecf0;
  --footer-muted: #9aa3ad;
  --footer-accent: #00c896;
  --footer-accent-hover: #00e5b0;
  --footer-inner: min(1200px, calc(100% - 48px));

  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--footer-border);
  background: var(--footer-bg);
  color: var(--footer-text);
  font-family: var(--th-font-family);
}

.page-container .page-footer.site-footer {
  border-top: 1px solid var(--footer-border);
}

/* Main block */
.site-footer__main {
  background: var(--footer-bg);
  padding: 56px 0 48px;
}

.site-footer__inner {
  width: var(--footer-inner);
  max-width: 1200px;
  margin: 0 auto;
  float: none;
  color: inherit;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 36px 28px;
  width: 100%;
}

/* Brand column */
.site-footer__brand {
  padding-right: 16px;
}

.site-footer__logo-link {
  display: inline-block;
  margin-bottom: 14px;
  line-height: 0;
}

.site-footer__logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(1.12) contrast(1.05);
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.site-footer__logo-link:hover .site-footer__logo {
  opacity: 0.92;
  filter: drop-shadow(0 0 10px rgba(0, 200, 150, 0.35));
}

.site-footer__tagline {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--footer-accent);
}

.site-footer__about {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--footer-muted);
  max-width: 340px;
}

.site-footer__brand-meta {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 340px;
}

.site-footer__brand-meta li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--footer-muted);
}

.site-footer__brand-meta-icon {
  flex-shrink: 0;
  width: 16px;
  margin-top: 2px;
  text-align: center;
  color: var(--footer-accent);
}

.site-footer__brand-meta a {
  color: var(--footer-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__brand-meta a:hover {
  color: var(--footer-accent-hover);
}

.site-footer__connect-label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--footer-text);
}

.site-footer__social--brand {
  margin-top: 0;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer__social--brand .site-footer__social-link--icon {
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0;
}

.site-footer__social--brand .site-footer__social-link--icon:hover {
  background: transparent;
  border: none;
  transform: translateY(-2px);
}

.site-footer__wa-icon {
  display: block;
  width: 32px;
  height: 32px;
  color: #25d366;
  transition: color 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.site-footer__social-link--whatsapp:hover .site-footer__wa-icon {
  color: #3ee876;
  filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.45));
}

.site-footer__heading--spaced {
  margin-top: 24px;
}

.site-footer__link--highlight {
  color: var(--footer-text);
  font-weight: 600;
}

.site-footer__link--accent {
  color: var(--footer-accent);
  font-weight: 600;
}

.site-footer__contact-note {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(154, 163, 173, 0.85);
}

.site-footer__bar-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.site-footer__bar-link {
  font-size: 13px;
  color: var(--footer-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__bar-link:hover {
  color: var(--footer-accent-hover);
}

.site-footer__bar-sep {
  color: rgba(154, 163, 173, 0.45);
  user-select: none;
}

/* Columns */
.site-footer__heading,
.page-container .site-footer .page-footer-holder h3 {
  float: none;
  width: auto;
  margin: 0 0 18px;
  padding: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--footer-text);
  border-bottom: 2px solid var(--footer-accent);
  display: inline-block;
  line-height: 1.3;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  float: none;
  width: 100%;
  padding: 0;
}

.site-footer__link,
.page-container .site-footer .list-links a {
  display: block;
  float: none;
  width: 100%;
  padding: 9px 0 9px 14px;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--footer-muted);
  border-bottom: 1px solid var(--footer-border);
  border-left: 2px solid transparent;
  text-decoration: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    padding-left 0.2s ease;
}

.site-footer__link--sub {
  padding-left: 26px;
  font-size: 13px;
}

.site-footer__link:hover,
.page-container .site-footer .list-links a:hover {
  color: var(--footer-accent-hover);
  border-left-color: var(--footer-accent);
  background: rgba(0, 200, 150, 0.06);
  padding-left: 18px;
}

.site-footer__link--sub:hover {
  padding-left: 30px;
}

/* Contact rows */
.site-footer__contacts,
.page-container .site-footer .footer-contacts {
  float: none;
  width: 100%;
  margin: 0;
}

.site-footer__contact-row,
.page-container .site-footer .footer-contacts .fc-row {
  float: none;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--footer-muted);
  position: relative;
}

.site-footer__contact-row:last-child {
  margin-bottom: 0;
}

.site-footer__icon,
.page-container .site-footer .footer-contacts .fc-row .fa {
  position: static;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--footer-accent);
}

.site-footer__contact-row a {
  color: var(--footer-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__contact-row a:hover {
  color: var(--footer-accent-hover);
}

.site-footer__hours .site-footer__contact-row {
  padding-left: 0;
}

/* Bottom bar */
.site-footer__bar {
  background: var(--footer-surface) !important;
  border-top: 1px solid var(--footer-border);
  padding: 0;
}

.site-footer__bar-inner {
  width: var(--footer-inner);
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  float: none;
  color: var(--footer-muted);
}

.site-footer__copyright,
.page-container .site-footer .copyright {
  float: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--footer-muted);
}

.site-footer__social,
.page-container .site-footer .social-links {
  float: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.site-footer__social-link,
.page-container .site-footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: none;
  width: 38px;
  height: 38px;
  margin: 0;
  border-radius: 10px;
  border: 1px solid var(--footer-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--footer-muted);
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.site-footer__social-link:hover,
.page-container .site-footer .social-links a:hover {
  color: var(--footer-accent-hover);
  border-color: rgba(0, 200, 150, 0.4);
  background: rgba(0, 200, 150, 0.12);
  transform: translateY(-2px);
}

.site-footer__social-link .fa {
  line-height: 1;
}

.site-footer__contact-row .contact-phone-line a:hover {
  color: var(--footer-accent-hover);
}

/* Responsive */
@media (max-width: 1199px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px 24px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .site-footer__about {
    max-width: none;
  }
}

@media (max-width: 575px) {
  .site-footer__main {
    padding: 40px 0 32px;
  }

  .site-footer__inner,
  .site-footer__bar-inner {
    width: calc(100% - 40px);
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer__bar-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .site-footer__social {
    width: 100%;
    justify-content: flex-start;
  }
}
