/* Piloto C28 — formato casa: navy #0F1F38, rojo #F23007, celeste #00ABEB. */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: #1a1a1a;
  background: #f4f5f7;
}
#topbar {
  background: #0F1F38;
  color: #fff;
  padding: 14px 16px 10px;
  border-bottom: 4px solid #F23007;
}
.brand { font-size: 26px; font-weight: 800; letter-spacing: 1px; }
.brand span { font-weight: 400; color: #00ABEB; }
.version {
  font-size: 13px;
  color: #cfe6f5;
  margin-top: 2px;
}
.topnav { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.topnav a { color: #fff; text-decoration: underline; }
main { max-width: 760px; margin: 0 auto; padding: 16px; }
.card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
h1 { color: #0F1F38; font-size: 26px; margin: 0 0 12px; }
.muted { color: #555; }
.muestra {
  background: #fff3cd;
  border: 2px solid #F23007;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 700;
  margin-bottom: 14px;
}
.notice {
  background: #e3f4fd;
  border: 2px solid #00ABEB;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 700;
}
.error { color: #b00020; font-weight: 700; }
.ok { color: #0a6b2d; font-weight: 700; }
label { display: block; margin: 12px 0; font-weight: 600; }
input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  font-size: 17px;
  border: 2px solid #0F1F38;
  border-radius: 8px;
}
.btn-primary {
  display: inline-block;
  background: #F23007;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 22px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  margin-top: 8px;
}
.btn-link {
  background: none;
  border: none;
  color: #fff;
  text-decoration: underline;
  font-size: 15px;
  cursor: pointer;
  padding: 0;
}
.card .btn-link { color: #0F1F38; }
.demo-box {
  background: #f4f5f7;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px;
  margin-top: 16px;
}
.demo-box code { background: #e8e8e8; padding: 1px 5px; border-radius: 4px; }
.tiles { display: grid; gap: 12px; margin-top: 14px; }
.tile {
  display: block;
  background: #0F1F38;
  color: #fff;
  border-radius: 12px;
  padding: 18px;
  text-decoration: none;
}
.tile-jay { background: #7a1f16; border: 3px solid #F23007; }
.tile-title { display: block; font-size: 20px; font-weight: 800; }
.tile-sub { display: block; color: #cfe6f5; margin-top: 4px; }
table.board { width: 100%; border-collapse: collapse; margin-top: 12px; }
table.board th, table.board td {
  border: 1px solid #bbb;
  padding: 8px;
  text-align: left;
}
table.board th { background: #0F1F38; color: #fff; }
footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px 24px;
  color: #555;
  font-size: 14px;
  text-align: center;
}

/* Página pública */
.public-hero {
  background: #0F1F38;
  color: #fff;
  border-radius: 12px;
  padding: 32px 20px;
  border-bottom: 6px solid #F23007;
  text-align: center;
}
.public-hero h1 { color: #fff; font-size: 36px; margin: 0 0 8px; }
.public-hero .lema { font-size: 30px; font-weight: 800; color: #00ABEB; margin: 14px 0 0; }
.public-hero .lema-big { font-size: clamp(38px, 12vw, 54px); font-weight: 900; letter-spacing: 1px; line-height: 1.1; }
.public-hero .lema-rest { font-size: clamp(24px, 7vw, 28px); font-weight: 700; }
.public-hero .lema2 { font-size: 22px; color: #cfe6f5; margin: 6px 0 0; }
.photo-placeholder {
  border: 3px dashed #00ABEB;
  border-radius: 12px;
  padding: 28px 16px;
  margin: 18px 0 6px;
  color: #cfe6f5;
  font-weight: 700;
}
.photo-placeholder small { display: block; font-weight: 400; margin-top: 6px; }
.pub-section { margin-top: 28px; }
.pub-section h2 {
  color: #0F1F38;
  font-size: 24px;
  border-bottom: 3px solid #F23007;
  padding-bottom: 6px;
}
details.oficina {
  background: #fff;
  border: 2px solid #0F1F38;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 10px 0;
}
details.oficina summary { font-weight: 800; font-size: 18px; cursor: pointer; color: #0F1F38; }
details.oficina p { margin: 10px 0 0; }
.oficina-soon { color: #7a1f16; font-weight: 700; }
.activity {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  margin: 14px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.activity h3 { color: #0F1F38; margin: 0 0 6px; font-size: 20px; }
.activity .meta { color: #555; font-size: 15px; margin: 0 0 8px; }
.btn-big { display: block; text-align: center; font-size: 20px; padding: 18px; }
.pub-footer {
  text-align: center;
  margin-top: 28px;
  padding: 18px;
  background: #0F1F38;
  color: #fff;
  border-radius: 12px;
}
.pub-footer a { color: #00ABEB; }

.pub-section h2.pub-big { color: #F23007; font-size: 32px; }

.photo-frame img { width: 100%; border-radius: 12px; display: block; }
.photo-frame small { display: block; font-weight: 400; margin-top: 6px; color: #cfe6f5; }

.hero-name { font-size: 46px; font-weight: 900; color: #fff; margin: 14px 0 0; letter-spacing: 1px; line-height: 1.1; }
.btn-secondary { display: inline-block; background: #0F1F38; color: #fff; border-radius: 10px; padding: 12px 20px; font-size: 17px; font-weight: 700; text-decoration: none; margin: 6px 6px 6px 0; }

.btn-small { display: inline-block; background: #0F1F38; color: #fff; border-radius: 8px; padding: 8px 14px; font-size: 15px; font-weight: 700; text-decoration: none; margin-top: 6px; }
