/* Small asterisk for flat fee pricing */
.flat-fee-asterisk {
  font-size: 0.7em;
  vertical-align: super;
  margin-left: 2px;
}

.flat-fee-asterisk a {
  color: inherit;
  text-decoration: none;
  cursor: help;
  border-bottom: 1px dotted currentColor;
}

.flat-fee-asterisk a:hover {
  color: #3b82f6;
  border-bottom-style: solid;
}

/* Old header styles - replaced with WordPress header structure */
/* .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;
}

/* Homepage - no padding top, slider starts behind header */
body.home {
  padding-top: 0;
}

/* Blog pages - no padding, blog CSS handles spacing */
body.blog-page {
  padding-top: 0;
}

/* 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;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #bfdbfe;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  margin: 0 auto 1.25rem;
}

.section-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.8);
}

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

/* 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;
  /* Ensure header doesn't clip or create stacking context issues */
  overflow: visible;
  transform: none;
  will-change: auto;
}
/* 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: -130px !important; 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: block; /* Changed from grid to block for absolute positioning */
  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));
}

/* Slider Text - WordPress Style - Centered */
.slide-text {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%) !important;
  text-align: center !important;
  width: 100%;
  pointer-events: none;
  margin: 0;
  padding: 0;
}

.slider-title-brilliant {
  font-family: "Cormorant Garamond", serif !important;
  font-size: 150px !important;
  font-weight: 400 !important;
  color: rgb(255, 255, 255) !important;
  line-height: 160px !important;
  letter-spacing: 25px !important;
  text-transform: uppercase !important;
  position: relative !important;
  margin: 0 auto !important;
  padding: 0 !important;
  white-space: nowrap !important;
  display: block !important;
}

.slider-subtitle-property {
  font-family: "Raleway", sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: rgb(215, 146, 107) !important;
  line-height: 31px !important;
  letter-spacing: 12px !important;
  text-transform: uppercase !important;
  position: relative !important;
  margin: 0 auto !important;
  margin-top: 20px !important;
  padding: 0 !important;
  white-space: nowrap !important;
  display: block !important;
}

.slider-lead {
  font-family: "Jost", sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  line-height: 1.8 !important;
  text-align: center !important;
  max-width: 800px !important;
  margin: 30px auto 0 !important;
  padding: 0 40px !important;
  position: relative !important;
  display: block !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

@media (max-width: 768px) {
  .slide-text {
    margin-top: -50px;
  }
}

@media (max-width: 480px) {
  .slide-text {
    margin-top: -60px;
  }
}

/* Slider Scroll Button */
.slider-scroll-button {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.slider-scroll-button:hover {
  transform: translateX(-50%) translateY(5px);
}

.slider-scroll-button:hover svg {
  transform: rotate(90deg) translateY(2px);
}

.slider-scroll-button svg {
  display: block;
  width: 74px;
  height: 40px;
  transform: rotate(90deg);
}

/* Slider Overlay Images - Removed - No overlay images, only background slider */
.slide-overlay {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Mobile - Remove negative margin and hide overlay */
@media only screen and (max-width: 1024px) {
  .hero-slider {
    margin-top: 0 !important;
  }
  
  .slide-overlay {
    display: none !important;
  }
  
  /* Ensure slide background starts at the very top */
  .slide {
    background-position: center top !important;
  }
}

/* Responsive adjustments for slider text */
@media (max-width: 1684px) {
  .slider-title-brilliant {
    font-size: clamp(80px, 8.9vw, 150px);
    letter-spacing: clamp(12px, 1.5vw, 25px);
    line-height: 1.07;
  }
  
  .slider-subtitle-property {
    font-size: clamp(12px, 0.9vw, 15px);
    letter-spacing: clamp(8px, 0.7vw, 12px);
    line-height: 2.07;
  }
  
  .slider-lead {
    font-size: clamp(1rem, 1.2vw, 1.25rem) !important;
    margin-top: 25px !important;
  }
}

/* Mobile slider text adjustments */
@media only screen and (max-width: 768px) {
  .slider-title-brilliant {
    font-size: clamp(40px, 12vw, 80px) !important;
    letter-spacing: clamp(4px, 1vw, 12px) !important;
    line-height: 1.1 !important;
  }
  
  .slider-subtitle-property {
    font-size: clamp(10px, 2.5vw, 12px) !important;
    letter-spacing: clamp(4px, 1vw, 8px) !important;
    line-height: 1.8 !important;
    margin-top: 15px !important;
  }
  
  .slider-lead {
    font-size: clamp(0.9rem, 3vw, 1.1rem) !important;
    margin-top: 20px !important;
    padding: 0 20px !important;
    line-height: 1.6 !important;
  }
  
  .slider-scroll-button {
    bottom: 40px;
  }
  
  .slider-scroll-button svg {
    width: 50px;
    height: 27px;
  }
}

@media only screen and (max-width: 480px) {
  .slider-title-brilliant {
    font-size: clamp(32px, 10vw, 50px) !important;
    letter-spacing: clamp(2px, 0.8vw, 6px) !important;
  }
  
  .slider-subtitle-property {
    font-size: clamp(9px, 2vw, 11px) !important;
    letter-spacing: clamp(3px, 0.8vw, 6px) !important;
  }
  
  .slider-lead {
    font-size: clamp(0.85rem, 2.5vw, 1rem) !important;
    margin-top: 15px !important;
    padding: 0 15px !important;
    line-height: 1.5 !important;
  }
}

/* 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);
  /* Ensure sticky header doesn't create stacking context that clips menu */
  overflow: visible;
  transform: none;
  will-change: auto;
}
.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 .bridge-text {
  white-space: nowrap;
}
.bridge-link .bridge-separator {
  margin: 0 4px;
}
.bridge-link .bridge-link-cta {
  color: inherit;
  text-decoration: underline;
  margin-left: 4px;
}
.bridge-link:hover {
  background: #1e2236;
  color: #ffffff;
}
.bridge-link:hover .bridge-link-cta {
  color: #ffffff;
}

.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: 25px 0 35px;
  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;
}
.blog-news-section {
  padding: 0px 0;
  background-color: #ffffff;
  background-image: url(data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="subtle-grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(194, 133, 98, 0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23subtle-grid)"/></svg>);
  background-size: 80px 80px;
  overflow-x: hidden;
  margin-bottom: 20px;
  margin-top: 50px;
}

.blog-news-section .container {
  overflow-x: hidden;
}

.blog-news-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.blog-news-slider-wrapper {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 16px;
}

.blog-news-slider {
  position: relative;
  width: 100%;
  padding-bottom: 70px;
  overflow: hidden;
}

.blog-article-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.6rem;
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 180px;
}

