/* ==========================================================================
   Standart Petroleum – shared responsive stylesheet
   Header / footer classes are prefixed .sp- (safe to use on legacy pages).
   Page content styles are scoped to body.sp.
   ========================================================================== */

:root {
  --sp-navy: #0b1f44;
  --sp-navy-2: #12306b;
  --sp-blue: #1f56c4;
  --sp-blue-d: #153f96;
  --sp-sky: #eaf1fc;
  --sp-amber: #f5a800;
  --sp-ink: #17233b;
  --sp-muted: #54627a;
  --sp-line: #dde5f2;
  --sp-bg-alt: #f5f8fd;
  --sp-radius: 14px;
  --sp-shadow: 0 6px 24px rgba(11, 31, 68, .08);
  --sp-header-h: 76px;
  --sp-font: Roboto, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- base (new pages) ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.sp {
  margin: 0;
  font-family: var(--sp-font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--sp-ink);
  background: #fff;
  overflow-x: hidden;
}
body.sp *, body.sp *::before, body.sp *::after { box-sizing: border-box; }
body.sp img { max-width: 100%; height: auto; display: block; }
body.sp h1, body.sp h2, body.sp h3, body.sp h4 {
  font-family: var(--sp-font);
  color: var(--sp-navy);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
}
body.sp p { margin: 0 0 1.1em; }
body.sp a { color: var(--sp-blue); }
body.sp a:hover { color: var(--sp-blue-d); }
body.sp ul, body.sp ol { margin: 0; padding: 0; }

.sp-skip {
  position: absolute; left: -999px; top: 8px; z-index: 2000;
  background: var(--sp-navy); color: #fff !important; padding: 10px 16px; border-radius: 8px;
}
.sp-skip:focus { left: 8px; }

.sp-wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* ---------- header ---------- */
.sp-header, .sp-header * , .sp-footer, .sp-footer * { box-sizing: border-box; }
.sp-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--sp-line);
  box-shadow: 0 2px 14px rgba(11, 31, 68, .06);
  font-family: var(--sp-font);
}
.sp-header .sp-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--sp-header-h); }
.sp-logo { display: block; flex: 0 0 auto; line-height: 0; }
.sp-header .sp-logo img { height: 54px; width: auto; max-width: none; display: block; }

.sp-burger {
  display: none; width: 46px; height: 46px; padding: 0; margin: 0;
  background: #fff; border: 1px solid var(--sp-line); border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.sp-burger span { display: block; width: 22px; height: 2px; background: var(--sp-navy); transition: transform .25s, opacity .25s; }
.sp-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sp-burger.open span:nth-child(2) { opacity: 0; }
.sp-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sp-header .sp-nav { display: block; }
.sp-header .sp-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.sp-header .sp-nav li { list-style: none; margin: 0; padding: 0; position: relative; }
.sp-header .sp-nav a, .sp-header .sp-nav .sp-sub-btn {
  display: block; font: 500 15px/1.2 var(--sp-font); color: var(--sp-navy);
  text-decoration: none; padding: 12px 14px; border-radius: 8px; background: none; border: 0; cursor: pointer;
  white-space: nowrap;
}
.sp-header .sp-nav a:hover, .sp-header .sp-nav .sp-sub-btn:hover, .sp-header .sp-nav li.active > a, .sp-header .sp-nav li.active > .sp-sub-btn,
.sp-header .sp-nav .has-sub:hover > a, .sp-header .sp-nav .has-sub:hover > .sp-sub-btn { background: var(--sp-sky); color: var(--sp-blue-d); }
.sp-header .sp-nav a:focus-visible, .sp-header .sp-nav button:focus-visible, .sp-burger:focus-visible { outline: 3px solid var(--sp-amber); outline-offset: 2px; }

.sp-header .sp-nav .has-sub > .sp-row { display: flex; align-items: center; }
.sp-header .sp-nav .sp-sub-toggle {
  width: 28px; height: 36px; margin-left: -8px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--sp-navy); font-size: 15px; line-height: 1;
}
.sp-header .sp-nav .sp-sub-toggle i, .sp-header .sp-nav .sp-sub-btn i { transition: transform .2s; }
.sp-header .sp-nav .has-sub.open .sp-sub-toggle i, .sp-header .sp-nav .has-sub.open .sp-sub-btn i { transform: rotate(180deg); }

