/* ====== FRANJA DE SECCIÓN ====== */
.section-banner {
  position: relative;
  background: url("../imagenes/frontis.jpg") no-repeat center center/cover;
  padding: 3rem 1rem;
  border-radius: 12px;
  margin: 2rem auto;
  text-align: center;
  overflow: hidden;
}

/* Degradado superpuesto */
.section-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient( rgba(128,0,0,0.8));
  border-radius: 12px;
}

.section-banner h1 {
  position: relative;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 1;
}

.section-banner h1 i {
  font-size: 1.8rem;
}


/** CONTENIDO **/
/* ====== BOTONES ====== */
.buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.buttons button {
  background: #800000; /* guinda */
  color: #fff;
  border: none;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.buttons button:hover {
  background: #a00000; /* guinda más clara */
  transform: scale(1.05);
}

/* ====== TARJETA DE TABLA ====== */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
  margin-top: 1rem;
  overflow-x: auto;
  animation: fadeIn 0.5s ease-in-out;
}

.card h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #333;
  font-size: 1.3rem;
  font-weight: 700;
}

/* ====== TABLA ====== */
table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.95rem;
}

table th {
  background: #800000; /* guinda */
  color: #fff;
  padding: 0.8rem;
  font-weight: 600;
}

table td {
  padding: 0.7rem;
  border-bottom: 1px solid #ddd;
}

table tr:nth-child(even) {
  background: #f9f9f9;
}

table tr:hover {
  background: #f2f2f2;
}

table tfoot td {
  font-weight: bold;
  background: #f3e6e6; /* guinda muy claro */
  color: #333;
  padding: 0.8rem;
}

/* ====== ANIMACIÓN ====== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
