/*
 Theme Name:  OceanWP Child - A1 Car Buyer
 Theme URI:   https://a1carbuyer.com.au/
 Description: Child theme for OceanWP with custom header and hero styling. Brand color ready.
 Author:      A1 Car Buyer
 Author URI:  https://a1carbuyer.com.au/
 Template:    oceanwp
 Version:     1.1.0
 Text Domain: oceanwp-child-a1
*/

:root {
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, sans-serif;
  --font-heading: var(--font-body);
  --fs-900: clamp(2rem, 1.4rem + 2.2vw, 3rem); /* H1 */
  --fs-700: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); /* H2/H3 */
  --fs-400: 1rem; /* body */
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* Global apply */
html,
body {
  font-family: var(--font-body);
  font-size: 16px;
  scroll-behavior: smooth;
}
h1,
h2,
h3,
.sn-logo {
  font-family: var(--font-heading);
}
h1 {
  font-size: var(--fs-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h2,
h3 {
  font-size: var(--fs-700);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.sn-link {
  text-decoration: none;
} /* ensure no underlines */
/* Layout container */
.sn-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* tokens / fallbacks */
:root {
  --navy: #537d5d;
  --blue: #73946b;
  --ink: #537d5d;
  --muted: #64748b;
  --glass: rgba(255, 255, 255, 0.65);
}

.sn-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* topbar */
.sn-topbar {
  background: linear-gradient(90deg, #f8fafc, #eef2ff);
  border-bottom: 1px solid #e9eef5;
  font-size: 0.92rem;
}
.sn-topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}
.sn-topbar-link {
  color: var(--ink);
  text-decoration: none;
}
.sn-topbar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}
.sn-topbar-pill {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #537d5d;
  font-weight: 600;
}

/* header */
.sn-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(10px);
  transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.sn-header--transparent {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.sn-header.sn-is-scrolled {
  background: var(--glass);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
}

.sn-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

/* logo */
.sn-logo {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--navy);
  text-decoration: none;
  font-size: 1.6rem;
}

/* nav */
.sn-nav {
  position: relative;
}
.sn-nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.sn-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  margin: 5px auto;
  transition: 0.25s;
}
.sn-nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sn-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
}
.sn-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, #95c18b, #537d5d);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s;
}
.sn-link:hover {
  color: var(--blue);
}
.sn-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.sn-active {
  color: var(--blue);
}
.sn-active::after {
  transform: scaleX(1);
}

.sn-header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.sn-btn {
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}
.sn-btn--primary {
  background: linear-gradient(90deg, #95c18b, #537d5d);
  color: #fff;
}
.sn-btn--primary:hover {
  filter: brightness(1.05);
}
.sn-btn--ghost {
  border: 1px solid var(--blue);
  color: var(--blue);
  background: transparent;
}
.sn-btn--ghost:hover {
  background: #e6f2ff;
}

/* mobile */
@media (max-width: 900px) {
  .sn-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .sn-nav-menu {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    width: min(82%, 360px);
    background: #fff;
    border-left: 1px solid #e5e7eb;
    padding: 18px;
    display: none;
    flex-direction: column;
    gap: 12px;
    box-shadow: -16px 0 40px rgba(2, 6, 23, 0.15);
  }
  .sn-nav-menu.open {
    display: flex;
  }
  .sn-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.35);
  }
  .sn-overlay[hidden] {
    display: none;
  }
  .sn-link {
    padding: 10px 0;
  }
}
/* HERO styles (sn-) */
:root {
  --navy: #537d5d;
  --blue: #73946b;
  --ink: #537d5d;
  --muted: #64748b;
  --glass: rgba(255, 255, 255, 0.68);
  --hero-img: url("../img/hero-car.jpg");
}

/* Section wrapper with background image + soft overlay */
.sn-hero {
  position: relative;
  padding: 96px 0 80px;
  isolation: isolate;
}
.sn-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-img) center/cover no-repeat;
}
.sn-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92),
    rgba(241, 245, 249, 0.55)
  );
}

