/* ============================================================
   Maria Navin-Lassiter — Community Page Stylesheet
   Shared by: brighton.html, westminster.html, thornton.html,
              arvada.html, commerce-city.html, northglenn.html
   Brand: Century 21 Moore Real Estate
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --navy:        #1a2744;
  --navy-deep:   #121b30;
  --gold:        #B8960C;
  --gold-soft:   #d4b53a;
  --light-bg:    #f4f6fa;
  --warm-bg:     #faf8f3;
  --ink:         #0d1426;
  --ink-soft:    #485267;
  --white:       #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }

html, body{
  margin: 0; padding: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================ Shared type ============================ */
.serif { font-family: "Playfair Display", serif; font-weight: 500; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
}
.eyebrow::before{
  content:"";
  display: inline-block;
  width: 40px; height: 2px;
  background: var(--gold);
}
.eyebrow.light{ color: var(--gold-soft); }
.eyebrow.light::before{ background: var(--gold-soft); }

h1, h2, h3 { font-family: "Playfair Display", serif; font-weight: 500; margin: 0; letter-spacing: -0.01em; line-height: 1.05; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--gold); }

p { margin: 0; }

/* ============================ Buttons ============================ */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
  box-shadow: 0 14px 36px -10px rgba(184,150,12,0.45);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(184,150,12,0.6); }
.btn .arrow{ transition: transform .2s ease; }
.btn:hover .arrow{ transform: translateX(4px); }

.btn.ghost-light{
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
  box-shadow: none;
}
.btn.ghost-light:hover{ background: var(--white); color: var(--navy); border-color: var(--white); }

.btn.ghost-dark{
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  box-shadow: none;
}
.btn.ghost-dark:hover{ background: var(--gold); color: var(--white); border-color: var(--gold); }

