/*
 * AQUROV shared styles for the static business pages.
 *
 * Used by: Bulk Orders, Light Customization, Engineering Support, Distributor
 * Program, Shipping & Delivery, Warranty & Returns, After-sales Support,
 * Contact, Privacy Policy and Terms of Service.
 *
 * Scoped to .sp-page, so nothing here reaches the homepage or the About page.
 * Same visual language as assets/css/home.css and about.css: same palette,
 * radii, container width and type scale. Photos sit in a fixed-ratio .sp-media
 * wrapper, so a real photo can be dropped in later without moving the layout.
 */

.sp-page {
  --sp-blue: #0F5FB8;
  --sp-blue-dark: #0A4D95;
  --sp-cyan: #1697B8;
  --sp-navy: #0D1B2A;
  --sp-white: #FFFFFF;
  --sp-surface: #EEF3F7;
  --sp-alt: #F5F7FA;
  --sp-border: #DBE3EA;
  --sp-ink: #17212B;
  --sp-body: #40505E;
  --sp-muted: #687684;
  --sp-green: #2F7B4B;
  --sp-amber: #A86A12;
  --sp-radius: 8px;
  --sp-wrap: 1220px;

  background: var(--sp-white);
  color: var(--sp-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sp-page,
.sp-page *,
.sp-page *::before,
.sp-page *::after {
  box-sizing: border-box;
}

.sp-wrap {
  max-width: var(--sp-wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons ---------------------------------------------------------------- */

.sp-btn {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sp-btn-primary { background: var(--sp-blue); color: #fff; }
.sp-btn-primary:hover { background: var(--sp-blue-dark); }

.sp-btn-outline { background: #fff; color: var(--sp-blue); border-color: #B9C8D6; }
.sp-btn-outline:hover { border-color: var(--sp-blue); background: #F7FBFF; }

.sp-btn-darkghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.42); }
.sp-btn-darkghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.sp-btn-block { width: 100%; }

.sp-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Photo slots ------------------------------------------------------------ */

.sp-media {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--sp-radius);
  background: #E4EBF1;
}

.sp-media-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-media-wide { aspect-ratio: 1200 / 420; }
.sp-media-16x9 { aspect-ratio: 16 / 9; }
.sp-media-4x3 { aspect-ratio: 4 / 3; }
.sp-media-square { aspect-ratio: 1 / 1; }
.sp-media-portrait { aspect-ratio: 4 / 5; }

/* Hero ------------------------------------------------------------------- */

.sp-hero {
  background: linear-gradient(158deg, #0D1B2A 0%, #102438 52%, #0E2C42 100%);
  color: #fff;
  padding: 64px 0 72px;
}

.sp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.sp-hero-grid-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 800px;
}

.sp-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6FC3DC;
  margin-bottom: 16px;
}

.sp-hero h1 {
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 18px;
  max-width: 22ch;
}

.sp-hero-lead {
  font-size: 17px;
  line-height: 1.65;
  color: #C3D2DF;
  margin: 0 0 28px;
  max-width: 62ch;
}

.sp-hero-note {
  font-size: 12px;
  line-height: 1.6;
  color: #8FA6B8;
  margin: 18px 0 0;
}

.sp-hero .sp-media {
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.sp-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 20px;
}

.sp-hero-facts strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.sp-hero-facts span {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: #9FB4C6;
  margin-top: 4px;
}

/* Sections --------------------------------------------------------------- */

.sp-section { padding: 68px 0; }
.sp-section-white { background: var(--sp-white); }
.sp-section-alt { background: var(--sp-alt); }
.sp-section-surface { background: var(--sp-surface); }

.sp-section-dark {
  background: var(--sp-navy);
  color: #fff;
}

.sp-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.sp-section-head h2 {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 800;
  margin: 0;
}

.sp-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-blue);
  margin-bottom: 12px;
}

.sp-section-dark .sp-eyebrow,
.sp-section-dark .sp-kicker {
  color: #6FC3DC;
}

.sp-lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--sp-muted);
  margin: 0;
}

.sp-section-dark .sp-lead {
  color: #B9C9D6;
}

.sp-section-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--sp-muted);
  margin: 22px 0 0;
}

/* Grids and cards -------------------------------------------------------- */