/* Layout */
.sn-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}
.sn-hero-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}
@media (max-width: 900px) {
  .sn-hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Copy */
.sn-badge {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 700;
}
.sn-hero-title {
  margin: 0.4em 0 0.2em;
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.sn-accent {
  background: linear-gradient(90deg, #6b9061, #4a915a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sn-hero-lead {
  font-size: 1.1rem;
  color: #334155;
  max-width: 45ch;
}
.sn-hero-points {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: #334155;
  display: grid;
  gap: 8px;
}
.sn-hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* Card / form */
.sn-card {
  background: var(--glass);
  border: 1px solid rgba(2, 6, 23, 0.08);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: saturate(180%) blur(8px);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
}
.sn-form-title {
  margin: 0 0 12px 0;
  font-size: 1.4rem;
  color: var(--navy);
}
.sn-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.sn-form-grid label {
  display: flex;
  flex-direction: column;
  font-size: 0.92rem;
  color: #334155;
}
.sn-input {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  background: #fff;
}
.sn-input:focus {
  outline: 3px solid #bfdbfe;
  outline-offset: 1px;
}
.sn-form-row {
  margin: 6px 0 12px;
}
.sn-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sn-form-submit {
  width: 100%;
}
.sn-form-note {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
}
@media (max-width: 640px) {
  .sn-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Buttons (reuse) */
.sn-btn {
  display: inline-block;
  padding: 0.85rem 1.15rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}
.sn-btn--primary {
  background: linear-gradient(90deg, #95c18b, #537d5d);
  color: #fff;
}
.sn-btn--primary:hover {
  filter: brightness(1.05);
}
.sn-btn--ghost {
  border: 1px solid var(--blue);
  color: var(--blue);
  background: transparent;
}
.sn-btn--ghost:hover {
  background: #e6f2ff;
}

/* Dark header theme using sn- classes */
:root {
  --navy: #537d5d;
  --blue: #73946b;
  --ink: #537d5d;
  --muted: #94a3b8;
}

.sn-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Topbar (dark) */
.sn-topbar {
  background: #537d5d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sn-topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}
.sn-topbar-link {
  color: #e6f0ff;
  text-decoration: none;
}
.sn-topbar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}
.sn-topbar-pill {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e6f0ff;
  font-weight: 600;
}

/* Dark header theme using sn- classes */
:root {
  --navy: #537d5d;
  --blue: #73946b;
  --ink: #537d5d;
  --muted: #94a3b8;
}

.sn-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Topbar (dark) */
.sn-topbar {
  background: #537d5d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sn-topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}
.sn-topbar-link {
  color: #e6f0ff;
  text-decoration: none;
}
.sn-topbar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}
.sn-topbar-pill {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e6f0ff;
  font-weight: 600;
}

/* Header (solid dark gradient) */
.sn-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, #537d5d 0%, #73946b 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.sn-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

/* Logo */
.sn-logo {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #eaf4ff;
  text-decoration: none;
  font-size: 1.6rem;
}

/* Nav */
.sn-nav {
  position: relative;
}
.sn-nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.sn-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #eaf4ff;
  border-radius: 2px;
  margin: 5px auto;
  transition: 0.25s;
}
.sn-nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sn-link {
  color: #eaf4ff;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  padding: 6px 0;
}
.sn-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, #5fb2ff, #9ad0ff);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s;
}
.sn-link:hover {
  color: #9ad0ff;
}
.sn-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.sn-active {
  color: #9ad0ff;
}
.sn-active::after {
  transform: scaleX(1);
}

/* CTAs */
.sn-header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.sn-btn {
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

.sn-btn--ghost {
  border: 1px solid #9ad0ff;
  color: #eaf4ff;
  background: transparent;
}
.sn-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Mobile drawer (dark to match header) */
@media (max-width: 900px) {
  .sn-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .sn-nav-menu {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    width: min(82%, 360px);
    background: #0d1a2b;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px;
    display: none;
    flex-direction: column;
    gap: 12px;
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.35);
  }
  .sn-nav-menu.open {
    display: flex;
  }
  .sn-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.45);
  }
  .sn-overlay[hidden] {
    display: none;
  }
  .sn-link {
    padding: 10px 0;
  }
}
/* ===== Two‑tone header override (topbar vs nav) ===== */
:root {
  --sn-topbar-bg: #73946b;
  --sn-nav-bg: #537d5d;
}
.sn-topbar {
  background: var(--sn-topbar-bg) !important;
}
.sn-header {
  background: var(--sn-nav-bg) !important;
}
/* subtle divider between topbar and nav */
.sn-header-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* TRUST STRIP (sn- classes) */
:root {
  --navy: #537d5d;
  --blue: #73946b;
  --ink: #537d5d;
  --muted: #64748b;
}

.sn-trust {
  padding: 28px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.sn-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Grid */
.sn-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 1100px) {
  .sn-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .sn-trust-grid {
    grid-template-columns: 1fr;
  }
}

/* Item */
.sn-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e5eef7;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.06);
  color: #537d5d;
  font-weight: 700;
}

/* Brand check icon via CSS mask (no extra HTML) */
.sn-trust-item::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: linear-gradient(90deg, #95c18b, #537d5d);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1 13.2L7.8 12l1.4-1.4 1.8 1.8 4.2-4.2 1.4 1.4L11 15.2z"/></svg>')
    center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1 13.2L7.8 12l1.4-1.4 1.8 1.8 4.2-4.2 1.4 1.4L11 15.2z"/></svg>')
    center/contain no-repeat;
}

/* Reduced motion/contrast-friendly fallback */
@supports not ((mask: url()) or (-webkit-mask: url())) {
  .sn-trust-item::before {
    content: "✓";
    background: none;
    color: #73946b;
    width: auto;
    height: auto;
  }
}
/* HOW IT WORKS (sn- classes) */
:root {
  --navy: #537d5d;
  --blue: #73946b;
  --ink: #537d5d;
  --muted: #64748b;
}

.sn-how {
  position: relative;
  padding: 72px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.sn-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Headings */
.sn-section-title {
  margin: 0;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.sn-section-lead {
  margin: 0.4rem 0 1.4rem;
  color: #334155;
  max-width: 60ch;
}

/* Steps grid */
.sn-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: sn-step;
  margin-top: 40px;
}
@media (max-width: 1000px) {
  .sn-steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .sn-steps {
    grid-template-columns: 1fr;
  }
}

/* Step card */
.sn-step {
  position: relative;
  background: #fff;
  border: 1px solid #e5eef7;
  border-radius: 18px;
  padding: 20px 20px 18px;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.06);
}
/* number badge */
.sn-step::before {
  counter-increment: sn-step;
  content: counter(sn-step);
  position: absolute;
  inset: auto auto 100% 0;
  transform: translate(-12px, 12px);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(90deg, #95c18b, #537d5d);
  box-shadow: 0 6px 16px rgba(2, 6, 23, 0.2);
}

.sn-step-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #95c18b, #537d5d);
  position: relative;
  z-index: 1;
}
/* Make the step a positioned parent */
.sn-step {
  position: relative;
}

