/* Forzamos fondo negro */
body {
  background: #000 !important;
  font-family: Georgia, "Times New Roman", serif;
  margin: 0;
}

/* CONTENEDOR GENERAL */
.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
}

/* CAJA BLANCA */
.white-box {
  background: #fff;
  color: #111;
  max-width: 820px;
  padding: 50px 45px;
  border-radius: 8px;
  line-height: 1.7;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* TITULO PRINCIPAL */
.white-box h1 {
  text-align: center;
  letter-spacing: 4px;
  margin-bottom: 10px;
}

/* SUBTITULO */
.subtitle {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 30px;
}

/* SUBTÍTULOS */
.white-box h2 {
  text-align: center;
  margin-top: 45px;
  margin-bottom: 15px;
  font-size: 1.15rem;
  letter-spacing: 2px;
}

/* TEXTO */
.white-box p {
  font-size: 0.95rem;
  text-align: justify;
  margin-bottom: 15px;
}

/* LISTAS */
.white-box ul {
  margin-left: 20px;
}

.white-box li {
  font-size: 0.95rem;
  text-align: justify;
  margin-bottom: 8px;
}

/* SEPARADORES */
hr {
  margin: 40px 0;
  border-top: 1px solid #ccc;
}

/* BOTÓN REGRESAR */
.back-menu {
  margin-top: 50px;
  text-align: center;
}

.btn-back {
  display: inline-block;
  padding: 12px 30px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: 0.3s ease;
}

.btn-back:hover {
  background: #222;
  color: #fff;
}
/* ===== TARJETA MEDIA SUAVE ===== */
.media-card{
    max-width:340px;
    margin:auto;
    transition:all .35s ease;
}

/* IMAGEN ESTILO PORTAFOLIO */
.media-card img{
    width:100%;
    aspect-ratio: 4 / 3;   /* ← CLAVE */
    object-fit:cover;
    border-radius:18px;
    box-shadow:0 8px 22px rgba(0,0,0,0.25);
    transition:all .4s ease;
}

/* TEXTO */
.media-card h4{
    margin-top:14px;
    font-weight:600;
}

.media-card p{
    color:#777;
}

/* EFECTO HOVER */
.media-card:hover{
    transform:translateY(-6px);
}

.media-card:hover img{
    transform:scale(1.04);
    box-shadow:0 14px 35px rgba(0,0,0,0.35);
}
