/*
 Theme Name:   Orbital Child
 Theme URI:    https://alonsistas.es
 Description:  Tema hijo genérico basado en Hostinger Affiliate Theme (Orbital)
 Author:       Alejandro García
 Template:     hostinger-affiliate-theme
 Version:      1.0
*/

/* ====== CSS ALEJANDRO GARCIA  ====== */




/* FOOTER ALONSISTAS */

:root {
  --alon-granate: #a0152b;
  --alon-text: #1e1e1e;
  --alon-blanco: #ffffff;
}

.site-footer {
  background: var(--alon-blanco);
  color: var(--alon-text);
  padding: 60px 20px 30px;
  border-top: 2px solid var(--alon-granate); /* línea superior roja */
}

.footer-logo {
  text-align: center;
  margin-bottom: 40px;
}

.footer-logo img {
  width: 200px;
  height: auto;
  max-width: 100%;
  object-fit: contain; /* sin deformaciones */
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);   /* 4 columnas en desktop */
  gap: 40px; /* solo afecta en escritorio */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
  text-transform: uppercase;
  color: var(--alon-text);
  font-weight: 700 !important;
}

.footer-section a {
  display: block;
  margin-bottom: 6px;
  line-height: 1.6;
  color: var(--alon-text);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-section a:hover {
  color: var(--alon-granate);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #444;
  border-top: 1px solid rgba(0,0,0,.1);
  margin-top: 40px;
  padding-top: 20px;
}

/* Tablet: 2 columnas */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px; /* reducido para menos separación */
  }
}

/* Mobile: 1 columna */
@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0px !important; /* 🔧 antes 40px, ahora compacto */
  }
}

/* Reset tipográfico fuerte SOLO en el footer */
.site-footer,
.site-footer *:not(svg):not(path):not(i):not(use) {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif !important;
  font-style: normal !important;
  font-stretch: normal !important;
  font-variant: normal !important;
  font-variant-ligatures: none !important;
  font-feature-settings: "liga" 0, "clig" 0, "calt" 0 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}






/* Espacio en los titulos para las secciones*/
h2 {
  margin-top: 50px !important;  /* espacio superior más amplio */
  margin-bottom: 25px !important; /* espacio inferior más corto */
}

@media (max-width: 768px) {
  h2 {
    margin-top: 35px !important;
    margin-bottom: 20px !important;
  }
}



