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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  background: #ffffff;
  color: #222;
}

/* ===== Layout ===== */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 12px;
}

.brand {
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  color: #000;
}

.links a {
  margin-left: 12px;
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
}

.links a:hover {
  text-decoration: underline;
}

/* ===== Hero ===== */
.hero {
  margin-top: 24px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.hero p {
  margin-bottom: 14px;
}

/* ===== Botones ===== */
.cta {
  margin: 16px 0;
}

.btn {
  display: inline-block;
  background: #0073e6;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover {
  background: #005bb5;
}

/* ===== Tarjetas ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  background: #fafafa;
}

.card h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card ul {
  padding-left: 18px;
}

.card ul li {
  margin-bottom: 6px;
}

/* ===== Vídeo ===== */
.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 10px;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== Texto auxiliar ===== */
.note,
.muted {
  font-size: 0.9rem;
  color: #555;
}

/* ===== Páginas legales ===== */
.prose h1 {
  margin: 24px 0 12px;
}

.prose h2 {
  margin: 18px 0 8px;
}

.prose p,
.prose ul {
  margin-bottom: 12px;
}

/* ===== Footer ===== */
.footer {
  margin-top: 40px;
  border-top: 1px solid #ddd;
  padding-top: 16px;
  font-size: 0.9rem;
  color: #555;
}

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

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

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .links a {
    margin-left: 0;
    margin-right: 12px;
  }
}
