/* Reset básico */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Header */
header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 1rem 0;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  height: 100px;
}
.nav-menu a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #1a2b5c;
  font-weight: 600;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #1a2b5c 0%, #2c3e50 100%);
  color: white;
  text-align: center;
  padding: 4rem 0;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Botón CTA */
.btn {
  display: inline-block;
  background: #d4af37;
  color: #1a2b5c;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s;
}
.btn:hover {
  background: #c19b2e;
  transform: translateY(-2px);
}

/* Ejemplos */
.ejemplos {
  padding: 3rem 0;
}
.ejemplos h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #1a2b5c;
}
.tarjetas-audio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.tarjeta {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.tarjeta h3 {
  margin-bottom: 1rem;
  color: #1a2b5c;
}
.tarjeta audio {
  width: 100%;
}

/* Formulario */
.crear {
  background: white;
  padding: 3rem 0;
}
.crear .container {
  max-width: 700px;
}
.crear h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #1a2b5c;
}
.crear input, .crear select, .crear textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.crear button {
  width: 100%;
}

/* Footer */
footer {
  background: #1a2b5c;
  color: white;
  text-align: center;
  padding: 2rem 0;
}
footer a {
  color: #d4af37;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .nav-menu a { margin-left: 1rem; font-size: 0.9rem; }
}
/* Estilo para título + marca en ejemplos */
.titulo-con-marca {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}
.titulo-con-marca span {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a2b5c;
}
.titulo-con-marca .marca-ejemplo {
  font-size: 0.85rem;
  color: #888;
  white-space: nowrap;
  font-weight: 500;
}
audio {
  width: 100%;
  max-width: 100%;
  height: 55px; /* Altura fija para evitar saltos en móviles */
}