/* ================================================
   LA CATALANA DIGITAL — Footer
   ================================================ */

.footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: var(--s16) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s10);
  padding-bottom: var(--s12);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* ── Brand column ───────────────────────────────── */
.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s5);
  text-decoration: none;
}
.footer-logo img  { height: 40px; width: auto; }
.footer-logo span { font-size: 1rem; font-weight: 700; color: var(--white); }

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--s6);
  max-width: 300px;
}

/* Newsletter */
.footer-newsletter-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--s3);
}
.footer-newsletter-form {
  display: flex;
  gap: 0;
}
.footer-newsletter-form input {
  flex: 1;
  padding: .625rem var(--s4);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-right: none;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  color: var(--white);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--t);
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.footer-newsletter-form input:focus { border-color: var(--amber); }
.footer-newsletter-form button {
  padding: .625rem var(--s4);
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t);
  white-space: nowrap;
}
.footer-newsletter-form button:hover { background: var(--red-dark); border-color: var(--red-dark); }

/* ── Link columns ───────────────────────────────── */
.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: var(--s5);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--s3); }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,.6);
  transition: color var(--t);
}
.footer-col a:hover { color: var(--amber); }

/* ── Bottom bar ─────────────────────────────────── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s6) 0;
  flex-wrap: wrap;
  gap: var(--s4);
}
.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.4);
  margin: 0;
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--amber); }

.footer-legal {
  display: flex;
  gap: var(--s5);
  font-size: 0.8125rem;
  color: rgba(255,255,255,.4);
}

/* ── Social icons ───────────────────────────────── */
.social-links {
  display: flex;
  gap: var(--s3);
  margin-top: var(--s5);
}
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 0.875rem;
  transition: all var(--t);
  text-decoration: none;
}
.social-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: white;
  transform: translateY(-2px);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s8);
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
