﻿:root {
  --navy: #0b2a4a;
  --orange: #f7941d;
  --orange-dark: #e07b00;
  --green: #1d8a3c;
  --green-dark: #166e2f;
  --teal: #133b4a;
  --beige: #e4dfd5;
  --text: #333;
  --heading: #1f2a36;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--heading);
  line-height: 1.25;
  margin: 0 0 16px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons & links */
.btn {
  display: inline-block;
  width: 100%;
  max-width: 440px;
  padding: 12px 24px;
  border: 0;
  border-radius: 3px;
  background: var(--green);
  color: #fff;
  font: 700 16px 'Montserrat', Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--green-dark); }
.btn-wide { max-width: 440px; }

.call-line {
  display: block;
  margin-top: 14px;
  font: 700 16px 'Montserrat', Arial, sans-serif;
  color: var(--heading);
  text-decoration: none;
}
.call-line:hover { text-decoration: underline; }

.text-link {
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

/* Header (fixed; main.js sets --header-h to its height) */
html { scroll-padding-top: var(--header-h, 104px); }
body { padding-top: var(--header-h, 104px); }
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.header-bar { background: var(--navy); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.logo img { height: 34px; width: auto; }
.header-call {
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
}
.header-call strong { font-weight: 800; }

.offer-bar {
  background: var(--orange);
  color: #1b1b1b;
  text-align: center;
  padding: 8px 16px;
  font-size: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.offer-bar strong { font-weight: 800; margin-right: 6px; }

/* Hero */
.hero {
  background:
    linear-gradient(90deg, rgba(10, 18, 28, .35) 0%, rgba(10, 18, 28, 0) 45%),
    url(../images/hero.webp) center / cover no-repeat,
    #6b4f3a;
  padding: 40px 0 44px;
}
.hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.hero-copy { flex: 1; max-width: 640px; }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Promo graphic (includes the headline + subtext as white text) */
.promo-img {
  width: 100%;
  max-width: 640px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
}

/* Form card */
.form-card {
  flex: 0 0 330px;
  padding: 24px 20px 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  text-align: center;
}
.form-card h2 { font-size: 22px; margin-bottom: 16px; }
.lead-form input {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 9px 12px;
  font: 14px 'Open Sans', Arial, sans-serif;
  color: var(--text);
  border: 1px solid #c8c8c8;
  border-radius: 3px;
  outline: none;
}
.lead-form input:focus { border-color: var(--navy); }
.lead-form input.invalid { border-color: #d93025; background: #fff6f5; }
.tcpa {
  margin: 4px 0 12px;
  font-size: 9px;
  line-height: 1.45;
  color: #555;
  text-align: left;
}
.form-card .btn { max-width: none; }
.form-card .call-line { font-size: 13px; }
.form-msg { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: #d93025; }
.form-msg:empty { display: none; }
.form-msg.success { color: var(--green); }

/* Trust */
.trust {
  background: #f3f3f3;
  padding: 50px 0 60px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trust-card {
  background: #fff;
  border-radius: 8px;
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
.trust-card svg {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust-card h3 { font-size: 20px; }
.trust-card p { margin: 0; font-size: 15px; }

/* Split sections */
.split { padding: 60px 0; }
.split-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.split-media, .split-copy { flex: 1; }
.split-reverse .split-media { order: 2; }
.split-copy h2 { font-size: 30px; }
.split-copy p { margin: 0 0 16px; }
.split-copy ul { padding-left: 18px; margin: 0 0 24px; }
.split-copy li { margin-bottom: 10px; }
.split-copy .btn { margin-top: 8px; }
.split-sign .split-copy { text-align: left; }
.split-sign .call-line { max-width: 440px; text-align: center; }
.split-sign .split-media img { width: auto; max-height: 440px; margin: 0 auto; }
.agent-img, .smart-img { width: 100%; height: auto; margin: 0 auto; }
.agent-img { max-width: 405px; }
.smart-img { max-width: 546px; }

/* Reviews */
.reviews {
  background: var(--beige);
  padding: 60px 0;
  text-align: center;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 30px;
}
.review-card {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
}
.stars { font-size: 26px; letter-spacing: 4px; color: #1b1b1b; margin-bottom: 10px; }
.review-card h3 { font-size: 18px; font-family: 'Open Sans', Arial, sans-serif; font-weight: 600; }
.review-card p { font-size: 14px; margin: 0 0 14px; }
.reviewer { font-size: 14px; font-weight: 700; }
.trustpilot {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
  font: 600 24px Arial, sans-serif;
  color: #191919;
}
.trustpilot svg { width: 30px; height: 30px; }

/* Bottom offer */
.offer {
  background: var(--teal);
  padding: 50px 0;
  color: #fff;
}
.offer-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.offer-promo {
  flex: 1;
  display: flex;
  justify-content: center;
}
.offer-promo img { width: 100%; max-width: 510px; height: auto; }
.offer-form { flex: 1; max-width: 520px; }
.offer-actions {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 4px;
}
.offer-actions > div { flex: 1; text-align: center; }
.offer-actions .tcpa { flex: 1; margin: 0; color: #c9d6db; }
.offer .call-line { color: #fff; font-size: 13px; }
.offer .form-msg { color: #ffb4ab; }
.offer .form-msg.success { color: #8ee6a4; }

/* Lifestyle image + placeholder */
.lifestyle img { width: 100%; height: auto; max-height: 640px; object-fit: cover; object-position: center 40%; }

.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  width: 100%;
  padding: 16px;
  background: repeating-linear-gradient(45deg, #e6e9ee, #e6e9ee 12px, #dde1e7 12px, #dde1e7 24px);
  border: 2px dashed #9aa5b1;
  border-radius: 6px;
  color: #56616d;
  font: 600 14px 'Open Sans', Arial, sans-serif;
  text-align: center;
}
.lifestyle .img-placeholder { min-height: 520px; border-radius: 0; }

/* Footer */
.site-footer {
  padding: 40px 0 30px;
  font-size: 11px;
  line-height: 1.6;
  color: #555;
}
.site-footer p { margin: 0 0 14px; }
.copyright { font-size: 10px; margin-top: 20px !important; }
.footer-links { font-size: 11px; color: #999; }
.footer-links a { color: #555; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { flex-direction: column; align-items: center; }
  .hero-copy { max-width: none; text-align: center; }
  .promo-img { margin: 0 auto 10px; }
  .form-card { flex-basis: auto; width: 100%; max-width: 420px; }
  .trust-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .split-inner, .offer-inner { flex-direction: column; gap: 32px; }
  .split-reverse .split-media { order: 0; }
  .split-copy { text-align: center; }
  .split-sign .split-copy { text-align: center; }
  .split-copy ul { text-align: left; }
  .split-sign .call-line { margin-left: auto; margin-right: auto; }
  .offer-form { width: 100%; }
  .lifestyle img, .lifestyle .img-placeholder { height: 360px; min-height: 360px; }
}
@media (max-width: 640px) {
  .header-inner { flex-direction: column; justify-content: center; gap: 2px; height: auto; padding-top: 10px; padding-bottom: 10px; }
  .logo img { height: 26px; }
  .header-call { font-size: 14px; }
  .offer-bar { font-size: 14px; }
  .section-title { font-size: 25px; }
  .split { padding: 44px 0; }
  .split-copy h2 { font-size: 24px; }
  .review-grid { grid-template-columns: 1fr; }
  .offer-actions { flex-direction: column; }
  .lifestyle img, .lifestyle .img-placeholder { height: 260px; min-height: 260px; }
}
   /* 1. Establish structural positioning on the body element */
body {
    position: relative;
    min-height: 100vh;
}

/* 2. Style the transparent click overlay block */
.global-page-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* Covers everything on the standard layout layer */
    cursor: pointer;
    background-color: transparent;
}