/* Estilo general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100vw;
}

html, body {
    height: 100%;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(270deg,
    rgb(155, 36, 62),
    rgb(85, 0, 100),
    rgb(0, 57, 166),
    rgb(85, 0, 100),
    rgb(155, 36, 62)
  );
  background-size: 600% 600%;
  animation: gradientAnim 20s ease infinite;
  background-repeat: no-repeat;
  padding-bottom: 60px;
}

/* Animación fondo */
@keyframes gradientAnim {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (max-width: 768px) {
  body {
    animation: none;
    background: linear-gradient(160deg,
      rgb(155, 36, 62),
      rgb(85, 0, 100),
      rgb(0, 57, 166)
    );
    background-size: cover;
    background-position: center;
  }
}

/* Títulos */
.title {
    font-size: 3rem;
    text-align: center;
    margin: 40px 0;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.header img {
width:200px;
height: auto;
max-width: 100%;
display: block;
margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    color: #ffffff;
    margin: 20px auto;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Cuadrícula de logos */
.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.logos-grid img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    background: rgba(255,255,255,0.14);
    padding: 15px;
    border-radius: 15px;
    backdrop-filter: blur(3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logos-grid img:hover {
    transform: scale(1.07);
    box-shadow: 0 6px 12px rgba(0,0,0,0.45);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    color: white;
}

.footer a {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
    font-size: 1.1rem;
}

.regresar-contenedor {
    width: 100%;
    text-align: center;
    margin: 30px 0;
    color: white;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: #ffffff;   /* ← ya tiene blanco */
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid #ccc;
}
