/* Swift Boiler Fix — Bright & Clean palette */
/* Navy: #0D3B66 | Red: #CC2936 | Light blue: #E8F0FE | Off-white: #F4F8FD */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Ticker ─────────────────────────────────────────── */
.ticker-bar {
  background: #0D3B66;
  overflow: hidden;
  white-space: nowrap;
  padding: 7px 0;
}
.ticker-track {
  display: inline-block;
  animation: ticker 55s linear infinite;
}
.ticker-track span {
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  padding: 0 40px;
}
.ticker-track span i {
  color: #CC2936;
  margin: 0 6px;
}
@keyframes ticker { from { transform: translateX(100vw); } to { transform: translateX(-100%); } }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  background: #fff;
  border-bottom: 1px solid #e4ecf4;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: #0D3B66;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 20px; height: 20px; fill: #fff; }
.logo-text { line-height: 1.2; }
.logo-text strong { display: block; font-size: 15px; font-weight: 600; color: #0D3B66; }
.logo-text small { font-size: 10px; color: #888; letter-spacing: 0.04em; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-size: 13.5px;
  color: #444;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover, .nav-links a.active { background: #F4F8FD; color: #0D3B66; }
.nav-cta {
  background: #CC2936 !important;
  color: #fff !important;
  font-weight: 600;
  padding: 8px 16px !important;
  border-radius: 7px !important;
  margin-left: 8px;
}
.nav-cta:hover { background: #aa1f2a !important; }

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: #333;
  margin: 5px 0; border-radius: 2px; transition: 0.3s;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; padding: 12px 22px;
  border-radius: 8px; cursor: pointer; border: none;
  transition: transform 0.1s, background 0.15s;
  text-decoration: none;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: #CC2936; color: #fff; }
.btn-primary:hover { background: #aa1f2a; }
.btn-outline { background: #fff; color: #0D3B66; border: 1.5px solid #0D3B66; }
.btn-outline:hover { background: #E8F0FE; }
.btn-sm { font-size: 13px; padding: 9px 16px; }

/* ── Section helpers ─────────────────────────────────── */
.section { padding: 64px 24px; }
.section-sm { padding: 40px 24px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #CC2936; margin-bottom: 8px;
}
.section-title { font-size: 30px; font-weight: 700; color: #0D3B66; margin-bottom: 10px; line-height: 1.25; }
.section-sub { font-size: 16px; color: #555; max-width: 540px; }

/* ── Cards ───────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid #dde6f0;
  border-radius: 12px;
  padding: 24px;
}
.card-icon {
  width: 44px; height: 44px;
  background: #E8F0FE;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.card-icon svg { width: 22px; height: 22px; stroke: #0D3B66; fill: none; stroke-width: 1.8; }

/* ── Offer banner ────────────────────────────────────── */
.offer-banner {
  background: #F4F8FD;
  border: 1px solid #c5d8f5;
  border-left: 5px solid #CC2936;
  border-radius: 10px;
  overflow: hidden;
}
.offer-tag {
  background: #CC2936;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 14px;
  display: inline-block;
}
.offer-body { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.offer-body h3 { font-size: 20px; font-weight: 700; color: #0D3B66; margin-bottom: 6px; }
.offer-body p { font-size: 14px; color: #555; }
.offer-expires { font-size: 12px; color: #CC2936; font-weight: 600; margin-top: 8px; }
.offer-price { text-align: center; flex-shrink: 0; }
.offer-price .was { font-size: 13px; color: #999; text-decoration: line-through; }
.offer-price .now { font-size: 28px; font-weight: 700; color: #0D3B66; }
.offer-price .save { background: #eaf3de; color: #2d6a30; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-top: 4px; display: inline-block; }

/* ── Trust bar ───────────────────────────────────────── */
.trust-bar { background: #0D3B66; padding: 18px 24px; }
.trust-bar-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-around;
  gap: 16px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13px; }
.trust-item svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.8; flex-shrink: 0; }

/* ── Gas Safe badge ──────────────────────────────────── */
.gas-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #0D3B66; color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 5px 10px; border-radius: 5px;
}

/* ── Price table ─────────────────────────────────────── */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th { background: #0D3B66; color: #fff; font-size: 13px; font-weight: 600; padding: 12px 16px; text-align: left; }
.price-table th:last-child { text-align: right; }
.price-table td { padding: 13px 16px; font-size: 14px; border-bottom: 1px solid #edf2f8; color: #333; }
.price-table td:last-child { text-align: right; font-weight: 700; color: #CC2936; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: #F4F8FD; }

/* ── Review stars ────────────────────────────────────── */
.stars { color: #f5a623; font-size: 16px; letter-spacing: 1px; }

/* ── Charity block ───────────────────────────────────── */
.charity-block {
  background: #E8F0FE;
  border: 1px solid #c5d8f5;
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.charity-logo-wrap {
  width: 56px; height: 56px;
  background: #0D3B66;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.charity-logo-wrap svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 1.8; }
.charity-block h3 { font-size: 16px; font-weight: 700; color: #0D3B66; margin-bottom: 5px; }
.charity-block p { font-size: 13px; color: #3a5f8a; line-height: 1.6; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid #e4ecf4; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 18px 0; font-size: 15px; font-weight: 600; color: #0D3B66;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-q svg { width: 18px; height: 18px; stroke: #0D3B66; fill: none; stroke-width: 2; flex-shrink: 0; transition: transform 0.25s; }
.faq-q.open svg { transform: rotate(180deg); }
.faq-a { font-size: 14px; color: #444; line-height: 1.7; padding-bottom: 18px; display: none; }
.faq-a.open { display: block; }

/* ── Hero ────────────────────────────────────────────── */
.hero { background: #F4F8FD; padding: 64px 24px; }
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #E8F0FE; color: #0D3B66;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  padding: 5px 12px; border-radius: 20px; margin-bottom: 16px;
}
.hero-badge svg { width: 13px; height: 13px; stroke: #0D3B66; fill: none; stroke-width: 2.2; }
.hero h1 { font-size: 38px; font-weight: 800; color: #0D3B66; line-height: 1.18; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: #CC2936; }
.hero-sub { font-size: 16px; color: #555; margin-bottom: 28px; max-width: 460px; line-height: 1.65; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #555; }
.hero-trust-item svg { width: 15px; height: 15px; stroke: #0D3B66; fill: none; stroke-width: 2; }

/* Price card in hero */
.hero-price-card {
  background: #fff;
  border: 1px solid #dde6f0;
  border-radius: 14px;
  padding: 24px;
}
.hero-price-card h3 { font-size: 14px; font-weight: 700; color: #0D3B66; margin-bottom: 16px; }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f4f8; font-size: 14px; color: #333; }
.price-row:last-of-type { border-bottom: none; }
.price-row strong { color: #CC2936; font-weight: 700; }
.hero-price-card .gas-badge { margin-top: 16px; }

/* ── Footer ──────────────────────────────────────────── */
footer { background: #0D3B66; color: #fff; padding: 40px 24px 24px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-brand strong { font-size: 16px; display: block; margin-bottom: 6px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 12px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.75); margin-bottom: 8px; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: gap; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-gas { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.7); }

/* ── Page hero (inner pages) ─────────────────────────── */
.page-hero { background: #0D3B66; padding: 48px 24px; text-align: center; }
.page-hero h1 { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.75); }

/* ── Grid helpers ────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 62px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e4ecf4; padding: 12px 16px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 16px; }
  .hero { padding: 44px 16px; }
  .offer-body { flex-direction: column; }
  .charity-block { flex-direction: column; text-align: center; }
  .trust-bar-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}