/* Gradient border circle */
.sn-step::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;

  /* Border thickness */
  border: 3px solid transparent;

  /* Inside fill + gradient border */
  background: linear-gradient(var(--sn-surface, #fff), var(--sn-surface, #fff))
      padding-box,
    linear-gradient(90deg, #95c18b, #537d5d) border-box;
}

.sn-step-title {
  margin: 0.2rem 0 0.2rem;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 15px;
}
.sn-step-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #95c18b, #537d5d);
  margin-top: 4px;
  border-radius: 2px;
  transform: translateX(-2px);
  transition: transform 0.2s;
}
.sn-step-text {
  margin: 0;
  color: #475569;
}

/* Icons via CSS masks (no extra markup) */
.sn-i-form {
  -webkit-mask: var(--sn-i-form) center/26px 26px no-repeat;
  mask: var(--sn-i-form) center/26px 26px no-repeat;
}
.sn-i-offer {
  -webkit-mask: var(--sn-i-offer) center/26px 26px no-repeat;
  mask: var(--sn-i-offer) center/26px 26px no-repeat;
}
.sn-i-truck {
  -webkit-mask: var(--sn-i-truck) center/28px 28px no-repeat;
  mask: var(--sn-i-truck) center/28px 28px no-repeat;
}

/* Inline SVG masks as data URIs */
:root {
  --sn-i-form: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M3 3h13a2 2 0 0 1 2 2v3h-2V6H5v12h6v2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Zm16 8h-5a1 1 0 0 0-1 1v7l2.5-2H19a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1Z"/></svg>');
  --sn-i-offer: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.85 21 3 13.15 3 3a1 1 0 0 1 1-1h3.49a1 1 0 0 1 1 1c0 1.25.2 2.46.57 3.58a1 1 0 0 1-.25 1.01l-2.2 2.2Z"/></svg>');
  --sn-i-truck: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M3 6h11v7h2l2.5-3H21v6h-1a2 2 0 1 1-4 0H9a2 2 0 1 1-4 0H3V6Zm3 9a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm12 0a1 1 0 1 0 .001 2.001A1 1 0 0 0 18 15Z"/></svg>');
}

/* WHAT WE BUY (sn- classes) */
:root {
  --navy: #537d5d;
  --blue: #73946b;
  --ink: #537d5d;
  --muted: #64748b;
}

.sn-what {
  padding: 72px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.sn-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Grid */
.sn-what-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1000px) {
  .sn-what-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .sn-what-grid {
    grid-template-columns: 1fr;
  }
}

/* Card */
.sn-what-item {
  position: relative;
  text-align: center;
  background: #fff;
  border: 1px solid #e5eef7;
  border-radius: 18px;
  padding: 22px 16px 18px;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.sn-what-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.12);
  border-color: #d7e6f8;
}

/* Icon badge (brand gradient circle + white glyph) */
.sn-what-item::before {
  content: "";
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin: 0 auto 10px;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.1);
  background: var(--sn-icon, none) center / 26px 26px no-repeat,
    linear-gradient(90deg, #95c18b, #537d5d);
}

/* Titles & text */
.sn-what-title {
  margin: 0.2rem 0 0.1rem;
  font-size: 1.1rem;
  color: var(--navy);
}
.sn-what-text {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
}

/* Icon data URIs (white glyphs) */
.sn-wi-car {
  --sn-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M5 11h1l1-3h10l1 3h1a2 2 0 0 1 2 2v3h-2a2 2 0 1 1-4 0H9a2 2 0 1 1-4 0H3v-3a2 2 0 0 1 2-2Z"/></svg>');
}
.sn-wi-suv {
  --sn-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M4 12h11l2-3h1a2 2 0 0 1 2 2v5h-2a2 2 0 1 1-4 0H8a2 2 0 1 1-4 0H2v-2a2 2 0 0 1 2-2Z"/></svg>');
}
.sn-wi-ute {
  --sn-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M3 9h9v4h3l2-3h2v6h-1a2 2 0 1 1-4 0H8a2 2 0 1 1-4 0H3V9Z"/></svg>');
}
.sn-wi-4x4 {
  --sn-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M3 8h11v5h2l2.5-3H21v6h-1a2 2 0 1 1-4 0H9a2 2 0 1 1-4 0H3V8Z"/></svg>');
}
.sn-wi-damaged {
  --sn-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M12 3 2 21h20L12 3Zm1 13h-2l1-6 1 6Zm-1 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"/></svg>');
}
.sn-wi-finance {
  --sn-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M12 3 21 8v2H3V8l9-5Zm-8 8h2v6H4v-6Zm4 0h2v6H8v-6Zm4 0h2v6h-2v-6Zm4 0h2v6h-2v-6ZM3 21h18v-2H3v2Z"/></svg>');
}

/* High-contrast fallback (if bg layering unsupported) */
@supports not (background: paint(worklet)) {
  /* fallback not strictly needed; cards will still show titles */
}
/* Dark theme for WHAT WE BUY (sn- classes) */
:root {
  --navy: #537d5d;
  --blue: #73946b;
}

