.site-header { left: 0; right: 0; }
.site-header .container { display: flex !important; align-items: center !important; justify-content: space-between !important; }
.header-inner { display: flex !important; align-items: center !important; justify-content: space-between !important; text-align: initial !important; }
.logo { flex: 0 0 auto !important; margin-left: 0 !important; text-align: left !important; }
.logo img { display: block !important; }
.primary-nav { flex: 1 1 auto !important; margin-left: auto !important; }
.menu { display: flex !important; justify-content: flex-end !important; }
.header-cta { flex: 0 0 auto !important; margin-left: 16px !important; }
:root {
  --bg: #ffffff;
  --surface: #f7f8f9;
  --muted: #5a5a5a;
  --text: #1e2236;
  --primary: #1e2236;
  --primary-600: #0f172a;
  --accent: #1e2236;
  --success: #21c55d;
  --warning: #f59e0b;
  --danger: #ef4444;
  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Jost', sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.7;
  padding-top: 130px;
}

/* Dark header pages need 130px padding to match header height */
.dark-header {
  padding-top: 130px !important;
}

/* Blog pages on mobile - no body padding, header handles spacing */
@media (max-width: 1024px) {
  body.dark-header.blog-page {
    padding-top: 0 !important;
  }
}

/* Home page has no padding */
body.home {
  padding-top: 0 !important;
}

/* Blog Admin Page - No padding top */
.blog-admin-page {
  padding-top: 0 !important;
}

.headline-bridge,
.statement,
.commission-savings,
.region-highlights,
.buyers-rebate,
.testimonials,
.cta-panels,
.site-footer {
  background-color: inherit;
}

p {
  margin: 0 0 1.2rem;
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: 13px;
  font-weight: 500;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: transparent;
  transition: background-color .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
/* Header background spans full width, content stays boxed */
.site-header .container { max-width: 100%; padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0; }
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 85px;
  width: 100%;
  padding-left: 0; padding-right: 0;
}
.logo img { display: block; height: 66px; width: auto; }

.logo { justify-self: start; margin-left: 0; padding-left: 50px; }
.logo img { margin: 0; }
.primary-nav { position: relative; width: auto; margin-left: auto; }
.header-cta { margin-left: 12px; margin-right: 15px !important; }
@media (max-width: 768px) {
  .header-cta { margin-left: 0px !important; margin-right: 15px !important; }
}
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.12);
  background: transparent; color: var(--text);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 10001;
}
.nav-toggle-bar {
  display: block; width: 22px; height: 2px; margin: 6px auto; background: var(--text);
}

@media (max-width: 768px) {
  .nav-toggle-bar {
    background: #ffffff;
  }
  .header-cta {
    margin-left: 0px !important;
  }
  .header-cta .phone {
    margin-left: 0px;
    justify-content: center;
  }
}
.menu {
  display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; justify-content: flex-end; align-items: center; flex-wrap: nowrap;
}
.menu .mobile-home { display: none !important; }
.menu .desktop-home { display: block; }
.menu a {
  display: inline-block;
  color: #ffffff; text-decoration: none; font-weight: 700; letter-spacing: 0;
  padding: 10px 0; border-radius: 8px; line-height: 1; font-size: 15px; white-space: nowrap;
}
.menu a:hover { opacity: .85; }

