/* ============================================================
   EZYTEK CLEAN — GLOBAL SITE FOOTER
   Self-contained styles with fallback variables
   ============================================================ */

:root {
  --navy: #102A43;
  --blue: #1565C0;
  --accent: #2196F3;
  --white: #FFFFFF;
  --footer-bg: #102A43;
  --footer-transition: .3s cubic-bezier(.4,0,.2,1);
}

.site-footer {
  background-color: #102A43 !important;
  background: var(--navy, #102A43) !important;
  color: rgba(255, 255, 255, 0.75) !important;
  padding: 72px 0 0 !important;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.site-footer .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo-mark {
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-logo:hover .footer-logo-mark {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.footer-logo-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-logo-tagline {
  font-size: .66rem;
  font-weight: 600;
  color: var(--accent, #2196F3);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-about {
  font-size: .87rem;
  line-height: 1.65;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--blue, #1565C0);
  color: #FFFFFF;
  transform: translateY(-3px);
}

.footer-heading {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: .87rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-links a::before {
  content: '›';
  color: var(--accent, #2196F3);
  font-size: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: .87rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-contact-link:hover {
  color: #FFFFFF;
}

.contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, #2196F3);
  flex-shrink: 0;
  margin-top: 1px;
}

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

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

.footer-copy {
  font-size: .82rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: .82rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 48px 0 0 !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