.sn-what {
  background: linear-gradient(180deg, #537d5d 0%, #73946b 100%);
}
.sn-what .sn-section-title {
  color: #eaf4ff;
}
.sn-what .sn-section-lead {
  color: #bfe6d4;
}

/* Cards */
.sn-what-item {
  background: #73946b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #eaf4ff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.sn-what-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
}

.sn-what-title {
  color: #eaf4ff;
}
.sn-what-text {
  color: #b8c7d9;
}

/* Icon badge keeps the brand gradient but adds a subtle outline for definition on dark */
.sn-what-item::before {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}
/* Dark theme for TRUST STRIP (sn- classes) */
:root {
  --navy: #537d5d;
  --blue: #73946b;
}

/* Section background */
.sn-trust {
  background: linear-gradient(180deg, #537d5d 0%, #73946b 100%);
}

/* Cards */
.sn-trust-item {
  background: #73946b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #eaf4ff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.sn-trust-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
}

/* Icon badge definition on dark */
.sn-trust-item::before {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* REVIEWS (sn- classes) */
:root {
  --navy: #537d5d;
  --blue: #73946b;
  --ink: #537d5d;
  --muted: #64748b;
}

.sn-reviews {
  padding: 72px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.sn-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.sn-section-title {
  margin: 0;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.sn-section-lead {
  margin: 0.4rem 0 1.4rem;
  color: #334155;
  max-width: 60ch;
}

/* Grid of cards */
.sn-reviews-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 1000px) {
  .sn-reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .sn-reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* Card */
.sn-review {
  background: #fff;
  border: 1px solid #e5eef7;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.06);
}
.sn-review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.sn-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #95c18b, #537d5d);
  box-shadow: 0 6px 16px rgba(2, 6, 23, 0.18);
}
.sn-meta {
  display: flex;
  flex-direction: column;
}
.sn-name {
  color: var(--navy);
  font-weight: 800;
}
.sn-source {
  margin-left: auto;
  color: #64748b;
  font-weight: 700;
}
.sn-quote {
  margin: 0.4rem 0 0;
  color: #475569;
}

/* Stars (mask technique) */
.sn-stars {
  position: relative;
  width: 110px;
  height: 20px;
}
.sn-stars::before {
  /* empty stars */
  content: "";
  position: absolute;
  inset: 0;
  background: #cbd5e1;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27z"/></svg>')
    left/22px 20px repeat-x;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27z"/></svg>')
    left/22px 20px repeat-x;
}
.sn-stars-fill {
  /* filled portion */
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  background: linear-gradient(90deg, #95c18b, #537d5d);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27z"/></svg>')
    left/22px 20px repeat-x;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27z"/></svg>')
    left/22px 20px repeat-x;
}
/* FINAL CTA (sn- classes) */
:root {
  --navy: #537d5d;
  --blue: #73946b;
}

.sn-cta {
  position: relative;
  padding: 48px 0;
  background: linear-gradient(90deg, #73946b 0%, #537d5d 100%);
  color: #eaf4ff;
  overflow: hidden;
}

/* optional soft pattern */
.sn-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      1200px 400px at -10% 0%,
      rgba(255, 255, 255, 0.12),
      transparent 60%
    ),
    radial-gradient(
      900px 300px at 110% 100%,
      rgba(255, 255, 255, 0.1),
      transparent 60%
    );
  opacity: 0.25;
  pointer-events: none;
}

.sn-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}
.sn-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
@media (max-width: 720px) {
  .sn-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.sn-cta-title {
  margin: 0;
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem);
  letter-spacing: -0.01em;
  color: #fff;
}
.sn-cta-lead {
  margin: 0.3rem 0 0;
  color: #cfe4ff;
}

.sn-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons tuned for dark gradient background */
.sn-btn {
  display: inline-block;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}
.sn-btn--primary {
  background: #fff;
  color: #537d5d;
}
.sn-btn--primary:hover {
  filter: brightness(1.05);
}
.sn-btn--ghost-light {
  border: 1px solid #eaf4ff;
  color: #eaf4ff;
  background: transparent;
}
.sn-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
}
/* FOOTER (sn- classes) */
:root {
  --navy: #537d5d;
  --blue: #73946b;
}

.sn-footer {
  position: relative;
  color: #eaf4ff;
  background: linear-gradient(180deg, #537d5d 0%, #73946b 100%);
  overflow: hidden;
}
/* decorative top gradient line */
.sn-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, #95c18b, #537d5d);
  opacity: 0.9;
}

.sn-footer-top {
  padding: 48px 0 28px;
}
.sn-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Grid */
.sn-footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
}
@media (max-width: 1000px) {
  .sn-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .sn-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Brand */
.sn-foot-logo {
  display: inline-block;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #eaf4ff;
  font-size: 1.4rem;
}
.sn-foot-tag {
  color: #bfe6d4;
  margin: 0.5rem 0 1rem;
  max-width: 36ch;
}
.sn-foot-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  color: #ffffff;
}

/* Columns */
.sn-foot-title {
  margin: 0 0 0.6rem;
  color: #eaf4ff;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.sn-foot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.sn-foot-link {
  color: #bfe6d4;
  text-decoration: none;
  position: relative;
}
.sn-foot-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #5fb2ff, #9ad0ff);
  transition: width 0.25s ease;
}
.sn-foot-link:hover {
  color: #eaf4ff;
}
.sn-foot-link:hover::after {
  width: 100%;
}

