/* ===== Added sections: service cards, certifications, info panels =====
   Uses the color/font variables defined in styles.css, so light and dark
   mode follow automatically. Load this file after styles.css. */

/* ---------- Section rhythm: alternate backgrounds so sections don't blend ---------- */
.band { background: var(--surface); border-block: 1px solid var(--line); }
.section-intro { color: var(--muted); max-width: 62ch; margin: 0 0 1.75rem; }

/* ---------- Service cards ---------- */
.svc-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.svc-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.svc-art {
  position: relative;
  height: 128px;
  display: grid; place-items: center;
  background-color: var(--board);
  /* faint grid, like a floor plan or rack diagram */
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 16px 16px;
  color: var(--board-ink);
}
.svc-art svg { width: 56px; height: 56px; }
.svc-art::after {               /* status light, echoing the hero board */
  content: ""; position: absolute; top: 14px; right: 14px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(47, 191, 113, 0.18);
}
.svc-body { padding: 1.1rem 1.25rem 1.35rem; }
.svc-body h3 {
  font-family: var(--display); font-weight: 700;
  font-size: 1.2rem; line-height: 1.25; margin: 0 0 0.5rem; color: var(--ink);
}
.svc-body p { margin: 0; color: var(--muted); line-height: 1.55; }

/* ---------- Certifications ---------- */
.cert-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
@media (min-width: 720px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }
.cert {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px;
}
.cert-logo {
  flex: 0 0 auto; width: 72px; height: 72px;
  display: grid; place-items: center;
  background: #FFFFFF;               /* logos are made for white backgrounds */
  border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--display); font-weight: 800; font-size: 1.05rem;
  color: #13262E;
}
.cert-logo img { max-width: 60px; max-height: 60px; object-fit: contain; }
.cert strong { display: block; font-family: var(--display); font-size: 1.1rem; color: var(--ink); }
.cert .org { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Info panels (hours, area, TikTok) ---------- */
.info-grid {
  display: grid; gap: 1.25rem; grid-template-columns: 1fr;
}
@media (min-width: 900px) { .info-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gulf);
  border-radius: 10px;
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex; flex-direction: column;
}
.panel h2 {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.35rem; margin: 0 0 1rem;
}
.panel h2 svg { width: 24px; height: 24px; color: var(--gulf); flex: 0 0 auto; }
.panel p { margin: 0 0 0.75rem; }
.panel .hours { margin: 0; }
.panel .actions { margin-top: auto; padding-top: 0.5rem; }
.panel .btn { width: 100%; box-sizing: border-box; justify-content: center; }

/* ---------- Hero status board: header restyle ---------- */
.board .board-head {
  display: block;
  padding-bottom: 0.9rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.board .board-head h2 {
  font-family: var(--display); font-weight: 800;
  font-size: 1.35rem; line-height: 1.2;
  letter-spacing: 0; text-transform: none;
  color: var(--board-ink);
  margin: 0 0 0.3rem;
}
.board .board-head h2 span { font: inherit; color: inherit; }
.board .board-head .board-sub {
  margin: 0; font-size: 0.95rem; line-height: 1.4;
  color: var(--board-muted);
}
