/* Red Carpet Pueblo Real Estate — editorial, restrained, paper/ink/red */

:root{
  --ink: #17181a;
  --ink-soft: #3a3b3d;
  --paper: #faf9f6;
  --paper-dim: #f1efea;
  --line: #dedad2;
  --line-dark: rgba(255,255,255,0.14);
  --red: #9c1f2a;
  --red-deep: #7a1720;
  --muted: #6d6c68;
  --white: #ffffff;
  --maxw: 1180px;
  --serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }

body{
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

.container{ max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

.eyebrow{
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--red);
  display:block;
  margin-bottom: 18px;
}

h1,h2,h3,h4{
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink);
}
h1{ font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.12; }
h2{ font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.25; }
h3{ font-size: 1.2rem; font-weight: 400; }
p{ color: var(--muted); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 15px 30px;
  border-radius: 2px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-primary:hover{ background: var(--red); border-color: var(--red); }
.btn-outline{
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline:hover{ background: rgba(255,255,255,0.08); border-color:#fff; }
.btn-outline.on-light{ border-color: var(--ink); color: var(--ink); }
.btn-outline.on-light:hover{ background: var(--ink); color:#fff; }
.btn-dark{ background: var(--ink); color: #fff; }
.btn-dark:hover{ background: var(--red); }
.btn-block{ width:100%; }
.btn-sm{ padding: 11px 22px; font-size:0.74rem; }
.btn-red{ background: var(--red); border-color: var(--red); }
.btn-red:hover{ background: var(--ink); border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 999;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.transparent-header{
  background: transparent;
  border-bottom-color: transparent;
}
.site-header.transparent-header .logo{ color:#fff; }
.site-header.transparent-header .logo small{ color: rgba(255,255,255,0.8); }
.site-header.transparent-header .nav-links a{ color: rgba(255,255,255,0.88); }
.site-header.transparent-header .nav-links a.active{ color:#fff; }
.site-header.transparent-header .nav-links a::after{ background:#fff; }
.site-header.transparent-header .header-phone{ color:#fff; border-bottom-color: rgba(255,255,255,0.45); }
.site-header.transparent-header .menu-toggle span{ background:#fff; }
.site-header.transparent-header .header-cta .btn-primary{ box-shadow: 0 4px 14px rgba(0,0,0,0.3); }

/* Mobile dropdown panel stays solid + dark text even when the bar itself is transparent */
.site-header.transparent-header.open .nav-links a{ color: var(--ink-soft); }
.site-header.transparent-header.open .nav-links a.active{ color: var(--ink); }
.header-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo{
  display:flex;
  align-items:baseline;
  gap:8px;
  color: var(--ink);
  font-family: var(--serif);
  font-weight:400;
  font-size:1.25rem;
  letter-spacing: 0.2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo .swatch{ display:none; }
.logo small{
  display:block;
  font-family: var(--sans);
  font-weight:600;
  font-size:0.6rem;
  letter-spacing:2.5px;
  color: var(--red);
  text-transform:uppercase;
  margin-top:2px;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:22px;
}
.nav-links a{
  color: var(--ink-soft);
  font-size:0.76rem;
  font-weight:600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  position:relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav-links a::after{
  content:'';
  position:absolute;
  bottom:0; left:0;
  width:0; height:1px;
  background: var(--red);
  transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.nav-links a.active{ color: var(--ink); }
.header-cta{ display:flex; align-items:center; gap:18px; }
.header-cta .btn-primary{ background: var(--red); border-color: var(--red); }
.header-cta .btn-primary:hover{ background: var(--ink); border-color: var(--ink); }
.header-phone{
  color: var(--ink); font-weight:600; font-size:0.82rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  white-space: nowrap;
}
.menu-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:6px;
}
.menu-toggle span{ width:22px; height:1px; background: var(--ink); }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  background:
    linear-gradient(180deg, rgba(10,11,12,0.72), rgba(10,11,12,0.55) 45%, rgba(10,11,12,0.82)),
    url('assets/images/hero-home.jpg');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display:flex;
  align-items:center;
  padding-top: 90px;
  padding-bottom: 90px;
  border-bottom: 1px solid var(--line);
}
.hero .hero-inner{ width:100%; }
.hero-inner{
  max-width: var(--maxw);
  margin:0 auto;
  padding: 0 32px;
  width:100%;
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items:end;
}
.hero-inner-solo{ grid-template-columns: 1fr; justify-items:center; }
.hero-inner-solo .hero-copy{
  max-width: 980px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.hero-inner-solo .hero-copy h1{
  max-width: 100%;
  font-size: clamp(3.2rem, 6.5vw, 5.6rem);
  margin-bottom: 48px;
}
.hero-inner-solo .eyebrow{ font-size:0.85rem; letter-spacing:4px; margin-bottom:28px; }
.hero-inner-solo .hero-actions{ justify-content:center; gap:24px; margin-bottom:70px; }
.hero-inner-solo .hero-actions .btn{ padding: 22px 48px; font-size:0.95rem; letter-spacing:2px; }
.hero-inner-solo .hero-stats{ justify-content:center; gap:32px 72px; padding-top:40px; }
.hero-inner-solo .hero-stats .stat b{ font-size:2.1rem; }
.hero-inner-solo .hero-stats .stat span{ font-size:0.8rem; }
.hero .eyebrow{ color:#fff; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.hero-copy h1{ margin-bottom:36px; max-width: 560px; color:#fff; text-shadow: 0 2px 16px rgba(0,0,0,0.5); }
.hero-copy h1 em{ color: #e05b4e; font-style: normal; }
.hero-copy p.lead{
  color: rgba(255,255,255,0.9);
  font-size:1.08rem;
  max-width: 480px;
  margin-bottom: 36px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:48px; }
.hero .btn-primary{
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.hero .btn-primary:hover{ background: var(--red-deep); border-color: var(--red-deep); }
.hero .btn-outline{
  background: rgba(255,255,255,0.96);
  color: var(--ink);
  border-color: rgba(255,255,255,0.96);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.hero .btn-outline:hover{ background:#fff; border-color:#fff; }
.hero-stats{
  display:grid;
  grid-template-columns: repeat(2, auto);
  gap: 24px 40px;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 28px;
}
@media (min-width: 1200px){
  .hero-stats{ grid-template-columns: repeat(4, auto); }
}
.hero-stats .stat b{
  display:block;
  font-family: var(--serif);
  color: #fff;
  font-size:1.5rem;
  font-weight:400;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.hero-stats .stat span{
  color: rgba(255,255,255,0.75);
  font-size:0.72rem;
  text-transform:uppercase;
  letter-spacing:1.2px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hero-widget{
  width:100%;
  background: transparent;
  border: none;
  padding: 32px;
  align-self: start;
}
.hero-widget h3{ margin-bottom:18px; color:#fff; }
.hero-widget .text-link{ display:inline-block; margin-top:20px; color:#fff; border-color:#fff; }
.hero-widget .text-link:hover{ color: var(--red-bright, #e05b4e); border-color: var(--red-bright, #e05b4e); }

/* ---------- Trust bar ---------- */
.trust-bar{
  background: var(--paper);
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.marquee{
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track{
  display:flex;
  align-items:center;
  gap: 18px;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
}
.marquee:hover .marquee-track{ animation-play-state: paused; }
.trust-item{
  color: var(--ink-soft);
  font-size:0.78rem;
  font-weight:600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
}
.trust-sep{
  color: var(--red);
  font-size:0.7rem;
}
@keyframes marquee-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none; }
}

/* ---------- Sections ---------- */
section{ padding: 110px 0; }
.section-dark{ background: var(--ink); color:#fff; }
.section-dark p{ color: rgba(255,255,255,0.65); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4{ color:#fff; }
.section-dark .service-card:hover{ background: rgba(255,255,255,0.04); }
.section-dark .service-card a.link{ color:#fff; border-color:#fff; }
.section-dark .service-card a.link:hover{ color: var(--red); border-color: var(--red); }
.section-dark .service-card p{ color: rgba(255,255,255,0.6); }
.section-head{ max-width: 640px; margin-bottom: 60px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* Services list (no icon boxes, no shadow cards) */
.services-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card{
  padding: 44px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease;
}
.service-card:hover{ background: var(--paper-dim); }
.service-card .num{
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--red);
  display:block;
  margin-bottom: 18px;
}
.service-card h3{ margin-bottom:12px; }
.service-card a.link{
  display:inline-block;
  margin-top:18px;
  font-size:0.78rem;
  font-weight:700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom:2px;
}
.service-card a.link:hover{ color: var(--red); border-color: var(--red); }

/* Two column feature */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items:center;
}
.split img, .split .imgblock{
  width:100%;
  aspect-ratio: 4/3;
  object-fit:cover;
  background: var(--paper-dim);
  border: 1px solid var(--line);
}
.split img.headshot{ object-position: 50% 25%; }
.section-dark .imgblock{ background: rgba(255,255,255,0.05); border-color: var(--line-dark); }
.stat-row{ display:flex; gap:40px; margin-top:32px; flex-wrap:wrap; }
.stat-row .stat b{ display:block; font-family: var(--serif); font-size:1.7rem; color: var(--ink); font-weight:400; }
.section-dark .stat-row .stat b{ color:#fff; }
.stat-row .stat span{ font-size:0.72rem; color: var(--muted); text-transform:uppercase; letter-spacing:1.2px; }
.section-dark .stat-row .stat span{ color: rgba(255,255,255,0.5); }

/* Communities — plain bordered blocks, no photo-card gradients */
.community-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.community-card{
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px;
  min-height: 200px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
.community-card .tag{
  font-size:0.7rem;
  font-weight:700;
  letter-spacing:1.2px;
  text-transform:uppercase;
  color: var(--red);
  margin-bottom: 14px;
  display:block;
}
.community-card h3{ margin-bottom: 8px; }
.community-card p{ font-size:0.92rem; }
.community-card.featured{ background: var(--paper-dim); }

.text-link{
  display:inline-block;
  font-size:0.72rem;
  font-weight:700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom:1px;
}
.text-link:hover{ color: var(--ink); border-color: var(--ink); }
.city-links{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:6px 16px;
}

/* Steps */
.steps{ display:grid; gap:0; counter-reset: step; }
.step{
  display:grid;
  grid-template-columns: 70px 1fr;
  gap: 30px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.steps .step:last-child{ border-bottom: 1px solid var(--line); }
.step .num{
  counter-increment: step;
  font-family: var(--serif);
  font-size:1.6rem;
  color: var(--red);
}
.step .num::before{ content: counter(step, decimal-leading-zero); }
.step h3{ margin-bottom:8px; }

/* Testimonials — plain, editorial, no card boxes */
.testimonial-card{
  border-top: 3px solid var(--ink);
  padding-top: 24px;
}
.testimonial-card .stars{ display:none; }
.testimonial-card p.quote{
  font-family: var(--serif);
  font-style: normal;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 20px;
  line-height:1.5;
}
.testimonial-card .who{
  font-weight:700;
  font-size:0.78rem;
  text-transform:uppercase;
  letter-spacing:1px;
  color: var(--muted);
}
.testimonial-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap:50px;
}

/* CTA banner — plain ink block, no gradient */
.cta-banner{
  background: var(--ink);
  padding: 80px;
  text-align:center;
  color:#fff;
}
.cta-banner h2{ color:#fff; margin-bottom:18px; }
.cta-banner p{ color: rgba(255,255,255,0.65); margin-bottom:34px; max-width:520px; margin-left:auto; margin-right:auto; }
.cta-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.cta-banner .btn-primary{ background: var(--red); border-color: var(--red); }
.cta-banner .btn-primary:hover{ background: #fff; color: var(--ink); border-color: #fff; }
.cta-banner .btn-outline{ background: transparent; border-color: rgba(255,255,255,0.5); color:#fff; }
.cta-banner .btn-outline:hover{ background: rgba(255,255,255,0.1); border-color:#fff; }

/* IDX Broker listing search containers */
.idx-widget-box{
  background: var(--paper-dim);
  border: 1px solid var(--line);
  padding: 40px;
}
.idx-widget-box h3{ margin-bottom:6px; }
.idx-widget-box > p{ margin-bottom:24px; }
.idx-embed-placeholder{
  border: 1px dashed var(--muted);
  background: var(--white);
  padding: 34px;
  text-align:center;
}
.idx-embed-placeholder p{
  font-size:0.85rem;
  color: var(--muted);
  max-width:480px;
  margin:0 auto;
}
.idx-embed-placeholder p.code-hint{
  margin-top:10px;
  font-family: monospace;
  font-size:0.78rem;
  color: var(--ink-soft);
}
.idx-embed-box{
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
  min-height: 60px;
}

/* Brand the IDX Broker widget UI (map/search buttons) to match site colors */
#idxQuickSearchWidget .IDX-mapButton,
#idxMapSearchWidget .IDX-mapButton,
#idxFullSearchWidget .IDX-mapButton,
#idxFeaturedCarousel .IDX-mapButton,
#idxQuickSearchWidget .IDX-msButtonInput,
#idxMapSearchWidget .IDX-msButtonInput,
#idxFullSearchWidget .IDX-msButtonInput,
#idxFeaturedCarousel .IDX-msButtonInput{
  background: var(--red) !important;
  color: #fff !important;
  border-color: var(--red) !important;
}
#idxQuickSearchWidget .IDX-mapButton:hover,
#idxMapSearchWidget .IDX-mapButton:hover,
#idxFullSearchWidget .IDX-mapButton:hover,
#idxFeaturedCarousel .IDX-mapButton:hover,
#idxQuickSearchWidget .IDX-msButtonInput:hover,
#idxMapSearchWidget .IDX-msButtonInput:hover,
#idxFullSearchWidget .IDX-msButtonInput:hover,
#idxFeaturedCarousel .IDX-msButtonInput:hover{
  background: var(--ink) !important;
  border-color: var(--ink) !important;
}
#idxQuickSearchWidget .IDX-mapTab.IDX-active,
#idxMapSearchWidget .IDX-mapTab.IDX-active,
#idxFullSearchWidget .IDX-mapTab.IDX-active,
#idxFeaturedCarousel .IDX-mapTab.IDX-active{
  border-color: var(--red) !important;
  color: var(--red) !important;
}
.idx-disclaimer{
  margin-top:28px;
  font-size:0.78rem;
  color: var(--muted);
  line-height:1.6;
  border-top: 1px solid var(--line);
  padding-top:20px;
}

/* Forms — underline inputs, no rounded pill fields */
.form-card{
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 44px;
}
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:22px 20px; }
.form-grid.full, .field.full{ grid-column: 1 / -1; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field label{ font-size:0.72rem; font-weight:700; text-transform:uppercase; letter-spacing:0.8px; color: var(--ink-soft); }
.field input, .field select, .field textarea{
  padding: 11px 2px;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius:0;
  font-size:0.94rem;
  font-family:inherit;
  background: transparent;
  color: var(--ink);
}
.field textarea{ min-height:100px; resize:vertical; border:1px solid var(--line); padding:10px; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none;
  border-color: var(--red);
}
.form-note{ font-size:0.78rem; color: var(--muted); margin-top:18px; }
.form-success{
  display:none;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding:18px 20px;
  font-size: 0.88rem;
  margin-top:18px;
}
.form-success.show{ display:block; }
.form-error{
  display:none;
  border: 1px solid var(--red);
  color: var(--red-deep);
  padding:18px 20px;
  font-size: 0.88rem;
  margin-top:18px;
}
.form-error.show{ display:block; }

/* Calculator */
.calc-card{
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-dark);
  padding: 48px;
  color:#fff;
}
.calc-layout{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.calc-results{
  border-left: 1px solid var(--line-dark);
  padding-left: 56px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.calc-card .field label{
  color: rgba(255,255,255,0.55);
  font-size:0.68rem;
  letter-spacing:1px;
}
.calc-card .field{ gap:10px; }
.calc-card input{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.16);
  color:#fff;
  padding: 12px 14px;
  font-family: var(--serif);
  font-size:1.05rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.calc-card input:focus{
  background: rgba(255,255,255,0.07);
  border-color: var(--red);
}
.calc-card .form-grid{ gap:18px 20px; }
.calc-group-label{
  font-size:0.68rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1.4px;
  color: rgba(255,255,255,0.4);
  margin: 26px 0 14px;
  padding-top:22px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.calc-group-label:first-child{ margin-top:0; padding-top:0; border-top:none; }

.calc-result,
.calc-total{
  padding:32px;
  border: 1px solid var(--line-dark);
  text-align:center;
}
.calc-result b,
.calc-total b{ font-family: var(--serif); font-size:2.4rem; display:block; color:#fff; font-weight:400; margin-top:6px; }
.calc-result span,
.calc-total span{ color: rgba(255,255,255,0.55); font-size:0.7rem; text-transform:uppercase; letter-spacing:1.6px; }

.calc-breakdown{
  display:flex;
  align-items:center;
  gap:32px;
  margin-top:28px;
  padding-top:28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.calc-donut{
  width:120px;
  height:120px;
  flex-shrink:0;
  transform: rotate(-90deg);
}
.donut-track{
  fill:none;
  stroke: rgba(255,255,255,0.1);
  stroke-width:13;
}
.donut-seg{
  fill:none;
  stroke-width:13;
  stroke-linecap: butt;
  stroke-dasharray: 0 314.159;
  stroke-dashoffset: 0;
  transition: stroke-dasharray 0.4s ease;
}
.calc-legend{ flex:1; display:flex; flex-direction:column; gap:14px; }
.calc-legend li{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:0.85rem;
  color: rgba(255,255,255,0.8);
  padding-bottom:14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.calc-legend li:last-child{ border-bottom:none; padding-bottom:0; }
.calc-legend li b{ margin-left:auto; font-weight:600; color:#fff; font-family: var(--serif); font-size:1rem; }
.calc-legend .dot{ width:9px; height:9px; border-radius:50%; flex-shrink:0; }
.calc-legend .hidden-row{ display:none; }
.calc-legend .hidden-row.show{ display:flex; }

/* Footer */
.site-footer{
  background: var(--paper);
  color: var(--ink-soft);
  padding: 80px 0 30px;
  border-top: 1px solid var(--line);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap:40px;
  margin-bottom:56px;
}
.footer-grid h4{
  color: var(--ink);
  margin-bottom:18px;
  font-size:0.72rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1px;
}
.footer-grid ul li{ margin-bottom:12px; font-size:0.9rem; }
.footer-grid ul li a:hover{ color: var(--red); }
.footer-brand .logo{ margin-bottom: 4px; }
.footer-brand p{ color: var(--muted); font-size:0.88rem; margin: 16px 0 20px; max-width:280px; }
.footer-bottom{
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  font-size:0.76rem;
  color: var(--muted);
}

/* Page hero (interior pages) */
.page-hero{
  background: var(--paper);
  padding: 168px 0 70px;
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow{ color: var(--red); }
.page-hero h1{ margin-bottom:16px; }
.page-hero p{ color: var(--muted); max-width:600px; font-size:1.02rem; }
.breadcrumb{ font-size:0.78rem; color: var(--muted); margin-bottom:20px; text-transform:uppercase; letter-spacing:0.6px; }
.breadcrumb a{ color: var(--red); }

/* misc */
.badge-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:24px; }
.badge{
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding:7px 14px;
  font-size:0.72rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.6px;
}
.quote-block{
  border-left: 2px solid var(--red);
  padding-left: 28px;
  font-family: var(--serif);
  font-size:1.4rem;
  color: var(--ink);
  margin: 34px 0;
  line-height:1.5;
}
.checklist{ display:grid; gap:14px; margin-top:24px; }
.checklist li{
  display:flex; gap:14px; align-items:flex-start;
  color: var(--ink-soft); font-size:0.96rem;
  padding-bottom:14px;
  border-bottom: 1px solid var(--line);
}
.checklist li:last-child{ border-bottom:none; }
.section-dark .checklist li{ border-color: var(--line-dark); }
.checklist li::before{
  content:'—';
  color: var(--red);
  flex-shrink:0;
  font-weight:700;
}
.tag-pill{
  display:inline-block;
  color: var(--red);
  font-weight:700;
  font-size:0.72rem;
  text-transform:uppercase;
  letter-spacing:1px;
  margin-bottom:16px;
}

/* Reveal animation */
.reveal{ opacity:0; transform: translateY(18px); transition: all 0.6s ease; }
.reveal.in{ opacity:1; transform:none; }

/* Responsive */
@media (max-width: 900px){
  .hero-inner{ grid-template-columns:1fr; }
  .split{ grid-template-columns:1fr; gap:40px; }
  .calc-layout{ grid-template-columns:1fr; gap:36px; }
  .calc-results{ border-left:none; padding-left:0; border-top:1px solid var(--line-dark); padding-top:36px; }
  .calc-card{ padding: 32px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .nav-links{ display:none; }
  .menu-toggle{ display:flex; flex-shrink:0; }
  .services-grid{ grid-template-columns: 1fr; }
  .community-grid{ grid-template-columns: 1fr; }
  .header-phone{ display:none; }
  .header-inner{ padding: 18px 20px; }
  .header-cta{ gap:12px; }
  .container{ padding: 0 20px; }
  .hero-inner, .page-hero .container{ padding-left:20px; padding-right:20px; }
  section{ padding: 70px 0; }
  .hero{
    padding-top: 130px;
    padding-bottom: 60px;
    background:
      linear-gradient(180deg, rgba(10,11,12,0.72), rgba(10,11,12,0.55) 45%, rgba(10,11,12,0.82)),
      url('assets/images/hero-home-mobile.jpg');
    background-size: cover;
    background-position: center;
  }
  .page-hero{ padding: 130px 0 50px; }
  .service-card{ padding: 30px; }
  .community-card{ padding: 30px; }
  .cta-banner{ padding: 60px 30px; }
  .form-card, .calc-card{ padding: 30px; }
}
@media (max-width: 900px){
  .site-header.open .nav-links{
    display:flex;
    position:absolute;
    top:100%; left:0; right:0;
    background: var(--paper);
    flex-direction:column;
    padding: 20px 32px;
    gap:18px;
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 620px){
  .form-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap:32px; }
  .cta-banner{ padding: 50px 26px; }
  .form-card, .calc-card{ padding: 24px; }
  section{ padding:60px 0; }
  .logo{ font-size:1.05rem; }
  .header-cta{ gap:10px; }
  .btn-sm{ padding: 10px 16px; font-size:0.7rem; }
  .hero-stats{ gap:24px 32px; }
  .hero-actions .btn{ width:100%; }
  .cta-actions .btn{ width:100%; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}