.header-cta .phone { color: #e8eefb; text-decoration: none; font-weight: 700; font-size: 15px; margin-left: 16px; }
.header-cta .phone { display: inline-flex; align-items: center; gap: 8px; position: relative; top: 2px; }
.phone-ic { opacity: .9; width: 16px; height: 16px; }
.caret { display: inline-block; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid currentColor; margin-left: 6px; vertical-align: middle; }

/* Submenu */
.menu > li { position: relative; }
.submenu { display: none; position: absolute; left: 50%; transform: translateX(-50%); top: 100%; min-width: 260px; background: #1f2937; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; padding: 6px 0; box-shadow: 0 12px 30px rgba(0,0,0,.4); list-style: none; margin: 0; }
.submenu li { list-style: none; }
.submenu li { border-top: 1px solid rgba(255,255,255,.06); }
.submenu li:first-child { border-top: 0; }
.submenu a { display: block; padding: 12px 16px; color: #fff; font-weight: 600; font-size: 14px; }
.submenu a:hover { background: rgba(255,255,255,.06); }
.menu > li.has-sub:hover > .submenu { display: block; }
.menu > li.has-sub:focus-within > .submenu { display: block; }

/* Hero Slider */
.hero-slider { position: relative; overflow: hidden; margin-top: -85px; padding-top: 0; }
.slider { position: relative; min-height: 100vh; }
.slide {
  position: absolute; inset: 0; min-height: clamp(520px, 70vh, 800px);
  /* match slider height */
  min-height: 100vh;
  display: grid; place-items: center; text-align: center;
  background-image: var(--bg);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; pointer-events: none; transition: opacity .6s ease;
}
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.35), rgba(0,0,0,.35));
}

