/* ============================================================
   ISP Windows & Door — Footer
   ============================================================ */

.site-footer {
  background: var(--navy-950);
  color: var(--color-text-on-dark);
  position: relative;
  overflow: hidden;
}

/* Decorative top border */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

/* Gold glow top decoration */
.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse at top, rgba(212,168,67,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── FOOTER MAIN ── */
.footer-main {
  padding-block: 80px 60px;
  position: relative;
  z-index: 1;
}
.footer-main .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 60px);
  align-items: start;
}

/* ── BRAND COL ── */
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.footer-logo__img {
  display: block;
  max-height: 52px;
  width: auto;
  height: auto;
}
.footer-logo__svg { width: 52px; height: 38px; }
.footer-logo__name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--white);
}
.footer-logo__tagline {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  display: block;
  margin-top: 2px;
}
.footer-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted-dark);
  line-height: 1.8;
  max-width: 320px;
  margin-bottom: var(--space-6);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.footer-contact-item__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(212,168,67,0.1);
  border: 1px solid rgba(212,168,67,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-500);
}
.footer-contact-item__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted-dark);
  display: block;
}
.footer-contact-item__value {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-top: 2px;
  transition: color var(--dur-fast);
}
.footer-contact-item a:hover .footer-contact-item__value { color: var(--gold-400); }

/* ── FOOTER NAV COLS ── */
.footer-col-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(212,168,67,0.2);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li { list-style: none; margin: 0; padding: 0; }
.footer-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted-dark);
  transition: color var(--dur-fast), gap var(--dur-fast);
}
.footer-link::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--steel-600);
  flex-shrink: 0;
  transition: background var(--dur-fast);
}
.footer-link:hover { color: var(--white); gap: var(--space-3); }
.footer-link:hover::before { background: var(--gold-500); }

/* ── NEWSLETTER ── */
.footer-newsletter {}
.footer-newsletter p {
  font-size: var(--text-sm);
  color: var(--color-text-muted-dark);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.newsletter-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  color: var(--white);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  transition: border-color var(--dur-fast), background var(--dur-fast);
  outline: none;
}
.newsletter-input::placeholder { color: var(--color-text-muted-dark); }
.newsletter-input:focus {
  border-color: var(--gold-500);
  background: rgba(255,255,255,0.08);
}
.newsletter-btn {
  padding: 12px 24px;
  background: var(--gradient-accent);
  color: var(--navy-900);
  border: none;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity var(--dur-fast), transform var(--dur-fast);
}
.newsletter-btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── SOCIAL ── */
.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted-dark);
  transition: all var(--dur-base) var(--ease-spring);
}
.social-link:hover {
  background: rgba(212,168,67,0.12);
  border-color: rgba(212,168,67,0.3);
  color: var(--gold-400);
  transform: translateY(-2px);
}

/* ── FOOTER BOTTOM ── */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: var(--space-6);
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  text-align: center;
}
.footer-copyright {
  font-size: var(--text-xs);
  color: var(--color-text-muted-dark);
  margin: 0;
  line-height: 1.6;
}
.footer-copyright span { color: var(--gold-500); }
.footer-legal {
  display: flex;
  gap: var(--space-6);
}
.footer-legal-link {
  font-size: var(--text-xs);
  color: var(--color-text-muted-dark);
  transition: color var(--dur-fast);
}
.footer-legal-link:hover { color: var(--gold-400); }
.footer-badges {
  display: flex;
  gap: var(--space-3);
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-600);
  padding: 4px 10px;
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
a.footer-badge:hover {
  color: var(--gold-400);
  border-color: rgba(212,168,67,0.5);
}
.footer-copyright a {
  color: var(--gold-500);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.footer-copyright a:hover { color: var(--gold-400); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-main .container {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-main .container {
    grid-template-columns: 1fr;
  }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .footer-badges { justify-content: center; }
  .footer-legal { justify-content: center; }
}
