/* ══════════════════════════════════════════════════
   Apel Footer  —  Modern redesign
   ══════════════════════════════════════════════════ */

.footer {
  background: #0b3436;
  color: rgba(255,255,255,0.72);
  font-size: 0.875rem;
  line-height: 1.65;
  margin-top: 0;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── TOP SECTION: 4-column grid ── */
.footer-top {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr 1.4fr;
  gap: 52px;
  padding: 70px 0 52px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ── Brand column ── */
.footer-logo {
  display: inline-block;
  margin-bottom: 18px;
}
.footer-logo img {
  height: 52px;
  width: auto;
}

.footer-tagline {
  color: rgba(255,255,255,0.50);
  font-size: 0.82rem;
  line-height: 1.75;
  max-width: 290px;
  margin: 0 0 30px;
}

.footer-companies-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 0 0 12px;
}

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

.footer-company-links a {
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-company-links a:hover { color: #8abf42; }

/* ── Link columns ── */
.footer-col h6 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 0 0 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.84rem;
}
.footer-col ul li a:hover { color: #8abf42; }

/* ── Contact column ── */
address {
  font-style: normal;
  color: rgba(255,255,255,0.58);
  margin-bottom: 14px;
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.68);
}
.footer-contact-item i { width: 14px; color: #fff !important; }
.footer-contact-item a {
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-item a:hover { color: #8abf42; }

/* ── Newsletter (inline in contact col) ── */
.footer-newsletter-heading {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.3px !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.35) !important;
  margin: 26px 0 12px !important;
}

.footer-newsletter-form {
  display: flex;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  position: relative;
}

.footer-newsletter-form input[type="email"] {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: none;
  padding: 11px 14px;
  color: #fff;
  font-size: 0.82rem;
  outline: none;
  min-width: 0;
}
.footer-newsletter-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.35);
}

.footer-newsletter-form button {
  background: #107b5f;
  color: #fff;
  border: none;
  padding: 11px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.4px;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.footer-newsletter-form button:hover { background: #0e6a51; }

/* ── BOTTOM BAR ── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 0 32px;
  flex-wrap: wrap;
}

.footer-trustmark img {
  height: 140px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  display: block;
}

.footer-bottom-center {
  flex: 1;
  text-align: center;
  min-width: 240px;
}

/* Social icons */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-social-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.22s;
  border: 1px solid rgba(255,255,255,0.22);
}
.footer-social-icon i { color: #fff !important; }
.footer-social-icon:hover { background: #8abf42; border-color: #8abf42; }

.footer-legal {
  font-size: 0.73rem;
  color: #fff !important;
  line-height: 1.65;
}
.footer-legal p { margin: 3px 0; color: #fff !important; }

/* ── RESPONSIVE ── */
@media (max-width: 1060px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px 48px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-tagline { max-width: 100%; }
}

@media (max-width: 640px) {
  .footer-inner { padding: 0 20px; }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 28px;
    padding: 48px 0 40px;
  }
  .footer-brand { grid-column: 1 / -1; }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 0 28px;
    gap: 20px;
  }

  .footer-bottom-center { order: -1; }
}

@media (max-width: 400px) {
  .footer-top { grid-template-columns: 1fr; }
}
