:root{--rek-navy:#061d35;--rek-deep:#021326;--rek-blue:#0867d6;--rek-sky:#18aef5;--rek-gold:#d7a21f;--rek-green:#19b634;--rek-ink:#0b2341;--rek-muted:#5f7087;--rek-line:#dce6f2;--rek-bg:#f5fbff;--rek-white:#fff;--rek-shadow:0 18px 45px rgba(4,26,50,.12);--rek-radius:22px}body.rek-mobile-open{overflow:hidden}.rek-fullbleed{width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}.rek-wrap{max-width:1240px;margin:0 auto;padding:0 22px}.rek-topbar{background:#fff;border-bottom:1px solid #edf2f7;font-family:Inter,Arial,sans-serif;position:relative;z-index:1000}.rek-header-inner{height:86px;display:flex;align-items:center;justify-content:space-between;gap:24px}.rek-logo img{height:58px;width:auto;display:block}.rek-nav{display:flex;align-items:center;gap:4px}.rek-nav-item{position:relative}.rek-nav-link{display:flex;align-items:center;gap:6px;padding:32px 13px;color:var(--rek-ink);font-weight:800;font-size:13px;letter-spacing:.02em;text-transform:uppercase;text-decoration:none}.rek-nav-link:hover{color:var(--rek-blue)}.rek-mega{position:absolute;top:100%;left:50%;transform:translateX(-50%) translateY(10px);width:min(1120px,calc(100vw - 42px));background:#fff;border:1px solid var(--rek-line);box-shadow:var(--rek-shadow);border-radius:0 0 18px 18px;opacity:0;visibility:hidden;pointer-events:none;transition:.18s ease;padding:22px;display:grid;grid-template-columns:repeat(6,1fr);gap:18px}.rek-nav-item:hover .rek-mega,.rek-nav-item:focus-within .rek-mega{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)}.rek-mega h4{margin:0 0 10px;color:var(--rek-blue);font-size:13px;text-transform:uppercase}.rek-mega a{display:block;color:var(--rek-ink);font-size:14px;text-decoration:none;padding:5px 0}.rek-mega a:hover{color:var(--rek-blue)}.rek-header-actions{display:flex;align-items:center;gap:14px;white-space:nowrap}.rek-phone{color:var(--rek-ink);font-weight:800;text-decoration:none}.rek-btn,.rek-button,.rek-nh-btn,.rek-nh-lead-form button,.rek-nh-search button,.rek-ajax-form button,.rek-search-form button{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(135deg,var(--rek-blue),#004da8);color:#fff!important;padding:13px 20px;border-radius:8px;text-decoration:none;border:0;font-weight:900;letter-spacing:.02em;cursor:pointer;box-shadow:0 8px 18px rgba(8,103,214,.22)}.rek-btn.gold{background:linear-gradient(135deg,var(--rek-gold),#b77c08);color:#fff!important}.rek-btn.green{background:linear-gradient(135deg,var(--rek-green),#0b8e1f)}.rek-mobile-toggle{display:none;background:#fff;border:1px solid var(--rek-line);border-radius:10px;padding:9px 11px;font-weight:900;color:var(--rek-ink)}.rek-mobile-panel{position:fixed;inset:0 0 0 auto;width:min(370px,90vw);background:#fff;z-index:9999;transform:translateX(105%);transition:.22s ease;box-shadow:-16px 0 45px rgba(0,0,0,.22);padding:24px;overflow:auto}.rek-mobile-open .rek-mobile-panel{transform:translateX(0)}.rek-mobile-panel a{display:block;padding:12px 0;color:var(--rek-ink);text-decoration:none;border-bottom:1px solid #eef3f8;font-weight:800}.rek-mobile-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.rek-mobile-head img{height:48px}.rek-close{border:0;background:#f2f6fb;border-radius:10px;padding:9px 12px;font-size:20px}.rek-hero{background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,.92)),url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=2200&q=80') center/cover no-repeat;min-height:560px;display:flex;align-items:center;text-align:center;color:var(--rek-ink);position:relative}.rek-hero h1{font-family:Georgia,serif;font-size:clamp(38px,5vw,68px);line-height:1.02;margin:0;color:var(--rek-ink)}.rek-script{display:block;font-family:Georgia,serif;font-style:italic;color:var(--rek-blue);font-weight:400}.rek-hero p{font-size:19px;max-width:720px;margin:18px auto 26px;color:#183550}.rek-search-card{background:rgba(255,255,255,.96);box-shadow:var(--rek-shadow);border:1px solid var(--rek-line);border-radius:18px;padding:18px;max-width:980px;margin:0 auto}.rek-tabs{display:flex;justify-content:center;gap:0;margin:0 auto 0;transform:translateY(1px)}.rek-tab{background:#fff;border:1px solid var(--rek-line);padding:14px 28px;font-weight:900;color:var(--rek-ink)}.rek-tab:first-child{border-radius:14px 0 0 0}.rek-tab:last-child{border-radius:0 14px 0 0}.rek-tab.active{color:var(--rek-blue);box-shadow:inset 0 -3px var(--rek-blue)}.rek-search-form,.rek-nh-search{display:grid;grid-template-columns:1.4fr repeat(4,1fr) auto;gap:12px;align-items:end}.rek-field label,.rek-search-form label,.rek-nh-search label,.rek-nh-lead-form label,.rek-ajax-form label{display:block;font-size:12px;color:#4d6076;font-weight:800;margin-bottom:6px;text-align:left}.rek-field input,.rek-field select,.rek-field textarea,.rek-search-form input,.rek-search-form select,.rek-nh-search input,.rek-nh-lead-form input,.rek-nh-lead-form textarea,.rek-ajax-form input,.rek-ajax-form select,.rek-ajax-form textarea{width:100%;box-sizing:border-box;border:1px solid #cfdbea;border-radius:10px;padding:12px;background:#fff;color:var(--rek-ink);font-size:15px}.rek-value-strip{background:#f0f8ff;border-top:1px solid #e2edf9;border-bottom:1px solid #e2edf9}.rek-values{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding:26px 0}.rek-value{display:flex;gap:14px;align-items:center}.rek-icon{width:54px;height:54px;border-radius:50%;background:linear-gradient(135deg,var(--rek-blue),#003f9b);color:#fff;display:grid;place-items:center;font-size:24px;flex:0 0 auto}.rek-section{padding:48px 0}.rek-section-title{text-align:center;margin:0 0 26px}.rek-section-title h2{font-size:clamp(30px,3vw,44px);line-height:1.1;margin:0;color:var(--rek-ink)}.rek-section-title span{color:var(--rek-blue)}.rek-card-row{display:grid;grid-template-columns:1.25fr 1.25fr .9fr;gap:24px}.rek-panel{background:#fff;border:1px solid var(--rek-line);border-radius:20px;box-shadow:0 10px 25px rgba(7,31,61,.08);padding:22px}.rek-panel h3{margin:0 0 14px;color:var(--rek-ink)}.rek-promo-kj{background:radial-gradient(circle at 80% 35%,rgba(0,174,255,.4),transparent 32%),linear-gradient(135deg,#04213d,#06182d 58%,#093d62);color:#fff}.rek-promo-kj .rek-wrap{display:grid;grid-template-columns:1fr .8fr;gap:30px;align-items:center;padding-top:38px;padding-bottom:38px}.rek-promo-kj h2{font-size:38px;line-height:1.04;margin:0 0 12px}.rek-promo-kj h2 span{color:#20c7ff}.rek-kj-services{display:flex;gap:18px;flex-wrap:wrap;margin:22px 0;color:#b8ff51;font-weight:800}.rek-kj-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:20px;padding:24px;text-align:center}.rek-process{display:grid;grid-template-columns:1.1fr repeat(5,1fr);gap:18px;align-items:stretch}.rek-step{text-align:center;background:#fff;border:1px solid var(--rek-line);border-radius:18px;padding:20px;box-shadow:0 8px 20px rgba(7,31,61,.06)}.rek-step-num{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;margin:-36px auto 10px;background:var(--rek-blue);color:#fff;font-weight:900}.rek-bottom-cta{background:linear-gradient(135deg,#0575e6,#0049aa);color:#fff;padding:26px 0}.rek-bottom-cta .rek-wrap{display:flex;justify-content:space-between;align-items:center;gap:22px}.rek-footer{background:linear-gradient(180deg,#06213e,#02152a);color:#d7e8fa;padding:46px 0 0}.rek-footer-grid{display:grid;grid-template-columns:1.4fr repeat(5,1fr) 1.3fr;gap:26px}.rek-footer img{max-width:230px}.rek-footer h4{color:#fff;margin:0 0 12px}.rek-footer a{display:block;color:#d7e8fa;text-decoration:none;padding:4px 0;font-size:14px}.rek-footer a:hover{color:#fff}.rek-kj-footer-card{border:1px solid rgba(255,255,255,.22);border-radius:16px;padding:16px;background:rgba(255,255,255,.06)}.rek-legal{background:#f6f8fb;color:#6d7786;font-size:12px;padding:16px 0}.rek-legal .rek-wrap{display:flex;justify-content:space-between;gap:20px;align-items:center}.rek-form-message{padding:12px 14px;border-radius:12px;margin:0 0 14px;font-weight:800}.rek-form-message.is-success{background:#e7f9ed;border:1px solid #81ca94;color:#115b22}.rek-form-message.is-error{background:#fff0f0;border:1px solid #d79292;color:#7a1d1d}.rek-spinner{display:none;width:16px;height:16px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:rekspin .8s linear infinite}.is-loading .rek-spinner{display:inline-block}.is-loading .rek-btn-text{opacity:.72}@keyframes rekspin{to{transform:rotate(360deg)}}.rek-nh-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px;margin:24px 0}.rek-nh-card{border:1px solid rgba(20,27,45,.14);border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(0,0,0,.08);overflow:clip}.rek-nh-card img{width:100%;height:190px;object-fit:cover;display:block}.rek-nh-card-body{padding:20px}.rek-nh-eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.09em;font-weight:700;color:#8a6b25}.rek-nh-card h3{margin:7px 0 8px;font-size:22px;line-height:1.2}.rek-nh-muted{color:#5d6677;font-size:14px}.rek-nh-price{font-size:20px;font-weight:800;color:#071b33}.rek-nh-incentive{background:#fff7e1;border-left:4px solid #b88a2d;padding:10px;border-radius:10px}.rek-nh-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;align-items:end}.rek-nh-lead-form{border:1px solid rgba(20,27,45,.14);border-radius:20px;padding:24px;background:#f8fafc;margin:28px 0}.rek-nh-disclaimer{font-size:12px;color:#697386;line-height:1.45;margin-top:16px}.rek-nh-success{background:#e9f9ed;border:1px solid #89c797;padding:12px;border-radius:12px}.rek-nh-error{background:#fff0f0;border:1px solid #df9b9b;padding:12px;border-radius:12px}.rek-nh-map-list{display:grid;gap:12px}.rek-nh-map-item{border:1px solid rgba(20,27,45,.14);border-radius:14px;padding:14px;background:#fff}.rek-nh-admin-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin:20px 0}.rek-nh-admin-card{background:#fff;border:1px solid #dcdcde;border-radius:12px;padding:16px}.rek-nh-admin-card strong{display:block}.rek-nh-admin-card span{font-size:28px;font-weight:800}@media(max-width:1020px){.rek-nav,.rek-phone{display:none}.rek-mobile-toggle{display:inline-block}.rek-search-form,.rek-nh-search{grid-template-columns:1fr 1fr}.rek-card-row{grid-template-columns:1fr}.rek-process{grid-template-columns:1fr 1fr}.rek-promo-kj .rek-wrap{grid-template-columns:1fr}.rek-footer-grid{grid-template-columns:1fr 1fr}.rek-values{grid-template-columns:1fr}}@media(max-width:640px){.rek-header-inner{height:72px}.rek-logo img{height:45px}.rek-hero{min-height:640px}.rek-search-form,.rek-nh-search{grid-template-columns:1fr}.rek-tabs{display:none}.rek-values{padding:20px 0}.rek-process{grid-template-columns:1fr}.rek-bottom-cta .rek-wrap,.rek-legal .rek-wrap{display:block;text-align:center}.rek-footer-grid{grid-template-columns:1fr}.rek-promo-kj h2{font-size:30px}}

/* v1.0.3 visual refinements from homepage review */
.rek-topbar{background:#fff;box-shadow:0 10px 28px rgba(2,19,38,.08);position:relative;z-index:50}.rek-header-inner{height:74px;display:flex;align-items:center;justify-content:center;gap:24px}.rek-header-inner .rek-logo{display:none!important}.rek-nav{display:flex!important;align-items:center;justify-content:center;gap:18px;flex:1;min-width:0}.rek-nav-link{font-size:14px!important;line-height:1!important;text-decoration:none!important;white-space:nowrap;text-transform:uppercase;letter-spacing:.025em}.rek-nav-item{position:static}.rek-mega{left:50%;right:auto;top:74px;width:min(1180px,calc(100vw - 64px));grid-template-columns:repeat(6,minmax(130px,1fr));z-index:100}.rek-header-actions{margin-left:auto;gap:12px}.rek-header-actions .rek-btn{padding:12px 18px}.rek-phone{text-decoration:none!important;font-size:15px}.rek-hero p{color:#061d35!important;font-weight:800!important;text-shadow:0 1px 0 rgba(255,255,255,.75)}.rek-promo-kj h2{color:#f8fcff!important;text-shadow:0 2px 14px rgba(0,0,0,.28)}.rek-promo-kj h2 span{color:#26c8ff!important}.rek-promo-kj p{color:#f4fbff!important}.rek-kj-card h3{color:#fff!important}.rek-kj-card p{color:#eef9ff!important}.rek-process-sub{margin:-6px 0 18px;color:#31445c;font-weight:800}.rek-process{grid-template-columns:repeat(5,1fr)!important;gap:18px}.rek-kj-footer-card .rek-btn,.rek-kj-footer-card a.rek-btn{padding:12px 18px!important;text-decoration:none!important;line-height:1.2}.rek-footer a,.rek-btn{text-decoration:none!important}@media(max-width:1180px){.rek-nav{gap:12px}.rek-nav-link{font-size:12px!important}.rek-phone{font-size:13px}.rek-header-actions .rek-btn{padding:10px 13px}}@media(max-width:1020px){.rek-nav{display:none!important}.rek-header-inner{justify-content:space-between}.rek-mobile-toggle{display:inline-block}.rek-phone{display:none}.rek-mega{display:none}.rek-process{grid-template-columns:1fr 1fr!important}}@media(max-width:640px){.rek-process{grid-template-columns:1fr!important}.rek-header-inner{height:72px}}


/* v1.1.2 compact buying-process rows */
.rek-process-box{padding:0;margin:0}.rek-process-box h2{margin:0 0 4px;color:var(--rek-ink);font-size:clamp(24px,2.2vw,34px);line-height:1.12}.rek-process-box .rek-process-sub{margin:0 0 14px;color:#31445c;font-weight:800}.rek-process.rek-process-rows{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;align-items:stretch}.rek-process-rows .rek-step{display:grid;grid-template-columns:34px 1fr;gap:12px;text-align:left;align-items:center;padding:11px 14px;border-radius:14px;box-shadow:0 6px 16px rgba(7,31,61,.045);min-height:auto}.rek-process-rows .rek-step-num{margin:0;width:30px;height:30px;font-size:14px}.rek-process-rows .rek-step strong{display:block;font-size:15px;color:var(--rek-ink);line-height:1.1}.rek-process-rows .rek-step p{margin:3px 0 0;font-size:13px;line-height:1.28;color:#4c6076}.rek-card-row>.rek-panel:nth-child(2){padding:26px 28px}@media(max-width:1020px){.rek-process.rek-process-rows{grid-template-columns:1fr!important}}@media(max-width:640px){.rek-process-rows .rek-step{grid-template-columns:30px 1fr;padding:10px 12px}.rek-process-box h2{font-size:24px}}

.rek-panel-media{margin-top:18px}.rek-panel-media img{display:block;width:100%;height:auto;border-radius:16px;border:1px solid var(--rek-line);box-shadow:0 10px 24px rgba(7,31,61,.08)}


/* ---------- v1.1.6 MOBILE MENU FIX + HERO PILL ---------- */

.rek-script-pill {
  display: inline-block;
  background: #ffffff;
  color: var(--rek-blue) !important;
  padding: 6px 22px 9px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0,0,0,.16);
  border: 1px solid rgba(8,103,214,.14);
  line-height: 1;
  margin-top: 4px;
}

.rek-mobile-panel {
  display: block !important;
}

body.rek-mobile-open .rek-mobile-panel {
  transform: translateX(0) !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

body.rek-mobile-open::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(2,19,38,.42);
  z-index: 9998;
}

.rek-mobile-panel {
  z-index: 10000 !important;
}

.rek-mobile-toggle {
  position: relative;
  z-index: 10001;
}

.rek-close {
  cursor: pointer;
}

@media (max-width: 1020px) {
  .rek-header-actions {
    margin-left: auto;
  }
  .rek-header-actions .rek-btn.gold {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .rek-header-actions .rek-btn.gold {
    display: none;
  }
  .rek-script-pill {
    padding: 5px 16px 8px;
  }
}


/* ---------- v1.1.7 FORCE HERO ACROSS-FLORIDA PILL ---------- */
.rek-hero .rek-script,
.rek-hero .rek-script-pill,
.rek-script-pill {
  display: inline-block !important;
  background: #ffffff !important;
  color: var(--rek-blue) !important;
  padding: 8px 24px 10px !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.20) !important;
  border: 1px solid rgba(8,103,214,.18) !important;
  line-height: 1 !important;
  margin-top: 6px !important;
  text-shadow: none !important;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

@media (max-width: 640px) {
  .rek-hero .rek-script,
  .rek-hero .rek-script-pill,
  .rek-script-pill {
    padding: 6px 17px 8px !important;
    font-size: .85em !important;
  }
}


/* ---------- v1.1.8 HERO PILL TEXT FIT ---------- */
.rek-hero .rek-script-pill {
  font-size: clamp(22px, 3.1vw, 42px) !important;
  white-space: normal !important;
  max-width: min(94vw, 980px) !important;
}

@media (max-width: 640px) {
  .rek-hero .rek-script-pill {
    font-size: clamp(18px, 5.2vw, 28px) !important;
    line-height: 1.08 !important;
  }
}


/* ---------- v1.1.10 SAFE RECOVERY: HERO TITLE READABILITY ---------- */
/* CSS-only fix. No shortcode/PHP markup rewrite. */
.rek-hero h1 {
  display: inline-block !important;
  background: #ffffff !important;
  color: var(--rek-ink) !important;
  padding: 14px 30px 18px !important;
  border-radius: 999px !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.22) !important;
  border: 1px solid rgba(8,103,214,.18) !important;
  text-shadow: none !important;
  max-width: min(1120px, 94vw) !important;
}

.rek-hero h1 .rek-script,
.rek-hero h1 .rek-script-pill {
  display: inline !important;
  background: transparent !important;
  color: var(--rek-blue) !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  text-shadow: none !important;
  white-space: normal !important;
}

@media (max-width: 760px) {
  .rek-hero h1 {
    border-radius: 28px !important;
    padding: 10px 18px 13px !important;
  }
}


/* ---------- v1.1.11 HERO PILL RESPONSIVE ADJUSTMENTS ---------- */
/* Laptop/desktop: reduce pill headline size. */
@media (min-width: 761px) {
  .rek-hero h1 {
    font-size: clamp(30px, 3.6vw, 52px) !important;
    line-height: 1.05 !important;
  }
}

/* Mobile portrait: add breathing room above pill. */
@media (max-width: 760px) and (orientation: portrait) {
  .rek-hero h1 {
    margin-top: 25px !important;
  }
}


/* ---------- v1.1.12 CONTACT PAGE COMPACT CARD ---------- */
.rek-contact-card {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: start;
  background: #ffffff;
  border: 1px solid var(--rek-line);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(7,31,61,.09);
  padding: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.rek-contact-info h2 {
  margin: 0 0 10px;
  color: var(--rek-ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.rek-contact-info p {
  color: #344a63;
  line-height: 1.55;
  font-size: 16px;
}

.rek-contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin: 22px 0;
}

.rek-contact-methods a {
  display: block;
  text-decoration: none !important;
  border: 1px solid var(--rek-line);
  border-radius: 16px;
  padding: 18px;
  background: #f6fbff;
  box-shadow: 0 8px 18px rgba(7,31,61,.045);
}

.rek-contact-methods strong {
  display: block;
  color: var(--rek-ink);
  margin-bottom: 5px;
}

.rek-contact-methods span {
  color: var(--rek-blue);
  font-weight: 900;
}

.rek-contact-note {
  background: #fff8e6;
  border-left: 4px solid var(--rek-gold);
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 750;
}

.rek-contact-form .rek-nh-lead-form {
  margin: 0;
}

@media (max-width: 900px) {
  .rek-contact-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

@media (max-width: 600px) {
  .rek-contact-methods {
    grid-template-columns: 1fr;
  }
}


/* ---------- v1.1.13 UNIQUE MEGA MENU ANCHOR DESTINATIONS ---------- */
.rek-anchor-card {
  background: #ffffff;
  border: 1px solid var(--rek-line);
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(7,31,61,.08);
  padding: 28px;
}
.rek-anchor-card h2 {
  margin: 0 0 10px;
  color: var(--rek-ink);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
}
.rek-anchor-card p,
.rek-anchor-card li {
  color: #344a63;
  font-size: 16px;
  line-height: 1.55;
}
.rek-anchor-band {
  background: #f6fbff;
}
#current-incentives,
#closing-cost-help,
#rate-buydowns,
#builder-data,
#feed-services,
#send-your-feed,
#buyer-representation,
#before-visiting-builder,
#search-new-homes {
  scroll-margin-top: 110px;
}


/* ---------- v1.1.15 CONTEXTUAL LEAD FORM ---------- */
.rek-context-lead-form {
  scroll-margin-top: 110px;
  background: #ffffff;
  border: 1px solid var(--rek-line);
  box-shadow: 0 14px 34px rgba(7,31,61,.10);
}

.rek-context-lead-form h3 {
  margin-top: 0;
  color: var(--rek-ink);
  font-size: clamp(24px, 2.8vw, 36px);
}

.rek-lead-context-summary {
  background: #f0f8ff;
  border: 1px solid rgba(8,103,214,.18);
  border-radius: 14px;
  padding: 12px 14px;
  color: #183550;
  font-weight: 800;
}

.rek-context-lead-form select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cfdbea;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
  color: var(--rek-ink);
  font-size: 15px;
}

.rek-lead-trigger {
  margin-top: 10px;
}


/* ---------- v1.1.16 ALIGNMENT / ACTIVE STATES / FORM FIELD FIXES ---------- */

/* Equal-height public cards with fixed text rhythm */
.rek-nh-grid {
  align-items: stretch;
}

.rek-nh-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rek-nh-card > img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.rek-nh-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rek-nh-card-body h3 {
  min-height: 2.5em;
  line-height: 1.25;
}

.rek-nh-card-body p:not(.rek-nh-price):not(.rek-nh-muted):not(.rek-nh-incentive) {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.65em;
}

.rek-nh-card-body .rek-nh-muted {
  min-height: 2.2em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rek-nh-card-body .rek-nh-btn,
.rek-nh-card-body .rek-lead-trigger {
  margin-top: auto;
  align-self: stretch;
  text-align: center;
}

/* Active desktop menu overline */
@media (min-width: 901px) {
  .rek-nav-link {
    position: relative;
  }
  .rek-nav-link.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -13px;
    height: 4px;
    border-radius: 999px;
    background: var(--rek-gold);
  }
}

/* Homepage incentive row below subtitle */
.rek-home-incentives-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, #fff8e6, #f7fbff);
  border: 1px solid rgba(211,154,0,.25);
  border-radius: 20px;
  padding: 22px 26px;
  margin: 22px 0 24px;
  box-shadow: 0 12px 28px rgba(7,31,61,.08);
}

.rek-home-incentives-row h3 {
  margin: 0 0 6px;
  color: var(--rek-ink);
}

.rek-home-incentives-row p {
  margin: 0;
  color: #344a63;
}

.rek-home-content-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.rek-home-content-row .rek-nh-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* KrazyJo image integration */
.rek-promo-kj .rek-wrap {
  grid-template-columns: minmax(320px, .82fr) minmax(420px, 1.18fr);
  align-items: center;
}

.rek-kj-copy {
  min-width: 0;
}

.rek-kj-image-card {
  display: block;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  text-decoration: none !important;
}

.rek-kj-image-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* Form clipping and field height fixes */
.rek-nh-lead-form {
  overflow: visible !important;
}

.rek-nh-form-grid {
  align-items: end;
}

.rek-nh-lead-form label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rek-nh-lead-form input,
.rek-nh-lead-form select,
.rek-nh-lead-form textarea,
.rek-builder-feed-form input[type="email"] {
  width: 100% !important;
  min-height: 46px !important;
  box-sizing: border-box !important;
  line-height: 1.25 !important;
}

.rek-nh-lead-form textarea {
  min-height: 125px !important;
}

.rek-context-lead-form .rek-nh-form-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.rek-context-lead-form [data-rek-community-select] {
  min-width: 0;
}

/* Builder feed form email alignment */
.rek-builder-feed-form .rek-nh-form-grid input {
  height: 46px !important;
}

@media (max-width: 1100px) {
  .rek-home-content-row,
  .rek-promo-kj .rek-wrap {
    grid-template-columns: 1fr;
  }
  .rek-home-content-row .rek-nh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rek-context-lead-form .rek-nh-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .rek-home-incentives-row {
    flex-direction: column;
    align-items: stretch;
  }
  .rek-home-content-row .rek-nh-grid,
  .rek-context-lead-form .rek-nh-form-grid {
    grid-template-columns: 1fr;
  }
  .rek-nh-card > img {
    height: 180px;
  }
}


/* ---------- v1.1.17 TIGHTER SEARCH / COMMUNITY CARD SPACING ---------- */

/* Overall grids: less dead space between cards */
.rek-nh-grid {
  gap: 18px !important;
}

/* Card image and interior compression */
.rek-nh-card > img {
  height: 150px !important;
}

.rek-nh-card-body {
  padding: 16px !important;
  gap: 6px !important;
}

.rek-nh-card-body .rek-nh-eyebrow {
  margin-bottom: 4px !important;
  line-height: 1.1 !important;
}

.rek-nh-card-body h3 {
  min-height: 0 !important;
  margin: 0 0 6px !important;
  line-height: 1.2 !important;
  font-size: 20px !important;
}

/* Reduce paragraph vertical gaps and fixed text blocks */
.rek-nh-card-body p {
  margin: 0 0 8px !important;
  line-height: 1.4 !important;
}

.rek-nh-card-body p:not(.rek-nh-price):not(.rek-nh-muted):not(.rek-nh-incentive) {
  -webkit-line-clamp: 2 !important;
  min-height: 0 !important;
  margin-bottom: 10px !important;
}

.rek-nh-card-body .rek-nh-muted {
  min-height: 0 !important;
  -webkit-line-clamp: 1 !important;
  margin-bottom: 10px !important;
}

.rek-nh-price {
  margin: 4px 0 10px !important;
  font-size: 18px !important;
}

/* Make spec and completion text tighter */
.rek-nh-home-card .rek-nh-card-body p {
  font-size: 14px !important;
}

.rek-nh-home-card .rek-nh-card-body p strong {
  display: inline !important;
}

/* Incentive note: compact */
.rek-nh-incentive {
  padding: 9px 10px !important;
  margin: 4px 0 10px !important;
  line-height: 1.35 !important;
}

/* Buttons: less height, still readable */
.rek-nh-card-body .rek-nh-btn,
.rek-nh-card-body .rek-lead-trigger {
  padding: 11px 14px !important;
  min-height: 0 !important;
  line-height: 1.2 !important;
  border-radius: 8px !important;
}

/* Search page inventory cards: remove excess vertical stretch */
.rek-nh-home-card {
  min-height: 0 !important;
}

.rek-nh-home-card .rek-nh-card-body {
  min-height: 0 !important;
}

/* Community cards: equal but compact */
.rek-nh-community-grid .rek-nh-card {
  min-height: 0 !important;
}

/* Public disclaimer tighter */
.rek-nh-disclaimer {
  margin-top: 18px !important;
  line-height: 1.35 !important;
}

/* Lead form comes closer to results */
.rek-section .rek-nh-disclaimer + .rek-nh-lead-form,
.rek-context-lead-form {
  margin-top: 18px !important;
}

/* Tighter desktop inventory grid card rhythm */
@media (min-width: 901px) {
  .rek-nh-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rek-nh-card-body h3 {
    font-size: 18px !important;
  }

  .rek-nh-card > img {
    height: 145px !important;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .rek-nh-card > img {
    height: 165px !important;
  }
}

/* Mobile keeps cards readable */
@media (max-width: 640px) {
  .rek-nh-grid {
    gap: 16px !important;
  }

  .rek-nh-card > img {
    height: 180px !important;
  }

  .rek-nh-card-body {
    padding: 15px !important;
  }
}


/* ---------- v1.1.18 MOBILE LINK + BUYER FORM SHIFT FIX ---------- */

/* Keep all plugin sections inside the viewport without relying on page-level overflow clipping. */
.rek-fullbleed,
.rek-section,
.rek-wrap,
.rek-card-row,
.rek-panel,
.rek-nh-lead-form,
.rek-nh-form-grid,
.rek-contact-card,
.rek-buyer-form-row {
  max-width: 100%;
  box-sizing: border-box;
}

.rek-panel,
.rek-nh-card,
.rek-nh-card-body,
.rek-nh-lead-form label,
.rek-nh-lead-form input,
.rek-nh-lead-form select,
.rek-nh-lead-form textarea {
  min-width: 0;
}

/* Buyer help page: form gets its own safe row instead of being squeezed into a card column. */
.rek-buyer-info-row {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin-bottom: 22px;
}

.rek-buyer-form-row {
  width: 100%;
}

#buyer-representation .rek-context-lead-form {
  width: 100%;
}

/* Mobile/tablet anti-shift rules for Buyer Help and all generated forms. */
@media (max-width: 900px) {
  .rek-buyer-info-row,
  .rek-card-row,
  .rek-contact-card,
  .rek-home-content-row {
    grid-template-columns: 1fr !important;
  }

  .rek-wrap {
    width: min(100% - 28px, var(--rek-max, 1180px)) !important;
  }

  .rek-context-lead-form,
  .rek-nh-lead-form {
    padding: 18px !important;
  }

  .rek-context-lead-form .rek-nh-form-grid,
  .rek-nh-form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .rek-nh-lead-form input,
  .rek-nh-lead-form select,
  .rek-nh-lead-form textarea {
    max-width: 100% !important;
  }

  .rek-hero .rek-wrap {
    width: min(100% - 22px, var(--rek-max, 1180px)) !important;
  }

  .rek-search-card {
    max-width: 100% !important;
  }
}

/* Mobile menu clean target behavior */
.rek-mobile-panel a[href="/builder-incentives/"] {
  font-weight: 900;
}


/* ---------- v1.1.21 MOBILE COMMUNITIES WIDTH + GLOBAL HERO PILL TYPE ---------- */

/* Global hero pill typography:
   first header/title smaller; second script line forced to next line. */
.rek-hero h1 {
  font-size: clamp(32px, 4.1vw, 56px) !important;
  line-height: 1.03 !important;
  text-align: center !important;
}

.rek-hero h1 .rek-script,
.rek-hero h1 .rek-script-pill {
  display: block !important;
  font-size: .78em !important;
  line-height: .98 !important;
  margin-top: 2px !important;
  text-align: center !important;
}

/* Mobile: keep the hero pill centered without pushing it right. */
@media (max-width: 760px) {
  .rek-hero .rek-wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  .rek-hero h1 {
    width: 100% !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    font-size: clamp(25px, 6.2vw, 34px) !important;
    line-height: 1.02 !important;
    box-sizing: border-box !important;
  }

  .rek-hero h1 .rek-script,
  .rek-hero h1 .rek-script-pill {
    display: block !important;
    font-size: .82em !important;
    line-height: 1 !important;
    margin-top: 3px !important;
  }

  .rek-hero p,
  .rek-hero .rek-tabs,
  .rek-hero .rek-search-card {
    max-width: calc(100vw - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
}

/* Mobile communities page/list: full usable width like the other generated pages. */
@media (max-width: 760px) {
  .rek-section > .rek-wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }

  .rek-nh-community-grid,
  .rek-nh-grid.rek-nh-community-grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .rek-nh-community-grid .rek-nh-card,
  .rek-nh-community-grid .rek-nh-card-body {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}


/* ---------- v1.1.22 MOBILE INNER PAGE FULL-WIDTH MATCH ---------- */
/* Root cause: homepage sections were full-bleed, while inner page content sections were normal .rek-section blocks inside the WP/Beaver page column.
   On mobile, force all generated inner content sections to break out like the homepage. */
@media (max-width: 760px) {
  .rek-newhomes-page {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    box-sizing: border-box !important;
  }

  .rek-newhomes-page > .rek-section,
  .rek-newhomes-page > .rek-anchor-band {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    box-sizing: border-box !important;
  }

  .rek-newhomes-page > .rek-section > .rek-wrap,
  .rek-newhomes-page > .rek-anchor-band > .rek-wrap,
  .rek-newhomes-page .rek-contact-card,
  .rek-newhomes-page .rek-nh-grid,
  .rek-newhomes-page .rek-nh-community-grid,
  .rek-newhomes-page .rek-context-lead-form,
  .rek-newhomes-page .rek-nh-lead-form {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .rek-newhomes-page > .rek-section > .rek-wrap,
  .rek-newhomes-page > .rek-anchor-band > .rek-wrap {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .rek-newhomes-page .rek-contact-card,
  .rek-newhomes-page .rek-anchor-card,
  .rek-newhomes-page .rek-panel,
  .rek-newhomes-page .rek-nh-card {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Communities, incentives, contact: make their cards consume the same mobile width as homepage content. */
  .rek-nh-community-grid,
  .rek-nh-grid {
    grid-template-columns: 1fr !important;
  }

  .rek-contact-card {
    grid-template-columns: 1fr !important;
    padding: 18px !important;
  }
}


/* ---------- v1.1.23 PHONE + TABLET INNER PAGE WIDTH FIX ---------- */
/* Extends the v1.1.22 inner-page full-width fix through tablet widths. */
@media (max-width: 1024px) {
  .rek-newhomes-page {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    box-sizing: border-box !important;
  }

  .rek-newhomes-page > .rek-section,
  .rek-newhomes-page > .rek-anchor-band {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    box-sizing: border-box !important;
  }

  .rek-newhomes-page > .rek-section > .rek-wrap,
  .rek-newhomes-page > .rek-anchor-band > .rek-wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
  }

  .rek-newhomes-page .rek-contact-card,
  .rek-newhomes-page .rek-anchor-card,
  .rek-newhomes-page .rek-panel,
  .rek-newhomes-page .rek-nh-card,
  .rek-newhomes-page .rek-nh-grid,
  .rek-newhomes-page .rek-nh-community-grid,
  .rek-newhomes-page .rek-context-lead-form,
  .rek-newhomes-page .rek-nh-lead-form {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Phone: keep single-column full width. */
@media (max-width: 760px) {
  .rek-newhomes-page .rek-nh-grid,
  .rek-newhomes-page .rek-nh-community-grid,
  .rek-newhomes-page .rek-card-row,
  .rek-newhomes-page .rek-contact-card {
    grid-template-columns: 1fr !important;
  }
}


/* ---------- v1.1.24 ACTIVE MENU + HERO PILL NORMALIZATION ---------- */

/* Remove prior active-menu overline behavior so it cannot create uneven top spacing. */
.rek-nav-link.is-active::before {
  content: none !important;
  display: none !important;
}

/* Active page now uses color + subtle background only. */
.rek-nav-link.is-active {
  color: var(--rek-blue) !important;
  background: rgba(8,103,214,.08) !important;
  border-radius: 10px !important;
}

/* Keep top menu height consistent even when active link is highlighted. */
.rek-nav-link,
.rek-nav-link.is-active {
  margin-top: 0 !important;
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}

/* Global top pill vertical consistency. */
.rek-hero {
  align-items: flex-start !important;
}

.rek-hero .rek-wrap {
  padding-top: 84px !important;
  text-align: center !important;
}

/* Global top pill: less rounded, more corner breathing room, smaller first line. */
.rek-hero h1 {
  border-radius: 14px !important;
  padding: 22px 34px 24px !important;
  font-size: clamp(30px, 3.7vw, 52px) !important;
  line-height: 1.02 !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

/* Second header/script line always on the next line. */
.rek-hero h1 .rek-script,
.rek-hero h1 .rek-script-pill {
  display: block !important;
  margin-top: 4px !important;
  font-size: .78em !important;
  line-height: 1 !important;
  text-align: center !important;
}

/* Mobile/tablet hero consistency. */
@media (max-width: 1024px) {
  .rek-hero .rek-wrap {
    padding-top: 64px !important;
  }

  .rek-hero h1 {
    border-radius: 12px !important;
    padding: 18px 20px 20px !important;
    max-width: calc(100vw - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(24px, 5.2vw, 36px) !important;
  }

  .rek-hero h1 .rek-script,
  .rek-hero h1 .rek-script-pill {
    font-size: .82em !important;
  }

  .rek-nav-link,
  .rek-nav-link.is-active {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
}

@media (max-width: 520px) {
  .rek-hero .rek-wrap {
    padding-top: 52px !important;
  }

  .rek-hero h1 {
    padding: 16px 16px 18px !important;
    max-width: calc(100vw - 24px) !important;
    font-size: clamp(23px, 6vw, 31px) !important;
  }
}


/* ---------- v1.1.25 MOBILE HEADER CURRENT PAGE LABEL ---------- */
.rek-mobile-page-label {
  display: none;
}

@media (max-width: 900px) {
  .rek-header-inner {
    height: 72px !important;
  }

  .rek-header-actions {
    width: 100%;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  .rek-header-actions .rek-btn.gold {
    display: none !important;
  }

  .rek-mobile-page-label {
    display: inline-flex !important;
    align-items: center !important;
    min-width: 0 !important;
    max-width: calc(100vw - 126px) !important;
    height: 42px !important;
    padding: 0 13px !important;
    border: 1px solid rgba(8,103,214,.16) !important;
    border-radius: 10px !important;
    background: rgba(8,103,214,.07) !important;
    color: var(--rek-ink) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
  }

  .rek-mobile-toggle {
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
  }
}

@media (max-width: 390px) {
  .rek-mobile-page-label {
    max-width: calc(100vw - 112px) !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }
}


/* ---------- v1.1.26 MOBILE HEADER LABEL VISIBILITY FIX ---------- */
/* Force mobile/tablet header to behave as label left + hamburger right on every page. */
@media (max-width: 900px) {
  .rek-topbar .rek-header-inner {
    height: 72px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 0 !important;
    width: 100% !important;
  }

  .rek-topbar .rek-nav {
    display: none !important;
  }

  .rek-topbar .rek-header-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    gap: 10px !important;
    white-space: nowrap !important;
  }

  .rek-topbar .rek-header-actions .rek-btn.gold {
    display: none !important;
  }

  .rek-topbar .rek-mobile-page-label {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 42px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 13px !important;
    border: 1px solid rgba(8,103,214,.16) !important;
    border-radius: 10px !important;
    background: rgba(8,103,214,.07) !important;
    color: var(--rek-ink) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
  }

  .rek-topbar .rek-mobile-toggle {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    height: 42px !important;
    min-width: 72px !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    position: relative !important;
    right: auto !important;
  }
}

/* Small phones: preserve alignment without hiding the label. */
@media (max-width: 390px) {
  .rek-topbar .rek-mobile-page-label {
    font-size: 12px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .rek-topbar .rek-mobile-toggle {
    min-width: 64px !important;
  }
}


/* ---------- v1.1.28 HOME DETAIL PAGES ---------- */
.rek-nh-card-img-link {
  display: block;
  text-decoration: none !important;
}

.rek-nh-card-img-link img {
  display: block;
  width: 100%;
}

.rek-nh-card-body h3 a {
  color: var(--rek-ink);
  text-decoration: none;
}

.rek-nh-card-body h3 a:hover {
  color: var(--rek-blue);
}

.rek-nh-details-btn {
  margin-top: 8px !important;
  background: #ffffff !important;
  color: var(--rek-blue) !important;
  border: 1px solid rgba(8,103,214,.24) !important;
  box-shadow: none !important;
}

.rek-home-detail {
  background: #f7fbff;
}

.rek-detail-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(135deg, #061d35, #0a3f78);
  color: #ffffff;
  padding: 54px 0;
}

.rek-detail-hero .rek-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 34px;
  align-items: center;
}

.rek-detail-hero h1 {
  margin: 8px 0 12px;
  color: #ffffff;
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
}

.rek-detail-hero p {
  color: rgba(255,255,255,.86);
  font-size: 18px;
  margin: 0 0 14px;
}

.rek-detail-price {
  color: #ffffff;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 950;
  margin: 16px 0;
}

.rek-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rek-detail-main-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 18px 45px rgba(0,0,0,.26);
}

.rek-detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.rek-detail-gallery a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--rek-line);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(7,31,61,.08);
}

.rek-detail-gallery img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.rek-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: start;
}

.rek-detail-section {
  background: #ffffff;
  border: 1px solid var(--rek-line);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(7,31,61,.08);
  padding: 26px;
  margin-bottom: 22px;
}

.rek-detail-section h2 {
  margin: 0 0 14px;
  color: var(--rek-ink);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.08;
}

.rek-detail-section h3 {
  color: var(--rek-ink);
  margin: 18px 0 8px;
}

.rek-detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rek-detail-fact {
  background: #f6fbff;
  border: 1px solid var(--rek-line);
  border-radius: 12px;
  padding: 12px 14px;
}

.rek-detail-fact span {
  display: block;
  color: var(--rek-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 4px;
}

.rek-detail-fact strong {
  display: block;
  color: var(--rek-ink);
  font-size: 16px;
}

.rek-detail-callout {
  background: #fff8e6;
  border-left: 4px solid var(--rek-gold);
  padding: 16px 18px;
  border-radius: 12px;
}

.rek-detail-layout aside {
  position: sticky;
  top: 96px;
}

@media (max-width: 980px) {
  .rek-detail-hero .rek-wrap,
  .rek-detail-layout {
    grid-template-columns: 1fr;
  }

  .rek-detail-layout aside {
    position: static;
  }

  .rek-detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .rek-detail-hero {
    padding: 34px 0;
  }

  .rek-detail-main-img {
    height: 240px;
  }

  .rek-detail-gallery {
    grid-template-columns: 1fr;
  }

  .rek-detail-gallery img {
    height: 220px;
  }

  .rek-detail-facts {
    grid-template-columns: 1fr;
  }

  .rek-detail-section {
    padding: 20px;
  }
}


/* ---------- v1.1.29 DOCUSEAL BUYER AGREEMENT MODALITY ---------- */
.rek-buyer-agreement-strip {
  padding-top: 28px !important;
  padding-bottom: 18px !important;
  background: #f7fbff;
}

.rek-buyer-agreement-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  background: linear-gradient(135deg, #061d35, #0a3f78);
  color: #ffffff;
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 16px 38px rgba(7,31,61,.16);
  border: 1px solid rgba(255,255,255,.16);
}

.rek-buyer-agreement-kicker {
  display: inline-flex;
  color: #ffd36a;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 7px;
}

.rek-buyer-agreement-card h3,
.rek-buyer-agreement-intro h2,
.rek-buyer-agreement-signbox h3 {
  margin: 0 0 8px;
  line-height: 1.08;
}

.rek-buyer-agreement-card h3 {
  color: #ffffff;
  font-size: clamp(24px, 2.5vw, 36px);
}

.rek-buyer-agreement-card p {
  color: rgba(255,255,255,.86);
  margin: 0;
  line-height: 1.5;
  max-width: 850px;
}

.rek-buyer-agreement-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.rek-btn-soft {
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.rek-buyer-agreement-page {
  background: #f7fbff;
}

.rek-buyer-agreement-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 26px;
  align-items: start;
}

.rek-buyer-agreement-intro > div,
.rek-buyer-agreement-signbox,
.rek-docuseal-embed,
.rek-admin-missing-docuseal {
  background: #ffffff;
  border: 1px solid var(--rek-line);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(7,31,61,.08);
  padding: 26px;
}

.rek-buyer-agreement-intro h2 {
  color: var(--rek-ink);
  font-size: clamp(30px, 3.2vw, 46px);
}

.rek-buyer-agreement-intro p,
.rek-buyer-agreement-intro li,
.rek-buyer-agreement-signbox p {
  color: #344a63;
  font-size: 16px;
  line-height: 1.55;
}

.rek-buyer-agreement-signbox {
  background: linear-gradient(180deg, #ffffff, #f0f8ff);
}

.rek-small-note {
  font-size: 13px !important;
  margin-top: 14px !important;
  color: #5f7087 !important;
}

.rek-docuseal-embed {
  margin-top: 24px;
  padding: 0;
  overflow: hidden;
}

.rek-docuseal-embed iframe {
  width: 100%;
  min-height: 780px;
  border: 0;
  display: block;
}

.rek-admin-missing-docuseal {
  margin-top: 24px;
  border-left: 4px solid var(--rek-gold);
}

@media (max-width: 900px) {
  .rek-buyer-agreement-card,
  .rek-buyer-agreement-intro {
    grid-template-columns: 1fr;
  }

  .rek-buyer-agreement-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .rek-buyer-agreement-card,
  .rek-buyer-agreement-intro > div,
  .rek-buyer-agreement-signbox,
  .rek-admin-missing-docuseal {
    padding: 20px;
  }

  .rek-buyer-agreement-actions .rek-btn {
    width: 100%;
  }

  .rek-docuseal-embed iframe {
    min-height: 680px;
  }
}


/* ---------- v1.1.32 PRODUCTION DOCUSEAL BUYER AGREEMENT ---------- */
.rek-ba-production-page,
.rek-ba-production-page * {
  box-sizing: border-box;
}

.rek-ba-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.rek-ba-intro > div,
.rek-ba-form,
.rek-ba-signing-card {
  background: #ffffff;
  border: 1px solid var(--rek-line);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(7,31,61,.10);
  padding: 28px;
}

.rek-ba-intro h2,
.rek-ba-form h3,
.rek-ba-signing-card h1 {
  color: var(--rek-ink);
  margin: 6px 0 12px;
  line-height: 1.08;
}

.rek-ba-intro p,
.rek-ba-intro li,
.rek-ba-form p,
.rek-ba-signing-card p {
  color: #344a63;
  line-height: 1.55;
}

.rek-ba-promise {
  background: linear-gradient(135deg, #061d35, #0d4c88) !important;
  color: #ffffff;
}

.rek-ba-promise h3,
.rek-ba-promise p,
.rek-ba-promise strong {
  color: #ffffff !important;
}

.rek-ba-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rek-ba-grid label,
.rek-ba-form label {
  display: block;
}

.rek-ba-grid span,
.rek-ba-check span {
  display: block;
  color: var(--rek-ink);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 6px;
}

.rek-ba-grid input,
.rek-ba-grid textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid #cfdbea;
  border-radius: 10px;
  padding: 12px;
  background: #ffffff;
  color: var(--rek-ink);
  font-size: 15px;
}

.rek-ba-span {
  grid-column: 1 / -1;
}

.rek-ba-check {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  background: #fff8e6;
  border-left: 4px solid var(--rek-gold);
  padding: 14px 16px;
  border-radius: 12px;
  margin: 18px 0;
}

.rek-ba-check input {
  margin-top: 4px;
  flex: 0 0 auto;
}

.rek-ba-check span {
  margin: 0;
  color: #183550;
  line-height: 1.45;
}

.rek-ba-note {
  background: #eef8ff;
  border: 1px solid rgba(8,103,214,.18);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
}

.rek-ba-shell {
  width: min(960px, calc(100% - 28px));
  margin: 40px auto;
  font-family: Inter, Arial, sans-serif;
}

.rek-ba-signing-card {
  text-align: center;
}

@media (max-width: 860px) {
  .rek-ba-intro,
  .rek-ba-grid {
    grid-template-columns: 1fr;
  }

  .rek-ba-intro > div,
  .rek-ba-form,
  .rek-ba-signing-card {
    padding: 22px;
  }
}


/* ---------- v1.1.34 MAPBOX ADDRESS AUTOFILL ---------- */
.rek-ba-form mapbox-address-autofill {
  display: block;
  width: 100%;
}

.rek-ba-form mapbox-address-autofill input {
  width: 100%;
  max-width: 100%;
}


/* ---------- v1.1.35 BUYER REPRESENTATION SALES PAGE ---------- */
.rek-buyer-must-page,
.rek-buyer-must-page * {
  box-sizing: border-box;
}

.rek-buyer-must-hero-card {
  background: linear-gradient(135deg, #061d35, #103e67);
  border: 1px solid rgba(212,175,55,.34);
  border-radius: 26px;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 24px 56px rgba(5,22,39,.24);
  color: #fff;
  margin-bottom: 24px;
}

.rek-buyer-must-hero-card h2 {
  color: #fff;
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: .95;
  letter-spacing: -.05em;
  margin: 8px 0 16px;
  max-width: 980px;
}

.rek-buyer-must-lead {
  color: rgba(255,255,255,.88);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.48;
  max-width: 1050px;
  margin: 0 0 22px;
}

.rek-buyer-must-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.rek-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.rek-stat-card {
  background: #fff;
  border: 1px solid rgba(8,31,54,.12);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(7,31,61,.08);
}

.rek-stat-card strong {
  display: block;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1;
  color: var(--rek-ink);
  letter-spacing: -.035em;
  margin-bottom: 10px;
}

.rek-stat-card span {
  color: #405772;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 750;
}

.rek-buyer-truth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.rek-buyer-truth-card {
  background: #fff;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 16px 34px rgba(7,31,61,.09);
  border: 1px solid rgba(8,31,54,.12);
}

.rek-buyer-truth-card.danger {
  border-top: 5px solid #b72b2b;
}

.rek-buyer-truth-card.success {
  border-top: 5px solid #d4af37;
}

.rek-buyer-truth-card h3,
.rek-buyer-process-panel h2,
.rek-buyer-sources h3,
.rek-buyer-final-cta h2 {
  color: var(--rek-ink);
  margin-top: 0;
}

.rek-buyer-truth-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.rek-buyer-truth-card li {
  color: #344a63;
  line-height: 1.55;
  margin-bottom: 10px;
  font-weight: 720;
}

.rek-buyer-process-panel {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: 22px;
  align-items: center;
  background: #f7fbff;
  border: 1px solid rgba(8,31,54,.12);
  border-radius: 24px;
  padding: clamp(22px, 4vw, 36px);
  margin: 26px 0;
}

.rek-buyer-process-panel p {
  color: #405772;
  font-size: 17px;
  line-height: 1.55;
}

.rek-buyer-process-steps {
  display: grid;
  gap: 12px;
}

.rek-buyer-process-steps div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(8,31,54,.10);
  border-radius: 16px;
  padding: 12px;
}

.rek-buyer-process-steps strong {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--rek-ink);
  color: #fff;
  border-radius: 14px;
  font-size: 20px;
}

.rek-buyer-process-steps span {
  color: var(--rek-ink);
  font-weight: 900;
  line-height: 1.3;
}

.rek-buyer-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0;
}

.rek-buyer-sources {
  background: #fff;
  border: 1px solid rgba(8,31,54,.12);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 14px 30px rgba(7,31,61,.08);
  margin: 26px 0;
}

.rek-buyer-sources p {
  color: #405772;
  line-height: 1.55;
}

.rek-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.rek-source-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 13px;
  border-radius: 999px;
  background: #eef5fb;
  color: var(--rek-ink);
  border: 1px solid rgba(8,31,54,.12);
  font-weight: 900;
  text-decoration: none;
}

.rek-source-links a:hover {
  transform: translateY(-1px);
}

.rek-buyer-final-cta {
  text-align: center;
}

.rek-buyer-final-cta p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.rek-buyer-final-cta .rek-buyer-must-actions {
  justify-content: center;
}

@media (max-width: 980px) {
  .rek-stat-grid,
  .rek-buyer-proof-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rek-buyer-process-panel,
  .rek-buyer-truth-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .rek-stat-grid,
  .rek-buyer-proof-row {
    grid-template-columns: 1fr;
  }

  .rek-buyer-must-hero-card,
  .rek-buyer-truth-card,
  .rek-buyer-process-panel,
  .rek-buyer-sources {
    border-radius: 18px;
    padding: 20px;
  }

  .rek-buyer-must-actions .rek-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}


/* ---------- v1.1.36 BUYER FINAL CTA CENTERING + ANCHOR FIX ---------- */
.rek-buyer-final-cta {
  text-align: center;
}

.rek-buyer-final-cta .rek-buyer-must-actions {
  width: 100%;
  display: flex;
  justify-content: center !important;
  align-items: center;
  text-align: center;
}

.rek-buyer-final-cta .rek-buyer-must-actions .rek-btn {
  margin-left: auto;
  margin-right: auto;
}


/* ---------- v1.1.37 BUYER REPRESENTATION ANCHOR ---------- */
#builder-sales-office-alone {
  scroll-margin-top: 110px;
}


/* ---------- v1.1.39 BUYER AGREEMENT READY-TO-SIGN HERO ---------- */
.rek-agreement-sign-hero .rek-wrap {
  max-width: 1120px;
}

.rek-agreement-sign-hero h1 {
  margin-bottom: 14px;
}

.rek-agreement-sign-hero > .rek-wrap > p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.rek-agreement-ready-card {
  width: min(980px, 100%);
  margin: 24px auto 0;
  background: linear-gradient(135deg, #061d35, #0d4c88);
  border: 1px solid rgba(212,175,55,.36);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 20px 46px rgba(5,22,39,.24);
  text-align: left;
}

.rek-agreement-ready-card h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -.04em;
  margin: 8px 0 12px;
}

.rek-agreement-ready-card p,
.rek-agreement-ready-card li {
  color: rgba(255,255,255,.90);
  font-size: 16px;
  line-height: 1.5;
}

.rek-agreement-ready-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.rek-agreement-ready-card .rek-buyer-agreement-kicker {
  color: #f4d26d;
}

@media (max-width: 720px) {
  .rek-agreement-ready-card {
    border-radius: 18px;
  }
}


/* ---------- v1.1.40 BUYER AGREEMENT READY CARD READABILITY ---------- */
.rek-agreement-ready-card,
.rek-agreement-ready-card * {
  text-shadow: none !important;
}

.rek-agreement-ready-card h2,
.rek-agreement-ready-card p,
.rek-agreement-ready-card li,
.rek-agreement-ready-card ul {
  color: #ffffff !important;
  text-shadow: none !important;
}

.rek-agreement-ready-card .rek-buyer-agreement-kicker {
  color: #f4d26d !important;
  text-shadow: none !important;
}


/* ---------- v1.1.43 SAFE PREMIUM BUYER SHIELD ---------- */
.rek-premium-shield-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .18s ease, filter .18s ease;
}

.rek-premium-shield-link:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 14px 24px rgba(5,22,39,.24));
}

.rek-premium-shield-link img {
  display: block;
  width: 100%;
  height: auto;
}

.rek-premium-shield-sm {
  width: min(165px, 100%);
}

.rek-premium-shield-lg {
  width: min(250px, 100%);
}

.rek-buyer-agreement-card-shielded {
  grid-template-columns: minmax(0, 1fr) minmax(155px, 220px) !important;
  gap: 20px !important;
}

.rek-buyer-agreement-card-copy {
  min-width: 0;
}

.rek-buyer-agreement-shield-wrap {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}

.rek-buyer-agreement-shield-label {
  color: #f4d26d;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-align: center;
}

.rek-agreement-ready-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  gap: 22px;
  align-items: center;
}

.rek-agreement-ready-copy {
  min-width: 0;
}

.rek-agreement-ready-shield {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}

.rek-agreement-ready-shield strong,
.rek-agreement-ready-shield span {
  color: #ffffff !important;
  text-shadow: none !important;
}

.rek-agreement-ready-shield strong {
  font-size: 20px;
  line-height: 1.15;
}

.rek-agreement-ready-shield span {
  font-size: 14px;
  line-height: 1.4;
  opacity: .92;
}

@media (max-width: 880px) {
  .rek-buyer-agreement-card-shielded,
  .rek-agreement-ready-grid {
    grid-template-columns: 1fr !important;
  }

  .rek-buyer-agreement-shield-wrap,
  .rek-agreement-ready-shield {
    justify-items: start;
    text-align: left;
  }
}


/* ---------- v1.1.45 OPTIMIZED BUYER AGREEMENT INTAKE ---------- */
.rek-ba-redesign-page,
.rek-ba-redesign-page * {
  box-sizing: border-box;
}

.rek-ba-intro-tight {
  margin-bottom: 18px;
}

.rek-ba-form-redesign {
  padding: clamp(20px, 3vw, 30px);
}

.rek-ba-form-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr);
  gap: 16px;
  align-items: end;
  margin-bottom: 14px;
}

