/* ==========================================================================
   Holmes Earth Construction — static rebuild
   Values sourced from computed styles of holmesearthconstruction.com
   ========================================================================== */

:root {
  --green: #5c8100;          /* primary buttons, headings, footer */
  --blue: #4b6b9b;           /* secondary buttons, active nav */
  --gray-bg: #f2f2f2;        /* header + alternating sections */
  --teal: #1abc9c;           /* flip-card fronts (as on live site) */
  --dark: #000;
  --text: #000;
  --text-muted: #1f2124;
  --border: #d5d8dc;
  --overlay: rgba(0, 0, 0, .67);
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --container: 1260px;
  --header-h: 123px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 26px;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); margin: 0; line-height: 1.1; }
ul { margin: 0; padding: 0; list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 1140px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 18px; font-weight: 700; line-height: 18px;
  text-transform: uppercase; color: #fff; background: var(--green);
  padding: 15px 25px; border: 0; border-radius: 0; cursor: pointer;
  transition: filter .2s, background-color .2s;
}
.btn:hover { filter: brightness(1.12); }
.btn--blue { background: var(--blue); }
.btn--lg { font-size: 18px; line-height: 18px; padding: 15px 25px; }
.btn .chev { width: 9px; height: 14px; flex: none; }
.btn .icon-phone { width: 13px; height: 13px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 100;
  background: var(--gray-bg);
  box-shadow: 0 2px 20px rgba(36, 44, 55, .2);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); padding: 0 43px 0 53px; max-width: 1440px; margin: 0 auto;
}
.site-logo img { width: 239px; }
.main-nav { display: flex; align-items: center; gap: 0; margin-left: auto; margin-right: 21px; }
.main-nav > ul { display: flex; align-items: center; }
.main-nav li { position: relative; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-size: 18px; font-weight: 600; letter-spacing: 1px;
  color: #111; padding: 0 16px; line-height: 123px;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.is-active { color: var(--blue); }
.main-nav .caret { width: 11px; height: 11px; margin-left: 4px; }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 270px;
  background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.submenu a {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-head); font-size: 15px; font-weight: 500; color: #111;
  padding: 12px 20px; border-bottom: 1px solid #eee;
}
.submenu a:hover { background: var(--green); color: #fff; }
.submenu .submenu { top: 0; left: 100%; }
.main-nav li:hover > .submenu,
.main-nav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu .caret { transform: rotate(-90deg); }
.header-btns { display: flex; gap: 20px; }
.header-btns .btn { padding: 15px 25px; font-size: 14px; font-weight: 900; line-height: 14px; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: #111;
}
.nav-toggle svg { width: 30px; height: 30px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background: #333 center / cover no-repeat;
  min-height: 564px; display: flex; align-items: center;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.hero--green::before { background: rgba(92, 129, 0, .74); }
.hero--solid-green { background: var(--green); min-height: 338px; }
.hero--solid-green::before { display: none; }
.hero__inner { position: relative; width: 100%; padding: 72px 43px; max-width: 1440px; margin: 0 auto; }
.hero__title { font-size: 72px; font-weight: 700; line-height: 1.1; max-width: 1083px; }
.hero__title--md { font-size: 48px; }
.hero__divider { width: 758px; max-width: 100%; height: 3px; background: var(--green); margin: 14px 0 20px; }
.hero--green .hero__divider, .hero--solid-green .hero__divider { background: #fff; }
.hero__sub { font-size: 24px; font-weight: 700; line-height: 26px; margin-bottom: 44px; }
.hero__lead { font-size: 18px; line-height: 26px; max-width: 1000px; margin-bottom: 30px; }

/* hero with quote box (service pages) */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center; }
.hero-split > :first-child { padding-right: 40px; }
.quote-box {
  background: var(--green); border-radius: 10px; padding: 30px; min-height: 368px;
}
.quote-box h2 { font-size: 36px; font-weight: 700; color: #fff; margin-bottom: 24px; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section--gray { background: var(--gray-bg); }
.section--green { background: var(--green); color: #fff; }
.section--mountain { background: url(/images/general/mountain-background.webp) center / cover no-repeat; }
.section--green-texture {
  background: var(--green) url(/images/general/green-texture-background.webp) center bottom / 100% auto no-repeat;
  color: #fff;
}
.section-title {
  font-size: 63px; font-weight: 700; color: var(--green); text-align: center; line-height: 1.05;
}
.section-title--md { font-size: 48px; font-weight: 800; }
.section-title--sm { font-size: 36px; }
.section--green .section-title { color: #fff; }
.divider { width: 524px; max-width: 80%; height: 3px; background: var(--green); margin: 14px auto 36px; }
.divider--left { margin-left: 0; }
.divider--white { background: #fff; }
.divider--black { background: #000; }
.divider--short { width: 370px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--top { align-items: start; }
.framed { border: 3px solid var(--green); }
.framed img { width: 100%; height: 100%; object-fit: cover; }

.check-list li {
  position: relative; padding-left: 35px; margin-bottom: 21px;
  font-family: 'Roboto', var(--font-body); font-size: 21px; line-height: 26px;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%235c8100' d='M504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zM227.3 387.3l184-184c6.2-6.2 6.2-16.4 0-22.6l-22.6-22.6c-6.2-6.2-16.4-6.2-22.6 0L216 308.1l-70.1-70.1c-6.2-6.2-16.4-6.2-22.6 0l-22.6 22.6c-6.2 6.2-6.2 16.4 0 22.6l104 104c6.2 6.3 16.4 6.3 22.6 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.check-list--sm li { font-family: var(--font-body); font-size: 22px; margin-bottom: 21px; }
.white-card { background: #fff; color: #000; border-radius: 10px; padding: 22px 30px; }

/* ---------- Home: why choose ---------- */
.why { padding: 50px 0 70px; }
.why .split { max-width: 1100px; margin: 0 auto; }
.why__intro, .why__outro { font-size: 17px; line-height: 26px; }
.why__intro { margin-bottom: 26px; }
.why .framed { aspect-ratio: 540 / 531; }

/* ---------- Advanced accordion (green bars) ---------- */
.bar-acc { margin: 0 auto; }
.bar-acc summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--green); color: #fff; padding: 24px;
  font-family: var(--font-head); font-size: 30px; font-weight: 800; line-height: 1;
}
.bar-acc summary::-webkit-details-marker { display: none; }
.bar-acc--lg summary { font-size: 46px; }
.bar-acc summary .chev { width: 12px; height: 18px; transition: transform .2s; }
.bar-acc[open] summary .chev { transform: rotate(90deg); }
.bar-acc__body { padding: 24px 4px; font-size: 18px; line-height: 26px; }
.bar-acc__body p { margin-bottom: 18px; }

/* ---------- Home: family / team ---------- */
.family { padding: 21px 0 30px; }
.family__img { width: 500px; max-width: 100%; margin: 40px auto; }
.video-wrap { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-wrap iframe, .video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-band { background: #fff; }
.video-band .video-wrap { max-width: 1290px; margin: 0 auto; }
.video-band--svc { padding: 60px 0; }
.video-band--svc .video-wrap { max-width: 1140px; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 20px; }
.team-card img { width: 543px; max-width: 100%; aspect-ratio: 1; object-fit: cover; margin: 0 auto 38px; }
.team-card h3 { font-size: 28px; font-weight: 700; color: #000; margin: 0 16px 8px; }
.team-card__role { font-size: 22px; line-height: 26px; margin: 0 16px 34px; min-height: 52px; }
.team-card .bar-acc summary { padding: 20px; }

/* ---------- Home: services flip cards ---------- */
.flip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 40px; }
.flip-card { perspective: 1000px; height: 356px; border: 3px solid #000; border-radius: 5px; }
.flip-card__inner { position: relative; height: 100%; transition: transform .6s; transform-style: preserve-3d; }
.flip-card:hover .flip-card__inner, .flip-card:focus-within .flip-card__inner { transform: rotateY(180deg); }
.flip-card__face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; border-radius: 3px; overflow: hidden;
}
.flip-card__front { background: var(--teal) center / cover no-repeat; justify-content: flex-end; }
.flip-card__front h3 {
  background: var(--green); padding: 15px 10px; text-align: center;
  font-size: 24px; font-weight: 700; color: #fff; line-height: 1;
}
.flip-card__back {
  background: var(--green); transform: rotateY(180deg); color: #fff;
  align-items: center; justify-content: center; text-align: center; padding: 20px; gap: 18px;
}
.flip-card__back h3 { font-size: 24px; font-weight: 700; }
.flip-card__back p { font-size: 16px; line-height: 22px; }

/* ---------- Home: areas ---------- */
.areas__text { max-width: 690px; margin: 0 auto 56px; text-align: center; font-size: 17px; }
.area-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 20px; max-width: 1100px; margin: 0 auto; }
.area-chips a {
  background: #fff; color: #000; font-weight: 700; font-size: 18px; text-transform: uppercase;
  padding: 13px 25px; transition: background .2s, color .2s;
}
.area-chips a:hover { background: var(--green); color: #fff; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; color: #fff; text-align: center;
  background: #545454 center / cover no-repeat; padding: 80px 20px;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.cta-band::before { background: rgba(0, 0, 0, .68); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: 48px; font-weight: 800; margin-bottom: 10px; padding-top: 19px; }
.cta-band p { font-size: 23px; line-height: 26px; max-width: 1140px; margin: 0 auto 46px; }
.cta-band p a { color: var(--green); }
.cta-band .btn { font-size: 18px; line-height: 18px; padding: 17px 45px; }

/* ---------- Reviews summary ---------- */
.reviews { padding: 10px 0; }
.reviews__widget { max-width: 800px; margin: 0 auto; }
.reviews__card {
  max-width: 800px; margin: 0 auto; background: #f8f9fa; border-radius: 10px; padding: 20px;
}
.reviews__card h2 { font-family: var(--font-body); font-size: 26px; font-weight: 400; color: #222; margin-bottom: 16px; }
.reviews__summary {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  background: #fff; border: 1px solid #eee; border-radius: 6px; padding: 24px 28px;
}
.reviews__score { font-size: 28px; font-weight: 700; color: #222; display: flex; align-items: center; gap: 10px; }
.reviews__stars { color: #f58c00; letter-spacing: 3px; font-size: 20px; }
.reviews__count { font-size: 13px; color: #555; margin-top: 4px; }
.reviews__btn {
  background: #1a73e8; color: #fff; font-size: 13px; font-weight: 700; padding: 10px 16px; border-radius: 4px;
}

/* ---------- FAQ ---------- */
.faq { padding: 40px 0 60px; }
.faq__list { max-width: 1140px; margin: 40px auto 0; }
.faq__item { border: 1px solid var(--border); border-top: 0; }
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px;
  padding: 10px; font-size: 16px; color: var(--text-muted); border-bottom: 1px solid transparent;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before {
  content: "+"; font-size: 24px; font-weight: 700; width: 14px; line-height: 26px; color: #111;
}
.faq__item[open] summary::before { content: "\2212"; }
.faq__item[open] summary { border-bottom-color: var(--border); }
.faq__item .faq__a { padding: 14px 10px 26px; font-size: 18px; line-height: 26px; }
.faq__a a { text-decoration: underline; color: var(--green); }

/* ---------- Service page body ---------- */
.svc-intro { padding: 30px 0 40px; }
.svc-intro .intro { max-width: 1100px; margin: 0 auto 24px; text-align: center; font-size: 18px; line-height: 26px; }
.svc-intro .split { max-width: 1100px; margin: 0 auto; }
.svc-intro .small { font-size: 18px; line-height: 26px; }
.svc-intro .small a { font-weight: 700; text-decoration: underline; }
.svc-cols { padding: 30px 0; }
.svc-cols .split { max-width: 1140px; margin: 0 auto; gap: 80px; align-items: start; }
.svc-cols h2 { font-size: 36px; font-weight: 700; color: #fff; }
.svc-cols p { font-size: 18px; line-height: 26px; margin-bottom: 14px; }

/* ---------- Location pages ---------- */
.loc-intro { padding: 50px 0; }
.loc-intro .split { max-width: 1140px; margin: 0 auto; gap: 40px; }
.loc-intro h2 { font-size: 42px; font-weight: 700; color: var(--green); line-height: 1; }
.loc-intro p { font-size: 18px; line-height: 26px; }
.map-frame { border: 3px solid var(--green); aspect-ratio: 540 / 650; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.loc-why { padding: 50px 0; }
.loc-why .split { max-width: 1140px; margin: 0 auto; gap: 0; }
.loc-why .split > :first-child { padding-right: 30px; }
.loc-why h2 { font-size: 42px; font-weight: 700; color: #fff; line-height: 1; }
.loc-why p { font-size: 18px; line-height: 26px; }

/* ---------- Area hub pages ---------- */
.area-block { padding: 60px 0; scroll-margin-top: 20px; }
.area-block:nth-of-type(even) { background: var(--gray-bg); }
.area-block h2 { font-size: 42px; font-weight: 700; color: var(--green); }
.area-block p { font-size: 17px; line-height: 26px; }

/* ---------- Contact ---------- */
.contact-hero {
  position: relative; background: var(--blue) center / cover no-repeat; color: #fff; padding: 45px 35px 35px;
}
.contact-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .63); }
.contact-hero .split { position: relative; max-width: 1280px; margin: 0 auto; gap: 0; grid-template-columns: 55fr 45fr; align-items: start; }
.contact-hero .split > :first-child { padding-right: 40px; }
.contact-hero h1 { font-size: 60px; font-weight: 800; }
.contact-hero .lead { font-size: 24px; font-weight: 700; line-height: 26px; margin-bottom: 40px; }
.contact-hero p { font-size: 18px; line-height: 26px; }
.form-card { background: var(--green); border-radius: 10px; padding: 24px; }
.form-card h2 { font-size: 40px; font-weight: 600; line-height: 1.2; padding-left: 15px; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.field label .req { color: #d63637; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 8px 10px; border: 1px solid #ccc; border-radius: 3px; background: #fff; color: #000;
}
.field textarea { min-height: 120px; resize: vertical; }
.field .sub { font-size: 14px; margin-top: 4px; }
.form-card .btn-submit { background: #066aab; color: #fff; font-family: var(--font-body); font-weight: 500; font-size: 17px; height: 41px; padding: 0 15px; border: 0; border-radius: 3px; cursor: pointer; }
.form-card .btn-submit:hover { background: #055a91; }
.form-card .form-note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: #fff; }
.maps-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.maps-row iframe { width: 100%; height: 460px; border: 0; }

/* ---------- News ---------- */
.news-media { padding: 60px 0 100px; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 1140px; margin: 0 auto; }
.video-grid video { width: 100%; background: #000; }
.press-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; align-items: center; max-width: 1140px; margin: 0 auto; }
.press-logos img { margin: 0 auto; max-height: 150px; width: auto; }
.badge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1140px; margin: 0 auto; }

/* ---------- Plain pages (privacy / sitemap) ---------- */
.prose { max-width: 1140px; margin: 0 auto; padding: 60px 20px; font-size: 17px; line-height: 27px; }
.prose h1 { font-size: 60px; font-weight: 700; color: #262824; margin-bottom: 30px; }
.prose h2, .prose h3 { font-weight: 700; color: #262824; margin: 30px 0 12px; }
.prose h2 { font-size: 30px; } .prose h3 { font-size: 24px; }
.prose ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--green); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: #fff; }
.footer-top { max-width: 1280px; margin: 0 auto; padding: 50px 20px 0; }
.footer-logo { width: 356px; margin: 12px 30px 40px; }
.footer-rule { height: 1px; background: rgba(255, 255, 255, .8); margin: 0; border: 0; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; padding: 30px 20px 60px; }
.footer-cols h2 { font-size: 23px; font-weight: 600; line-height: 1; margin: 12px 0 26px; }
.footer-cols a:hover { text-decoration: underline; }
.footer-links li { margin-bottom: 11px; }
.footer-areas { display: grid; grid-template-columns: 160px 160px; padding-left: 10px; }
.footer-areas li { margin-bottom: 11px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 20px; align-items: flex-start; }
.footer-contact svg { width: 24px; height: 24px; flex: none; margin-top: 1px; }
.footer-contact .bbb img { width: 250px; }
.footer-bottom { background: #fff; color: #000; text-align: center; padding: 20px 20px 24px; }
.footer-bottom p { font-size: 15px; margin-bottom: 20px; }
.footer-bottom ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; font-family: 'Roboto', sans-serif; font-size: 12px; }
.footer-bottom a:hover { color: var(--green); }

/* ---------- Scroll reveal ---------- */
.reveal-ready .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-ready .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   Responsive — breakpoints 1024 / 767
   ========================================================================== */
@media (max-width: 1280px) {
  .main-nav > ul > li > a { padding: 0 10px; font-size: 16px; }
  .header-btns { gap: 10px; }
  .site-header__inner { padding: 0 20px; }
}
@media (max-width: 1100px) {
  .nav-toggle { display: block; order: 3; }
  .header-btns { margin-left: auto; margin-right: 10px; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.15);
    display: none; max-height: calc(100vh - 100px); overflow-y: auto;
  }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .main-nav > ul > li > a { line-height: 1.3; padding: 14px 20px; border-bottom: 1px solid #eee; justify-content: space-between; }
  .submenu, .submenu .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    display: none; background: #f7f7f7;
  }
  .main-nav li.is-open > .submenu { display: block; }
  .submenu a { padding-left: 36px; }
  .submenu .submenu a { padding-left: 52px; }
  .submenu .caret { transform: none; }
}
@media (max-width: 1024px) {
  :root { --header-h: 100px; }
  .site-logo img { width: 190px; }
  .hero__title { font-size: 52px; }
  .section-title { font-size: 48px; }
  .section-title--md { font-size: 40px; }
  .flip-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-split { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .press-logos, .badge-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .header-btns .btn--phone { display: none; }
  .header-btns .btn { padding: 12px 16px; font-size: 12px; }
  .site-logo img { width: 150px; }
  :root { --header-h: 84px; }
  .hero { min-height: 460px; }
  .hero__inner { padding: 50px 20px; }
  .hero__title { font-size: 38px; }
  .hero__title--md { font-size: 32px; }
  .hero__sub { font-size: 19px; }
  .section { padding: 44px 0; }
  .section-title { font-size: 36px; }
  .section-title--md, .cta-band h2 { font-size: 32px; }
  .cta-band p { font-size: 18px; }
  .split, .team-grid, .form-grid, .maps-row, .video-grid { grid-template-columns: 1fr; }
  .split { gap: 30px; }
  .flip-grid { grid-template-columns: 1fr; }
  .bar-acc summary { font-size: 24px; }
  .check-list li { font-size: 18px; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-logo { width: 260px; margin: 0 auto 30px; }
  .contact-hero h1 { font-size: 40px; }
  .loc-intro h2, .loc-why h2, .area-block h2, .svc-cols h2 { font-size: 30px; }
  .quote-box h2 { font-size: 28px; }
  .prose h1 { font-size: 42px; }
  .press-logos, .badge-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ---------- YouTube facade ---------- */
.yt-facade { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: #000 center / cover no-repeat; }
.yt-facade::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 100px; height: 70px; margin: -35px 0 0 -50px;
  border-radius: 18px; background: rgba(0,0,0,.65) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 40px no-repeat;
}
.yt-facade:hover::after { background-color: #000; }

/* ---------- Hero slideshow (Ken Burns crossfade) ---------- */
.hero--slides { background: #333; overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slides span {
  position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0;
  animation: heroFade 10s infinite, heroZoom 10s infinite linear;
}
.hero__slides span:nth-child(2) { animation-delay: 5s, 5s; }
.hero--slides::before { z-index: 1; }
.hero--slides .hero__inner { z-index: 2; }
@keyframes heroFade { 0%, 45% { opacity: 1; } 55%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.3); } }
@media (prefers-reduced-motion: reduce) { .hero__slides span { animation: none; } .hero__slides span:first-child { opacity: 1; } }

/* mountain background is washed out on the live site */
.section--mountain {
  background-image: linear-gradient(rgba(242, 242, 242, .5), rgba(242, 242, 242, .5)), url(/images/general/mountain-background.webp);
}
.why .section-title { max-width: 820px; margin: 0 auto; }
.hero__slides span:first-child { opacity: 1; }

/* ==========================================================================
   Service pages
   ========================================================================== */
/* ==========================================================================
   Service pages (excavation, land-clearing, site-assessment, demolition,
   strategic-wildfire-prevention, general-contracting, property-development)
   ========================================================================== */

/* Hero: height follows content (live pages vary 510-810px) */
.hero--svc { min-height: 0; }
.hero--svc .hero-split { align-items: stretch; }
.hero--svc .hero-split > :first-child { padding-top: 54px; padding-bottom: 54px; display: flex; flex-direction: column; justify-content: center; }
.hero--svc .hero__title { max-width: none; }
.hero--svc .hero__divider { width: 100%; margin: 20px 0 16px; }
.hero--svc .hero__sub { margin-bottom: 0; }
.quote-box p { font-size: 18px; line-height: 26px; margin-bottom: 16px; }
.quote-box .btn { margin-top: 30px; }
.quote-box h2 { margin-bottom: 20px; }

/* 3-image Ken Burns slideshow (excavation hero) */
.hero__slides--3 span { animation-name: heroFade3, heroZoom; animation-duration: 15s, 15s; }
.hero__slides--3 span:nth-child(2) { animation-delay: 5s, 5s; }
.hero__slides--3 span:nth-child(3) { animation-delay: 10s, 10s; }
@keyframes heroFade3 { 0%, 30% { opacity: 1; } 36%, 94% { opacity: 0; } 100% { opacity: 1; } }

/* Excavation intro: tighter body text, framed tall image */
.svc-intro { padding: 50px 0 70px; }
.svc-intro .section-title { margin-bottom: 10px; }
.svc-intro .split { gap: 20px; align-items: start; }
.svc-intro .small { margin-bottom: 20px; }
.svc-intro .framed { aspect-ratio: 540 / 718; }
.svc-cols .divider { width: 470px; margin: 16px 0 28px; }
.svc-cols { padding: 30px 0 40px; }

/* Mountain feature split: left heading + rule + list, right framed photo */
.svc-feature { padding: 70px 0; }
.svc-feature .split { max-width: 1100px; margin: 0 auto; gap: 20px; align-items: start; }
.svc-feature h2, .svc-block h2 { font-size: 42px; font-weight: 700; color: var(--green); line-height: 1; }
.svc-rule { height: 3px; background: var(--green); margin: 15px 0 35px; }
.svc-rule--tight { margin-bottom: 15px; }
.svc-feature p, .svc-block p { font-size: 18px; line-height: 26px; }
.svc-feature .check-list { margin: 30px 0 10px; }
.svc-feature .check-list li, .svc-intro .check-list li { margin-bottom: 20px; }
.svc-feature .btn { margin-top: 30px; }

/* Plain content blocks (credentials, restoration, communities) */
.svc-block { padding: 70px 0; }
.svc-block .container { max-width: 1140px; }
.svc-list-ol { list-style: decimal; padding-left: 40px; font-size: 18px; line-height: 26px; }
.svc-list-ol li { margin-bottom: 16px; padding-left: 4px; }
.svc-restore .split { gap: 20px; align-items: start; }
.svc-restore .framed { aspect-ratio: 482 / 362; width: 482px; max-width: 100%; margin: 0 auto; }
.svc-restore { background-position: center; background-size: cover; }
.svc-restore .btn { padding: 17px 45px 18px; }
.svc-restore .check-list { margin: 24px 0 30px; }
.svc-restore .check-list li { font-size: 18px; line-height: 26px; margin-bottom: 16px; padding-left: 37px; }
.svc-restore .check-list li::before { top: 50%; transform: translateY(-50%); width: 22px; height: 22px; }
.check-list--inline { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 60px; }
.check-list--inline li { margin: 0; }
.cta-band .btn .icon-phone { margin-left: 2px; }

@media (max-width: 767px) {
  .svc-feature h2, .svc-block h2 { font-size: 30px; }
  .svc-feature, .svc-block { padding: 44px 0; }
  .svc-cols .divider { width: 100%; }
}
.svc-tel { color: var(--green); }
.cta-band h2 + .btn { margin-top: 20px; }

/* Larger buttons as on the live service pages */
.quote-box .btn, .svc-intro .btn, .svc-feature .btn, .svc-restore .btn { font-size: 18px; line-height: 18px; padding: 15px 25px; }
.svc-intro .btn, .svc-feature .btn { padding: 17px 45px 18px; }
.svc-intro .small { font-size: 18px; }
.svc-restore .check-list li { font-family: var(--font-body); }
.svc-restore .split { max-width: 1100px; margin: 0 auto; }
.cta-band--svc h2 { max-width: 1100px; margin-left: auto; margin-right: auto; }
.cta-band--narrow h2 { max-width: 900px; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Contact / news / legal pages
   ========================================================================== */
/* ---------- Misc pages: contact / news / privacy / sitemap ---------- */

/* Contact */
.contact-hero .hero__divider { width: 100%; max-width: 660px; margin: 14px 0 22px; }
.contact-hero p a { text-decoration: underline; }
.contact-hero .form-card { padding: 20px 12px 30px; }
.form-card .form-grid > div input { margin-bottom: 0; }
.field label.sub { font-weight: 400; font-size: 14px; margin: 4px 0 0; }
.field input, .field select { height: 43px; padding: 0 14px; }
.maps-row { gap: 20px; }
.maps-row iframe { height: 450px; }

/* In the News */
.hero--news { overflow: hidden; }
.hero--news::before {
  display: block; background: #fff url(/images/general/green-texture-background.webp) center / cover no-repeat; opacity: .5;
}
.hero--news .hero__divider--news { width: 638px; background: var(--green); }
.news-media { padding: 60px 0 110px; }
.press-card {
  background: #fff; border-radius: 12px; max-width: 1140px; margin: 0 auto 50px;
  padding: 36px 30px 50px; text-align: center; box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}
.press-card__title { font-size: 28px; font-weight: 700; color: #111; margin-bottom: 26px; }
.press-card__title span { color: #1fb5c0; }
.press-card .press-logos { grid-template-columns: repeat(3, 190px); justify-content: center; gap: 20px; }
.press-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%;
  border: 1px solid #e6e6e6; border-radius: 10px; padding: 16px 14px 18px; background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06); transition: box-shadow .2s, transform .2s;
}
.press-item:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .12); transform: translateY(-2px); }
.press-item img { width: 150px; height: 70px; object-fit: contain; max-height: none; }
.press-item__name { font-size: 13px; line-height: 18px; color: #222; }
.press-item__cta { font-size: 12px; font-weight: 600; color: #1fb5c0; margin-top: auto; }
.news-videos { max-width: 910px; gap: 20px 40px; }
.news-videos video { aspect-ratio: 16 / 9; height: auto; border-radius: 40px; object-fit: cover; }

/* Privacy / sitemap (live: 100px H1, 44px H3) */
.prose--legal { max-width: 1120px; padding: 50px 20px 70px; font-size: 18px; line-height: 26px; }
.prose--legal p, .prose--legal ul { margin: 0 0 16px; }
.prose--legal ul { padding-left: 40px; }
.prose--legal a { color: inherit; text-decoration: none; }
.prose--legal h1 { font-size: 100px; line-height: 1; margin-bottom: 4px; }
.prose--legal h2 { font-size: 60px; line-height: 1; margin: 0 0 8px; }
.prose--legal h3 { font-size: 44px; line-height: 1; margin: 0 0 8px; }

.prose--legal ul.circle { list-style: circle; padding-left: 80px; }
.prose--sitemap { font-size: 18px; line-height: 35px; }
.prose--sitemap ul { padding-left: 20px; }
.prose--sitemap li { margin-bottom: 0; }
.prose--sitemap a { color: inherit; text-decoration: none; }
.prose--sitemap a:hover { color: var(--green); text-decoration: underline; }

@media (max-width: 1024px) {
  .press-card .press-logos { grid-template-columns: repeat(2, 190px); }
  .prose--legal h1 { font-size: 72px; }
}
@media (max-width: 767px) {
  .contact-hero { padding: 40px 16px; }
  .maps-row iframe { height: 320px; }
  .press-card { padding: 28px 16px 32px; }
  .press-card__title { font-size: 22px; }
  .press-card .press-logos { grid-template-columns: 1fr 1fr; gap: 12px; }
  .press-item img { width: 100%; }
  .prose--legal h1 { font-size: 48px; }
  .prose--legal h2 { font-size: 36px; }
  .prose--legal h3 { font-size: 30px; }
  .prose--legal ul.circle { padding-left: 40px; }
}

/* ==========================================================================
   Location pages
   ========================================================================== */
/* ---------- Location pages (city + area hubs) ---------- */
.hero--dark-green { background-color: #000; }
.loc-hero__lead { max-width: 1083px; }
.loc-intro p, .loc-why p { line-height: 26px; }
.loc-why .white-card .check-list li { font-size: 22px; line-height: 26px; margin-bottom: 21px; padding-left: 30px; }
.loc-why .white-card .check-list li:last-child { margin-bottom: 0; }
.loc-why .white-card { padding: 30px; }
.cta-band h2 { max-width: 1140px; margin-left: auto; margin-right: auto; }
.loc-divider { width: 100%; max-width: 100%; margin: 15px 0 35px; }
.loc-intro .btn, .loc-why .btn { margin-top: 12px; }
.loc-intro .map-frame { align-self: start; aspect-ratio: auto; height: 656px; }

/* hub intro: single column */
.loc-hub-intro .container { max-width: 1150px; }

/* hub communities: alternating text / map rows */
.area-rows { padding: 50px 0 30px; }
.area-rows .container { max-width: 1180px; }
.area-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  margin-bottom: 70px; scroll-margin-top: 20px;
}
.area-row:last-child { margin-bottom: 20px; }
.area-row--rev .area-row__text { order: 2; }
.area-row--rev .area-row__map { order: 1; }
.area-row__section-title { font-size: 42px; font-weight: 700; color: var(--green); line-height: 1; }
.area-row h3 { font-size: 44px; font-weight: 700; color: #262824; line-height: 1; margin: 0 0 35px; }
.area-row p { font-size: 18px; line-height: 26px; }
.area-row .btn { margin-top: 18px; }
.area-row__map { border: 3px solid var(--green); height: 460px; }
.area-row__map iframe { width: 100%; height: 100%; border: 0; }

/* hub "why": list, closing text and button inside the white card */
.loc-hub-why { padding: 50px 0 50px; }
.loc-hub-why .white-card p { margin-top: 6px; }
.loc-hub-why .white-card .btn { margin-top: 18px; }

@media (max-width: 767px) {
  .loc-intro .map-frame { min-height: 380px; }
  .area-row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 50px; }
  .area-row--rev .area-row__text, .area-row--rev .area-row__map { order: 0; }
  .area-row__section-title { font-size: 30px; }
  .area-row h3 { font-size: 32px; }
  .area-row__map { height: 340px; }
}
.loc-hub-intro p a { text-decoration: underline; }

/* Location heroes: live content sits 126px below the header (5% padding + 54px spacers) */
.hero--loc { min-height: 0; }
.hero--loc .hero__inner { padding: 126px 43px; }
.hero--loc .hero__divider { margin: 15px 0; }
.loc-intro p, .loc-why p, .area-row p { margin-bottom: 16px; }

/* Contact: fixed background on desktop */
@media (min-width: 1025px) { .contact-hero { background-attachment: fixed; } }

@media (max-width: 1024px) {
  .contact-hero .split, .loc-why .split { grid-template-columns: 1fr; gap: 30px; }
  .contact-hero .split > :first-child, .loc-why .split > :first-child, .hero-split > :first-child { padding-right: 0; }
  .hero-split { gap: 30px; }
}
@media (max-width: 767px) {
  .hero--loc .hero__inner { padding: 60px 20px; }
}

/* Location "Why" + intro column widths as measured on live (desktop only) */
@media (min-width: 1025px) {
  .loc-why .split { grid-template-columns: 562px 578px; align-items: stretch; }
  .loc-intro .split { grid-template-columns: 573px 567px; gap: 0; }
  .loc-intro .split > :first-child { padding-right: 30px; }
}

/* Smaller background photos on phones (build.py sets --bg / --bg-sm inline) */
@media (max-width: 800px) {
  [style*="--bg-sm"] { background-image: var(--bg-sm) !important; }
}

/* Service links on location pages */
.service-links { padding: 50px 0; text-align: center; background: #f2f2f2; }
.service-links h2 { margin: 0 0 20px; color: var(--green); }
.service-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.service-links a { display: inline-block; padding: 10px 18px; border: 2px solid var(--green); border-radius: 3px; color: var(--green); font-weight: 600; text-decoration: none; }
.service-links a:hover { background: var(--green); color: #fff; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .form-status { margin: 14px 0 0; padding: 10px 14px; border-radius: 4px; background: #fff; font-size: 15px; line-height: 1.5; }
.form-card .form-status:empty { display: none; }
.form-card .form-status.is-success { color: #3d5600; font-weight: 600; }
.form-card .form-status.is-error { color: #b00020; }
.review-quotes { padding: 60px 0; background: #f2f2f2; }
.review-quotes h2 { text-align: center; margin-bottom: 6px; }
.review-quotes__summary { text-align: center; margin: 0 0 30px; color: #444; }
.review-quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { margin: 0; background: #fff; border-radius: 8px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,.06); display: flex; flex-direction: column; }
.review-card__stars { color: #f5a623; font-size: 20px; letter-spacing: 2px; margin-bottom: 10px; }
.review-card blockquote { margin: 0 0 14px; font-size: 16px; line-height: 1.6; flex: 1; }
.review-card figcaption { font-weight: 600; color: #5c8100; }
.review-quotes__more { text-align: center; margin: 28px 0 0; }
.review-quotes__more a { display: inline-block; background: #066aab; color: #fff; font-weight: 600; padding: 12px 22px; border-radius: 4px; text-decoration: none; }
.review-quotes__more a:hover { background: #055a91; }
@media (max-width: 900px) { .review-quotes__grid { grid-template-columns: 1fr; } }
.review-quotes__stars { color: #f5a623; letter-spacing: 2px; margin-right: 4px; }
