:root {
  --ink: #142d45;
  --muted: #617887;
  --bg: #f2f7f5;
  --line: #d9e5e0;
  --teal: #137d73;
  --gold: #ffd66d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: radial-gradient(ellipse at 10% 0, #d9efe8, transparent 38%), var(--bg);
  color: var(--ink);
  font:
    15px/1.5 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
}
.shell {
  width: min(1100px, calc(100% - 28px));
  margin: auto;
}
.top {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: #ffffffdd;
}
.top .shell {
  display: flex;
  justify-content: space-between;
}
.brand {
  color: var(--teal);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-decoration: none;
}
.back {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  text-decoration: none;
}
.hero {
  margin: 18px 0;
  padding: clamp(22px, 5vw, 48px);
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(120deg, #153149, #176c71);
  box-shadow: 0 15px 34px #173b4d1c;
}
.kicker {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c8f1df;
}
.hero h1 {
  max-width: 760px;
  margin: 9px 0;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.03;
}
.hero p {
  max-width: 720px;
  margin: 0;
  color: #e0efec;
  font-size: 14px;
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 19px;
}
.pilllink {
  padding: 9px 13px;
  border-radius: 10px;
  background: var(--gold);
  color: #20384a;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}
.pilllink.alt {
  border: 1px solid #ffffff55;
  background: #ffffff12;
  color: white;
}
.section {
  padding: 25px 0 8px;
}
.sectionhead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.sectionhead h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
}
.sectionhead p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 14px;
}
.panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  box-shadow: 0 7px 20px #193d4e0b;
}
.panel h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.panel > p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
}
.formgrid {
  display: grid;
  gap: 9px;
}
.field label {
  display: block;
  margin-bottom: 4px;
  color: #526c78;
  font-size: 10px;
  font-weight: 900;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #d5e1dc;
  border-radius: 9px;
  background: #fbfdfc;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
}
.field textarea {
  min-height: 72px;
  resize: vertical;
}
.btn {
  padding: 10px 13px;
  border: 0;
  border-radius: 10px;
  background: var(--gold);
  color: #23384a;
  font-size: 11px;
  font-weight: 950;
  cursor: pointer;
}
.btn.secondary {
  border: 1px solid var(--line);
  background: #f2f7f4;
  color: #3d5e68;
}
.preview {
  min-height: 210px;
}
.empty {
  display: grid;
  min-height: 180px;
  place-items: center;
  text-align: center;
  color: #81939a;
  font-size: 12px;
}
.slides {
  display: grid;
  gap: 8px;
}
.slide {
  padding: 12px;
  border-left: 4px solid var(--teal);
  border-radius: 9px;
  background: #f4f9f6;
}
.slide small {
  color: var(--teal);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.slide h4 {
  margin: 4px 0;
  font-size: 14px;
}
.slide p {
  margin: 0;
  color: #536b78;
  font-size: 11px;
  white-space: pre-line;
}
.downloadrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.tip {
  margin: 14px 0;
  padding: 13px 15px;
  border: 1px solid #efdaa2;
  border-radius: 13px;
  background: #fff8e6;
  color: #67552c;
  font-size: 11px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}
.resource {
  display: flex;
  flex-direction: column;
  min-height: 175px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}
.icon {
  font-size: 25px;
}
.resource h3 {
  margin: 8px 0 4px;
  font-size: 15px;
}
.resource p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}
.resource a {
  margin-top: auto;
  padding-top: 12px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}
.footer {
  margin: 35px 0 18px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}
.footer a {
  font-weight: 850;
  color: var(--teal);
}
:focus-visible {
  outline: 3px solid #e7b637;
  outline-offset: 2px;
}
@media (max-width: 760px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .sectionhead {
    display: block;
  }
  .sectionhead p {
    margin-top: 6px;
  }
}
@media (max-width: 560px) {
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .shell {
    width: calc(100% - 22px);
  }
}
@media print {
  body {
    background: white;
  }
  .top,
  .hero,
  #estudiantes,
  .formgrid,
  .tip,
  .footer,
  .sectionhead,
  .preview > h3,
  .preview > p,
  .downloadrow {
    display: none !important;
  }
  .section#docentes {
    padding: 0;
  }
  .layout {
    display: block;
  }
  .panel.preview {
    padding: 0;
    border: 0;
    box-shadow: none;
  }
  .slide {
    min-height: 92vh;
    padding: 12mm;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    break-after: page;
    background: white;
  }
  .slide:last-child {
    break-after: auto;
  }
}
.dialog-icon {
  display: none !important;
}