/* Contacts */
.sn-foot-contacts {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.sn-foot-contact {
  color: #eaf4ff;
  text-decoration: none;
  position: relative;
  padding-left: 28px;
}
.sn-foot-contact::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sn-foot-icon, none) center/12px 12px no-repeat,
    linear-gradient(90deg, #95c18b, #537d5d);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}
.sn-i-phone {
  --sn-foot-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.85 21 3 13.15 3 3a1 1 0 0 1 1-1h3.49a1 1 0 0 1 1 1c0 1.25.2 2.46.57 3.58a1 1 0 0 1-.25 1.01l-2.2 2.2Z"/></svg>');
}
.sn-i-mail {
  --sn-foot-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Zm9 7L4.5 7h15L12 12Z"/></svg>');
}

/* Socials */
.sn-foot-social {
  list-style: none;
  margin: 4px 0 10px;
  padding: 0;
  display: flex;
  gap: 10px;
}
.sn-social {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: block;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
}
.sn-social::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #95c18b, #537d5d);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.sn-social:hover::before {
  opacity: 1;
}
.sn-social::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  background: #eaf4ff;
  -webkit-mask: var(--sn-social-icon) center/contain no-repeat;
  mask: var(--sn-social-icon) center/contain no-repeat;
}
.sn-s-facebook {
  --sn-social-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M13 10h2.5l.5-3H13V5.5c0-.9.2-1.5 1.6-1.5H16V1.1C15.7 1 14.8 1 13.8 1 11.5 1 10 2.4 10 5v2H7v3h3v9h3v-9Z"/></svg>');
}
.sn-s-instagram {
  --sn-social-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm5 5a5 5 0 1 0 0 10 5 5 0 0 0 0-10Zm7-1a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>');
}
.sn-s-whatsapp {
  --sn-social-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M17.5 14.4c-.3-.2-1.8-.9-2.1-1s-.5-.2-.8.2-.9 1-1.1 1.2-.4.2-.7 0c-.3-.2-1.2-.5-2.3-1.5-.9-.8-1.5-1.8-1.7-2.1s0-.5.2-.7c.2-.2.3-.4.5-.7.1-.2.1-.4 0-.6s-.8-1.9-1.1-2.6c-.3-.6-.6-.5-.8-.6h-.7c-.2 0-.6.1-.9.4-.3.3-1.1 1-1.1 2.4s1.1 2.8 1.3 3 .2.5.5.9c.2.3 1.4 2.1 3.4 3 .5.2.9.4 1.2.5.5.1 1 .1 1.4.1.4 0 1.3-.4 1.4-1 .2-.7.2-1.2.2-1.3 0-.1-.1-.2-.3-.3ZM12 2a10 10 0 0 0-8 16.1L2.5 22 8 20a10 10 0 1 0 4-18Z"/></svg>');
}

/* Bottom bar */
.sn-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #73946b;
}
.sn-foot-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  color: #bfe6d4;
}
@media (max-width: 640px) {
  .sn-foot-legal {
    flex-direction: column;
    align-items: flex-start;
  }
}
.sn-copy a {
  color: #bfe6d4;
}

/* Back to top button */
.sn-backtotop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.02)
  );
  color: #eaf4ff;
  font-size: 20px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  display: none;
  z-index: 60;
}
.sn-backtotop.show {
  display: block;
}
/* CONTACT (sn- classes) */
:root {
  --navy: #537d5d;
  --blue: #73946b;
  --ink: #537d5d;
  --muted: #64748b;
}

.sn-contact {
  padding: 72px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.sn-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}
.sn-contact-head {
  margin-bottom: 12px;
}

/* Grid */
.sn-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 900px) {
  .sn-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.sn-card {
  background: #fff;
  border: 1px solid #e5eef7;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.06);
}

/* Info list */
.sn-info-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 10px;
  color: #537d5d;
}
.sn-info-list a {
  color: #537d5d;
  text-decoration: none;
}
.sn-info-list li {
  position: relative;
  padding-left: 32px;
}
.sn-info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(90deg, #95c18b, #537d5d);
  -webkit-mask: var(--sn-icon, none) center/14px 14px no-repeat;
  mask: var(--sn-icon, none) center/14px 14px no-repeat;
}
.sn-i-phone {
  --sn-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.85 21 3 13.15 3 3a1 1 0 0 1 1-1h3.49a1 1 0 0 1 1 1c0 1.25.2 2.46.57 3.58a1 1 0 0 1-.25 1.01l-2.2 2.2Z"/></svg>');
}
.sn-i-mail {
  --sn-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Zm9 7L4.5 7h15L12 12Z"/></svg>');
}
.sn-i-pin {
  --sn-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5Z"/></svg>');
}
.sn-i-clock {
  --sn-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 11h-4V7h2v4h2v2Z"/></svg>');
}

.sn-contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.sn-btn {
  display: inline-block;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}
.sn-btn--primary {
  background: linear-gradient(90deg, #95c18b, #537d5d);
  color: #fff;
}
.sn-contact-actions .sn-btn--ghost,
.sn-hero-cta .sn-btn--ghost {
  border: 1px solid #73946b;
  color: #73946b;
  background: transparent;
}

/* Form */
.sn-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.sn-form-grid .sn-col-span {
  grid-column: 1/-1;
}
@media (max-width: 600px) {
  .sn-form-grid {
    grid-template-columns: 1fr;
  }
}

.sn-input {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  background: #fff;
}
.sn-textarea {
  resize: vertical;
}
.sn-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 12px;
}
.sn-form-submit {
  width: 100%;
}
.sn-form-note {
  color: #64748b;
  font-size: 0.92rem;
  margin: 0.4rem 0 0;
}

:root {
  --navy: #537d5d;
  --blue: #73946b;
  --ink: #537d5d;
  --muted: #64748b;
}

.sn-location {
  padding: 72px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.sn-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.sn-location-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: center;
}
@media (max-width: 900px) {
  .sn-location-grid {
    grid-template-columns: 1fr;
  }
}

.sn-section-title {
  margin: 0.2rem 0 0.3rem;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
  color: var(--ink);
}
.sn-section-lead {
  margin: 0 0 0.8rem;
  color: #334155;
  max-width: 60ch;
}