.blog-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.article-thumb {
  display: block;
  width: 90px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  background: #e2e8f0;
  flex-shrink: 0;
}

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

.blog-article-card .article-inner {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: left;
  justify-content: space-between;
}

.blog-article-card.placeholder {
  min-height: 160px;
}

.placeholder-thumb {
  background: repeating-linear-gradient(45deg, #e2e8f0, #e2e8f0 8px, #f8fafc 8px, #f8fafc 16px);
}

.article-meta {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0;
}

.article-title {
  font-size: 1.4rem;
  font-family: 'Montserrat', sans-serif;
  color: #0f172a;
  margin: 0;
}

.article-title a {
  color: inherit;
  text-decoration: none;
}

.article-title a:hover {
  text-decoration: underline;
}

.article-excerpt {
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.article-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.article-link:hover {
  text-decoration: underline;
}

.blog-news-pagination {
  margin-top: 20px;
  position: relative;
  bottom: 0;
}

.blog-news-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #cbd5e1;
  opacity: 1;
  margin: 0 4px;
}

.blog-news-pagination .swiper-pagination-bullet-active {
  background: #2563eb;
  width: 24px;
  border-radius: 4px;
}

.blog-news-prev,
.blog-news-next {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  z-index: auto !important;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  color: #1d4ed8;
  cursor: pointer;
}

.blog-news-prev::after,
.blog-news-next::after {
  font-size: 16px !important;
}

.blog-news-error {
  text-align: center;
  color: #64748b;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  /* Mobile hero h1 margin */
  .hero-slider .slide h1 {
    margin-top: 40px !important;
  }
  .blog-news-section {
    padding: 40px 0;
  }

  .blog-news-header {
    padding: 0 20px;
    margin-bottom: 2rem;
  }

  .blog-news-header h2 {
    font-size: 1.75rem;
  }

  .blog-news-header p {
    font-size: 0.95rem;
  }

  .blog-news-slider-wrapper {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 20px;
  }

  .blog-news-slider {
    padding-bottom: 50px;
  }

  .blog-article-card {
    grid-template-columns: 1fr;
    padding: 1.2rem;
    gap: 1rem;
    min-height: 0;
  }

  .article-thumb {
    width: 100%;
    height: 180px;
    order: -1;
  }

  .blog-article-card .article-inner {
    gap: 0.5rem;
  }

  .article-title {
    font-size: 1.15rem;
    line-height: 1.4;
  }

  .article-excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .article-meta {
    font-size: 0.75rem;
  }

  .blog-news-prev,
  .blog-news-next {
    display: none;
  }

  .blog-news-pagination {
    margin-top: 15px;
  }
}

@media (max-width: 640px) {
  .blog-news-section {
    padding: 30px 0;
  }

  .blog-news-header {
    margin-bottom: 1.5rem;
  }

  .blog-news-header h2 {
    font-size: 1.5rem;
  }

  .blog-news-header p {
    font-size: 0.9rem;
  }

  .blog-news-slider-wrapper {
    padding: 0 15px;
  }

  .blog-article-card {
    padding: 1rem;
    gap: 0.875rem;
  }

  .article-thumb {
    height: 160px;
  }

  .article-title {
    font-size: 1.05rem;
  }

  .article-excerpt {
    font-size: 0.85rem;
  }
}

.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;
}
.testimonials .container {
  max-width: 1400px;
  margin: 0 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-controls .swiper-button-prev,
.swiper-controls .swiper-button-next {
  position: static;
  margin: 0;
}
.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-board-members {
  background: url('../img/for-board-members-bpm.jpg') center/cover no-repeat;
}
.panel-developers {
  background: url('../img/Developer-hand-over-bpm.jpg') 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 */
/* Old footer styles - hidden when WordPress footer is present */
.site-footer:not(#qodef-page-footer) {
  background: #ffffff;
  border-top: 1px solid rgba(17,24,39,.08);
  color: #111827;
}

/* Hide old footer if WordPress footer exists */
body:has(#qodef-page-footer) .site-footer:not(#qodef-page-footer) {
  display: none;
}
.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) {
  /* 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: 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; }
  .testimonials .swiper-button-prev,
  .testimonials .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; }
  /* Mobile hero buttons - white outlined style for tablets */
  .hero-slider .cta-row {
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
    width: 100%;
  }
  .hero-slider .cta-row .btn {
    width: 100%;
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    border-radius: 0;
    box-shadow: none !important;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
  }
  .hero-slider .cta-row .btn:hover {
    background: rgba(0, 0, 0, 0.3) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.95) !important;
  }
  /* Mobile bridge-link - stacked */
  .bridge-link {
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    letter-spacing: .2em;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }
  .bridge-link .bridge-separator {
    display: none;
  }
  .bridge-link .mobile-hidden {
    display: none;
  }
  .bridge-link .bridge-text {
    display: block;
    white-space: normal;
    line-height: 1.5;
  }
  .bridge-link .bridge-link-cta {
    display: block;
    margin-top: 8px;
    margin-left: 0;
    text-decoration: underline;
    font-weight: 600;
  }
  .headline-bridge {
    padding: 30px 15px;
  }
  .headline-bridge .container {
    padding: 0;
  }
  .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: 130px; }
  body.home { padding-top: 0; } /* Homepage hero handles its own spacing */
  .header-inner { height: 64px; }
  .logo { padding-left: 10px; }
  .logo img { height: 40px; }
  /* Fix hero slider being cut off on small screens */
  .hero-slider { 
    margin-top: 0; 
    padding-top: 64px; 
    overflow-y: auto; /* Allow scrolling if content is taller */
  }
  .slider { min-height: calc(100vh - 64px); }
  .slide { 
    min-height: calc(100vh - 64px);
    padding-bottom: 20px;
  }
  .slide-content { 
    padding-top: 30px; 
    padding-bottom: 40px; 
    padding-left: 15px; 
    padding-right: 15px;
    min-height: auto; /* Don't force minimum height */
  }
  .slide h1 {
    margin-top: 40px !important;
  }
  /* Mobile bridge-link - stacked and reworded */
  .bridge-link {
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    letter-spacing: .2em;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }
  .bridge-link .bridge-separator {
    display: none;
  }
  .bridge-link .mobile-hidden {
    display: none;
  }
  .bridge-link .bridge-text {
    display: block;
    white-space: normal;
    line-height: 1.5;
  }
  .bridge-link .bridge-link-cta {
    display: block;
    margin-top: 8px;
    margin-left: 0;
    text-decoration: underline;
    font-weight: 600;
  }
  .headline-bridge {
    padding: 30px 15px;
  }
  .headline-bridge .container {
    padding: 0;
  }
  /* Mobile hero buttons - white outlined style */
  .hero-slider .cta-row {
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
  }
  .hero-slider .cta-row .btn {
    width: 100%;
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    border-radius: 0;
    box-shadow: none !important;
    padding: 14px 22px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
  }
  .hero-slider .cta-row .btn:hover {
    background: rgba(0, 0, 0, 0.3) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.95) !important;
  }
}

