/* ===================================================================
   Stellar Footer Widget CSS
   Gandharva 4-column footer with brand, quick links, customer service,
   contact info, and responsive legal bar.
   =================================================================== */

/* Footer Section Base */
footer.stellar-footer {
  --cream: #F9F0E1;
  --paper: #FFFAF1;
  --sage: #9FABA0;
  --sage-ink: #5B7262;
  --forest: #1F3328;
  --forest-2: #2B4535;
  --brass: #A7843F;
  --ink: #23302A;
  --muted: #63705F;
  --line: #E3D8C3;
  --plate: #F3E8D3;
  --onforest: #F4EBDA;
  --font-serif: "Marcellus", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  background: #1F3328;
  color: #F4EBDA;
  width: 100%;
  margin-top: 40px;
  padding: 56px 0 110px;
  position: relative;
  box-sizing: border-box;
  font-family: var(--font-sans);
}

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

footer.stellar-footer .wrap {
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.2vw, 64px);
}

/* 4 Columns Grid */
footer.stellar-footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 36px;
}

/* Headings */
footer.stellar-footer h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 19px;
  margin: 0 0 14px;
  color: var(--onforest);
  letter-spacing: .01em;
  line-height: 1.25;
}

/* Lists */
footer.stellar-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer.stellar-footer li {
  padding: 4px 0;
  color: #C9D2C4;
  line-height: 1.5;
  font-size: 15px;
}

footer.stellar-footer a {
  text-decoration: none;
  color: #C9D2C4;
  transition: color 0.15s ease;
}

footer.stellar-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

footer.stellar-footer p {
  color: #C9D2C4;
  font-size: 15px;
  max-width: 38ch;
  line-height: 1.6;
  margin: 0;
}

/* Brand Column */
footer.stellar-footer .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}

footer.stellar-footer .brand svg,
footer.stellar-footer .brand img,
footer.stellar-footer .brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  flex: none;
  object-fit: contain;
  display: inline-block;
}

footer.stellar-footer .brand b {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: .14em;
  color: var(--onforest);
}

/* Legal Bar */
footer.stellar-footer .legal {
  border-top: 1px solid #34503F;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 14px;
  color: #9FB0A0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Responsive */
@media (max-width: 980px) {
  footer.stellar-footer .cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 560px) {
  footer.stellar-footer {
    padding: 40px 0 100px;
  }
  footer.stellar-footer .wrap {
    padding: 0 16px;
  }
  footer.stellar-footer .cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  footer.stellar-footer .brand b {
    font-size: 20px;
  }
  footer.stellar-footer .legal {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
