/* Site footer — all pages */

body.legend-theme {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.diler-footer.aurexo-site-footer {
  display: block;
  position: relative;
  z-index: 20;
  clear: both;
  flex-shrink: 0;
  margin-top: auto;
  padding: 48px 0 0 !important;
  background: linear-gradient(180deg, #0a0a0a 0%, #111111 100%) !important;
  color: #d1d5db;
  border-top: 3px solid var(--primary, #d71920);
}

.diler-footer.aurexo-site-footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  pointer-events: none;
}

.diler-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 44px 36px;
  padding: 32px 0 48px;
}

.diler-footer__brand {
  min-width: 0;
}

.diler-footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  text-decoration: none;
}

.diler-footer__logo .logo-img {
  max-height: 44px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
}

.diler-footer__logo.show-text .logo-img.is-hidden {
  display: none;
}

.diler-footer__logo-text {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.diler-footer__logo-text span {
  color: var(--primary, #d71920);
}

.diler-footer__desc {
  margin: 0 0 22px;
  max-width: 320px;
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.65;
}

.diler-footer__label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 8px;
}

.diler-footer__hours p {
  margin: 0;
  color: #f3f4f6;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
}

.diler-footer__col h4,
.diler-footer__contact h4 {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.diler-footer__links {
  display: grid;
  gap: 11px;
}

.diler-footer__links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.2s ease, transform 0.2s ease;
}

.diler-footer__links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.diler-footer__phone {
  display: block;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
  transition: color 0.2s;
}

.diler-footer__phone:hover {
  color: var(--primary, #d71920);
}

.diler-footer__address {
  margin: 0 0 14px;
  max-width: 280px;
}

.diler-footer__address a {
  color: #e5e7eb;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.2s;
}

.diler-footer__address a:hover {
  color: #fff;
}

.diler-footer__email {
  display: inline-block;
  color: #9ca3af;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 18px;
  transition: color 0.2s;
}

.diler-footer__email:hover {
  color: #fff;
}

.diler-footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.diler-footer__cta:hover {
  border-color: var(--primary, #d71920);
  background: rgba(215, 25, 32, 0.12);
  transform: translateY(-1px);
}

.diler-footer__cta i {
  font-size: 11px;
  opacity: 0.85;
}

.diler-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.diler-footer__social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, color 0.2s;
}

.diler-footer__social a:hover {
  border-color: var(--primary, #d71920);
  background: rgba(215, 25, 32, 0.15);
  color: #fff;
  transform: translateY(-2px);
}

.diler-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #6b7280;
  font-size: 13px;
}

.diler-footer__bar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.diler-footer__bar-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.diler-footer__bar-links a:hover {
  color: #fff;
}

@media (max-width: 991px) {
  .diler-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }

  .diler-footer.aurexo-site-footer {
    padding-top: 40px !important;
  }
}

@media (max-width: 640px) {
  .diler-footer__main {
    grid-template-columns: 1fr;
    padding-bottom: 32px;
    gap: 32px;
  }

  .diler-footer.aurexo-site-footer {
    padding-top: 32px !important;
  }

  .diler-footer__desc {
    max-width: none;
  }

  .diler-footer__bar {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 24px;
  }
}
