/* ==========================================================================
   Nu Mech — legal pages (privacy-policy + cookie-policy)
   Shared stylesheet. Generic selectors only. Loaded AFTER style.css.
   ========================================================================== */

/* ---------- Legal page header band ---------- */
.legal-header {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--blue) url("../assets/img/ducting-vert-blue-3-scaled.jpg") center/cover no-repeat;
}
.legal-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 0;
}
.legal-header-content {
  position: relative;
  z-index: 1;
  padding-top: var(--pad-section);
  padding-bottom: 90px;
}
.legal-header h1 {
  font-size: 56px;
  line-height: 1;
  color: var(--white);
}
/* reuse the homepage hero blue contact strip look */
.legal-header .hero-strip { position: absolute; }

/* ---------- Legal body ---------- */
.legal {
  padding-block: 64px 80px;
  background: var(--white);
}
.legal-page {
  max-width: 820px;
  margin-inline: auto;
}
.legal-page h2 {
  font-size: 26px;
  color: var(--ink);
  margin: 36px 0 14px;
}
.legal-page h2:first-child { margin-top: 0; }
.legal-page h3 {
  font-size: 20px;
  color: var(--blue);
  font-weight: 700;
  margin: 28px 0 10px;
}
.legal-page p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 1em;
}
.legal-page ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
  list-style: disc;
}
.legal-page li {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 6px;
}
.legal-page a { color: var(--blue); text-decoration: underline; }
.legal-page a:hover { text-decoration: none; }

/* numbered lists + tables (generic, shared) */
.legal-page ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
  list-style: decimal;
}
.legal-page ol li {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 6px;
}
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5em;
  font-size: 15px;
}
.legal-page th,
.legal-page td {
  border: 1px solid var(--light);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.legal-page th { color: var(--ink); font-weight: 700; }

@media (max-width: 760px) {
  .legal-header h1 { font-size: 40px; }
  .legal-header { min-height: 280px; }
}
