/* ----- GLOBAL ----- */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #dff2ff;
  color: #000;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #007bff;
}

a:hover {
  text-decoration: none;
}


/* ----- CONTENEDOR GLOBAL ----- */
.contenedor {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}


/* ----- RESPONSIVE HEADER ----- */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

  header h1 {
    font-size: 1rem;
  }

  header nav ul {
    justify-content: center;
    gap: 1rem;
  }

  header nav a {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  header h1 {
    font-size: 1.3rem;
  }
}

/* ----- FORMULARIO ----- */
.form-container {
  max-width: 600px;
  width: 100%;
  margin-top: 1rem !important;
  margin: 2rem auto;
  background-color: #ffffff;
  padding: 1rem;
  padding-top: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.form-container h2 {
  margin-top: 0;
  font-size: 1.5rem;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin-top: 0rem;
  box-sizing: border-box;
}

input, textarea, select {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

button {
  padding: 0.75rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: 100%;
}

button:hover {
  background-color: #0056b3;
}

#preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0.5rem; /* O incluso 0 */
}


/* FOOTER GENERAL */
.footer {
  background-color: #ffffff;
  padding: 2rem 1rem;
  font-size: 0.95rem;
  color: #333;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}

.footer h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #007bff;
  align-items: center;
}

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

.footer ul li {
  margin-bottom: 0.4rem;
}

.footer a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: #0056b3;
}

/* BOTONES DE CUENTA */
.footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-btn {
  display: block;
  padding: 0.6rem 1rem;
  background-color: #ffffff;
  color: white; /* texto siempre blanco */
  border-radius: 2px solid #007bff;
  text-align: center;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 20px;
  width: 50%;
  margin-bottom: 1rem;
}

.footer-btn:hover {
  background-color: #ffffff;
  color: #007bff;
  border: 1px solid #007bff;
}
/* Centrar el título Cuenta */
.footer h3.footer-title {
  text-align: center;
  margin-bottom: 0.75rem;
}
/* COPY BAR FINAL */
.footer-copy-bar {
  background-color: #d6ecff;
  padding: 1rem;
  text-align: center;
  color: #007bff;
  font-size: 0.9rem;
  font-weight: 500;
}
.footer-buttons a.footer-btn {
  background-color: white;      /* fondo blanco */
  color: #007bff;               /* texto azul */
  border: 2px solid #007bff;    /* borde azul */
  border-radius: 12px;          /* bordes redondeados */
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, color 0.3s;
}

/* Opcional: hover con fondo azul y letras blancas */
.footer-buttons a.footer-btn:hover {
  background-color: #007bff;
  color: white;
  text-decoration: none;
}
.footer-buttons button.footer-btn {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.footer-buttons button.footer-btn:hover {
  background-color: #0056b3;
}




/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .logo {
    font-size: 1.5rem;
    white-space: nowrap;
  }

  .ficha-container {
    padding: 1.5rem 1rem;
    width: 100%;
  }

  .ficha-title {
    font-size: 1.3rem;
  }

  .ficha-price {
    font-size: 1.1rem;
  }

  .ficha-description {
    font-size: 0.95rem;
  }

  .thumbs-container img {
    width: 60px;
    height: 60px;
  }

  .footer {
    font-size: 0.85rem;
    padding: 1.5rem 1rem;
  }

  .footer input[type="email"],
  .footer button {
    width: 100%;
  }
}

/* ----- UTILS ----- */
a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

body {
  background-color: #eaf4ff;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 2rem;
}

.form-container {
  background-color: #ffffff;
  max-width: 500px;
  margin: auto;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.form-container h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  color: #000;
}

form input[type="text"],
form input[type="file"],
form input[type="email"],
form textarea,
form select {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border 0.2s;
}

form input:focus,
form textarea:focus,
form select:focus {
  border-color: #007bff;
  outline: none;
}

form button {
  width: 100%;
  padding: 0.9rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background-color: #ffffff;
}

#preview {
  margin-bottom: 0.5rem;
}

.form-container h3 {
  margin-top: 0.2rem;  /* bajalo aún más si es necesario */
}


