/**
 * Estilos solo para el pie (includes/footer.php).
 * Incluir esta hoja en páginas donde se inserte el footer sin cargar common.css completo.
 * Opcional: cargar también las fuentes del sitio (p. ej. Lora + Cormorant) para la misma tipografía.
 */

:root {
  --font-heading: 'Cormorant', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;
  --color-accent: #d45b00;
  --color-white: #fff;
  --max-width: 1200px;
  --color-bg-dark: #141414;
}

.site-footer,
.site-footer * {
  box-sizing: border-box;
}

.site-footer {
  font-family: var(--font-body);
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
}

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

.site-footer a {
  text-decoration: none;
}

.site-footer h3 {
  margin: 0;
}

.footer-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 1rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-white);
  font-size: .9rem!important;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-links .icon {
  color: var(--color-accent);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.footer-links .icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  padding-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 0;
  margin-bottom: 2rem;
}

.social-icons a {
  color: var(--color-white);
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icons a:hover {
  color: var(--color-accent);
}

.social-icons svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 2rem;
}

.footer-bottom p {
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 960px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 480px) {
  .footer-main {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
  }
}
