.commercial-home { color: #172b32; background: #faf9f4; }
.commercial-wrap { width: min(1200px, 90%); margin-inline: auto; }
.commercial-hero { position: relative; isolation: isolate; min-height: clamp(550px, 72vh, 790px); display: flex; flex-direction: column; justify-content: end; padding: 0; color: #fff; background: #273632 var(--hero-poster, url('/assets/media/clovis/apartments-poster.webp')) center 12%/cover; }
.commercial-hero video, .commercial-hero::after { position: absolute; inset: 0; height: 100%; width: 100%; z-index: -2; object-fit: cover; object-position:center 12%; }
.commercial-hero video { opacity: 0; }
.commercial-hero video.has-frame { opacity: 1; }
.commercial-hero::after { content: ''; z-index: -1; background: linear-gradient(90deg, rgba(10,22,24,.87), rgba(10,22,24,.57) 52%, rgba(10,22,24,.08)), linear-gradient(0deg, rgba(10,20,25,.58), transparent 38%); }
.hero-content { padding-block: clamp(4rem,8vw,8rem) clamp(3rem,5vw,5rem); }
.commercial-kicker { margin: 0 0 1rem; font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero-content .commercial-kicker { color: #ffdb55; }
.commercial-hero h1 { margin: 0; max-width: 17ch; color: white; font-size: clamp(3rem,6.6vw,6.3rem); font-weight: 750; letter-spacing: -.055em; line-height: .99; }
.commercial-hero h1 em { font-style: normal; color: #ffdb55; }
.hero-intro { max-width: 49ch; margin: 1.4rem 0 1.7rem; color: #fff; font-size: clamp(1rem,1.45vw,1.2rem); line-height: 1.55; }
.hero-caption { display:flex; align-items:center; justify-content:space-between; border-top:1px solid #ffffff70; padding-block:1rem; font-size:.83rem; }
.hero-caption b { color:#ffdb55; padding-inline:.4rem; }
.hero-caption button { padding:.48rem .8rem; background:#182626ab; color:white; border:1px solid #ffffff80; border-radius:4px; cursor:pointer; }
.project-section { padding-block:clamp(3.3rem,7vw,6rem); }
.project-intro, .project-request-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:clamp(2rem,6vw,6rem); align-items:end; }
.project-intro > p, .project-request-grid p { max-width:46ch; font-size:1.04rem; line-height:1.6; }
.commercial-home :is(.project-section,.project-request) h2 { margin:0; color:inherit; font-size:clamp(2.1rem,4.4vw,4.1rem); letter-spacing:-.055em; line-height:1.04; }
.project-links { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1.4rem; margin-top:2.4rem; }
.project-links a { display:block; color:inherit; text-decoration:none; }
.project-links img { display:block; width:100%; aspect-ratio:1.85; object-fit:cover; }
.project-links span { display:flex; align-items:center; justify-content:space-between; gap:.7rem; padding:1rem 0; border-bottom:1px solid #b9c2bf; font-weight:bold; font-size:clamp(1rem,1.45vw,1.35rem); }
.project-links a:hover span { border-color:#162f32; }
.project-request { padding-block:clamp(3.5rem,6vw,6rem); background:#203438; color:white; scroll-margin-top:6rem; }
.project-request-grid { align-items:start; }
.project-request-grid .commercial-kicker { color:#ffdb55; }
.project-request-grid h2 + p { margin-block:1.2rem; }
.project-phone { color: white; font-size:1.18rem; }
.project-request iframe { width:100%; height:770px; border:0; border-radius:8px; background:white; }
/* Restored home sections (Dec 4 2026) */
.commercial-home .v1-compare-wrap { scroll-margin-top:6rem; }
.cx-steps { list-style:none; margin:2.5rem 0 0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1.2rem; }
.cx-steps li { display:flex; gap:.9rem; align-items:flex-start; padding:1.2rem; background:#fff; border:1px solid #e4e1d6; border-radius:14px; min-width:0; }
.cx-steps b { flex:0 0 auto; width:2rem; height:2rem; border-radius:999px; background:#ffcc00; color:#1c2936; display:flex; align-items:center; justify-content:center; font-size:.9rem; }
.cx-steps strong { display:block; color:#1c2936; margin-bottom:.25rem; }
.cx-steps span { display:block; font-size:.9rem; line-height:1.5; color:#4a5768; }
.cx-more { margin:1.4rem 0 0; text-align:center; }
.v1-calc .note a { color:#ffdb55; }
.v1-calc { scroll-margin-top:6rem; }
.commercial-home .v1-partners-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
@media(max-width:880px) { .commercial-home .v1-partners-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:420px) { .commercial-home .v1-partner { padding:1.5rem .9rem; } }
@media(max-width:1024px) { .project-links,.cx-steps { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:720px) {
  .cx-steps { grid-template-columns:1fr; }
  .commercial-hero { min-height:520px; }
  .commercial-hero::after { background:linear-gradient(90deg,#111f21d9,#111f2166),linear-gradient(0deg,#111f21b3,transparent 70%); }
  .project-intro,.project-links,.project-request-grid { grid-template-columns:1fr; gap:1.2rem; }
  .hero-caption { font-size:.75rem; }
  .project-request iframe { height:800px; }
}
/* readable light text on the dark panels */
.commercial-home .v1-compare-col.solar .sub { color:rgba(243,241,234,.75); }
.project-request-grid p:not(.commercial-kicker) { color:rgba(255,255,255,.85); }
