/* ═══════════════════════════════════════════════════════════════
   KENVERA — Footer Styles
   Premium Dark Enterprise Footer
   ═══════════════════════════════════════════════════════════════ */

.footer {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.footer-top {
  padding: 80px 0 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
}

/* Brand styling */
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.footer-logo-img {
  max-width: 160px;
  height: 52px;
  display: flex;
  align-items: center;
}

.footer-logo-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: var(--weight-black);
  font-size: 1.4rem;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-md);
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-black);
  color: var(--white);
  letter-spacing: 2px;
  line-height: 1.1;
}

.footer-brand-sub {
  font-size: 9px;
  color: var(--white);
  opacity: 0.9;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: var(--weight-extrabold);
  margin-top: 2px;
}

.footer-about {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.92);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  max-width: 320px;
}

/* Social links */
.social-links {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--text-sm);
  transition: var(--tr);
}

.social-link:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.35);
}

/* Column titles */
.footer-col-tit {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--weight-extrabold);
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  position: relative;
}

.footer-col-tit::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* Footer menu links */
.footer-grid nav {
  display: flex;
  flex-direction: column;
}

.footer-grid nav a {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-sm);
  margin-bottom: 12px;
  text-decoration: none;
  transition: var(--tr);
  width: fit-content;
}

.footer-grid nav a:hover {
  color: var(--white);
  font-weight: 700;
  padding-left: 6px;
  text-decoration: underline;
}

/* Contact item info */
.fci {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.fci i {
  color: var(--white);
  font-size: var(--text-sm);
  margin-top: 3px;
  flex-shrink: 0;
}

.fci span {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.92);
  line-height: var(--leading-normal);
}

.fci a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.fci a:hover {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
}

/* Newsletter block */
.fnl-wrap {
  display: flex;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: var(--space-3);
  padding: 3px;
}

.fnl-inp {
  flex: 1;
  padding: 10px var(--space-4);
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: var(--text-sm);
}

.fnl-inp::placeholder {
  color: rgba(255, 255, 255, 0.85);
}

.fnl-btn {
  padding: 8px 20px;
  background: var(--white);
  color: var(--orange-dark);
  border: none;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 900;
  cursor: pointer;
  transition: var(--tr);
}

.fnl-btn:hover {
  background: var(--orange-50);
  color: var(--orange-dark);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

/* Bottom footer bar */
.footer-bot {
  background: var(--orange-dark);
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-bot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bot-txt {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.9);
}

.footer-bot-links {
  display: flex;
  gap: var(--space-5);
}

.footer-bot-links a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: var(--tr);
}

.footer-bot-links a:hover {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
}

.footer-certs {
  display: flex;
  gap: var(--space-2);
}

.footer-cert-badge {
  font-size: 9px;
  font-weight: var(--weight-bold);
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* Responsive constraints */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .footer-bot-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