/* Homepage header transparent over hero */
.home .site-header.scrolled {
  background: rgba(0,0,0,.85) !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
}
.site-header.scrolled {
  background: rgba(0,0,0,.85);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.slide-content { position: relative; padding: 72px 0; margin-left: auto; margin-right: auto; max-width: 980px; }
.slide h1 { font-family: 'Jost', sans-serif; font-weight: 300; font-size: 60px; margin: 15px 0; letter-spacing: .2px; text-transform: uppercase; color: #ffffff; }
.slide h2 { font-family: Montserrat, Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; font-size: 22px; font-weight: 800; margin: 15px 0; color: #ffffff; }
.slide h2 strong { color: inherit; }
.powered-by { color: #ffffff; margin: 15px 0; }
.powered-by::after { content: ""; display: block; width: clamp(160px, 40%, 640px); height: 1px; background: rgba(255,255,255,.8); margin: 10px auto 0; }
.tagline { color: #ffffff; max-width: 820px; line-height: 1.6; margin: 15px auto; }
.cta-row { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; justify-content: center; }

.btn { display: inline-block; padding: 14px 22px; border-radius: 8px; font-family: Montserrat, Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; font-weight: 800; text-decoration: none; letter-spacing: .2px; }
.btn-primary { background: #1d4ed8; color: #fff; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 6px 18px rgba(29,78,216,.35); }
.btn-primary:hover { background: #1a43be; }
.btn-secondary { background: #22d3ee; color: #05202a; border: 1px solid rgba(255,255,255,.1); }
.btn-outline { border: 2px solid rgba(255,255,255,.8); color: #fff; background: transparent; }

/* Hero CTA buttons: white outline, no background; hover adds 75% black background */
.hero-slider .btn { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.95); border-radius: 0; box-shadow: none; }
.hero-slider .btn:hover { background: rgba(0,0,0,.75); color: #fff; border-color: rgba(255,255,255,.95); }

.slider-dots { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 8px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.3); }
.slider-dots button[aria-selected="true"] { background: #fff; }

/* Sections */
.grid-2 { display: grid; gap: 28px; grid-template-columns: 1.25fr .75fr; align-items: center; }
.statement {
  padding: 50px 0 50px;
  background: #ffffff;
}
.statement h2 {
  margin: 0 0 30px;
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #000000;
}
.statement .lead {
  color: #393939;
  font-size: 18px;
  line-height: 1.8;
}
.statement-copy {
  max-width: 600px;
}
.statement-badge {
  margin: 18px 0 32px;
}
.statement-badge img {
  width: clamp(260px, 48vw, 520px);
  max-width: 100%;
  height: auto;
  display: block;
}
.image-card img {
  width: 150%;
  max-width: 782px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
}
.statement .image-card img {
  transform: translateX(-70px);
}

/* Statement: headline kicker styles to mirror brand section */
.statement .intro-kicker {
  font-family: Montserrat, Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.55;
}

.headline-bridge {
  padding: 48px 0;
  text-align: center;
  background: #f7f8f9;
}
.bridge-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  font-family: Montserrat, Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .4em;
  color: #1e2236;
  border: 1px solid #1e2236;
  background: transparent;
  text-decoration: none;
}
.bridge-link:hover {
  background: #1e2236;
  color: #ffffff;
}

@media (max-width: 768px) {
  .bridge-link {
    border: none;
    padding: 0;
    letter-spacing: 0.25em;
    display: inline-block;
  }
  .headline-bridge .container {
    padding: 0;
    border: none;
    box-shadow: none;
  }
}

@media (max-width: 768px) {
  .qodef-m-text {
    font-size: 12px !important;
    line-height: 1.6 !important;
  }
}

@media only screen and (max-width: 480px) {
  .qodef-section-title .qodef-m-text {
    font-size: 12px !important;
    letter-spacing: 4px !important;
  }
}

.commission-savings {
  padding: 50px 50px;
  background: #f7f8f9;
}
.calculator-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: stretch;
  max-width: 1140px;
  margin: 0 auto;
  background: #f7f8f9;
  border-radius: 8px;
  padding: 20px;
  box-sizing: border-box;
}
.calculator-image {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.calculator-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}
.calculator-card {
  flex: 2;
  padding: 20px;
  background: #ffffff;
  border: 0px solid #cccccc;
  border-radius: 8px;
  box-sizing: border-box;
}
.calculator-card h2 {
  color: #000;
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-family: 'Jost', sans-serif;
  text-align: center;
  margin-top: 0;
}
.calculator-intro {
  color: #5a5a5a;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7em;
  letter-spacing: 2px;
  font-family: 'Jost', sans-serif;
  text-align: center;
  margin-bottom: 30px;
}
.savings-form { display: flex; flex-direction: column; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field span {
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
  color: #1e2236;
}
.form-field input {
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #c7ccd5;
  background: #ffffff;
  color: #1e2236;
  font-size: 16px;
}
.form-field input:focus {
  outline: 1px solid #1e2236;
  outline-offset: 1px;
}
input[type="range"] {
  width: 100%;
  accent-color: #1e2236;
}
.field-help {
  margin: -6px 0 4px;
  font-size: 14px;
  color: #5a5a5a;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.commission-display {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .14em;
  color: #1e2236;
  margin: 0 0 6px;
}
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  background: transparent;
  color: #1e2236;
  border: 1px solid #1e2236;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: .18em;
  border-radius: 0;
  cursor: pointer;
  font-size: 11px;
}
.btn-light:hover {
  background: #1e2236;
  color: #ffffff;
}
.calculator-result {
  margin-top: 28px;
}
.result-box {
  padding: 20px;
  background: #e9f7e9;
  border: 1px solid #a2d2a2;
  border-radius: 5px;
  font-size: 18px;
  color: #5a5a5a;
  line-height: 1.7em;
}
.result-box h3 {
  color: #000;
  font-size: 22px;
  margin: 16px 0 10px;
  letter-spacing: .04em;
}
.calculator-result .result-footnote {
  color: #5a5a5a;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5em;
  letter-spacing: 2px;
  font-family: 'Jost', sans-serif;
  margin-top: 20px;
  text-align: left;
}

.region-highlights {
  padding: 10px 0 50px;
  text-align: center;
  background: #ffffff;
}
.region-content { max-width: 960px; margin: 0 auto; }
.region-content p { max-width: 960px; margin: 0 auto 18px; }
.region-content h2 {
  margin-bottom: 18px;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #000000;
}
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid #000000;
  color: #000000;
  background: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .2em;
  text-decoration: none;
  font-size: 12px;
}
.btn-outline-light:hover {
  background: #000000;
  color: #ffffff;
}

.buyers-rebate {
  padding: 50px 0 50px;
  background: #f5f8fc;
}
.rebate-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: stretch;
  max-width: 1140px;
  margin: 0 auto;
  background: #f7f8f9;
  border-radius: 8px;
  padding: 5px;
  border: 0px solid #cccccc;
}
.rebate-card {
  flex: 1.5;
  padding: 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rebate-card h2 {
  margin: 0;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  color: #000000;
}
.rebate-subhead {
  color: #5a5a5a;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5em;
  text-align: center;
  margin: 10px 0 10px;
}
.rebate-subhead .rebate-note {
  font-size: 14px;
  letter-spacing: .05em;
}
.rebate-intro {
  color: #5a5a5a;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  margin: 0;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rebate-options {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.rebate-chip {
  flex: 1 1 calc(50% - 12px);
  min-width: 130px;
  padding: 15px;
  border-radius: 4px;
  border: 1px solid #1e2236;
  background: #ffffff;
  color: #1e2236;
  font-weight: 500;
  letter-spacing: .18em;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 12px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.rebate-chip:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}
.rebate-chip.active {
  background: #e0e7ff;
  border-color: #3b82f6;
  color: #000000;
}
#rebate-price-input {
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #c7ccd5;
  background: #ffffff;
  color: #1e2236;
  font-size: 18px;
}
#rebate-price-input:focus {
  outline: 1px solid #1e2236;
  outline-offset: 1px;
}
#rebate-price-range { width: 100%; accent-color: #1e2236; margin-bottom: 10px; }
.rebate-price-display {
  color: #1e2236;
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin: 10px 0 0;
}
.rebate-output {
  margin-top: 20px;
  text-align: center;
}
.rebate-output h3 {
  margin: 0 0 10px;
  color: #000000;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.rebate-amount {
  font-size: 36px;
  font-weight: 700;
  margin: 0;
  color: #1e2236;
}
.rebate-image {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.rebate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.section-eyebrow {
  font-family: Montserrat, Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: 13px;
  color: #5a5a5a;
  margin: 0 0 12px;
}

.testimonials {
  padding: 50px 0 50px;
  background: #ffffff;
}
.testimonials h2 {
  margin-bottom: 40px;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #000000;
  text-align: center;
}
.testimonial-slider {
  position: relative;
  padding: 0 24px 28px;
}
.testimonial-slider .swiper-slide {
  height: auto;
}
.testimonial-card {
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 12px;
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  height: 100%;
  box-shadow: 0 10px 18px rgba(0,0,0,0.05);
}
.testimonial-card .quote {
  color: #1e2236;
  line-height: 1.45;
  margin: 0 0 12px;
  font-size: 14.5px;
  flex: 0 0 auto;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 0;
}
.testimonial-meta img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #dcdfe6;
}
.testimonial-meta .name { margin: 0; font-weight: 600; color: #1e2236; font-size: 15px; }
.testimonial-meta .role { margin: 2px 0 0; font-size: 12px; color: #5a5a5a; }
.testimonial-meta .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e6f4ff;
  color: #0f4c81;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-right: 6px;
}
.swiper-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.swiper-button-prev,
.swiper-button-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.8);
  color: #ffffff;
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 16px;
  font-weight: 700;
}
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(0,0,0,0.25);
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: #000000;
}

.cta-panels { padding: 10px 0 25px; background: linear-gradient(180deg, #0c111d, #080b12); }
.cta-panels .container { max-width: none; padding: 0; }
.split-grid { display: grid; gap: 0; grid-template-columns: repeat(2, 1fr); }
.split-panel {
  position: relative;
  min-height: 520px;
  border-radius: 0;
  padding: 90px 60px;
  overflow: hidden;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
  color: #fff;
  text-align: center;
  text-shadow: 0 18px 50px rgba(0,0,0,.7);
}
.split-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.15);
  z-index: 0;
}
.split-panel * { position: relative; z-index: 1; }
.panel-sellers {
  background: url('../img/cta-sellers-bg.jpg') center/cover no-repeat;
}
.panel-buyers {
  background: url('../img/cta-buyers-bg.webp') center/cover no-repeat;
}
.btn-panel {
  display: inline-flex;
  padding: 7px 20px;
  border: 1px solid rgba(255,255,255,.75);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(0,0,0,.22);
}
.btn-panel:hover { background: rgba(255,255,255,.18); }

/* Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid rgba(17,24,39,.08);
  color: #111827;
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 36px;
  padding: 56px 0;
  align-items: start;
}
.footer-top h3 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #0f172a;
}
.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.list a {
  color: #111827;
  text-decoration: none;
  font-size: 14px;
}
.list a:hover { color: #1d4ed8; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 32px 0 36px;
  border-top: 1px solid rgba(17,24,39,.08);
}
.footer-brand { display: none; }
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  justify-content: flex-start;
}
.footer-social a {
  color: #111827;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.footer-social a::before {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: grayscale(1);
  opacity: .8;
}
.footer-social a[href*="facebook"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23111827'%3E%3Cpath d='M22 12a10 10 0 1 0-11.5 9.9v-7h-2v-2.9h2v-2.2c0-2 1.2-3.1 3-3.1.9 0 1.8.1 1.8.1v2h-1c-1 0-1.3.6-1.3 1.2v1.9h2.3L14.8 15h-2v7A10 10 0 0 0 22 12Z'/%3E%3C/svg%3E"); }
.footer-social a[href*="x.com"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23111827'%3E%3Cpath d='M4 4h3.4l4.1 5.9L16.6 4H20l-6.6 8.5L20 20h-3.4l-4.3-6.1L8 20H4l6.8-8.9L4 4Z'/%3E%3C/svg%3E"); }
.footer-social a[href*="linkedin"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23111827'%3E%3Cpath d='M20.45 20.45h-3.55v-5.6c0-1.34-.03-3.07-1.87-3.07-1.87 0-2.15 1.46-2.15 2.97v5.7H9.33V9h3.41v1.56h.05c.48-.9 1.65-1.85 3.4-1.85 3.64 0 4.31 2.4 4.31 5.51v6.23ZM5.34 7.43a2.06 2.06 0 1 1 0-4.12 2.06 2.06 0 0 1 0 4.12ZM7.12 20.45H3.56V9h3.56v11.45Z'/%3E%3C/svg%3E"); }
.footer-social a[href*="instagram"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23111827'%3E%3Cpath d='M12 7a5 5 0 1 0 0 10 5 5 0 0 0 0-10Zm0 8.2a3.2 3.2 0 1 1 0-6.4 3.2 3.2 0 0 1 0 6.4Zm6.4-8.4a1.2 1.2 0 1 1-2.4 0 1.2 1.2 0 0 1 2.4 0ZM21.6 7a5.7 5.7 0 0 0-5.6-5.6H8a5.7 5.7 0 0 0-5.6 5.6v8a5.7 5.7 0 0 0 5.6 5.6h8a5.7 5.7 0 0 0 5.6-5.6V7Zm-2 8a3.7 3.7 0 0 1-3.6 3.6H8a3.7 3.7 0 0 1-3.6-3.6V7A3.7 3.7 0 0 1 8 3.4h8A3.7 3.7 0 0 1 19.6 7v8Z'/%3E%3C/svg%3E"); }
.footer-social a:hover { color: #1d4ed8; filter: none; opacity: 1; }
.footer-credits {
  text-align: center;
  padding: 24px 0 36px;
  background: #ffffff;
}
.footer-timestamp {
  display: inline-block;
  font-size: 12px;
  color: #374151;
  letter-spacing: .06em;
}
.footer-disclaimer {
  font-size: 12px !important;
  line-height: 1.6;
  color: #4b5563;
}
.footer-contact {
  font-size: 14px;
  line-height: 1.7;
}
.footer-contact p,
.footer-contact a {
  font-size: 14px;
  line-height: 1.7;
}
.footer-contact a {
  color: #111827;
  text-decoration: none;
}
.footer-contact a:hover { color: #1d4ed8; }
.footer-contact h5 {
  margin: 24px 0 12px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #0f172a;
}

/* Responsive */
@media (max-width: 1024px) {
  /* Remove negative margin on mobile */
  .hero-slider {
    margin-top: 0 !important;
  }
  
  /* Hide slide overlay on mobile */
  .slide-overlay {
    display: none !important;
  }
  
  /* Hide desktop menu items */
  .primary-nav .menu {
    display: none !important;
  }
  
  /* Mobile Navigation Toggle */
  .nav-toggle { 
    display: inline-block !important; 
    position: absolute; 
    right: 15px; 
    top: 50%; 
    transform: translateY(-50%);
    z-index: 10002;
  }
  
  /* Mobile menu when open */
  .primary-nav .menu.is-open {
    display: flex !important;
    position: fixed;
    top: 85px;
    left: 0;
    right: 0;
    width: 100vw;
    height: calc(100vh - 85px);
    flex-direction: column;
    align-items: stretch;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 0 0 0;
    margin: 0;
    overflow-y: auto;
    z-index: 9999;
    animation: slideIn 0.3s ease-out;
  }
  
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Mobile menu items */
  .primary-nav .menu.is-open li {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }
  
  .primary-nav .menu.is-open li:last-child {
    border-bottom: none;
  }
  
  /* Show/hide Home links */
  body .primary-nav .menu .desktop-home { 
    display: none !important; 
  }
  
  body .primary-nav .menu.is-open .mobile-home { 
    display: list-item !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: 100% !important;
  }
  
  body .primary-nav .menu.is-open .mobile-home a {
    display: block !important;
    width: 100% !important;
    padding: 20px 30px !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-align: left !important;
    text-decoration: none !important;
  }
  
  /* Mobile menu links */
  .primary-nav .menu.is-open a {
    display: block;
    width: 100%;
    padding: 20px 30px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    transition: background-color 0.2s ease;
  }
  
  .primary-nav .menu.is-open a:hover,
  .primary-nav .menu.is-open a:active {
    background: rgba(255, 255, 255, 0.1);
  }
  
  /* Mobile submenu - always visible on mobile */
  .primary-nav .menu.is-open .submenu {
    display: block !important;
    position: static;
    background: rgba(0, 0, 0, 0.4);
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none;
    min-width: auto;
    transform: none;
  }
  
  .primary-nav .menu.is-open .submenu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .primary-nav .menu.is-open .submenu li:last-child {
    border-bottom: none;
  }
  
  .primary-nav .menu.is-open .submenu a {
    padding: 15px 30px 15px 50px;
    font-size: 16px;
    font-weight: 500;
  }
  
  /* Remove accordion arrow on mobile - just show all items */
  .primary-nav .menu.is-open .has-sub > a {
    position: relative;
    padding-right: 30px;
    pointer-events: none;
    cursor: default;
    opacity: 0.7;
  }
  
  /* Lock body scroll when menu open */
  body.nav-open {
    overflow: hidden;
  }
  
  /* Header adjustments */
  .header-inner { 
    position: relative; 
  }
  
  /* Center the phone icon; hide the number */
  .header-cta { 
    position: absolute; 
    left: 50%; 
    top: 50%; 
    transform: translate(-50%, -50%); 
    margin: 0; 
  }
  
  .header-cta .phone span { 
    display: none; 
  }
  
  /* Logo positioning */
  .logo { 
    margin-left: -24px; 
  }
  
  /* Layout adjustments */
  .grid-2 { grid-template-columns: 1fr; }
  .statement { padding: 80px 0; }
  .statement .image-card img { margin: 30px auto 0; }
  .calculator-wrapper { flex-direction: column; }
  .calculator-image,
  .calculator-card { flex: 1 1 auto; }
  .rebate-grid { flex-direction: column; padding: 20px; }
  .rebate-card, .rebate-image { flex: 1 1 auto; }
  .rebate-card { padding: 32px 28px; }
  .testimonial-slider { padding: 0 16px 20px; }
  .swiper-button-prev,
  .swiper-button-next { display: none; }
  .split-grid { grid-template-columns: 1fr; }
  .split-panel { min-height: 360px; padding: 70px 32px; }
  .split-panel h3 { letter-spacing: .2em; }
  .btn-panel { padding: 6px 18px; letter-spacing: .16em; font-size: 12px; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-brand, .footer-social { justify-content: flex-start; }
}

@media (max-width: 640px) {
  body { padding-top: 0px; }
  /* Dark header pages need consistent padding except blog & home */
  body.dark-header:not(.blog-page):not(.home) { padding-top: 30px !important; }
  body.dark-header.blog-page { padding-top: 0 !important; }
  .header-inner { height: 64px; }
  .logo { padding-left: 10px; }
  .logo img { height: 40px; }
  .slide h1 { font-size: clamp(24px, 6vw, 36px); }
  .slide h2 { font-size: clamp(20px, 5vw, 28px); }
  .slide-content { padding-left: 15px; padding-right: 15px; }
  .bridge-link { width: 100%; justify-content: center; letter-spacing: .22em; }
  .statement { padding: 70px 0; }
  .statement-badge img { width: clamp(220px, 80vw, 360px); }
  .statement .image-card img { transform: none; width: 100%; max-width: 420px; }
  .savings-card, .rebate-card { padding: 24px; }
  .testimonial-slider { padding: 0 12px 20px; }
  .testimonial-card { padding: 16px; gap: 8px; }
  .testimonial-card .quote { flex: 0 0 auto; }
  .split-panel { padding: 40px 28px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom .legal { padding-top: 15px; }
}


/* Hard header alignment overrides */
.site-header .container,
.header-inner {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.header-inner { display: flex !important; }
.logo { margin-left: 0 !important; }
.primary-nav { margin-left: auto !important; }
.menu { justify-content: flex-end !important; }
.header-cta { margin-left: 12px !important; }

@media (max-width: 768px) {
  .header-cta { margin-left: 0px !important; }
}

.cta-panels .section-eyebrow {
  color: #ffffff;
}

.split-panel {
  position: relative;
  min-height: 520px;
  border-radius: 0;
  padding: 90px 60px;
  overflow: hidden;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
  color: #fff;
  text-align: center;
  text-shadow: 0 18px 50px rgba(0,0,0,.7);
}
.split-panel .section-eyebrow {
  font-size: 14px;
  letter-spacing: .48em;
  font-weight: 500;
}
.split-panel h2 {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.split-panel h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.btn-panel {
  display: inline-flex;
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,.85);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 600;
  text-decoration: none;
  background: rgba(0,0,0,.28);
}

@media (max-width: 768px) {
  .commission-savings {
    padding: 50px 0;
  }
  .calculator-wrapper {
    flex-direction: column;
    gap: 24px;
    padding: 0;
  }
  .calculator-image,
  .calculator-card {
    flex: 1 1 auto;
    width: 100%;
  }
  .calculator-card {
    padding: 24px 18px;
  }
  .calculator-card h2 {
    font-size: 22px;
  }
  .calculator-card p,
  .calculator-card label span,
  .calculator-result p,
  .result-box h3 {
    font-size: 15px;
    line-height: 1.6;
  }
  .result-box h3 {
    font-size: 18px;
  }
  .btn-light,
  .savings-form button {
    width: 100%;
    justify-content: center;
  }
  .footer-top,
  .footer-bottom,
  .footer-credits {
    padding-left: 25px;
    padding-right: 25px;
  }
}

.footer-logo-dark {
  margin-top: 60px;
  width: 75px;
  height: auto;
  display: block;
}
