
:root{
  --deep:#061d38;
  --navy:#0b3768;
  --navy2:#082b55;
  --gold:#f5b728;
  --gold2:#ffd35a;
  --ink:#092f5f;
  --muted:#435d78;
  --cream:#fff4dc;
  --light:#eef6ff;
  --line:#d8e5f2;
  --shadow:0 20px 45px rgba(5,27,53,.22);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff;line-height:1.45}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
.wrap{width:min(1180px,calc(100% - 44px));margin:0 auto}
.topbar{
  height:112px;
  background:linear-gradient(90deg,#061d38,#0c3767);
  color:#fff;
  display:flex;
  align-items:center;
  position:relative;
  z-index:10;
}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:28px}
.header-logo{width:330px;height:auto}
.nav-wrap{display:flex;flex-direction:column;align-items:flex-end;gap:14px}
.city-kicker{font-weight:900;font-size:18px;line-height:1.1;text-align:right}
.city-kicker span{display:block;color:var(--gold);font-size:17px}
.nav{display:flex;align-items:center;gap:28px;font-weight:900;font-size:14px}
.nav a{color:#fff}
.nav .cta-small{
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:#051b35;
  padding:12px 22px;
  border-radius:8px;
  box-shadow:0 8px 18px rgba(0,0,0,.28);
  text-transform:uppercase;
}
.hero{
  min-height:clamp(540px, 34vw, 620px);
  color:#fff;
  display:flex;
  align-items:center;
  padding:42px 0 36px;
}
.hero-grid{display:grid;grid-template-columns:1.02fr .82fr;gap:48px;align-items:center}
.eyebrow{font-size:22px;font-weight:900;text-transform:uppercase;letter-spacing:.02em;margin-bottom:4px}
h1{font-size:72px;line-height:.9;letter-spacing:-2.5px;margin:0 0 16px;font-weight:950}
h1 em{display:block;font-family:"Brush Script MT","Segoe Script",cursive;color:var(--gold);font-size:1.08em;font-weight:500;letter-spacing:0}
.hero-copy{font-size:20px;font-weight:800;max-width:460px;margin:0 0 22px;text-shadow:0 2px 10px rgba(0,0,0,.45)}
.benefits{display:grid;gap:12px}
.benefit{display:grid;grid-template-columns:58px 1fr;gap:14px;align-items:center}
.benefit-icon{
  width:52px;height:52px;border-radius:50%;
  background:#063f78;
  color:#fff;
  display:grid;
  place-items:center;
  box-shadow:0 6px 16px rgba(0,0,0,.35);
}
.benefit svg{width:29px;height:29px;fill:none;stroke:#fff;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.benefit b{display:block;color:#fff;font-size:18px;line-height:1.1}
.benefit span.copy{display:block;font-size:14px;color:#fff;font-weight:700}
.calc-card{
  background:#fff;
  color:var(--ink);
  border-radius:12px;
  padding:30px 34px;
  max-width:410px;
  margin-left:auto;
  box-shadow:0 12px 30px rgba(0,0,0,.34);
  border:1px solid rgba(0,0,0,.16);
  text-align:center;
}
.calc-icon{width:44px;margin:0 auto 4px}
.calc-card h2{font-size:28px;line-height:1.05;margin:0 0 14px;color:#062957}
.calc-card p{font-size:14px;color:#142f50;margin:0 auto 18px;max-width:310px}
.price-input{width:100%;height:48px;border:1px solid #bfcbd8;border-radius:3px;text-align:center;font-size:16px;padding:10px;outline:none}
.calc-divider{height:1px;background:#c6d0dc;margin:20px 0}
.result small{display:block;color:#092f5f;font-size:14px;font-weight:700;line-height:1.25;margin-bottom:8px}
.result strong{display:block;color:#eda51b;font-size:47px;line-height:1;font-weight:950}
.fine{font-size:10px!important;color:#172f4a!important;line-height:1.35!important;max-width:330px!important;margin-top:22px!important}
.what{
  background:linear-gradient(90deg,#fff7e6,#fff0cf);
  padding:34px 0 26px;
}
.what-grid{display:grid;grid-template-columns:250px 1fr 245px;gap:34px;align-items:center}
.what-chest{width:220px;margin:0 auto}
.what h2{font-size:34px;margin:0 0 10px;color:#062957;line-height:1.05}
.what p{font-size:16px;color:#092f5f;margin:0 0 12px;font-weight:600}
.promise-row{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:22px;align-items:center}
.promise{display:flex;align-items:center;justify-content:center;gap:13px;font-weight:900;color:#062957;border-right:2px solid #0b3768;min-height:58px}
.promise:last-child{border-right:0}
.promise svg{width:44px;height:44px;fill:none;stroke:#073766;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.simple-line{text-align:center;font-size:17px;font-weight:950;margin-top:18px;color:#062957}
.side-cta{
  background:#fff9ec;
  border:1px solid #8ea1b4;
  border-radius:10px;
  padding:24px 20px;
  text-align:center;
  box-shadow:0 8px 18px rgba(8,35,65,.09);
}
.side-cta h3{font-size:22px;line-height:1.15;margin:0 0 18px;color:#082b55}
.side-cta .button{width:100%;justify-content:center}
.side-cta p{font-size:14px;font-weight:800;margin:12px 0 0;color:#082b55}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:#061d38;
  border-radius:6px;
  padding:14px 25px;
  font-weight:950;
  text-transform:uppercase;
  box-shadow:0 8px 17px rgba(0,0,0,.18);
}
.love{padding:28px 0 36px;background:#fff;text-align:center}
.love h2{font-size:30px;line-height:1.1;margin:0 0 22px;color:#062957}
.love-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:0}
.love-card{
  padding:0 26px;
  border-right:1px solid #b9c4d0;
  min-height:170px;
}
.love-card:last-child{border-right:0}
.love-icon{height:50px;margin:0 auto 10px;color:#062957;display:flex;align-items:center;justify-content:center}
.love-icon svg{width:48px;height:48px;fill:none;stroke:#062957;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.love-card h3{font-size:15px;line-height:1.15;margin:0 0 10px;color:#062957}
.love-card p{font-size:13px;line-height:1.35;color:#092f5f;margin:0}
.lifestyle{
  background:linear-gradient(90deg,#e9f5ff,#f7fbff);
  padding:30px 0 34px;
}
.lifestyle h2{font-size:31px;line-height:1.1;margin:0 0 13px;color:#062957}
.lifestyle p{font-size:15px;max-width:1060px;color:#082b55;margin:0 0 12px;font-weight:600}
.lifestyle ul{margin:10px 0 14px;padding-left:22px;max-width:1030px;color:#082b55;font-size:14px;font-weight:800}
.lifestyle li{margin:4px 0}
.works{background:linear-gradient(90deg,#061d38,#0c3767);color:#fff;padding:30px 0 32px;text-align:center}
.works h2{font-size:30px;margin:0 0 16px}
.work-grid{display:grid;grid-template-columns:1fr 50px 1fr 50px 1fr 50px 1fr;gap:13px;align-items:center}
.work-step{min-height:160px}
.work-num{width:30px;height:30px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;margin:0 auto 8px;font-weight:900}
.work-icon svg{width:52px;height:52px;fill:none;stroke:#fff;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.work-step h3{font-size:15px;margin:8px 0 5px}
.work-step p{font-size:13px;line-height:1.3;margin:0;color:rgba(255,255,255,.86)}
.arrow{font-size:58px;color:var(--gold);font-weight:900;line-height:1}
.payoff{
  background:linear-gradient(90deg,#061d38,#0b3768);
  color:#fff;
  padding:33px 0;
  border-top:2px solid #d99817;
  position:relative;
}
.payoff-grid{display:grid;grid-template-columns:190px 1fr 265px;gap:30px;align-items:center}
.payoff-chest{width:180px}
.payoff h2{font-size:28px;margin:0 0 7px;color:#fff}
.payoff h3{font-size:44px;line-height:1;margin:0 0 9px;color:#fff}
.payoff h3 em{font-family:"Brush Script MT","Segoe Script",cursive;color:var(--gold);font-weight:500;font-style:normal;font-size:1.15em}
.payoff p{font-size:19px;font-weight:900;margin:0 0 16px;color:#fff}
.payoff-benefits{display:flex;gap:20px;flex-wrap:wrap}
.payoff-benefit{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:900;color:#fff}
.payoff-benefit svg{width:30px;height:30px;fill:none;stroke:var(--gold);stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.payoff-cta{text-align:center}
.payoff-cta .button{width:100%;font-size:18px;padding:17px 25px}
.payoff-cta p{font-size:15px;margin:13px 0 0;color:#fff}
footer{background:#04182f;color:rgba(255,255,255,.72);padding:18px 0;font-size:12px;text-align:center}
@media(max-width:980px){
  .topbar{height:auto;padding:4px 0}
  .topbar-inner{
      display:flex;
      flex-direction:row;
      justify-content:space-between;
      align-items:center;
      gap:12px;
  }
  .header-logo{width:150px}
  .nav-wrap{
      display:flex;
      flex-direction:row;
      align-items:center;
      margin-left:auto;
      gap:0;
  }
  .city-kicker{display:none}
  .nav{
      display:flex;
      justify-content:flex-end;
      align-items:center;
      gap:0;
  }
  .nav a{display:none}
  .menu-toggle{display:block;margin-left:2px}
  .hero-grid,.what-grid,.payoff-grid{grid-template-columns:1fr}
  .calc-card{margin:0 auto;max-width:460px;width:100%}
  .what{text-align:center}
  .promise-row{grid-template-columns:1fr}
  .promise{border-right:0;border-bottom:1px solid #b9c4d0;padding-bottom:12px}
  .love-grid{grid-template-columns:1fr 1fr}
  .love-card{border-right:0;border-bottom:1px solid #d8e5f2;padding:22px}
  .work-grid{grid-template-columns:1fr}
  .arrow{transform:rotate(90deg);font-size:38px}
  .payoff-cta{max-width:320px;margin:0 auto}
}
@media(max-width:620px){
  .wrap{width:min(100% - 28px,1180px)}h1{font-size:50px}.hero{padding:30px 0}.hero-copy{font-size:17px}.love-grid{grid-template-columns:1fr}.calc-card{padding:24px}.payoff h3{font-size:34px}.city-kicker{display:none}
}

/* CloseStash National City Template v1.1 additions */
.lifestyle-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:34px;align-items:start}
.lifestyle-card{background:#fff;border:1px solid #c9d8e8;border-radius:14px;padding:24px 26px;box-shadow:0 10px 24px rgba(8,35,65,.08)}
.lifestyle-card h3{margin:0 0 12px;color:#062957;font-size:21px}
.lifestyle-card ul{margin:0;padding-left:21px}
.lifestyle-card li{margin:7px 0}
.community-section{background:#fff;padding:34px 0 40px;text-align:center}
.community-section h2{font-size:30px;line-height:1.1;margin:0 0 10px;color:#062957}
.community-section p{color:#092f5f;font-size:16px;font-weight:700;margin:0 auto 22px;max-width:760px}
.community-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;text-align:left}
.community-card{background:linear-gradient(180deg,#ffffff,#f3f8ff);border:1px solid #c8d8e8;border-radius:14px;padding:20px;box-shadow:0 10px 22px rgba(8,35,65,.08)}
.community-card h3{margin:0 0 8px;color:#062957;font-size:20px}
.community-card p{font-size:14px;line-height:1.35;margin:0 0 12px;color:#304a66;font-weight:700}
.community-card a{color:#0b3768;font-weight:950}
.search-homes{background:#fff7e6;padding:34px 0;text-align:center;border-top:1px solid #ead7a9;border-bottom:1px solid #ead7a9}
.search-homes h2{color:#062957;font-size:30px;margin:0 0 8px}
.search-homes p{color:#092f5f;font-size:17px;font-weight:800;max-width:720px;margin:0 auto 18px}
@media(max-width:980px){.lifestyle-grid,.community-grid{grid-template-columns:1fr}}
/* Community hero backgrounds are now generated by closestash.js */
/* Responsive Template v3.0 - Clean Mobile Layout */
.menu-toggle{display:none;background:none;border:0;cursor:pointer;padding:6px;z-index:10001}
.menu-toggle span{display:block;width:30px;height:3px;margin:5px 0;background:var(--gold);border-radius:3px;transition:.25s}

.mobile-menu{
display:block;
position:fixed;
top:0;
right:-100%;
width:320px;
max-width:85%;
height:100vh;
background:#061d38;
color:#fff;
z-index:10000;
transition:right .30s ease;
padding:24px;
overflow-y:auto;
box-shadow:-8px 0 24px rgba(0,0,0,.35);
}

.mobile-menu.open{
right:0;
}

.mobile-overlay{
display:none;
position:fixed;
inset:0;
background:rgba(0,0,0,.45);
z-index:9999;
}

.mobile-overlay.open{
display:block;
}

.hero-mobile-image{display:none}

@media (max-width:980px){

.topbar{padding:8px 0;height:auto}
.header-logo{width:150px}
.city-kicker,.nav a{display:none}
.menu-toggle{display:block}

.mobile-menu{
display:block;
}

.mobile-overlay{
display:none;
}

.hero{
    background:none!important;
    min-height:auto!important;
    display:block;
    padding:0!important;
}

.hero-mobile-image{
    display:block;
    width:100%;
    height:auto;
    margin:0;
}

.hero-grid{
    display:flex!important;
    flex-direction:column!important;
    gap:24px;
    padding:24px 0;
}

.hero-grid>div{order:1}
.calc-card{order:2;max-width:100%;width:100%;margin:0 auto}
.what-grid,
.payoff-grid,
.lifestyle-grid,
.community-grid,
.promise-row,
.work-grid{grid-template-columns:1fr!important}
.love-grid{grid-template-columns:1fr!important}
.arrow{display:none}
}

@media (max-width:620px){
.wrap{width:min(100% - 28px,1180px)}
h1{font-size:42px;line-height:1}
.hero-copy{font-size:18px}
.calc-card{padding:22px}
}


/* ===== Mobile Hero Polish v3.1 ===== */
@media (max-width:980px){

.hero-grid > div{
    text-align:left;
}

.eyebrow{
    color:#0b3768;
    font-size:18px;
    margin-bottom:6px;
}

h1{
    color:#0b3768;
    font-size:44px;
    line-height:1.02;
    letter-spacing:-1px;
    margin-bottom:14px;
}

h1 em{
    display:block;
    color:#f5b728;
    font-size:.9em;
    margin-top:2px;
}

.hero-copy{
    color:#16385f;
    text-shadow:none;
    font-size:20px;
    font-weight:700;
    max-width:100%;
}

.hero-mobile-image{
    width:100%;
    aspect-ratio:16/8;
    object-fit:cover;
    object-position:center;

}

.benefits{
    gap:18px;
    margin-top:18px;
}

.benefit{
    grid-template-columns:56px 1fr;
}

.benefit b{
    color:#0b3768;
}

.benefit span.copy{
    color:#4b5f76;
}

.calc-card{
    margin-top:12px;
}
}

/* CSP 1.0.0 Footer */
.csp-footer-inner{width:min(1180px,calc(100% - 44px));margin:0 auto;display:grid;gap:6px}
.csp-footer-copy{font-size:11px;color:rgba(255,255,255,.58)}


/* =====================================================
   CSP Emergency Stable Mobile Menu v1.0
   Purpose: simple working mobile menu for production
   ===================================================== */

@media (max-width:980px){

  .menu-toggle{
    display:block !important;
    background:none !important;
    border:0 !important;
    cursor:pointer !important;
    padding:6px !important;
    margin-left:6px !important;
    position:relative !important;
    z-index:10003 !important;
  }

  .menu-toggle span{
    display:block !important;
    width:30px !important;
    height:3px !important;
    margin:5px 0 !important;
    background:var(--gold) !important;
    border-radius:3px !important;
  }

  .mobile-menu{
    display:none !important;
    position:fixed !important;
    top:66px !important;
    left:14px !important;
    right:14px !important;
    width:auto !important;
    max-width:none !important;
    height:auto !important;
    max-height:calc(100vh - 90px) !important;
    background:#ffffff !important;
    color:#0b3768 !important;
    z-index:10002 !important;
    padding:18px !important;
    border-radius:12px !important;
    box-shadow:0 16px 40px rgba(0,0,0,.32) !important;
    overflow:auto !important;
  }

  .mobile-menu.open{
    display:block !important;
    right:14px !important;
  }

  .mobile-menu-header{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:14px !important;
    padding-bottom:14px !important;
    margin-bottom:8px !important;
    border-bottom:1px solid #d8e5f2 !important;
  }

  .mobile-menu-header .header-logo{
    width:170px !important;
    max-width:75% !important;
    height:auto !important;
  }

  .menu-close{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:38px !important;
    height:38px !important;
    border:0 !important;
    border-radius:50% !important;
    background:#061d38 !important;
    color:#ffffff !important;
    font-size:28px !important;
    line-height:1 !important;
    cursor:pointer !important;
  }

  .mobile-nav{
    display:flex !important;
    flex-direction:column !important;
    gap:10px !important;
  }

  .mobile-nav a{
    display:block !important;
    width:100% !important;
    padding:15px 16px !important;
    border-radius:8px !important;
    background:#f3f8ff !important;
    color:#0b3768 !important;
    font-size:18px !important;
    font-weight:900 !important;
    text-align:left !important;
    border:1px solid #d8e5f2 !important;
  }

  .mobile-nav a.cta-small{
    margin-top:6px !important;
    background:linear-gradient(135deg,var(--gold),var(--gold2)) !important;
    color:#061d38 !important;
    text-align:center !important;
    text-transform:uppercase !important;
    box-shadow:0 8px 17px rgba(0,0,0,.18) !important;
  }

  .mobile-overlay{
    display:none !important;
    position:fixed !important;
    inset:0 !important;
    background:rgba(0,0,0,.45) !important;
    z-index:10001 !important;
  }

  .mobile-overlay.open{
    display:block !important;
  }
}

@media (min-width:981px){
  .mobile-menu,
  .mobile-overlay,
  .menu-toggle{
    display:none !important;
  }
}


.community-link{color:#0066cc!important}.community-link:hover{text-decoration:underline}.community-card{cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}.community-card:hover{transform:translateY(-4px);box-shadow:0 16px 30px rgba(8,35,65,.18)}.community-button{display:inline-block;margin-top:8px;padding:12px 18px;border-radius:8px;background:linear-gradient(135deg,var(--navy),#14539a)!important;color:#fff!important;font-weight:900;text-transform:uppercase}.button,.nav .cta-small{transition:all .18s ease}.button:hover,.nav .cta-small:hover{transform:translateY(-4px);box-shadow:0 14px 26px rgba(0,0,0,.28);background:#061d38!important;color:var(--gold)!important}.calc-card{transition:transform .22s ease,box-shadow .22s ease}.calc-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(0,0,0,.36)}

/* =====================================================
   CloseStash UI Standard v3.0 (Authoritative)
   ===================================================== */
.button,.nav .cta-small{
transition:transform .26s ease-out,box-shadow .26s ease-out,background-color .22s ease-out,color .22s ease-out;}
.button:hover,.nav .cta-small:hover{
transform:translateY(-2px);
box-shadow:0 14px 26px rgba(0,0,0,.28);
background:#061d38!important;
color:var(--gold)!important;}
.community-card{
cursor:pointer;
transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
.community-card:hover{
transform:translateY(-4px);
box-shadow:0 16px 30px rgba(8,35,65,.18);
border-color:#8fb4da;}
.community-card h3{color:#062957;}
.community-card a{color:#0066cc;font-weight:950;}
.community-card a:hover{color:#004ea3;text-decoration:underline;}
.calc-card{transition:transform .22s ease,box-shadow .22s ease;}
.calc-card:hover{
transform:translateY(-4px);
box-shadow:0 18px 36px rgba(0,0,0,.36);}


/* =====================================================
   CloseStash Hero System v4.0
   Shared desktop hero upgrade for existing pages.
   The desktop image and overlay are injected by closestash.js.
   ===================================================== */
@media (min-width:981px){
  .hero.csp-hero-v4{
    position:relative;
    isolation:isolate;
    overflow:hidden;
    min-height:clamp(560px,42vw,680px);
    background:#061d38!important;
  }

  .hero.csp-hero-v4 .hero-desktop-image{
    position:absolute;
    inset:0;
    z-index:-3;
    width:100%;
    height:100%;
    max-width:none;
    object-fit:cover;
    object-position:center center;
    opacity:0;
    transition:opacity .18s ease-out;
  }

  .hero.csp-hero-v4.hero-image-ready .hero-desktop-image{
    opacity:1;
  }

  .hero.csp-hero-v4 .hero-overlay{
    position:absolute;
    inset:0;
    z-index:-2;
    pointer-events:none;
    background:
      linear-gradient(90deg,
        rgba(0,0,0,.70) 0%,
        rgba(2,19,38,.55) 32%,
        rgba(6,29,56,.22) 60%,
        rgba(0,0,0,.34) 100%);
  }

  .hero.csp-hero-v4 .hero-grid{
    position:relative;
    z-index:1;
    width:min(1180px,calc(100% - 44px));
  }

  .hero.csp-hero-v4 .hero-mobile-image{
    display:none!important;
  }
}

@media (max-width:980px){
  .hero.csp-hero-v4 .hero-desktop-image,
  .hero.csp-hero-v4 .hero-overlay{
    display:none!important;
  }
}
