/* ==========================================================================
   MY WELL — Footer
   ========================================================================== */

.site-footer {
  background: var(--black);
  border-top: 1px solid var(--ink-line);
  padding-top: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0.5;
}

/* ---- Newsletter strip ---- */
.footer-newsletter {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.6rem;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--charcoal-2), var(--charcoal));
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
}

.footer-newsletter h3 {
  font-size: var(--fs-h3);
  margin-bottom: 0.4rem;
}

.footer-newsletter p {
  color: var(--muted);
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 0.7rem;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  color: var(--white);
  transition: border-color var(--dur-fast) var(--ease);
}

.newsletter-form input::placeholder {
  color: var(--muted-dark);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
}

/* ---- Footer columns ---- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: var(--space-lg);
}

.footer-brand img {
  height: 48px;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 320px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--gold);
  transition: background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.footer-social a:hover {
  background: var(--gold-gradient);
  color: var(--black);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease);
}

.footer-col a:hover {
  color: var(--gold);
  padding-left: 6px;
}

/* ---- Footer bottom ---- */
.footer-bottom {
  border-top: 1px solid var(--ink-line);
  padding-block: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: var(--muted-dark);
  font-size: 0.85rem;
}

.footer-bottom .tagline {
  color: var(--gold);
  font-family: var(--font-label);
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  text-transform: uppercase;
}
