/* denver-homesearch.com prototype. House rules: square corners everywhere, boxes side by side are equal height with
   buttons pinned to the bottom, 8px minimum padding inside boxes, flat colors (no gradients, no glass), mobile first. */
:root{--navy:#22405E;--sage:#B7C297;--teal:#0C899D;--gray:#F2F4EE;--white:#fff;--ink:#1d2b38;--muted:#4c5b69;--line:#d9ddd2;
  --font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--gut:16px;--max:1200px}
*,*::before,*::after{box-sizing:border-box;border-radius:0!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);font-size:17px;line-height:1.6;color:var(--ink);background:var(--white);overflow-x:hidden}
img,svg{max-width:100%;height:auto;display:block}
a{color:var(--teal)}
a:hover{color:var(--navy)}
h1,h2,h3{font-weight:800;line-height:1.15;color:var(--navy);margin:0 0 12px;letter-spacing:-.01em}
h1{font-size:clamp(32px,6vw,54px)}
h2{font-size:clamp(26px,4vw,38px)}
h3{font-size:20px}
p{margin:0 0 14px}
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gut)}
.eyebrow{display:block;font-size:13px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--teal);margin:0 0 8px}
.section{padding:56px 0}
.section.alt{background:var(--gray)}
.lede{font-size:19px;color:var(--muted);max-width:760px}
.skip{position:absolute;left:-9999px}.skip:focus{left:8px;top:8px;background:#fff;padding:8px;z-index:50}

/* buttons */
.btn{display:inline-block;font:inherit;font-weight:700;font-size:16px;text-decoration:none;text-align:center;cursor:pointer;
  padding:12px 20px;border:2px solid var(--teal);background:var(--teal);color:#fff;line-height:1.2}
.btn:hover{background:var(--navy);border-color:var(--navy);color:#fff}
.btn.ghost{background:transparent;color:var(--navy);border-color:var(--navy)}
.btn.ghost:hover{background:var(--navy);color:#fff}
.btn.light{background:#fff;color:var(--navy);border-color:#fff}

/* header */
.top{background:var(--navy);color:#fff}
.top .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 20px;padding-top:12px;padding-bottom:12px}
.brand{color:#fff;text-decoration:none;display:flex;flex-direction:column;line-height:1.2}
.brand b{font-size:20px;font-weight:800;letter-spacing:-.01em}
.brand small{font-size:12px;color:var(--sage);letter-spacing:.06em;text-transform:uppercase;font-weight:700}
.nav{display:flex;flex-wrap:wrap;gap:4px 18px;align-items:center}
.nav a{color:#fff;text-decoration:none;font-weight:700;font-size:15px;padding:6px 0}
.nav a:hover{color:var(--sage)}
.nav .call{background:var(--teal);padding:8px 12px}
.nav .call:hover{background:#fff;color:var(--navy)}

/* hero: the live sky stage + the words in a square navy box */
.hero{position:relative;background:var(--navy)}
#sky-stage{position:relative;overflow:hidden;background:#8fb3dc url(/img/denver-citypark-sky-m.webp) 50% 30%/cover no-repeat}
#sky-stage .stage-in{height:330px}
.hero-copy{background:var(--navy);color:#fff;padding:28px var(--gut) 32px}
.hero-copy h1{color:#fff}
.hero-copy .eyebrow{color:var(--sage)}
.hero-copy p{color:#e4e9ee;font-size:18px}
.idx-slot{border:2px dashed var(--sage);background:#fff;color:var(--ink);padding:12px;margin:18px 0 10px}
.idx-slot .fake{display:flex;gap:0;flex-wrap:wrap}
.idx-slot input{flex:1 1 200px;min-width:0;font:inherit;padding:12px;border:2px solid var(--navy);border-right:0}
.idx-slot .btn{flex:0 0 auto}
.idx-slot .note{font-size:13px;color:var(--muted);margin:8px 0 0}
.hero-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.hero-links a{color:#fff;border:1px solid rgba(255,255,255,.5);padding:6px 10px;text-decoration:none;font-size:14px;font-weight:600}
.hero-links a:hover{background:#fff;color:var(--navy)}
@media (min-width:900px){
  #sky-stage{background-image:url(/img/denver-citypark-sky-d.webp);background-position:50% 10%}
  #sky-stage .stage-in{height:min(86vh,780px);min-height:620px}
  .hero-copy{position:absolute;z-index:4;left:max(var(--gut),calc((100% - var(--max))/2 + var(--gut)));top:48px;width:540px;padding:28px 28px 24px}
}

/* bullseye */
.bull{display:grid;gap:24px;align-items:start}
@media (min-width:960px){.bull{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.bull-map{position:sticky;top:12px}}
.bull-map{background:#fff;border:1px solid var(--line);padding:8px}
.bull-map text{font-family:var(--font)}
.bull-map a:hover circle{stroke:var(--navy);stroke-width:3}
.bull-map a:hover text{fill:var(--teal)}
.legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:14px;margin:10px 4px 2px;color:var(--muted)}
.legend i{display:inline-block;width:12px;height:12px;margin-right:6px;vertical-align:-1px}
.ring-head{margin:22px 0 10px;font-size:18px}
.ring-head:first-child{margin-top:0}
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.tile{display:flex;flex-direction:column;justify-content:space-between;min-height:88px;padding:12px;background:#fff;border:1px solid var(--line);
  border-left:6px solid var(--teal);text-decoration:none;color:var(--navy)}
.tile b{font-size:17px;line-height:1.2}
.tile span{font-size:13px;color:var(--muted)}
.tile:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.tile:hover span{color:var(--sage)}
.tile.r1{border-left-color:var(--teal)}.tile.r2{border-left-color:var(--sage)}.tile.r3{border-left-color:var(--navy)}
.tile.denver{border-left-color:var(--teal);background:var(--navy);color:#fff}
.tile.denver span{color:var(--sage)}
.tile.denver:hover{background:var(--teal)}

/* equal-height boxes, buttons pinned to the bottom */
.boxes{display:grid;gap:16px}
@media (min-width:800px){.boxes.two{grid-template-columns:1fr 1fr}.boxes.three{grid-template-columns:repeat(3,1fr)}}
.box{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);padding:24px}
.box > .grow{flex:1 1 auto}
.box > .btn,.box > form > .btn,.box .pin{margin-top:auto}
.box.navy{background:var(--navy);color:#fff;border-color:var(--navy)}
.box.navy h2,.box.navy h3{color:#fff}
.box.navy .eyebrow{color:var(--sage)}

/* forms */
form.lead{display:flex;flex-direction:column;flex:1 1 auto}
.field{margin:0 0 12px}
.field label{display:block;font-weight:700;font-size:14px;margin:0 0 4px}
.field input,.field textarea,.field select{width:100%;font:inherit;font-size:16px;padding:10px;border:2px solid #b8c0c8;background:#fff;color:var(--ink)}
.field input:focus,.field textarea:focus,.field select:focus{outline:3px solid var(--sage);border-color:var(--navy)}
.box.navy .field input,.box.navy .field textarea{border-color:#fff}
.fine{font-size:13px;color:var(--muted);margin:0 0 12px}
.box.navy .fine{color:#d6dde4}
.form-msg{display:none;margin-top:10px;padding:10px;background:var(--gray);color:var(--ink);font-size:14px}

/* city pages */
.crumbs{font-size:14px;margin:0 0 10px;color:var(--muted)}
.crumbs a{color:var(--muted)}
.idx-grid{border:2px dashed var(--teal);background:var(--gray);padding:24px;min-height:220px;display:flex;flex-direction:column;justify-content:center}
.idx-grid .ph{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px;margin-top:14px}
.idx-grid .ph div{height:120px;background:#fff;border:1px solid var(--line)}
.faq details{border:1px solid var(--line);background:#fff;margin:0 0 8px;padding:0}
.faq summary{cursor:pointer;font-weight:700;color:var(--navy);padding:14px 16px;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";float:right;font-weight:800;color:var(--teal)}
.faq details[open] summary::after{content:"\2013"}
.faq details > div{padding:0 16px 14px}
.prose{max-width:820px}
.prose h2{margin-top:32px}
.near{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0;padding:0;list-style:none}
.near a{display:block;padding:8px 12px;border:1px solid var(--line);background:#fff;text-decoration:none;font-weight:600;color:var(--navy)}
.near a:hover{background:var(--navy);color:#fff}

/* footer */
.foot{background:var(--navy);color:#e4e9ee;font-size:15px;padding:44px 0 28px}
.foot a{color:#fff}
.foot a:hover{color:var(--sage)}
.foot-grid{display:grid;gap:24px}
@media (min-width:800px){.foot-grid{grid-template-columns:2fr 1fr 1fr}}
.foot h3{color:#fff;font-size:15px;letter-spacing:.1em;text-transform:uppercase;margin:0 0 10px}
.foot ul{list-style:none;margin:0;padding:0}
.foot li{margin:0 0 6px}
.foot .phone{font-size:24px;font-weight:800;color:#fff;text-decoration:none;display:inline-block;margin:4px 0 8px}
.eho{display:flex;align-items:center;gap:10px;margin:14px 0 0;font-weight:700;color:#fff}
.eho svg{width:44px;height:auto;flex:0 0 44px}
.legal{border-top:1px solid rgba(255,255,255,.2);margin-top:28px;padding-top:18px;font-size:13px;color:#c9d2da}
.legal p{margin:0 0 8px}
/* the consent line + button sit together at the bottom of each form box, so both buttons line up */
form.lead .fine{margin-top:auto}
form.lead .pin{margin-top:0}
.box.navy .btn.light:hover{background:var(--teal);border-color:var(--teal);color:#fff}