.sn-coverage {
  list-style: none;
  margin: 0.6rem 0 1rem;
  padding: 0;
  display: grid;
  gap: 8px;
  color: #537d5d;
}
.sn-coverage li {
  position: relative;
  padding-left: 30px;
}
.sn-coverage li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(
        --sn-pin,
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5Z"/></svg>')
      )
      center/12px 12px no-repeat,
    linear-gradient(90deg, #95c18b, #537d5d);
  box-shadow: 0 6px 16px rgba(2, 6, 23, 0.12);
}

.sn-location-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.sn-btn {
  display: inline-block;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}
.sn-btn--primary {
  background: linear-gradient(90deg, #95c18b, #537d5d);
  color: #fff;
}
.sn-btn--ghost {
  border: 1px solid var(--blue);
  color: var(--blue);
  background: transparent;
}
.sn-small {
  color: #64748b;
  margin: 0.6rem 0 0;
}

.sn-map-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5eef7;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.1);
}
.sn-map {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  border: 0;
}
:root {
  --navy: #537d5d;
  --blue: #73946b;
}

.sn-location {
  background: linear-gradient(180deg, #537d5d 0%, #73946b 100%);
}
.sn-location .sn-section-title {
  color: #eaf4ff;
}
.sn-location .sn-section-lead {
  color: #bfe6d4;
}
.sn-coverage {
  color: #eaf4ff;
}
.sn-small {
  color: #bfe6d4;
}

.sn-map-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.sn-btn--ghost {
  border-color: #9ad0ff;
  color: #eaf4ff;
}
/* CF7 messages in hero card (doesn't touch inputs/buttons) */
.sn-form-card .wpcf7-response-output {
  margin-top: 10px;
  border-radius: 10px;
  /* padding: 0.65rem 0.8rem;
  border: 1px solid #e5eef7; */
  background: #f8fbff;
  color: #0f172a;
}
.sn-form-card .wpcf7 form .wpcf7-not-valid-tip {
  color: #b91c1c;
  font-size: 0.92rem;
  margin-top: 6px;
}
.sn-textarea {
  min-height: 100px;
}

.sn-form-grid .sn-link {
  color: #537d5d;
}
/* live header height (JS updates it) */
:root {
  --header-h: 72px;
}

/* backdrop filter fallback */
.sn-header {
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
}
@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .sn-header {
    background: rgba(255, 255, 255, 0.98);
  }
}

/* ensure stacking */
.sn-header {
  z-index: 1000;
}
.sn-nav-menu {
  z-index: 1002;
}
.sn-overlay {
  z-index: 1001;
}

/* nicer hover: improve hit area */
.sn-link {
  padding: 8px 2px;
}

/* mobile layout */
@media (max-width: 900px) {
  .sn-header-row {
    gap: 10px;
  }
  .sn-header-cta {
    display: none; /* keep header compact; optional: move a CTA into menu via HTML */
  }
  .sn-topbar-right {
    gap: 10px;
  }
  .sn-topbar-pill {
    display: none;
  } /* keep topbar slim on small screens */

  .sn-nav-menu {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    width: min(82%, 360px);
    background: #fff;
    border-left: 1px solid #e5e7eb;
    padding: 18px;
    display: none;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    box-shadow: -16px 0 40px rgba(2, 6, 23, 0.15);
  }
  .sn-nav-menu.open {
    display: flex;
  }

  .sn-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.35);
  }
  .sn-overlay[hidden] {
    display: none;
  }
}

/* when menu open, lock body scroll */
.sn-lock-scroll {
  overflow: hidden;
}

/* ===== SCB HEADER (namespaced) ===== */
:root {
  --scb-ink: #537d5d;
  --scb-accent: #73946b;
  --scb-grad-a: #95c18b;
  --scb-grad-b: #537d5d;
  --scb-muted: #64748b;
  --scb-glass: rgba(255, 255, 255, 0.7);
  --scb-header-h: 72px; /* JS updates live */
}

.scb-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Topbar */
.scb-topbar {
  background: linear-gradient(90deg, #f8fafc, #eef2ff);
  border-bottom: 1px solid #e9eef5;
  font-size: 0.92rem;
}
.scb-topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}
.scb-topbar__right {
  display: flex;
  gap: 16px;
  align-items: center;
}
.scb-topbar__link {
  color: var(--scb-ink);
  text-decoration: none;
}
.scb-pill {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: var(--scb-ink);
  font-weight: 600;
}

/* Header */
.scb-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--scb-glass);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.scb-header.scb--top {
  /* optional if you want transparent on top; JS can toggle */
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.scb-header.scb--scrolled {
  /* background: var(--scb-glass); */
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
}

.scb-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

/* Logo */
.scb-logo {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--scb-ink);
  text-decoration: none;
  font-size: 1.6rem;
}

/* Nav */
.scb-nav {
  position: relative;
}
.scb-nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  cursor: pointer;
}
.scb-burger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--scb-ink);
  border-radius: 2px;
  margin: 5px auto;
  transition: 0.25s;
}
.scb-nav__menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.scb-link {
  color: var(--scb-ink);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 8px 2px;
}
.scb-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--scb-grad-a), var(--scb-grad-b));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s;
}
.scb-link:hover {
  color: var(--scb-accent);
}
.scb-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.scb-link--active,
.scb-link--active:hover {
  color: var(--scb-accent);
}
.scb-link--active::after {
  transform: scaleX(1);
}

/* CTA */
.scb-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.scb-btn {
  padding: 0.7rem 1.05rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}
.scb-btn--primary {
  background: linear-gradient(90deg, var(--scb-grad-a), var(--scb-grad-b));
  color: #fff;
}
.scb-btn--primary:hover {
  filter: brightness(1.05);
}
.scb-btn--ghost {
  border: 1px solid var(--scb-accent);
  color: var(--scb-accent);
  background: transparent;
}
.scb-btn--ghost:hover {
  background: #e6f2ff;
}