.sp-header .sp-sub {
  display: none; position: absolute; left: 0; top: 100%; min-width: 270px;
  background: #fff; border: 1px solid var(--sp-line); border-radius: 12px; box-shadow: var(--sp-shadow);
  padding: 8px; margin: 0; list-style: none;
}
.sp-header .sp-sub a { padding: 10px 14px; white-space: normal; font-weight: 400; }
.sp-header .sp-sub a[aria-current="page"] { background: var(--sp-sky); font-weight: 500; }
.sp-header .sp-nav .has-sub:hover > .sp-sub, .sp-header .sp-nav .has-sub:focus-within > .sp-sub, .sp-header .sp-nav .has-sub.open > .sp-sub { display: block; }

@media (max-width: 1060px) {
  :root { --sp-header-h: 68px; }
  .sp-header .sp-logo img { height: 46px; }
  .sp-burger { display: inline-flex; }
  .sp-header .sp-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--sp-line); box-shadow: 0 16px 24px rgba(11, 31, 68, .12);
    max-height: calc(100vh - var(--sp-header-h)); max-height: calc(100dvh - var(--sp-header-h)); overflow-y: auto;
    padding: 8px clamp(16px, 4vw, 32px) 18px;
  }
  .sp-header .sp-nav.open { display: block; }
  .sp-header .sp-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .sp-header .sp-nav li { border-bottom: 1px solid var(--sp-line); }
  .sp-header .sp-nav li:last-child { border-bottom: 0; }
  .sp-header .sp-nav a, .sp-header .sp-nav .sp-sub-btn { padding: 14px 6px; width: 100%; text-align: left; font-size: 16px; border-radius: 0; }
  .sp-header .sp-nav .has-sub > .sp-row { justify-content: space-between; }
  .sp-header .sp-nav .has-sub > .sp-row > a, .sp-header .sp-nav .has-sub > .sp-row > .sp-sub-btn { flex: 1; }
  .sp-header .sp-nav .sp-sub-toggle { width: 48px; height: 48px; margin: 0; }
  .sp-header .sp-sub { position: static; border: 0; box-shadow: none; padding: 0 0 8px 14px; min-width: 0; background: transparent; }
  .sp-header .sp-nav .has-sub:hover > .sp-sub, .sp-header .sp-nav .has-sub:focus-within > .sp-sub { display: none; }
  .sp-header .sp-nav .has-sub.open > .sp-sub { display: block; }
  .sp-header .sp-sub a { padding: 11px 8px; }
}