.rek-ba-form-head h3 {
  margin: 4px 0 0;
  color: var(--rek-ink);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.rek-ba-form-head p {
  margin: 0;
  color: #405772;
  font-weight: 800;
  line-height: 1.45;
}

.rek-ba-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  position: relative;
  margin: 18px 0 22px;
}

.rek-ba-stepper::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 24px;
  height: 2px;
  background: #d9e7f5;
  z-index: 0;
}

.rek-ba-stepper div {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #5b6e85;
  font-weight: 900;
  font-size: 12px;
  text-align: center;
}

.rek-ba-stepper strong {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cfe0f1;
  color: #0b3155;
  box-shadow: 0 8px 20px rgba(7,31,61,.08);
}

.rek-ba-stepper .active strong {
  background: #0b4c8c;
  border-color: #0b4c8c;
  color: #ffffff;
}

.rek-ba-consumers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.rek-ba-consumer-card,
.rek-ba-additional-card {
  min-width: 0;
  border: 1px solid #d9e6f4;
  border-radius: 18px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(7,31,61,.07);
}

.rek-ba-consumer-primary {
  background: linear-gradient(180deg, #f3f9ff 0%, #ffffff 72%);
  border-color: rgba(0,110,210,.24);
}

.rek-ba-consumer-secondary {
  background: linear-gradient(180deg, #fafcff 0%, #ffffff 72%);
  border-color: rgba(8,31,54,.16);
}

.rek-ba-consumer-card legend {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: #0b3155;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 0;
  margin-bottom: 14px;
}

.rek-ba-consumer-card legend em {
  font-style: normal;
  font-size: 11px;
  color: #ffffff;
  background: #0b66c3;
  border-radius: 999px;
  padding: 6px 9px;
  letter-spacing: .03em;
}

.rek-ba-consumer-secondary legend em {
  background: #6b7788;
}

.rek-ba-card-section-title {
  color: #183550;
  font-size: 13px;
  font-weight: 950;
  margin: 12px 0 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid #dfe9f5;
}

.rek-ba-compact-grid {
  display: grid;
  gap: 12px;
}

.rek-ba-compact-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rek-ba-compact-grid.address {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.rek-ba-compact-grid.address label {
  grid-column: span 2;
}

.rek-ba-compact-grid.address .span-2 {
  grid-column: span 4;
}

.rek-ba-compact-grid label {
  min-width: 0;
}

.rek-ba-form-redesign label span {
  display: block;
  color: #102f50;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 6px;
}

.rek-ba-form-redesign input,
.rek-ba-form-redesign textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid #cfdbea;
  border-radius: 10px;
  padding: 11px 12px;
  background: #ffffff;
  color: #102f50;
  font-size: 15px;
  line-height: 1.25;
}

.rek-ba-form-redesign textarea {
  min-height: 110px;
  resize: vertical;
}

.rek-ba-form-redesign input:focus,
.rek-ba-form-redesign textarea:focus {
  outline: none;
  border-color: #0b66c3;
  box-shadow: 0 0 0 3px rgba(11,102,195,.13);
}

.rek-ba-additional-card {
  margin-top: 18px;
}

.rek-ba-additional-card .rek-ba-compact-grid.two > label:nth-child(3),
.rek-ba-additional-card .rek-ba-compact-grid.two > label:nth-child(4) {
  grid-column: span 1;
}

.rek-ba-ack-wrap {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.rek-ba-form-redesign .rek-ba-check {
  margin: 0;
  display: grid !important;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  background: #fff7df;
  border: 1px solid rgba(212,158,0,.18);
  border-left: 4px solid var(--rek-gold);
  border-radius: 12px;
  padding: 13px 14px;
}

.rek-ba-form-redesign .rek-ba-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.rek-ba-form-redesign .rek-ba-check span {
  color: #102f50;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.rek-ba-submit-row {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 18px;
  text-align: center;
}

.rek-ba-submit-row .rek-btn {
  min-width: min(100%, 520px);
  justify-content: center;
  font-size: 16px;
  padding: 14px 20px;
}

.rek-ba-submit-row .rek-small-note {
  max-width: 860px;
}

@media (max-width: 980px) {
  .rek-ba-form-head,
  .rek-ba-consumers {
    grid-template-columns: 1fr;
  }

  .rek-ba-stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rek-ba-stepper::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .rek-ba-compact-grid.two,
  .rek-ba-compact-grid.address {
    grid-template-columns: 1fr;
  }

  .rek-ba-compact-grid.address label,
  .rek-ba-compact-grid.address .span-2,
  .rek-ba-additional-card .rek-ba-compact-grid.two > label:nth-child(3),
  .rek-ba-additional-card .rek-ba-compact-grid.two > label:nth-child(4) {
    grid-column: 1;
  }

  .rek-ba-stepper {
    gap: 8px;
  }

  .rek-ba-stepper strong {
    width: 42px;
    height: 42px;
  }

  .rek-ba-consumer-card,
  .rek-ba-additional-card {
    padding: 15px;
    border-radius: 16px;
  }
}


/* ---------- v1.1.46 HERO BRAND LABEL + MOBILE SHIELD/EHO PAIR ---------- */
.rek-agreement-site-label {
  display: inline-block;
  margin: 0 auto 10px;
  color: #0b3155;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.rek-agreement-ready-shield-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.rek-agreement-eho-badge {
  display: none;
  gap: 10px;
  justify-items: center;
  text-align: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}

.rek-agreement-eho-icon {
  width: min(250px, 100%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #ffffff;
  color: #0b3155;
  box-shadow: inset 0 0 0 3px rgba(11,49,85,.12);
  position: relative;
}

.rek-agreement-eho-house {
  font-size: 78px;
  line-height: 1;
  transform: translateY(-6px);
}

.rek-agreement-eho-equals {
  position: absolute;
  bottom: 28px;
  font-size: 50px;
  line-height: 1;
  font-weight: 900;
}

.rek-agreement-eho-badge strong,
.rek-agreement-eho-badge span {
  color: #ffffff !important;
  text-shadow: none !important;
}

.rek-agreement-eho-badge strong {
  font-size: 18px;
  line-height: 1.15;
}

.rek-agreement-eho-badge > span:last-child {
  font-size: 14px;
  line-height: 1.4;
  opacity: .92;
}

@media (max-width: 880px) {
  .rek-agreement-ready-grid {
    grid-template-columns: 1fr !important;
  }

  .rek-agreement-ready-shield-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .rek-agreement-ready-shield,
  .rek-agreement-eho-badge {
    display: grid;
    justify-items: center !important;
    align-content: start;
    text-align: center !important;
    height: 100%;
  }

  .rek-premium-shield-lg,
  .rek-agreement-eho-icon {
    width: min(180px, 100%);
  }
}

@media (max-width: 640px) {
  .rek-agreement-site-label {
    font-size: 12px;
    letter-spacing: .12em;
    margin-bottom: 8px;
  }

  .rek-agreement-ready-shield-wrap {
    gap: 10px;
  }

  .rek-premium-shield-lg,
  .rek-agreement-eho-icon {
    width: min(150px, 100%);
  }

  .rek-agreement-eho-house {
    font-size: 60px;
    transform: translateY(-4px);
  }

  .rek-agreement-eho-equals {
    bottom: 22px;
    font-size: 38px;
  }
}


/* ---------- v1.1.47 HERO PILL BRAND LABEL FIX ---------- */
.rek-newhomes-page .rek-agreement-sign-hero h1 .rek-agreement-site-label {
  display: block !important;
  width: 100%;
  margin: 0 0 8px !important;
  color: #0b3155 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: clamp(12px, 1.15vw, 15px) !important;
  line-height: 1.1 !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
  letter-spacing: .16em !important;
  text-align: center !important;
  text-shadow: none !important;
}

@media (max-width: 720px) {
  .rek-newhomes-page .rek-agreement-sign-hero h1 .rek-agreement-site-label {
    font-size: 11px !important;
    letter-spacing: .12em !important;
    margin-bottom: 6px !important;
  }
}


/* ---------- v1.1.48 GLOBAL HERO LABEL + CENTERED CTA + EHO PAIR ---------- */
.rek-newhomes-page .rek-hero h1 .rek-hero-site-label,
.rek-newhomes-page .rek-agreement-sign-hero h1 .rek-hero-site-label,
.rek-newhomes-page .rek-agreement-sign-hero h1 .rek-agreement-site-label {
  display: block !important;
  width: 100%;
  margin: 0 0 8px !important;
  color: #0b3155 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: clamp(11px, 1.1vw, 14px) !important;
  line-height: 1.1 !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
  letter-spacing: .16em !important;
  text-align: center !important;
  text-shadow: none !important;
}

.rek-buyer-agreement-card--buyer .rek-buyer-agreement-actions,
.rek-buyer-agreement-card-shielded .rek-buyer-agreement-actions {
  justify-content: center !important;
}

.rek-buyer-agreement-card--buyer .rek-buyer-agreement-actions .rek-btn.gold,
.rek-buyer-agreement-card-shielded .rek-buyer-agreement-actions .rek-btn.gold {
  margin-left: auto;
  margin-right: auto;
}

.rek-buyer-agreement-shield-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(90px, 1fr));
  gap: 10px;
  align-items: stretch;
  justify-items: center;
  min-width: min(270px, 100%);
}

.rek-buyer-agreement-shield-pair .rek-buyer-agreement-shield-wrap,
.rek-eho-badge {
  width: 100%;
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
  gap: 8px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}

.rek-buyer-agreement-shield-pair .rek-premium-shield-sm,
.rek-eho-badge-sm .rek-eho-icon {
  width: min(126px, 100%);
}

.rek-eho-badge {
  color: #ffffff;
}

.rek-eho-icon {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #ffffff;
  color: #0b3155;
  box-shadow: inset 0 0 0 3px rgba(11,49,85,.12);
  position: relative;
}

.rek-eho-house {
  font-size: 52px;
  line-height: 1;
  transform: translateY(-5px);
}

.rek-eho-equals {
  position: absolute;
  bottom: 19px;
  font-size: 32px;
  line-height: 1;
  font-weight: 950;
}

.rek-eho-text {
  color: #ffffff !important;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.rek-agreement-ready-shield-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.rek-agreement-eho-badge {
  display: none;
}

@media (max-width: 880px) {
  .rek-newhomes-page .rek-hero h1 .rek-hero-site-label,
  .rek-newhomes-page .rek-agreement-sign-hero h1 .rek-hero-site-label,
  .rek-newhomes-page .rek-agreement-sign-hero h1 .rek-agreement-site-label {
    font-size: 11px !important;
    letter-spacing: .12em !important;
    margin-bottom: 6px !important;
  }

  .rek-buyer-agreement-card--buyer .rek-buyer-agreement-actions,
  .rek-buyer-agreement-card-shielded .rek-buyer-agreement-actions {
    justify-content: center !important;
    text-align: center;
  }

  .rek-buyer-agreement-shield-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(330px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .rek-agreement-ready-shield-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .rek-agreement-eho-badge {
    display: grid;
  }

  .rek-agreement-ready-shield,
  .rek-agreement-eho-badge {
    justify-items: center !important;
    text-align: center !important;
    height: 100%;
  }

  .rek-premium-shield-lg,
  .rek-eho-badge-lg .rek-eho-icon {
    width: min(160px, 100%);
  }
}

@media (max-width: 520px) {
  .rek-buyer-agreement-shield-pair .rek-premium-shield-sm,
  .rek-eho-badge-sm .rek-eho-icon {
    width: min(116px, 100%);
  }

  .rek-premium-shield-lg,
  .rek-eho-badge-lg .rek-eho-icon {
    width: min(138px, 100%);
  }

  .rek-eho-house {
    font-size: 46px;
  }

  .rek-eho-equals {
    bottom: 16px;
    font-size: 30px;
  }
}


/* ---------- v1.1.49 MOBILE PORTRAIT KRAZYJO SPACING + SUBMIT FIX ---------- */
@media (max-width: 767px) and (orientation: portrait) {
  .rek-kj-footer-card,
  .rek-kj-image-card {
    margin-bottom: 20px !important;
  }
}


/* ---------- v1.1.52 STRIPE REDIRECT FIX + LEGAL PAGES + DESKTOP REFINEMENTS ---------- */
@media (min-width: 768px) {
  .rek-kj-footer-card,
  .rek-kj-image-card {
    margin-bottom: 20px !important;
  }

  .rek-buyer-agreement-shield-pair > .rek-eho-badge {
    display: none !important;
  }
}

@media (max-width: 880px) {
  .rek-buyer-agreement-shield-pair > .rek-eho-badge {
    display: grid !important;
  }
}

.rek-legal-page .rek-wrap {
  display: grid;
  gap: 18px;
}

.rek-legal-card {
  background: #ffffff;
  border: 1px solid rgba(8,31,54,.12);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 14px 30px rgba(7,31,61,.08);
}

.rek-legal-card h2,
.rek-legal-card h3 {
  color: var(--rek-ink);
  margin-top: 0;
}

.rek-legal-card p {
  color: #405772;
  line-height: 1.6;
}

.rek-legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rek-eho-section {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  border-top: 5px solid #d4af37;
}

.rek-eho-section-art {
  display: grid;
  justify-items: center;
}

.rek-terms-eho-badge {
  display: grid !important;
  width: 100%;
  max-width: 210px;
  background: #061d35;
  border-color: rgba(212,175,55,.34);
}

.rek-terms-eho-badge .rek-eho-icon {
  width: min(180px, 100%);
}

@media (max-width: 760px) {
  .rek-legal-grid,
  .rek-eho-section {
    grid-template-columns: 1fr;
  }
}


/* ---------- v1.1.56 STRIPE ID TEST MODE NOTICE ---------- */
.rek-ba-id-test-mode-notice {
  margin: 12px 0 18px;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid rgba(11,102,195,.25);
  border-left: 5px solid #0b66c3;
  background: #eef7ff;
  color: #102f50;
  font-weight: 800;
  line-height: 1.45;
}
.rek-ba-id-test-mode-notice strong {
  color: #0b4c8c;
}


/* ---------- v1.1.60 SHIELD CONTAINMENT + CENTERED BUYER CTA ---------- */
.rek-buyer-agreement-card-shielded {
  grid-template-columns: minmax(0, 1fr) minmax(170px, 230px) !important;
  align-items: center !important;
}

.rek-buyer-agreement-card-shielded .rek-buyer-agreement-actions,
.rek-buyer-final-cta .rek-buyer-must-actions,
.rek-buyer-must-actions {
  justify-content: center !important;
  text-align: center !important;
}

.rek-buyer-final-cta .rek-buyer-must-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.rek-buyer-final-cta .rek-buyer-must-actions .rek-btn {
  margin-left: auto;
  margin-right: auto;
}

.rek-buyer-agreement-shield-wrap,
.rek-agreement-ready-shield {
  min-width: 0;
  width: 100%;
  justify-items: center !important;
  text-align: center !important;
  align-content: center;
}

.rek-buyer-agreement-shield-pair {
  width: 100%;
  min-width: 0;
}

.rek-buyer-agreement-shield-pair > .rek-buyer-agreement-shield-wrap {
  max-width: 210px;
  margin-left: auto;
  margin-right: auto;
}

.rek-buyer-agreement-shield-wrap .rek-premium-shield-link,
.rek-agreement-ready-shield .rek-premium-shield-link {
  width: min(100%, 170px) !important;
  max-width: 170px !important;
  min-width: 0 !important;
}

.rek-buyer-agreement-shield-wrap .rek-premium-shield-link img,
.rek-agreement-ready-shield .rek-premium-shield-link img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.rek-buyer-agreement-shield-label {
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 880px) {
  .rek-buyer-agreement-card-shielded {
    grid-template-columns: 1fr !important;
  }

  .rek-buyer-agreement-shield-pair > .rek-buyer-agreement-shield-wrap {
    max-width: 170px;
  }

  .rek-buyer-agreement-shield-wrap .rek-premium-shield-link,
  .rek-agreement-ready-shield .rek-premium-shield-link {
    width: min(100%, 150px) !important;
    max-width: 150px !important;
  }
}


/* ---------- v1.1.61 WIDER PREMIUM BUYER SHIELD CONTAINER ---------- */
@media (min-width: 881px) {
  .rek-buyer-agreement-card-shielded {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 340px) !important;
  }

  .rek-buyer-agreement-shield-pair {
    min-width: 270px !important;
  }

  .rek-buyer-agreement-shield-pair > .rek-buyer-agreement-shield-wrap {
    max-width: 300px !important;
    width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .rek-buyer-agreement-shield-wrap .rek-premium-shield-link,
  .rek-agreement-ready-shield .rek-premium-shield-link {
    width: min(100%, 190px) !important;
    max-width: 190px !important;
  }
}

.rek-buyer-agreement-shield-label {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  width: auto !important;
  max-width: 100% !important;
}

@media (max-width: 880px) {
  .rek-buyer-agreement-shield-label {
    font-size: 10px !important;
    letter-spacing: .055em !important;
  }
}


/* ---------- v1.1.62 PREMIUM BUYER SHIELD IMAGE PADDING ---------- */
@media (min-width: 881px) {
  .rek-buyer-agreement-card-shielded {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px) !important;
  }

  .rek-buyer-agreement-shield-pair {
    min-width: 320px !important;
  }

  .rek-buyer-agreement-shield-pair > .rek-buyer-agreement-shield-wrap {
    max-width: 340px !important;
    width: 100% !important;
    padding: 18px !important;
  }
}

.rek-buyer-agreement-shield-wrap .rek-premium-shield-link,
.rek-agreement-ready-shield .rek-premium-shield-link {
  box-sizing: border-box !important;
  padding: 10px !important;
  background: #ffffff !important;
  border-radius: 10px !important;
  width: min(100%, 230px) !important;
  max-width: 230px !important;
}

.rek-buyer-agreement-shield-wrap .rek-premium-shield-link img,
.rek-agreement-ready-shield .rek-premium-shield-link img {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

@media (max-width: 880px) {
  .rek-buyer-agreement-shield-wrap .rek-premium-shield-link,
  .rek-agreement-ready-shield .rek-premium-shield-link {
    width: min(100%, 180px) !important;
    max-width: 180px !important;
    padding: 10px !important;
  }
}


/* ---------- v1.1.63 REMOVE PREMIUM SHIELD INNER CARD ---------- */
.rek-buyer-agreement-card-shielded {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px) !important;
  align-items: center !important;
}

.rek-buyer-agreement-shield-pair {
  display: grid !important;
  grid-template-columns: 1fr !important;
  min-width: 0 !important;
  width: 100% !important;
  justify-items: center !important;
  align-items: center !important;
}

.rek-buyer-agreement-shield-pair > .rek-buyer-agreement-shield-wrap,
.rek-buyer-agreement-shield-wrap {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  border-radius: 0 !important;
  width: 100% !important;
  max-width: 260px !important;
  min-width: 0 !important;
  display: grid !important;
  justify-items: center !important;
  align-content: center !important;
  text-align: center !important;
}

.rek-buyer-agreement-shield-wrap .rek-premium-shield-link,
.rek-agreement-ready-shield .rek-premium-shield-link {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  border-radius: 0 !important;
  width: min(100%, 205px) !important;
  max-width: 205px !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.rek-buyer-agreement-shield-wrap .rek-premium-shield-link img,
.rek-agreement-ready-shield .rek-premium-shield-link img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.rek-buyer-agreement-shield-label {
  white-space: nowrap !important;
  margin-bottom: 8px !important;
}

@media (max-width: 880px) {
  .rek-buyer-agreement-card-shielded {
    grid-template-columns: 1fr !important;
  }

  .rek-buyer-agreement-shield-pair {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
  }

  .rek-buyer-agreement-shield-pair > .rek-buyer-agreement-shield-wrap,
  .rek-buyer-agreement-shield-wrap {
    max-width: 230px !important;
  }

  .rek-buyer-agreement-shield-wrap .rek-premium-shield-link,
  .rek-agreement-ready-shield .rek-premium-shield-link {
    width: min(100%, 185px) !important;
    max-width: 185px !important;
  }
}


/* ---------- v1.1.64 PREMIUM SHIELD GRAPHIC CORNERS ---------- */
.rek-buyer-agreement-shield-wrap .rek-premium-shield-link,
.rek-agreement-ready-shield .rek-premium-shield-link {
  border-radius: 15px !important;
}

.rek-buyer-agreement-shield-wrap .rek-premium-shield-link img,
.rek-agreement-ready-shield .rek-premium-shield-link img {
  border-radius: 15px !important;
}


/* ---------- v1.1.65 BUYER REPRESENTATION CTA BUTTON SPACING ---------- */
.rek-buyer-agreement-card .rek-buyer-agreement-actions {
  margin-top: 20px !important;
}


/* ---------- v1.1.66 KRAZYLOGIC BUILDER FEED HELP ---------- */
.rek-builder-feed-help,
.rek-krazylogic-feed-card {
  margin-top: 18px;
  color: #405772;
  line-height: 1.55;
}

.rek-builder-feed-help {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
}

.rek-builder-feed-help a,
.rek-krazylogic-feed-card a:not(.rek-btn) {
  color: #006fd6;
  font-weight: 900;
}

.rek-krazylogic-feed-card {
  background: linear-gradient(180deg, #ffffff, #f3f9ff);
  border: 1px solid rgba(8,31,54,.12);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(7,31,61,.08);
}

.rek-krazylogic-feed-card h3 {
  margin-top: 0;
  color: var(--rek-ink);
}


/* ---------- v1.1.67 BUILDER FEED SECURITY ---------- */
.rek-nh-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}


/* ---------- v1.1.68 BUILDER FEED DELIVERY INSTRUCTIONS ---------- */
.rek-feed-delivery-card {
  margin: 18px 0;
  background: linear-gradient(180deg, #fffaf0, #ffffff);
  border: 1px solid rgba(212,158,0,.28);
  border-left: 5px solid #d49e00;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(7,31,61,.08);
}

.rek-feed-delivery-card h3 {
  margin-top: 0;
  color: var(--rek-ink);
}

.rek-feed-delivery-card p {
  color: #405772;
  line-height: 1.55;
}

.rek-feed-delivery-card a,
.rek-builder-feed-help a {
  color: #006fd6;
  font-weight: 950;
}


/* ---------- v1.1.70 BUILDER FEED EMAIL VISIBLE ON FORM ---------- */
.rek-builder-feed-email-note {
  margin: 10px 0 18px;
  padding: 12px 14px;
  background: #eef7ff;
  border: 1px solid rgba(0,112,210,.18);
  border-left: 4px solid #006fd6;
  border-radius: 12px;
  color: #102f50;
  font-size: 14px;
  line-height: 1.45;
}

.rek-builder-feed-email-note a {
  color: #006fd6;
  font-weight: 950;
}

.rek-builder-feed-email-note span {
  color: #405772;
}


/* ---------- v1.1.71 TABLET BUYER AGREEMENT CTA CENTERING ---------- */
@media (min-width: 721px) and (max-width: 1180px) {
  .rek-buyer-agreement-card .rek-buyer-agreement-card-copy {
    text-align: center !important;
  }

  .rek-buyer-agreement-card .rek-buyer-agreement-card-copy p {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .rek-buyer-agreement-card .rek-buyer-agreement-actions {
    width: 100% !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .rek-buyer-agreement-card .rek-buyer-agreement-actions .rek-btn {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* ---------- v1.1.72 MOBILE + TABLET START BUYER AGREEMENT CTA CENTERING ---------- */
@media (max-width: 1180px) {
  .rek-buyer-agreement-card .rek-buyer-agreement-card-copy {
    text-align: center !important;
  }

  .rek-buyer-agreement-card .rek-buyer-agreement-card-copy p,
  .rek-buyer-agreement-card .rek-buyer-agreement-card-copy h2,
  .rek-buyer-agreement-card .rek-buyer-agreement-card-copy h3 {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .rek-buyer-agreement-card .rek-buyer-agreement-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .rek-buyer-agreement-card .rek-buyer-agreement-actions .rek-btn {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* ---------- v1.1.73 CTA ALIGNMENT + MOBILE EHO SVG FIX ---------- */
.rek-buyer-agreement-card .rek-buyer-agreement-actions,
.rek-buyer-final-cta .rek-buyer-must-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: center !important;
  justify-items: center !important;
  gap: 12px !important;
  width: min(850px, 100%) !important;
  margin: 20px auto 0 !important;
  text-align: center !important;
}

.rek-buyer-agreement-card .rek-buyer-agreement-actions .rek-btn.gold,
.rek-buyer-final-cta .rek-buyer-must-actions .rek-btn.gold {
  grid-column: 2 !important;
  justify-self: center !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.rek-buyer-agreement-card .rek-buyer-agreement-actions .rek-btn:not(.gold),
.rek-buyer-final-cta .rek-buyer-must-actions .rek-btn:not(.gold) {
  grid-column: 3 !important;
  justify-self: start !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 720px) {
  .rek-buyer-agreement-card .rek-buyer-agreement-actions,
  .rek-buyer-final-cta .rek-buyer-must-actions {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  .rek-buyer-agreement-card .rek-buyer-agreement-actions .rek-btn,
  .rek-buyer-final-cta .rek-buyer-must-actions .rek-btn {
    grid-column: 1 !important;
    justify-self: center !important;
    width: auto !important;
    min-width: min(230px, 100%) !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.rek-eho-svg-wrap {
  aspect-ratio: 1 / 1 !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  color: #0b3155 !important;
  box-shadow: inset 0 0 0 3px rgba(11,49,85,.12) !important;
  position: relative !important;
  overflow: visible !important;
}

.rek-eho-svg {
  display: block !important;
  width: 76% !important;
  height: 76% !important;
  overflow: visible !important;
}

.rek-eho-badge-sm .rek-eho-svg-wrap {
  width: min(126px, 100%) !important;
}

.rek-eho-badge-lg .rek-eho-svg-wrap {
  width: min(180px, 100%) !important;
}

.rek-agreement-eho-icon.rek-eho-svg-wrap {
  width: min(180px, 100%) !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
}

@media (max-width: 640px) {
  .rek-agreement-eho-icon.rek-eho-svg-wrap {
    width: min(150px, 100%) !important;
  }

  .rek-eho-badge-sm .rek-eho-svg-wrap {
    width: min(116px, 100%) !important;
  }
}


/* ---------- v1.1.74 OFFICIAL EHO ICON ---------- */
.rek-eho-image-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.rek-eho-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
}

.rek-eho-badge-sm .rek-eho-image-wrap {
  width: min(120px, 100%) !important;
}

.rek-eho-badge-md .rek-eho-image-wrap {
  width: min(150px, 100%) !important;
}

.rek-eho-badge-lg .rek-eho-image-wrap,
.rek-agreement-eho-icon.rek-eho-image-wrap {
  width: min(190px, 100%) !important;
}

.rek-eho-badge {
  gap: 10px !important;
}

.rek-agreement-eho-badge {
  align-items: center !important;
}

@media (max-width: 640px) {
  .rek-eho-badge-sm .rek-eho-image-wrap {
    width: min(108px, 100%) !important;
  }

  .rek-eho-badge-md .rek-eho-image-wrap {
    width: min(132px, 100%) !important;
  }

  .rek-eho-badge-lg .rek-eho-image-wrap,
  .rek-agreement-eho-icon.rek-eho-image-wrap {
    width: min(160px, 100%) !important;
  }
}


/* ---------- v1.1.75 STATEWIDE BUYER REPRESENTATION CARD CENTERING ---------- */
@media (max-width: 1024px) and (orientation: portrait) {
  .rek-buyer-agreement-card {
    text-align: center !important;
  }

  .rek-buyer-agreement-card .rek-buyer-agreement-inner,
  .rek-buyer-agreement-card .rek-buyer-agreement-layout,
  .rek-buyer-agreement-card .rek-buyer-agreement-content {
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  .rek-buyer-agreement-card .rek-buyer-agreement-card-copy,
  .rek-buyer-agreement-card .rek-buyer-agreement-card-copy h2,
  .rek-buyer-agreement-card .rek-buyer-agreement-card-copy h3,
  .rek-buyer-agreement-card .rek-buyer-agreement-card-copy p,
  .rek-buyer-agreement-card .rek-buyer-agreement-card-copy .rek-kicker {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .rek-buyer-agreement-card .rek-buyer-agreement-card-copy ul,
  .rek-buyer-agreement-card .rek-buyer-agreement-card-copy ol {
    display: inline-block !important;
    text-align: left !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .rek-buyer-agreement-card .rek-buyer-agreement-actions {
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    justify-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .rek-buyer-agreement-card .rek-premium-buyer-shield,
  .rek-buyer-agreement-card .rek-premium-buyer-shield-wrap,
  .rek-buyer-agreement-card .rek-premium-buyer-shield-block,
  .rek-buyer-agreement-card .rek-buyer-shield,
  .rek-buyer-agreement-card .rek-buyer-shield-wrap {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .rek-buyer-agreement-card .rek-premium-buyer-shield img,
  .rek-buyer-agreement-card .rek-buyer-shield img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* ---------- v1.1.76 STATEWIDE BUYER BUTTON GROUP TRUE CENTERING ---------- */
@media (max-width: 1024px) and (orientation: portrait) {
  .rek-buyer-agreement-card-shielded .rek-buyer-agreement-card-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .rek-buyer-agreement-card-shielded .rek-buyer-agreement-kicker,
  .rek-buyer-agreement-card-shielded .rek-buyer-agreement-card-copy h3,
  .rek-buyer-agreement-card-shielded .rek-buyer-agreement-card-copy p {
    display: block !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .rek-buyer-agreement-card-shielded .rek-buyer-agreement-card-copy p {
    max-width: 760px !important;
  }

  .rek-buyer-agreement-card-shielded .rek-buyer-agreement-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    grid-template-columns: none !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 20px auto 0 !important;
    justify-content: center !important;
    align-items: center !important;
    justify-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .rek-buyer-agreement-card-shielded .rek-buyer-agreement-actions .rek-btn,
  .rek-buyer-agreement-card-shielded .rek-buyer-agreement-actions .rek-btn.gold,
  .rek-buyer-agreement-card-shielded .rek-buyer-agreement-actions .rek-btn:not(.gold) {
    grid-column: auto !important;
    justify-self: center !important;
    align-self: center !important;
    margin: 0 !important;
  }
}

@media (max-width: 520px) and (orientation: portrait) {
  .rek-buyer-agreement-card-shielded .rek-buyer-agreement-actions {
    width: 100% !important;
  }

  .rek-buyer-agreement-card-shielded .rek-buyer-agreement-actions .rek-btn {
    min-width: min(230px, 100%) !important;
  }
}


/* ---------- v1.1.77 TERMS PAGE EHO ICON BACKGROUND ---------- */
.rek-legal-page .rek-eho-image-wrap,
.rek-terms-page .rek-eho-image-wrap,
.rek-terms .rek-eho-image-wrap,
body.page-id-terms-of-use .rek-eho-image-wrap,
body[class*="terms"] .rek-eho-image-wrap {
  background: #f3f0f0 !important;
  padding: 14px !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
}

.rek-legal-page .rek-eho-image,
.rek-terms-page .rek-eho-image,
.rek-terms .rek-eho-image,
body.page-id-terms-of-use .rek-eho-image,
body[class*="terms"] .rek-eho-image {
  display: block !important;
  background: transparent !important;
}


/* ---------- v1.1.80 ACCESSIBILITY PAGE ---------- */
.rek-accessibility-page .rek-legal-card a {
  color: #006fd6;
  font-weight: 950;
}

.rek-accessibility-page .rek-legal-card p {
  line-height: 1.65;
}

/* ---------- v1.1.84 PUBLIC FORM SELECT CLIPPING FIX ---------- */
/*
 * WordPress themes and browser-native select controls can inherit conflicting
 * height, padding, line-height, and text-fill rules. These declarations keep
 * the Contact-page Community, Budget, and Timeframe values fully visible.
 */
.rek-newhomes-page .rek-contact-form .rek-nh-lead-form select,
.rek-newhomes-page .rek-contact-card .rek-nh-lead-form select,
.rek-newhomes-page .rek-context-lead-form select,
.rek-newhomes-page .rek-nh-lead-form select {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 52px !important;
  height: 52px !important;
  padding: 0 42px 0 14px !important;
  margin: 0 !important;
  border: 1px solid #cfdbea !important;
  border-radius: 10px !important;
  background-color: #ffffff !important;
  color: #071b33 !important;
  -webkit-text-fill-color: #071b33 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: normal !important;
  text-indent: 0 !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  color-scheme: light;
}

.rek-newhomes-page .rek-contact-form .rek-nh-lead-form select option,
.rek-newhomes-page .rek-contact-card .rek-nh-lead-form select option,
.rek-newhomes-page .rek-context-lead-form select option,
.rek-newhomes-page .rek-nh-lead-form select option {
  background: #ffffff !important;
  color: #071b33 !important;
  -webkit-text-fill-color: #071b33 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

.rek-newhomes-page .rek-contact-form .rek-nh-form-grid,
.rek-newhomes-page .rek-contact-card .rek-nh-form-grid {
  align-items: start !important;
}

.rek-newhomes-page .rek-contact-form .rek-nh-lead-form label,
.rek-newhomes-page .rek-contact-card .rek-nh-lead-form label {
  min-width: 0 !important;
  overflow: visible !important;
}

@media (max-width: 900px) {
  .rek-newhomes-page .rek-contact-form .rek-nh-lead-form select,
  .rek-newhomes-page .rek-contact-card .rek-nh-lead-form select,
  .rek-newhomes-page .rek-context-lead-form select,
  .rek-newhomes-page .rek-nh-lead-form select {
    min-height: 54px !important;
    height: 54px !important;
    font-size: 16px !important;
  }
}

/* ---------- v1.1.85 CONTACT FORM HORIZONTAL CLIPPING FIX ---------- */
/*
 * The Contact card is only about half the desktop page width. A forced
 * four-column field grid made Community, Budget, and Timeframe selects too
 * narrow, which clipped their visible labels. Use a purpose-built two-column
 * Contact form layout instead.
 */
.rek-newhomes-page .rek-contact-card {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr) !important;
  max-width: 1180px !important;
}

.rek-newhomes-page .rek-contact-form,
.rek-newhomes-page .rek-contact-form .rek-nh-lead-form,
.rek-newhomes-page .rek-contact-form .rek-nh-ajax-form,
.rek-newhomes-page .rek-contact-form .rek-nh-form-grid,
.rek-newhomes-page .rek-contact-form .rek-nh-form-grid > label {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.rek-newhomes-page .rek-contact-form .rek-context-lead-form .rek-nh-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 16px !important;
  align-items: start !important;
}

/* Give Phone and Community their own full-width rows. */
.rek-newhomes-page .rek-contact-form .rek-context-lead-form .rek-nh-form-grid > label:nth-child(3),
.rek-newhomes-page .rek-contact-form .rek-context-lead-form .rek-nh-form-grid > label:nth-child(4) {
  grid-column: 1 / -1 !important;
}

.rek-newhomes-page .rek-contact-form .rek-context-lead-form select {
  min-width: 0 !important;
  width: 100% !important;
  padding-left: 14px !important;
  padding-right: 38px !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

@media (max-width: 1050px) {
  .rek-newhomes-page .rek-contact-card {
    grid-template-columns: 1fr !important;
  }

  .rek-newhomes-page .rek-contact-form .rek-context-lead-form .rek-nh-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .rek-newhomes-page .rek-contact-form .rek-context-lead-form .rek-nh-form-grid {
    grid-template-columns: 1fr !important;
  }

  .rek-newhomes-page .rek-contact-form .rek-context-lead-form .rek-nh-form-grid > label {
    grid-column: 1 !important;
  }
}