/* ============================ Nav ============================ */
.site-nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(13,20,38,0.08);
}
.site-nav .inner{
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.site-nav .brand{
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.site-nav .brand em{ font-style: italic; color: var(--gold); font-weight: 400; }
.site-nav ul{
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.site-nav ul a:hover{ color: var(--gold); }
.site-nav ul a.active{ color: var(--gold); }
.site-nav .nav-cta{
  padding: 12px 22px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 820px){
  .site-nav ul { display: none; }
}

/* ============================ Hero ============================ */
.hero{
  position: relative;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  padding: 88px 0 96px;
}
.hero-bg{
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(135deg, rgba(18,27,48,0.88) 0%, rgba(26,39,68,0.82) 60%, rgba(26,39,68,0.92) 100%),
    linear-gradient(to bottom, #2a3a5a 0%, #1a2744 70%, #121b30 100%);
}
.hero-mountains{
  position: absolute; left: 0; right: 0; bottom: 0; height: 55%;
  z-index: -1;
  opacity: 0.18;
}
.hero-mountains svg{ width: 100%; height: 100%; display: block; }
.hero-orb{
  position: absolute;
  top: -80px; right: -100px;
  width: 380px; height: 380px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(216,181,58,0.30) 0%, rgba(184,150,12,0.10) 50%, transparent 75%);
  filter: blur(8px);
  z-index: -1;
}

.hero .inner{
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1{
  font-size: clamp(56px, 8vw, 104px);
  color: var(--white);
  margin: 0 0 24px;
  letter-spacing: -0.015em;
}
.hero h1 em{ color: var(--gold-soft); }
.hero .sub{
  font-size: 20px;
  color: rgba(255,255,255,0.82);
  max-width: 30ch;
  margin: 0 0 40px;
}
.hero .ctas{ display: flex; gap: 14px; flex-wrap: wrap; }

.hero .stat-strip{
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
  justify-content: start;
}
.hero .stat-strip .stat .n{
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 48px;
  color: var(--gold-soft);
  line-height: 1.0;
}
.hero .stat-strip .stat .l{
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

/* Arch portrait */
.hero-portrait{ display: flex; justify-content: center; }
.arch{
  position: relative;
  width: 360px;
  height: 480px;
  border-radius: 180px 180px 18px 18px;
  background: var(--warm-bg);
  overflow: hidden;
  box-shadow: 0 32px 80px -20px rgba(0,0,0,0.5), 0 0 0 1px rgba(216,181,58,0.25);
}
.arch img{
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  height: 105%;
  width: auto;
}
.arch .badge{
  position: absolute;
  right: -28px; bottom: 64px;
  background: var(--white);
  color: var(--navy);
  padding: 14px 22px;
  border-radius: 14px;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.35);
  display: flex; flex-direction: column; gap: 4px;
  min-width: 220px;
}
.arch .badge .b-label{
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.arch .badge .b-line{
  font-family: "Playfair Display", serif;
  font-size: 18px; font-weight: 500; line-height: 1.15;
  color: var(--navy);
}

@media (max-width: 880px){
  .hero .inner{ grid-template-columns: 1fr; gap: 48px; }
  .hero-portrait{ order: -1; }
  .arch{ width: 280px; height: 380px; }
  .arch .badge{ right: -16px; }
}

/* ============================ Why live here ============================ */
.why{
  background: var(--warm-bg);
  padding: 120px 0;
}
.why .inner{
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.why-photo{
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 32px 70px -18px rgba(26,39,68,0.3);
}
.why-photo .img{
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.why-photo .grad{
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,27,48,0.55) 0%, rgba(18,27,48,0.1) 50%, transparent 100%);
}
.why-photo .accent-tag{
  position: absolute;
  bottom: 28px; left: 28px;
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.1;
}
.why-photo .accent-tag::before{
  content: "";
  display: block;
  width: 32px; height: 2px;
  background: var(--gold-soft);
  margin-bottom: 12px;
}

.why-text h2{
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 28px;
}
.why-text .lede{
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: 36px;
}
.why-list{
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 22px;
}
.why-list li{
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid rgba(13,20,38,0.10);
}
.why-list li:last-child{ border-bottom: 1px solid rgba(13,20,38,0.10); }
.why-list .dot{
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--gold);
  margin-top: 8px;
}
.why-list .t{
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.005em;
  display: block;
  margin-bottom: 4px;
}
.why-list .d{
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (max-width: 880px){
  .why .inner{ grid-template-columns: 1fr; gap: 56px; }
}

/* ============================ Stats ============================ */
.stats{
  background: var(--navy);
  color: var(--white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.stats::before{
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(216,181,58,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(216,181,58,0.06) 0%, transparent 55%);
  z-index: 0;
}
.stats .inner{
  position: relative; z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
.stats .head{
  max-width: 880px;
  margin-bottom: 64px;
}
.stats .head h2{
  font-size: clamp(40px, 5vw, 64px);
  color: var(--white);
}
.stats .head h2 em{ color: var(--gold-soft); }
.stats .head .lede{
  margin-top: 22px;
  font-size: 19px;
  color: rgba(255,255,255,0.78);
  max-width: 60ch;
}
.stats-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 36px 28px;
  transition: border-color .25s ease, transform .25s ease;
}
.stat-card:hover{
  border-color: rgba(216,181,58,0.6);
  transform: translateY(-4px);
}
.stat-card .ord{
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 18px;
  color: var(--gold-soft);
  margin-bottom: 22px;
  display: block;
}
.stat-card .n{
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 56px;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -0.015em;
}
.stat-card .l{
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  font-weight: 600;
}
.stat-card .note{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 14px;
  color: rgba(255,255,255,0.66);
  line-height: 1.5;
}

@media (max-width: 980px){
  .stats-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* ============================ Listings CTA strip ============================ */
.listings-strip{
  background: var(--light-bg);
  padding: 88px 0;
}
.listings-strip .inner{
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}
.listings-strip .text h3{
  font-size: 38px;
  margin-bottom: 12px;
  color: var(--navy);
}
.listings-strip .text p{
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 56ch;
}

@media (max-width: 820px){
  .listings-strip .inner{ flex-direction: column; align-items: flex-start; }
}

/* ============================ Contact CTA ============================ */
.cta-block{
  background: var(--warm-bg);
  padding: 120px 0;
}
.cta-block .inner{
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta-block h2{
  font-size: clamp(40px, 5.4vw, 72px);
  color: var(--navy);
  margin-bottom: 24px;
}
.cta-block .lede{
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: 36px;
}
.contact-card{
  background: var(--white);
  border-radius: 28px;
  padding: 44px 40px;
  box-shadow: 0 32px 70px -18px rgba(26,39,68,0.3);
  display: flex; flex-direction: column; gap: 24px;
}
.contact-card .row{
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(13,20,38,0.08);
}
.contact-card .row:last-of-type{ border-bottom: 0; padding-bottom: 0; }
.contact-card .label{
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.contact-card .value{
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 28px;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.005em;
}

@media (max-width: 880px){
  .cta-block .inner{ grid-template-columns: 1fr; gap: 56px; }
}

/* ============================ Footer ============================ */
footer{
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 48px;
}
footer .inner{
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
footer .top{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
footer .brand{
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 28px;
  color: var(--gold-soft);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
footer .brand em{ font-style: italic; }
footer .tag{ font-size: 14px; color: rgba(255,255,255,0.55); max-width: 36ch; }
footer h4{
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 18px;
}
footer ul{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
footer ul a:hover{ color: var(--gold-soft); }
footer .bottom{
  padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 820px){
  footer .top{ grid-template-columns: 1fr 1fr; }
}

/* ============================ Per-city hero gradients ============================ */
/* Set on a class on the .hero or .why-photo to vary visuals per page. */
.city-brighton .hero-bg{
  background:
    linear-gradient(135deg, rgba(18,27,48,0.86) 0%, rgba(26,39,68,0.82) 60%, rgba(26,39,68,0.92) 100%),
    linear-gradient(to bottom, #3d5170 0%, #1a2744 65%, #121b30 100%);
}
.city-westminster .hero-bg{
  background:
    linear-gradient(135deg, rgba(18,27,48,0.86) 0%, rgba(26,39,68,0.82) 60%, rgba(26,39,68,0.92) 100%),
    linear-gradient(to bottom, #6f5a44 0%, #2a2a4a 65%, #121b30 100%);
}
.city-thornton .hero-bg{
  background:
    linear-gradient(135deg, rgba(18,27,48,0.86) 0%, rgba(26,39,68,0.82) 60%, rgba(26,39,68,0.92) 100%),
    linear-gradient(to bottom, #4d6480 0%, #1f2c4a 65%, #121b30 100%);
}
.city-arvada .hero-bg{
  background:
    linear-gradient(135deg, rgba(18,27,48,0.86) 0%, rgba(26,39,68,0.82) 60%, rgba(26,39,68,0.92) 100%),
    linear-gradient(to bottom, #8c6c44 0%, #3a2e44 65%, #121b30 100%);
}
.city-commerce .hero-bg{
  background:
    linear-gradient(135deg, rgba(18,27,48,0.86) 0%, rgba(26,39,68,0.82) 60%, rgba(26,39,68,0.92) 100%),
    linear-gradient(to bottom, #5b738a 0%, #233248 65%, #121b30 100%);
}
.city-northglenn .hero-bg{
  background:
    linear-gradient(135deg, rgba(18,27,48,0.86) 0%, rgba(26,39,68,0.82) 60%, rgba(26,39,68,0.92) 100%),
    linear-gradient(to bottom, #98724a 0%, #3a3050 65%, #121b30 100%);
}

/* Why-photo per-city backgrounds (placeholders — replace background-image with real photos) */
.why-img-brighton{ background: linear-gradient(160deg, #d9bfa0 0%, #8c7256 40%, #443d3a 100%); }
.why-img-westminster{ background: linear-gradient(170deg, #b08d5d 0%, #7a5e3e 45%, #2c2a3a 100%); }
.why-img-thornton{ background: linear-gradient(170deg, #a5b3c4 0%, #6c829f 40%, #324a6b 100%); }
.why-img-arvada{ background: linear-gradient(165deg, #d9b178 0%, #a07a4a 35%, #5a4630 100%); }
.why-img-commerce{ background: linear-gradient(175deg, #7b9aa8 0%, #4d6c83 40%, #2a3e5a 100%); }
.why-img-northglenn{ background: linear-gradient(170deg, #c89c5b 0%, #8a6a3e 40%, #43365a 100%); }