/* ---------- buttons ---------- */
.sp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 16px/1.2 var(--sp-font); text-decoration: none; cursor: pointer;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
body.sp .sp-btn-primary { background: var(--sp-amber); color: #1b1400; }
body.sp .sp-btn-primary:hover { background: #ffbc2b; color: #1b1400; transform: translateY(-1px); }
body.sp .sp-btn-blue { background: var(--sp-blue); color: #fff; }
body.sp .sp-btn-blue:hover { background: var(--sp-blue-d); color: #fff; }
body.sp .sp-btn-ghost { border-color: rgba(255, 255, 255, .8); color: #fff; }
body.sp .sp-btn-ghost:hover { background: #fff; color: var(--sp-navy); }
body.sp .sp-btn-outline { border-color: var(--sp-blue); color: var(--sp-blue); }
body.sp .sp-btn-outline:hover { background: var(--sp-blue); color: #fff; }
.sp-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- home slider ---------- */
.sp-slider { position: relative; background: var(--sp-navy); color: #fff; overflow: hidden; }
.sp-slides { position: relative; height: clamp(460px, 78vh, 700px); }
.sp-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.sp-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.sp-slider .sp-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 20, 48, .88) 0%, rgba(7, 20, 48, .55) 55%, rgba(7, 20, 48, .25) 100%); }
.sp-slide .sp-wrap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 40px; }
.sp-slide .sp-kicker { color: var(--sp-amber); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; margin-bottom: 14px; }
body.sp .sp-slide h1, body.sp .sp-slide h2 { color: #fff; font-size: clamp(32px, 5.4vw, 60px); max-width: 17ch; margin-bottom: 18px; }
.sp-slide p.sp-sub-text { font-size: clamp(17px, 2vw, 21px); max-width: 52ch; color: #dbe6fb; margin-bottom: 26px; }
.sp-dots { position: absolute; z-index: 5; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 10px; }
.sp-dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; }
.sp-dots button[aria-current="true"] { background: var(--sp-amber); border-color: var(--sp-amber); }
.sp-dots button:focus-visible { outline: 3px solid var(--sp-amber); outline-offset: 3px; }

/* ---------- page hero ---------- */
.sp-hero {
  position: relative; color: #fff; background: var(--sp-navy) var(--hero) center / cover no-repeat;
  padding: clamp(56px, 11vw, 120px) 0 clamp(44px, 8vw, 84px);
}
.sp-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 20, 48, .72), rgba(7, 20, 48, .82)); }
.sp-hero.sp-hero-plain { background: linear-gradient(135deg, var(--sp-navy), var(--sp-navy-2)); padding: clamp(44px, 8vw, 84px) 0 clamp(36px, 6vw, 64px); }
.sp-hero.sp-hero-plain::before { display: none; }
.sp-hero .sp-wrap { position: relative; z-index: 1; }
body.sp .sp-hero h1 { color: #fff; font-size: clamp(32px, 5.2vw, 56px); margin-bottom: 14px; max-width: 20ch; }
.sp-hero p.sp-hero-sub { font-size: clamp(17px, 2vw, 21px); color: #dbe6fb; max-width: 60ch; margin: 0; }
.sp-crumbs { font-size: 14px; color: #c7d6f3; margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
body.sp .sp-crumbs a { color: #fff; text-decoration: none; }
body.sp .sp-crumbs a:hover { text-decoration: underline; color: #fff; }
.sp-crumbs span[aria-hidden] { opacity: .6; }
@media (max-width: 700px) { .sp-hero { background-image: var(--hero-sm, var(--hero)); } }

/* ---------- sections ---------- */
.sp-sec { padding: clamp(48px, 7vw, 92px) 0; }
.sp-sec.alt { background: var(--sp-bg-alt); }
.sp-sec.dark { background: linear-gradient(135deg, var(--sp-navy), var(--sp-navy-2)); color: #e4ecfb; }
body.sp .sp-sec.dark h2, body.sp .sp-sec.dark h3 { color: #fff; }
.sp-eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sp-blue); margin-bottom: 10px; }
.sp-sec.dark .sp-eyebrow { color: var(--sp-amber); }
body.sp .sp-sec h2 { font-size: clamp(26px, 3.6vw, 40px); }
.sp-head { max-width: 760px; margin-bottom: clamp(26px, 4vw, 44px); }
.sp-head.center { margin-inline: auto; text-align: center; }
.sp-lead { font-size: clamp(17px, 1.8vw, 20px); color: var(--sp-muted); }
.sp-sec.dark .sp-lead { color: #c9d8f5; }
.sp-sec.dark .sp-checks li, .sp-sec.dark .sp-prose p { color: #e4ecfb; }
.sp-sec.dark .sp-checks li::before { background: rgba(255, 255, 255, .14); color: var(--sp-amber); }
body.sp .sp-sec.dark a:not(.sp-btn) { color: #fff; }
.sp-prose { max-width: 820px; }
.sp-prose p { color: #2b3a55; }

/* checklist */
.sp-checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.sp-checks li { position: relative; padding-left: 34px; color: #2b3a55; }
.sp-checks li::before {
  content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--sp-sky); color: var(--sp-blue); font-size: 12px; display: flex; align-items: center; justify-content: center;
}
.sp-checks.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); column-gap: 32px; }

/* split */
.sp-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.sp-split.rev .sp-split-media { order: -1; }
.sp-split-media img { width: 100%; border-radius: var(--sp-radius); box-shadow: var(--sp-shadow); aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 860px) {
  .sp-split { grid-template-columns: 1fr; }
  .sp-split.rev .sp-split-media { order: 0; }
  .sp-split-media { order: -1; }
  .sp-split-media img { aspect-ratio: 16 / 10; }
}

/* cards */
.sp-grid { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.sp-grid.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.sp-grid.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.sp-card {
  position: relative; background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.sp-card:hover { transform: translateY(-4px); box-shadow: var(--sp-shadow); border-color: #c4d3ee; }
.sp-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sp-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.sp-card.txt { border-top: 4px solid var(--sp-blue); }
.sp-card.txt.amber { border-top-color: var(--sp-amber); }
body.sp .sp-card h3 { font-size: 20px; margin-bottom: 10px; }
.sp-card p { color: var(--sp-muted); font-size: 16px; margin-bottom: 14px; }
.sp-card p:last-child { margin-bottom: 0; }
.sp-more { margin-top: auto; font-weight: 500; font-size: 15px; color: var(--sp-blue); }
.sp-more::after { content: "\2192"; margin-left: 8px; transition: margin .2s; }
.sp-card:hover .sp-more::after { margin-left: 14px; }
.sp-card a.stretch { text-decoration: none; color: inherit; }
.sp-card a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sp-card a.stretch:focus-visible { outline: 3px solid var(--sp-amber); outline-offset: -3px; }
.sp-num { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: var(--sp-sky); color: var(--sp-blue); font-weight: 700; align-items: center; justify-content: center; margin-bottom: 14px; }
.sp-sec.dark .sp-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.sp-sec.dark .sp-card p { color: #c9d8f5; }
.sp-sec.dark .sp-card .sp-more { color: var(--sp-amber); }

/* stats */
.sp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; border: 1px solid var(--sp-line); border-radius: var(--sp-radius); overflow: hidden; background: #fff; box-shadow: var(--sp-shadow); }
.sp-stat { position: relative; padding: 26px 24px; border-right: 1px solid var(--sp-line); border-bottom: 1px solid var(--sp-line); margin: -1px -1px 0 0; transition: background .2s; }
.sp-stat:hover { background: var(--sp-sky); }
.sp-stat b { display: block; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; color: var(--sp-blue); font-weight: 700; }
.sp-stat span { display: block; color: var(--sp-muted); font-size: 15px; margin-top: 6px; }
body.sp .sp-stat a { color: var(--sp-muted); text-decoration: none; }
.sp-stat a::after { content: ""; position: absolute; inset: 0; }
.sp-stats-wrap { margin-top: calc(-1 * clamp(36px, 5vw, 56px)); position: relative; z-index: 5; }

/* steps */
.sp-steps { list-style: none; counter-reset: step; display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.sp-steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius); padding: 26px 22px 24px; }
.sp-steps li::before { content: counter(step); display: flex; width: 40px; height: 40px; border-radius: 50%; background: var(--sp-blue); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 14px; }
body.sp .sp-steps h3 { font-size: 18px; margin-bottom: 8px; }
.sp-steps p { margin: 0; font-size: 15.5px; color: var(--sp-muted); }
.sp-steps li a.stretch { text-decoration: none; color: inherit; }
.sp-steps li a.stretch::after { content: ""; position: absolute; inset: 0; border-radius: var(--sp-radius); }
.sp-steps li:hover { border-color: #c4d3ee; box-shadow: var(--sp-shadow); }

/* faq */
.sp-faq { display: grid; gap: 12px; max-width: 860px; }
.sp-faq details { background: #fff; border: 1px solid var(--sp-line); border-radius: 12px; padding: 0 22px; }
.sp-faq summary { cursor: pointer; font-weight: 500; color: var(--sp-navy); padding: 18px 28px 18px 0; list-style: none; position: relative; }
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 26px; color: var(--sp-blue); line-height: 1; }
.sp-faq details[open] summary::after { content: "\2212"; }
.sp-faq details p { color: var(--sp-muted); padding-bottom: 6px; }

/* product chips */
.sp-chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
body.sp .sp-chips a { display: inline-block; padding: 12px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--sp-line); text-decoration: none; font-weight: 500; color: var(--sp-navy); transition: background .2s, color .2s, border-color .2s; }
body.sp .sp-chips a:hover { background: var(--sp-blue); color: #fff; border-color: var(--sp-blue); }

/* CTA band */
.sp-cta { background: linear-gradient(135deg, var(--sp-blue-d), var(--sp-navy)); color: #fff; padding: clamp(40px, 6vw, 72px) 0; }
.sp-cta .sp-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
body.sp .sp-cta h2 { color: #fff; font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 8px; }
.sp-cta p { margin: 0; color: #d3e0fa; max-width: 56ch; }

/* related links */
.sp-related { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
body.sp .sp-related a { display: inline-block; padding: 10px 18px; border: 1px solid var(--sp-line); border-radius: 999px; text-decoration: none; background: #fff; font-size: 15px; color: var(--sp-navy); }
body.sp .sp-related a:hover { background: var(--sp-sky); border-color: #b7c9ea; color: var(--sp-blue-d); }

/* ---------- footer ---------- */
.sp-footer { background: #071530; color: #b9c8e6; font-family: var(--sp-font); font-size: 15px; line-height: 1.7; }
.sp-footer .sp-wrap { padding-block: 0; }
.sp-footer-grid { display: grid; gap: clamp(28px, 4vw, 48px); grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); }
.sp-footer h2 { color: #fff; font: 700 15px/1.3 var(--sp-font); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.sp-footer p { margin: 0 0 12px; color: #b9c8e6; }
.sp-footer ul { list-style: none; margin: 0; padding: 0; }
.sp-footer li { margin: 0 0 8px; padding: 0; list-style: none; }
.sp-footer .sp-wrap a { color: #b9c8e6; text-decoration: none; background: none; }
.sp-footer .sp-wrap a:hover { color: #fff; text-decoration: underline; }
.sp-footer .sp-flogo img { width: 170px; max-width: 100%; height: auto; margin-bottom: 14px; display: block; }
.sp-footer .sp-contact li { display: flex; gap: 12px; align-items: flex-start; }
.sp-footer .sp-contact i { color: var(--sp-amber); width: 16px; margin-top: 5px; text-align: center; flex: 0 0 16px; }
.sp-footer-bar { border-top: 1px solid rgba(255, 255, 255, .12); }
.sp-footer-bar .sp-wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 20px; font-size: 14px; color: #8fa3cc; }
.sp-footer-bar p { margin: 0; color: #8fa3cc; }
.sp-footer-bar nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 960px) { .sp-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sp-footer-grid { grid-template-columns: 1fr; } }

/* back to top */
.sp-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--sp-blue); color: #fff; font-size: 20px; cursor: pointer; box-shadow: var(--sp-shadow); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; z-index: 900; }
.sp-top.show { opacity: 1; visibility: visible; }
.sp-top:hover { background: var(--sp-blue-d); }

/* ---------- legal pages ---------- */
.sp-legal h2 { font-size: 24px !important; margin-top: 0; }
.sp-legal .sp-prose ul { margin: 0 0 1.1em 1.2em; list-style: disc; color: #2b3a55; }
.sp-legal .sp-prose li { margin-bottom: 6px; }
.sp-meta { color: var(--sp-muted); font-size: 15px; }

/* ---------- small-screen fine tuning ---------- */
@media (max-width: 480px) {
  body.sp { font-size: 16px; }
  .sp-btn { width: 100%; }
  .sp-btn-row { flex-direction: column; }
  .sp-cta .sp-btn { width: 100%; }
  .sp-slide .sp-wrap { padding-bottom: 56px; }
  .sp-card-body { padding: 18px 18px 20px; }
}
@media (max-width: 360px) {
  .sp-header .sp-logo img { height: 40px; }
  body.sp .sp-slide h1, body.sp .sp-slide h2 { font-size: 28px; }
}
@media print {
  .sp-header, .sp-footer, .sp-top, .sp-dots, .sp-cta { display: none !important; }
  .sp-hero, .sp-sec.dark { background: none !important; color: #000 !important; }
  body.sp .sp-hero h1 { color: #000; }
}

/* ---------- language switcher ---------- */
.sp-header .sp-nav { margin-left: auto; }
.sp-header .sp-lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--sp-line); border-radius: 999px; background: #fff; flex: 0 0 auto; }
.sp-header .sp-lang a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border-radius: 999px; font: 600 12px/1 var(--sp-font); letter-spacing: .04em; color: var(--sp-navy); text-decoration: none; background: none; }
.sp-header .sp-lang a img { width: 22px; height: 15px; max-width: none; border-radius: 2px; display: block; box-shadow: 0 0 0 1px rgba(11,31,68,.15); }
.sp-header .sp-lang a:hover { background: var(--sp-sky); color: var(--sp-blue-d); }
.sp-header .sp-lang a[aria-current="true"], .sp-header .sp-lang a[aria-current="true"]:hover { background: var(--sp-navy); color: #fff; }
.sp-header .sp-lang a:focus-visible { outline: 3px solid var(--sp-amber); outline-offset: 2px; }
@media (max-width: 1060px) {
  .sp-header .sp-lang { margin-left: auto; }
  .sp-header .sp-nav { margin-left: 0; }
}
@media (max-width: 400px) {
  .sp-header .sp-lang a { padding: 6px; }
  .sp-header .sp-lang a span { display: none; }
  .sp-header .sp-wrap { gap: 8px; }
}

/* long-word safety (Kazakh compounds) */
body.sp .sp-split > *, body.sp .sp-grid > *, body.sp .sp-card { min-width: 0; }
body.sp h1, body.sp h2, body.sp h3, body.sp p, body.sp li { overflow-wrap: break-word; }
