/* Reset básico */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: #f5f5f5;
  color: #333;
}

/* Header */
header {
  width: 100%;
  text-align: center;
  padding: 20px 0;
  background: #111;   /* negro estilo Stop Jeans */
  color: #fff;
}

header h1 {
  margin: 0;
  font-size: 1.8em;
}

/* Formulario centrado */
main {
  display: flex;
  justify-content: center;
  margin: 30px 10px;
}

.form-container {
  max-width: 700px;
  width: 100%;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Labels y campos */
label {
  display: block;
  margin: 15px 0 5px;
  font-weight: bold;
}

input, select, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

/* Botón */
button {
  background: #007BFF;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 15px;
  transition: background 0.3s ease;
}

button:hover {
  background: #0056b3;
}

/* Campos ocultos */
.hidden {
  display: none;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}

.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.site-header .logo {
  height: 40px;
}

.site-header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.site-header nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.site-header nav a:hover {
  color: #007BFF;
}

.logo img {
  height: 30px;  /* antes estaba en 40px */
}

form button {
  display: block;          /* lo hace ocupar toda la línea */
  margin: 20px auto;       /* centra horizontalmente */
  background: #000;        /* fondo negro */
  color: #fff;             /* texto blanco */
  padding: 12px 25px;      /* espacio interno */
  border: none;            /* sin borde */
  border-radius: 5px;      /* bordes redondeados */
  font-size: 16px;         /* tamaño de letra */
  cursor: pointer;         /* manito al pasar */
  transition: background 0.3s ease;
}

form button:hover {
  background: #333;        /* un poco más claro al pasar el mouse */
}

.footer {
  background: #222;
  color: #fff;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin: 15px;
}

.footer-column h3 {
  font-size: 14px;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a,
.footer-column p a {
  color: #fff;
  text-decoration: none;
}

.footer-column ul li a:hover,
.footer-column p a:hover {
  text-decoration: underline;
}

.footer-logo {
  text-align: center;
}

.footer-logo h2 {
  font-size: 22px;
  margin-bottom: 15px;
}

.footer-logo span {
  font-size: 14px;
  font-weight: normal;
}

.social-icons a {
  color: #fff;
  margin: 0 8px;
  font-size: 18px;
  text-decoration: none;
}

.social-icons a:hover {
  color: #bbb;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);   
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;  
  background: #fff;
  padding: 25px 30px;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content h2 {
  color: #2e7d32;
  margin-bottom: 10px;
}

.modal-content p {
  color: #555;
  font-size: 16px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #999;
  font-weight: bold;
}

.close-btn:hover {
  color: #000;
}

@keyframes fadeIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


.btn-upload {
  display: inline-block;
  padding: 10px 20px;
  cursor: pointer;
  background-color: #000000; /* mismo verde que tu modal */
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s ease;
}

.btn-upload:hover {
  background-color: #1b5e20;
}

/* Ocultamos el input original */
#archivos {
  display: none;
}

/* Texto con el nombre de archivo */
#file-name {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #555;
}

/* Loader oculto por defecto */
#loader {
  display: none;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  gap: 10px;
  font-size: 14px;
  color: #333;
}

/* Spinner animado */
.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  animation: spin 1s linear infinite;
}

/* Animación */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --- INICIO FOOTER DUAL --- */
.footer-dual {
    background-color: #000000;
    color: #ffffff;
    font-family: Arial, sans-serif; /* Puedes quitar esto si ya usas otra fuente */
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;
}

.footer-container-dual {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}

/* Columnas principales */
.footer-half {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    gap: 40px;
}

/* Línea divisoria central */
.left-side {
    border-right: 1px solid #555;
}

/* Títulos y textos */
.footer-half h3 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-top: 0;
}

.footer-half p {
    font-size: 13px;
    margin: 8px 0;
    color: #e0e0e0;
    line-height: 1.4;
}

.footer-half a {
    color: #e0e0e0;
    text-decoration: none;
}

.footer-half a:hover {
    text-decoration: underline;
}

/* Imágenes de Logos */
.img-logo {
    max-width: 250px; /* Tamaño más grande para ambos logos */
    height: auto;
    margin-bottom: 27px;
    display: block;
}

/* Imágenes de Logos */
.img-logo-yoyo {
    max-width: 185px; /* Tamaño más grande para ambos logos */
    height: auto;
    margin-bottom: 0px;
    display: block;
}

/* Iconos de Redes Sociales SVG */
.social-icons {
    display: flex;
    gap: 2px; 
    margin-top: 10px;
    justify-content: center; 
}

.social-icons a {
    display: inline-block;
    width: 20px;
    height: 20px;
}

.social-icons svg {
    width: 100%;
    height: 100%;
    fill: #ffffff;
    transition: fill 0.3s;
}

.social-icons a:hover svg {
    fill: #cccccc;
}

.social-icons a:hover svg {
    fill: #cccccc; /* Color gris al pasar el mouse */
}

/* Versión Celular (Responsivo) */
@media (max-width: 900px) {
    .footer-container-dual {
        flex-direction: column;
    }

    .footer-half {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        border-right: none;
        border-bottom: 1px solid #333;
        gap: 20px;
    }

    .right-side {
        border-bottom: none;
        flex-direction: column-reverse; 
    }
    
    .social-icons {
        justify-content: center;
    }
}
/* --- FIN FOOTER DUAL --- */