/* ====== Base ====== */
:root{
  /* Colores inspirados en la línea visual (azul + verde) */
  --blue: #0a87c9;
  --blue-2: #0b6fa8;
  --green: #74b82a;

  --ink: #0e2233;
  --muted: #4a5b67;

  --bg: #f6fbff;
  --card: rgba(255,255,255,.92);
  --stroke: rgba(10,135,201,.18);

  --radius: 18px;
  --shadow: 0 10px 28px rgba(8, 40, 68, .10);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 20% -10%, rgba(10,135,201,.14), transparent 55%),
    radial-gradient(900px 500px at 110% 20%, rgba(116,184,42,.14), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 70%, #ffffff 100%);
}

/* ====== Layout ====== */
.page{
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 14px 28px;
}

.topbar{
  margin-top: 8px;
  padding: 18px 16px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(10,135,201,.10), rgba(116,184,42,.10));
  border: 1px solid rgba(10,135,201,.20);
  box-shadow: 0 10px 20px rgba(8, 40, 68, .06);
}

.brand{
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand-dot{
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 0 0 6px rgba(10,135,201,.12);
}

.kicker{
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.2;
}

.title{
  margin: 4px 0 0;
  font-size: 1.35rem;
  letter-spacing: .2px;
}

.hint{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .95rem;
}

/* ====== Cards ====== */
.content{
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.card{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-title{
  margin: 0;
  padding: 16px 16px 4px;
  font-size: 1.08rem;
}

.card-subtitle{
  margin: 0;
  padding: 0 16px 14px;
  color: var(--muted);
  font-size: .95rem;
}

/* Imagenes: centradas, responsivas, con borde elegante */
.media{
  margin: 0;
  padding: 0 12px 14px;
}

.media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(14, 34, 51, .10);
  background: #fff;
  box-shadow: 0 10px 22px rgba(8, 40, 68, .08);
}

/* ====== Descarga ====== */
.download{
  padding-bottom: 8px;
}

.download-head{
  padding-top: 2px;
}

.download-actions{
  padding: 0 16px 12px;
  display: grid;
  gap: 10px;
}

.btn{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(10,135,201,.30);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  box-shadow: 0 10px 18px rgba(10,135,201,.18);
  transition: transform .08s ease, box-shadow .08s ease, filter .12s ease;
}

.btn:active{
  transform: translateY(1px);
  filter: brightness(.98);
}

.btn-ghost{
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(14,34,51,.16);
  box-shadow: none;
}

.download-note{
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.35;
}

/* ====== Footer ====== */
.footer{
  padding: 6px 6px 0;
  text-align: center;
}

.footer-text{
  margin: 10px 0 0;
  color: rgba(74, 91, 103, .95);
  font-size: .88rem;
}

/* ====== Responsive tweaks (mobile-first) ====== */
@media (min-width: 720px){
  .page{ padding: 22px 18px 34px; }
  .title{ font-size: 1.55rem; }
  .download-actions{
    grid-template-columns: 1fr 1fr;
  }
}
