
/***************************************************
 * Footer - estilo profesional
 ***************************************************/
/* 1) Resetea márgenes/paddings */
html, body {
  margin: 0;
  padding: 0;
}

/* 2) Tu footer: */
.site-footer {
  /* rompe el flujo normal para ocupar TODO el ancho */
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;

  /* mantiene el push-to-bottom en layouts flex */
  margin-top: auto;

  background: #000;
  color: #fff;
  padding-top: 80px;
  padding-bottom: 40px;
}

.site-footer .footer-edge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px; /* Ajusta la altura del borde */
  background: transparent; /* quitado torn-edge.png */
  background-size: cover;  /* puedes borrar esta línea si ya no usas background */
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;       /* Se adaptará en móviles */
  gap: 40px;
  justify-content: space-between;
}
.footer-col {
  flex: 1;
  min-width: 200px;
}
.footer-logo {
  width: 100px;  /* Ajusta a tu preferencia */
  margin-bottom: 10px;
}
.footer-flag {
  width: 24px;
  height: auto;
  margin-top: 10px;
}
.footer-col h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
}
.footer-col p,
.footer-col li,
.footer-col a {
  font-size: 14px;
  line-height: 1.5;
  color: #fff;            /* Asegura texto blanco */
  text-decoration: none;  /* Quita subrayado */
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 5px;
}
.footer-bottom {
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 20px;
}





/* === Footer mobile fixes (quirúrgicos, no tocan desktop) === */
.site-footer{
  width: 100%;
}

.footer-content{
  max-width: 1200px;
  width: 100%;              /* ocupa todo el ancho disponible */
  margin: 0 auto;
  padding: 24px 16px;       /* respiración lateral en móvil */
  display: flex;
  flex-wrap: wrap;          /* permite salto de columnas */
  gap: 24px;
  box-sizing: border-box;   /* evita desbordes por padding */
}

/* Columnas: base flexible */
.footer-col{
  flex: 1 1 300px;          /* se adapta; en móvil ocupará 100% */
  min-width: 0;             /* evita empujes por contenidos largos */
}

/* Logo fluido */
.footer-logo{
  max-width: 160px;
  width: 100%;
  height: auto;
  display: block;
}

/* Banderita fluida */
.footer-flag{
  max-width: 40px;
  width: 100%;
  height: auto;
  display: block;
  margin-top: 12px;
}

/* Edge decorativa sin sangrar ni generar gaps */
.footer-edge{
  width: 100%;
  overflow: hidden;
}

/* Barra inferior consistente */
.footer-bottom{
  text-align: center;
  padding: 12px 16px;
}

/* --- Solo móvil --- */
@media (max-width: 768px){
  .footer-content{
    flex-direction: column;     /* apila columnas */
    align-items: center;        /* centra contenido */
    text-align: center;
    gap: 20px;
  }
  .footer-col{
    flex: 1 1 100%;
    max-width: 600px;           /* ancho cómodo sin ser “tarjeta angosta” */
  }
}
