/* The 2-page schools pack (schools-pack.html), in the AI Labs style: deep green
   header with a gold stripe, numbered green circles, soft green boxes. Each
   .sp-sheet is one A4 page when printed. */
.sp-body { background: #F3FAF6; }
.sp-main { display: grid; gap: 28px; justify-items: center; padding: 28px 16px 56px; }
.sp-bar { width: min(210mm, 100%); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.sp-bar-title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0; color: #0E4D3E; }
.sp-bar p { margin: 4px 0 0; color: var(--muted); }
.sp-bar-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sp-bar-actions .cta, .sp-bar-actions .btn { min-height: 48px; }
.sp-main :focus-visible { outline: 3px solid #F4C842; outline-offset: 2px; }

.sp-sheet {
  width: min(210mm, 100%); min-height: 297mm; box-sizing: border-box; background: #FFFFFF; color: #12261F;
  border-radius: 24px; box-shadow: 0 18px 50px rgb(14 77 62 / .14); overflow: hidden;
  display: flex; flex-direction: column; font-size: 15px; line-height: 1.45;
}
.sp-head {
  position: relative; display: flex; gap: 18px; align-items: center; padding: 26px 32px 24px;
  background: radial-gradient(circle at 92% 10%, rgb(244 200 66 / .32), transparent 40%),
    radial-gradient(circle at 8% 100%, rgb(45 190 143 / .35), transparent 45%), linear-gradient(135deg, #0E4D3E, #137A5E);
  color: #FFFFFF; border-bottom: 6px solid #F4C842;
}
.sp-head h2 { font-family: var(--font-display); font-size: 30px; line-height: 1.1; margin: 8px 0 6px; color: #FFFFFF; }
.sp-head p { margin: 0; color: #DDF1E9; max-width: 54ch; }
.sp-head-small { padding: 18px 32px; }
.sp-head-small h2 { font-size: 24px; margin-bottom: 0; }
.sp-icon { flex: none; width: 76px; height: 76px; border-radius: 50%; background: #137A5E; border: 3px solid rgb(255 255 255 / .35); display: grid; place-items: center; }
.sp-icon svg { width: 52px; height: 52px; }
.sp-flag { display: inline-block; background: #F4C842; color: #1F1A05; border-radius: 999px; padding: 3px 12px; font-weight: 700; font-size: 12.5px; }

.sp-sec { padding: 16px 32px 0; }
.sp-sec h3 { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 19px; margin: 0 0 10px; color: #0E4D3E; }
.sp-num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #137A5E; color: #FFFFFF; display: grid; place-items: center; font-size: 15px; }
.sp-sec h4 { margin: 0 0 4px; font-size: 15.5px; color: #0E4D3E; }
.sp-sec p { margin: 0; }
.sp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sp-card { background: #F3FAF6; border: 1px solid #CBE9DA; border-radius: 16px; padding: 12px 14px; font-size: 14px; }
.sp-also { margin-top: 10px !important; font-size: 14px; }
.sp-why, .sp-ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 14px; }
.sp-why li, .sp-ticks li { position: relative; padding-left: 26px; }
.sp-why li::before { content: "●"; position: absolute; left: 4px; top: 0; color: #2DBE8F; }
.sp-ticks li::before { content: "✓"; position: absolute; left: 3px; top: 0; color: #137A5E; font-weight: 700; }
.sp-offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sp-offer-grid > div { background: #FDF6DC; border: 2px solid #F4C842; border-radius: 16px; padding: 12px 14px; font-size: 14px; }

.sp-price-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; align-items: start; }
.sp-prices { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.sp-prices th { background: #0E4D3E; color: #FFFFFF; text-align: left; padding: 7px 10px; font-weight: 700; }
.sp-prices th:first-child { border-top-left-radius: 10px; }
.sp-prices th:last-child { border-top-right-radius: 10px; }
.sp-prices td { padding: 6px 10px; border-bottom: 1px solid #CBE9DA; }
.sp-prices tbody tr:nth-child(odd) td { background: #F3FAF6; }
.sp-prices td:not(:first-child), .sp-prices th:not(:first-child) { text-align: right; }
.sp-price-notes { display: grid; gap: 6px; font-size: 13.5px; }
.sp-steps { margin: 0; padding-left: 22px; display: grid; gap: 5px; font-size: 14px; }
.sp-steps li::marker { color: #137A5E; font-weight: 700; }

.sp-contact { margin: 16px 32px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #E1F4EB; border-radius: 16px; padding: 12px 16px; font-size: 14px; }
.sp-contact h4 { margin: 0 0 4px; color: #0E4D3E; font-size: 15.5px; }
.sp-contact p { margin: 0; }
.sp-contact a { color: #0E4D3E; font-weight: 700; }
.sp-qr { flex: none; width: 96px; height: 96px; }
.sp-qr svg { display: block; width: 100%; height: 100%; }

.sp-foot { margin-top: auto; padding: 14px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px;
  font-size: 11.5px; color: #4A6159; border-top: 1px solid #E1F4EB; }
.sp-page { font-weight: 700; color: #0E4D3E; }

@media (max-width: 640px) {
  .sp-sheet { min-height: 0; font-size: 15px; }
  .sp-head { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  .sp-head h2 { font-size: 25px; }
  .sp-icon { width: 60px; height: 60px; }
  .sp-sec { padding: 16px 20px 0; }
  .sp-cards, .sp-offer-grid, .sp-price-wrap { grid-template-columns: minmax(0, 1fr); }
  .sp-contact { margin: 16px 20px 0; }
  .sp-foot { padding: 14px 20px; margin-top: 16px; }
}

@media print {
  @page { size: A4; margin: 0; }
  html, body.sp-body { background: #FFFFFF; }
  .sp-noprint { display: none !important; }
  .sp-main { display: block; padding: 0; }
  .sp-sheet { width: 210mm; height: 297mm; min-height: 0; border-radius: 0; box-shadow: none; break-after: page; }
  .sp-sheet:last-child { break-after: auto; }
  .sp-sheet, .sp-head, .sp-card, .sp-offer-grid > div, .sp-prices th, .sp-prices td, .sp-contact, .sp-num, .sp-flag, .sp-icon {
    -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
