/* Agenda Docente — páginas de soporte y privacidad.
   Colores de la paleta de la Fundación (Pizarra, Lino, Granate). */
:root {
  --bg: #f6f3ec;
  --card: #ffffff;
  --text: #22272e;
  --muted: #5d6673;
  --accent: #667589;
  --accent-strong: #4f5d70;
  --accent-soft: #e3e7ec;
  --line: #e4ded1;
  --warm: #7f2720;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15181c;
    --card: #1e2328;
    --text: #eceff2;
    --muted: #a3acb7;
    --accent: #9fb0c6;
    --accent-strong: #c3d0e0;
    --accent-soft: #2a313a;
    --line: #2e353e;
    --warm: #e08b84;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent-strong); }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.site { border-bottom: 1px solid var(--line); background: var(--card); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-size: 15px; }
nav a[aria-current="page"], nav a:hover { color: var(--text); }

.hero { display: flex; gap: 22px; align-items: center; padding: 44px 0 24px; }
.hero img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 6px 20px rgba(0,0,0,.12); flex-shrink: 0; }
h1 { font-size: 32px; line-height: 1.15; margin: 0 0 6px; letter-spacing: -0.01em; }
.lead { color: var(--muted); margin: 0; font-size: 18px; }
h2 { font-size: 22px; margin: 40px 0 12px; }
h3 { font-size: 18px; margin: 24px 0 6px; }
p, li { color: var(--text); }
.muted { color: var(--muted); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0; list-style: none; margin: 0; }
.features li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.features strong { display: block; margin-bottom: 2px; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style-position: outside; }
details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 8px; }
details p { margin: 8px 0 14px; }

.contact { background: var(--accent-soft); border-radius: 16px; padding: 20px 22px; margin-top: 12px; }
.btn { display: inline-block; margin-top: 10px; padding: 10px 18px; border-radius: 999px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; }
@media (prefers-color-scheme: dark) { .btn { color: #15181c; } }

footer { margin: 56px 0 32px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); padding-top: 18px; }
footer .heart { color: var(--warm); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .features { grid-template-columns: 1fr; }
  .hero { flex-direction: column; align-items: flex-start; padding-top: 28px; }
  h1 { font-size: 27px; }
  nav a { margin-left: 12px; }
}