/* Overlay */
.scb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.35);
  z-index: 1001;
}
.scb-overlay[hidden] {
  display: none;
}

/* Mobile */
@media (max-width: 960px) {
  .scb-topbar__right {
    gap: 10px;
  }
  .scb-pill {
    display: none;
  } /* keep topbar compact */

  .scb-nav__toggle {
    display: inline-block;
    align-items: center;
    justify-content: center;
  }

  .scb-nav__menu {
    position: fixed;
    top: var(--scb-header-h);
    right: 0;
    bottom: 0;
    width: min(82%, 360px);
    background: #fff;
    border-left: 1px solid #e5e7eb;
    padding: 18px;
    display: none;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    box-shadow: -16px 0 40px rgba(2, 6, 23, 0.15);
    z-index: 1002;
  }
  .scb-nav__menu.is-open {
    display: flex;
  }

  .scb-cta {
    display: none;
  } /* keep header row tidy on mobile */
}

/* Lock scroll when menu open */
.scb--lock {
  overflow: hidden;
}

/* Brand tokens */
:root {
  --navy: #537d5d; /* darker green */
  --blue: #73946b; /* lighter green */
  --light-text: #f8fafc;
  --accent: #ffffff;
  --accent-hover: #e2f2e4;
}

/* Header background */
.scb-header {
  background: linear-gradient(90deg, var(--navy), var(--blue));
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--light-text);
}