.sp-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sp-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sp-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.sp-card {
  background: #fff;
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  padding: 24px 22px 26px;
}

.sp-section-dark .sp-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
}

.sp-card-num {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--sp-blue);
  margin-bottom: 10px;
}

.sp-section-dark .sp-card-num { color: #6FC3DC; }

.sp-card h3 {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 10px;
}

.sp-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--sp-muted);
  margin: 0 0 12px;
}

.sp-card p:last-child { margin-bottom: 0; }

.sp-section-dark .sp-card p { color: #B9C9D6; }

.sp-card-accent { border-top: 3px solid var(--sp-blue); }

/* Numbered steps --------------------------------------------------------- */

.sp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.sp-steps-inline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.sp-step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  background: #fff;
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  padding: 20px 22px;
}

.sp-steps-inline .sp-step { grid-template-columns: minmax(0, 1fr); gap: 8px; }

.sp-step-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--sp-blue);
}

.sp-step-body h3 {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 8px;
}

.sp-step-body p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--sp-muted);
  margin: 0 0 10px;
}

.sp-step-body p:last-child { margin-bottom: 0; }

/* Lists ------------------------------------------------------------------ */

.sp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.sp-list li {
  position: relative;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--sp-body);
  padding-left: 24px;
}

.sp-list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--sp-green);
}

.sp-list-x li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--sp-amber);
}

.sp-list-dot li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--sp-cyan);
}

.sp-section-dark .sp-list li { color: #B9C9D6; }

/* Tables ----------------------------------------------------------------- */

.sp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  background: #fff;
}

.sp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sp-table th,
.sp-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--sp-border);
  vertical-align: top;
  line-height: 1.55;
}

.sp-table th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sp-muted);
  background: var(--sp-alt);
}

.sp-table tr:last-child th,
.sp-table tr:last-child td { border-bottom: 0; }

/* Callouts --------------------------------------------------------------- */

.sp-callout {
  border: 1px solid var(--sp-border);
  border-left: 3px solid var(--sp-blue);
  border-radius: var(--sp-radius);
  background: #fff;
  padding: 20px 22px;
}

.sp-callout-info { background: var(--sp-surface); }

.sp-callout-warn {
  border-left-color: var(--sp-amber);
  background: #FDF7EC;
}

.sp-callout h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
}

.sp-callout p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--sp-body);
  margin: 0 0 10px;
}

.sp-callout p:last-child { margin-bottom: 0; }

/* FAQ -------------------------------------------------------------------- */

.sp-faq {
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  background: #fff;
  padding: 0 22px;
}

.sp-faq details {
  border-bottom: 1px solid var(--sp-border);
}

.sp-faq details:last-child { border-bottom: 0; }

.sp-faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--sp-ink);
}

.sp-faq details[open] summary { color: var(--sp-blue); }

.sp-faq .sp-faq-body {
  padding: 0 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--sp-body);
}

.sp-faq .sp-faq-body p { margin: 0 0 10px; }
.sp-faq .sp-faq-body p:last-child { margin-bottom: 0; }

/* Two-column layout with a sticky side panel ----------------------------- */

.sp-split {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.sp-split-main { min-width: 0; }

.sp-side {
  background: #fff;
  border: 1px solid var(--sp-border);
  border-left: 3px solid var(--sp-blue);
  border-radius: var(--sp-radius);
  padding: 24px 24px 26px;
}

.sp-side h2,
.sp-side h3 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 12px;
}

.sp-side p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--sp-muted);
  margin: 0 0 16px;
}

.sp-side .sp-btns { flex-direction: column; align-items: stretch; }

.sp-side-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.sp-side-list li {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--sp-body);
  padding-left: 18px;
  position: relative;
}

.sp-side-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sp-cyan);
}

/* Definition rows and pills --------------------------------------------- */

.sp-meta {
  margin: 0;
  display: grid;
  gap: 0;
}

.sp-meta-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--sp-border);
  font-size: 14px;
  line-height: 1.6;
}

.sp-meta-row:last-child { border-bottom: 0; }

.sp-meta dt {
  color: var(--sp-muted);
  margin: 0;
}

.sp-meta dd {
  margin: 0;
  font-weight: 600;
}

.sp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-pill {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--sp-border);
  background: var(--sp-alt);
  color: var(--sp-body);
}