/* Larger mobile screens (iPhone 14 Pro, 15 Pro, etc. - 376px to 430px) */
@media (min-width: 376px) and (max-width: 430px) {
  body.home { padding-top: 0; }
  .hero-slider { 
    margin-top: 0; 
    padding-top: 85px !important; /* More space for larger phones */
    overflow-y: auto;
  }
  .slide-content { 
    padding-top: 40px !important; /* Extra padding for content spacing */
  }
  .slide h1 {
    margin-top: 40px !important;
  }
  /* Ensure buttons maintain white outlined style on larger phones */
  .hero-slider .cta-row {
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
  }
  .hero-slider .cta-row .btn {
    width: 100%;
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    padding: 16px 24px;
    font-size: 15px;
  }
}

/* Extra small screens (iPhone SE, etc.) */
@media (max-width: 375px) {
  /* Ensure hero content is fully visible on very small screens */
  body.home { padding-top: 0; }
  
  /* Reduce header size */
  .header-inner { height: 56px !important; }
  .logo img { height: 32px !important; }
  .site-header { height: 56px !important; }
  
  .hero-slider { 
    margin-top: 0; 
    padding-top: 56px !important; 
    min-height: calc(100vh - 56px);
    overflow-y: auto;
  }
  .slider { min-height: calc(100vh - 56px); }
  .slide { 
    min-height: calc(100vh - 56px);
    padding-top: 0;
    padding-bottom: 10px;
  }
  .slide-content { 
    padding-top: 10px !important; 
    padding-bottom: 15px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    min-height: auto;
  }
  .slide h1 { 
    margin-top: 40px !important;
    font-size: 18px !important; 
    line-height: 1.15 !important;
    margin-bottom: 0.4rem !important; 
    letter-spacing: -0.01em !important;
    font-weight: 700 !important;
  }
  .slide h2 { 
    font-size: 14px !important;
    line-height: 1.25 !important;
    margin-top: 0.4rem !important;
    margin-bottom: 0.4rem !important;
    font-weight: 700 !important;
  }
  .slide h2 strong {
    font-size: 16px !important;
  }
  .slide .tagline { 
    font-size: 11px !important; 
    line-height: 1.35 !important; 
    margin-top: 0.4rem !important;
    margin-bottom: 0.6rem !important;
  }
  .slide .powered-by { 
    font-size: 9px !important; 
    margin-bottom: 0.2rem !important;
    margin-top: 0 !important;
    line-height: 1.2 !important;
  }
  .slide .powered-by::after {
    margin-top: 5px !important;
    width: 60px !important;
  }
  /* Mobile bridge-link - stacked for very small phones */
  .bridge-link {
    flex-direction: column !important;
    gap: 4px !important;
    padding: 12px 16px !important;
    letter-spacing: .15em !important;
    font-size: 11px !important;
  }
  .bridge-link .bridge-separator {
    display: none !important;
  }
  .bridge-link .mobile-hidden {
    display: none !important;
  }
  .bridge-link .bridge-text {
    display: block !important;
    white-space: normal !important;
    line-height: 1.4 !important;
  }
  .bridge-link .bridge-link-cta {
    display: block !important;
    margin-top: 6px !important;
    margin-left: 0 !important;
    font-size: 11px !important;
  }
  .headline-bridge {
    padding: 24px 12px !important;
  }
  .cta-row { 
    gap: 10px !important; 
    margin-top: 0.75rem !important; 
    flex-direction: column !important; 
    width: 100%;
  }
  .hero-slider .cta-row .btn { 
    width: 100% !important;
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 11px !important; 
    padding: 10px 16px !important; 
    letter-spacing: 0.08em !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    text-align: center;
  }
  .hero-slider .cta-row .btn:hover {
    background: rgba(0, 0, 0, 0.3) !important;
    color: #ffffff !important;
  }
}


/* 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;
}

@media (max-width: 992px) {
  .testimonial-card {
    padding: 40px;
  }
}

.testimonial-swiper {
  position: relative;
  padding-bottom: 48px;
  overflow: visible;
}

.testimonial-swiper .swiper-slide {
  height: auto;
}