/* Topbar */
.scb-topbar {
  background: linear-gradient(90deg, var(--blue), var(--navy));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.scb-topbar__link {
  color: var(--light-text);
  font-weight: 500;
}
.scb-topbar__link:hover {
  color: var(--accent-hover);
}
.scb-pill {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

/* Logo */
.scb-logo {
  color: #fff;
  font-weight: 800;
  font-size: 1.7rem;
  text-decoration: none;
}

/* Navigation links */
.scb-link {
  color: var(--light-text);
  font-weight: 600;
  padding: 8px 2px;
}
.scb-link::after {
  background: #fff; /* clean underline in white */
}
.scb-link:hover {
  color: var(--accent-hover);
}
.scb-link--active {
  color: #fff;
}
.scb-link--active::after {
  transform: scaleX(1);
}

/* CTA buttons */
.scb-cta {
  display: flex;
  gap: 10px;
}

.scb-btn--primary {
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  border-radius: 10px;
  padding: 0.65rem 1.1rem;
  transition: all 0.2s ease;
}
.scb-btn--primary:hover {
  background: var(--accent-hover);
  color: var(--blue);
}

.scb-btn--ghost {
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
  border-radius: 10px;
  padding: 0.65rem 1.1rem;
  transition: all 0.2s ease;
}
.scb-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Mobile drawer */
.scb-nav__menu {
  /* background: linear-gradient(180deg, var(--navy), var(--blue)); */
}
.scb-nav__menu .scb-link {
  color: var(--light-text);
}
.scb-nav__menu .scb-link:hover {
  color: var(--accent-hover);
}
/* ===== MOBILE QUICK FIX: hide nav entirely, keep primary CTA ===== */
@media (max-width: 960px) {
  /* compact header row */
  .scb-header__row {
    padding: 10px 0;
    gap: 10px;
  }

  /* keep only the main CTA; hide the ghost button */
  .scb-cta {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .scb-btn--ghost {
    display: none !important;
  }

  /* slightly smaller primary button on mobile */
  .scb-btn--primary {
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    font-weight: 700;
  }

  /* slim topbar */
  .scb-topbar__right {
    gap: 10px;
  }
  .scb-pill {
    display: none;
  }
  .scb-topbar {
    display: none;
  }
}

/* ===== MOBILE NAV (<=960px) ===== */
@media (max-width: 960px) {
  /* show burger; keep row compact */
  .scb-nav__toggle {
    display: inline-block;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  /* off-canvas drawer */
  .scb-nav__menu {
    position: fixed;
    top: var(--scb-header-h, 72px); /* JS keeps this correct */
    right: 0;
    bottom: 0;
    width: min(82%, 360px);
    height: 100vh;
    top: 0;
    bottom: 0;
    margin: 0;
    padding: 18px;
    list-style: none;

    /* brand gradient background */
    background: linear-gradient(180deg, var(--navy), var(--blue));

    border-left: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: -16px 0 40px rgba(2, 6, 23, 0.25);
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    z-index: 1002;

    /* slide in/out */
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }
  .scb-nav__menu.is-open {
    transform: translateX(0);
  }

  /* links inside drawer */
  .scb-nav__menu a,
  .scb-nav__menu .scb-link {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 2px;
  }
  .scb-nav__menu a:hover,
  .scb-nav__menu .scb-link:hover {
    color: #e2f2e4;
  }

  /* overlay behind drawer */
  .scb-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.35);
    z-index: 1001;
  }
  .scb-overlay[hidden] {
    display: none;
  }

  /* optional: hide secondary CTA to keep header tidy */
  .scb-btn--ghost {
    display: none;
  }
}

/* lock body scroll when drawer open */
.scb--lock {
  overflow: hidden;
}

/* z-index order just in case */
.scb-header {
  z-index: 1000;
}
.scb-overlay {
  z-index: 1001;
}
.scb-nav__menu {
  z-index: 1002;
}
/* lock page scrolling when drawer open */
.scb--lock {
  position: fixed; /* iOS-safe */
  overflow: hidden;
  width: 100%;
}

/* keep drawer scrollable */
@media (max-width: 960px) {
  .scb-nav__menu {
    overscroll-behavior: contain;
  }
}
/* Burger bars */
.scb-burger {
  display: block;
  width: 24px; /* bar width */
  height: 3px; /* bar thickness */
  background-color: #fff; /* white bars (contrast on green bg) */
  border-radius: 2px;
  margin: 4px auto; /* spacing between bars */
  transition: transform 0.25s ease, opacity 0.25s ease;
}
/* When toggle is active (menu open) */
.scb-nav__toggle[aria-expanded="true"] .scb-burger:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.scb-nav__toggle[aria-expanded="true"] .scb-burger:nth-child(2) {
  opacity: 0;
}
.scb-nav__toggle[aria-expanded="true"] .scb-burger:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.sn-checkbox .sn-link {
  color: #537d5d;
}
.scb-logo img {
  max-width: 100px;
}
/* =========================================================
   A1 Legal Template Styles (full‑width hero + clean legal body)
   Works with "Legal Page (A1 Section)" template
   ========================================================= */

:root{
  /* Brand */
  --a1-navy:#537d5d;
  --a1-blue:#73946b;
  --a1-ink:#0f172a;
  --a1-muted:#64748b;
  --a1-paper:#ffffff;
}

/* Container */
.a1-container{ width:min(1100px,92%); margin:0 auto; }

/* ====================== HERO ====================== */
.a1-hero{
  position:relative; color:#EAF4FF;
  /* layered bg: gradient + optional image from --hero-img */
  background-image: linear-gradient(90deg, var(--navy), var(--blue));
  background-size: cover; background-position:center; background-repeat:no-repeat;
}
.a1-hero__inner{ display:flex; align-items:center; justify-content:center; min-height:260px; padding:56px 0; text-align:center; }
@media (min-width:960px){ .a1-hero__inner{ min-height:320px; padding:72px 0; } }

.a1-hero__content{ max-width:900px; margin:0 auto; }
.a1-hero__title{ margin:0; font-weight:900; letter-spacing:-.015em; color:#F1F7FF; font-size:clamp(1.8rem,1.2rem+2.4vw,3rem); }

/* CTA row */
.a1-hero__cta{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:18px; }

/* Buttons */
.a1-btn{ display:inline-block; border-radius:14px; font-weight:800; text-decoration:none; padding:.9rem 1.2rem; }
.a1-btn--lg{ padding:1rem 1.25rem; font-size:1.02rem }
.a1-btn--brand{ background:#537d5d; color:#fff; border:solid 2px #fff; }
.a1-btn--brand:hover{ filter:brightness(1.05); }
.a1-btn--ghost{ border:1px solid #CDE6FF; color:#EAF4FF; background:transparent; }
.a1-btn--ghost:hover{ background:rgba(255,255,255,.12); }

/* ====================== MAIN / LEGAL BODY ====================== */
#a1-content, #content{ /* template uses #content; support both */ }

.a1-section{ padding:40px 0 72px; background:var(--a1-paper); }

.a1-legal{ color:var(--a1-ink); line-height:1.75; font-size:1.02rem; }
.a1-legal > *:first-child{ margin-top:0 }
.a1-legal > *{ margin:1.1rem 0 }

/* Headings */
.a1-legal h1,.a1-legal h2,.a1-legal h3,.a1-legal h4,.a1-legal h5,.a1-legal h6{
  color:var(--a1-navy); line-height:1.25; margin:1.6rem 0 .6rem; font-weight:800; letter-spacing:-.01em
}
.a1-legal h1{ font-size:clamp(1.6rem,1.1rem+1.6vw,2.2rem) }
.a1-legal h2{ font-size:clamp(1.4rem,1rem+1.2vw,1.9rem) }
.a1-legal h3{ font-size:clamp(1.2rem,.95rem+1vw,1.4rem) }

/* Paragraphs & lists */
.a1-legal p{ color:#1f2937 }
.a1-legal ul,.a1-legal ol{ padding-left:1.25rem }
.a1-legal li{ margin:.35rem 0 }
.a1-legal ul{ list-style:disc }
.a1-legal ol{ list-style:decimal }

/* Links */
.a1-legal a{ color:var(--a1-blue); text-decoration:underline; text-underline-offset:3px }
.a1-legal a:hover{ opacity:.9 }

/* Horizontal rule */
.a1-legal hr{ border:0; border-top:1px solid #e5eef7; margin:1.6rem 0 }

/* Blockquote */
.a1-legal blockquote{ border-left:3px solid var(--a1-blue); padding:.2rem 0 .2rem 1rem; color:#334155; background:#f8fbff }

/* Tables */
.a1-legal table{ width:100%; border-collapse:collapse; font-size:.98rem }
.a1-legal th,.a1-legal td{ border:1px solid #e5eef7; padding:.6rem .7rem; text-align:left }
.a1-legal thead th{ background:#f1f6ff; color:#0b1f39; font-weight:800 }
.a1-legal tbody tr:nth-child(odd){ background:#fcfdff }

/* Code */
.a1-legal code{ background:#f1f5f9; border:1px solid #e2e8f0; border-radius:6px; padding:.1rem .35rem; font-family:ui-monospace, SFMono-Regular, Menlo, monospace; font-size:.95em }

/* Images */
.a1-legal img{ max-width:100%; height:auto; border-radius:10px }

/* Small text */
.a1-legal small{ color:var(--a1-muted) }

/* Spacing helpers if Gutenberg adds block gaps */
.a1-legal .wp-block{ margin:1.1rem 0 }

/* Print adjustments */
@media print{
  .a1-hero{ display:none }
  .a1-section{ padding:0 }
}