/* Inline link rows ------------------------------------------------------- */

.sp-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.sp-links li {
  border-bottom: 1px solid var(--sp-border);
  padding-bottom: 12px;
}

.sp-links li:last-child { border-bottom: 0; padding-bottom: 0; }

.sp-links a {
  font-size: 15px;
  font-weight: 700;
  color: var(--sp-blue);
  text-decoration: none;
}

.sp-links a:hover { text-decoration: underline; }

.sp-links span {
  display: block;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--sp-muted);
  margin-top: 3px;
}

/* Inline text link that keeps the brand colour inside body copy ----------- */

.sp-inline-link {
  color: var(--sp-blue);
  font-weight: 700;
  text-decoration: none;
}

.sp-inline-link:hover,
.sp-inline-link:focus-visible { text-decoration: underline; }

/* Closing call to action ------------------------------------------------- */

.sp-cta {
  background: var(--sp-navy);
  color: #fff;
  padding: 56px 0;
}

.sp-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.sp-cta h2 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.sp-cta p {
  font-size: 15px;
  line-height: 1.7;
  color: #B9C9D6;
  margin: 0;
}

.sp-cta .sp-btns { justify-content: flex-start; }

/* Long-form text (policy pages render the editor content through this) ---- */

.sp-prose {
  font-size: 15px;
  line-height: 1.75;
  color: var(--sp-body);
}

.sp-prose > *:first-child { margin-top: 0; }

.sp-prose h2 {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--sp-ink);
  margin: 40px 0 14px;
  scroll-margin-top: 96px;
}

.sp-prose h3 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--sp-ink);
  margin: 28px 0 10px;
  scroll-margin-top: 96px;
}

.sp-prose h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--sp-ink);
  margin: 22px 0 8px;
}

.sp-prose p { margin: 0 0 14px; }

.sp-prose ul,
.sp-prose ol { margin: 0 0 16px; padding-left: 22px; }

.sp-prose li { margin: 6px 0; }

.sp-prose a { color: var(--sp-blue); }

.sp-prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; }

.sp-prose th,
.sp-prose td {
  border: 1px solid var(--sp-border);
  padding: 10px 12px;
  text-align: left;
  font-size: 14px;
}

.sp-prose blockquote {
  margin: 0 0 18px;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--sp-border);
  color: var(--sp-muted);
}

/* On-page contents ------------------------------------------------------- */

.sp-toc {
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  background: var(--sp-alt);
  padding: 20px 22px;
}

.sp-toc h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sp-muted);
  margin: 0 0 12px;
}

.sp-toc ol,
.sp-toc ul {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 28px;
  font-size: 14px;
  line-height: 1.7;
}

.sp-toc a { color: var(--sp-blue); text-decoration: none; }
.sp-toc a:hover { text-decoration: underline; }

.sp-toc li { margin: 4px 0; break-inside: avoid; }

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1000px) {
  .sp-hero { padding: 52px 0 60px; }
  .sp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .sp-hero h1 { font-size: 34px; max-width: none; }
  .sp-section { padding: 52px 0; }
  .sp-section-head { grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
  .sp-section-head h2 { font-size: 26px; }
  .sp-grid-3,
  .sp-grid-4,
  .sp-steps-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sp-cta-inner { grid-template-columns: minmax(0, 1fr); }
  .sp-toc ol,
  .sp-toc ul { columns: 1; }
}

@media (max-width: 680px) {
  .sp-wrap { padding: 0 16px; }
  .sp-hero { padding: 40px 0 48px; }
  .sp-hero h1 { font-size: 28px; }
  .sp-hero-lead { font-size: 16px; }
  .sp-hero-facts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sp-section { padding: 40px 0; }
  .sp-section-head h2 { font-size: 23px; }
  .sp-grid-2,
  .sp-grid-3,
  .sp-grid-4,
  .sp-steps-inline { grid-template-columns: minmax(0, 1fr); }
  .sp-card { padding: 20px 18px 22px; }
  .sp-step { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px 18px; }
  .sp-btns { flex-direction: column; align-items: stretch; }
  .sp-btn { width: 100%; }
  .sp-meta-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .sp-prose h2 { font-size: 21px; }
  .sp-cta { padding: 44px 0; }
  .sp-cta h2 { font-size: 23px; }
}
