/* ============================================================
   One Stop Construction & Remodeling, LLC — Main Stylesheet
   Southern Utah's One-Stop Builder — From Foundation to Finish
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --rust:        #B94A1E;
  --rust-dark:   #8F3410;
  --rust-light:  #D96030;
  --cream:       #F7F2EC;
  --white:       #FFFFFF;
  --charcoal:    #2A2A2A;
  --mid-gray:    #5A5A5A;
  --light-gray:  #E8E3DC;
  --border:      #D4CCC0;
  --shadow:      rgba(0,0,0,0.12);
  --font-head:   'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --font-body:   'Inter', 'Helvetica Neue', Arial, sans-serif;
  --max-width:   1180px;
  --nav-height:  72px;
  --radius:      6px;
  --radius-lg:   12px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rust); text-decoration: none; }
a:hover { color: var(--rust-dark); }

ul, ol { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--charcoal);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p { margin-bottom: 1rem; color: var(--mid-gray); }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.6rem;
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section { padding: 5rem 0; }
.section--gray { background: var(--light-gray); }
.section--dark { background: var(--charcoal); color: var(--white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: #C8C0B5; }
.section--rust { background: var(--rust); color: var(--white); }
.section--rust h2, .section--rust h3 { color: var(--white); }
.section--rust p { color: rgba(255,255,255,0.85); }
.section--rust .section-label { color: rgba(255,255,255,0.7); }

.text-center { text-align: center; }
.text-left { text-align: left; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-align: center;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust);
}
.btn-primary:hover {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--rust);
}

.btn-outline-dark {
  background: transparent;
  color: var(--rust);
  border-color: var(--rust);
}
.btn-outline-dark:hover {
  background: var(--rust);
  color: var(--white);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.85rem; }

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  padding: 0.45rem 0;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--white); }
.topbar .topbar-phone { font-weight: 700; color: var(--rust-light); font-size: 0.88rem; }
.topbar .topbar-phone a { color: var(--rust-light); }
.topbar .topbar-phone a:hover { color: var(--white); }

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--border);
  height: var(--nav-height);
  box-shadow: 0 2px 8px var(--shadow);
}
.site-nav .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.nav-logo img {
  height: 48px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
}
.nav-logo-text span { color: var(--rust); }

.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--rust); background: rgba(185, 74, 30, 0.07); }
.nav-links a.active { color: var(--rust); }

/* Dropdown menu (Services) */
.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a { padding-right: 1.4rem; }
.nav-links .has-dropdown > a::after {
  content: '';
  display: inline-block;
  margin-left: 0.4rem;
  width: 5px;
  height: 5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  vertical-align: middle;
  opacity: 0.7;
  transition: transform 0.2s;
}
.nav-links .has-dropdown:hover > a::after,
.nav-links .has-dropdown.open > a::after { transform: translateY(1px) rotate(-135deg); }
.nav-links .dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  min-width: 230px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem 0;
  list-style: none;
  display: none;
  z-index: 100;
  margin: 0;
}
.nav-links .has-dropdown:hover .dropdown,
.nav-links .has-dropdown:focus-within .dropdown,
.nav-links .has-dropdown.open .dropdown { display: block; }
.nav-links .dropdown li { padding: 0; margin: 0; }
.nav-links .dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal);
  border-radius: 0;
  letter-spacing: 0;
  white-space: nowrap;
  background: transparent;
}
.nav-links .dropdown a:hover { background: var(--cream); color: var(--rust); }
.nav-links .dropdown li:first-child a {
  font-weight: 700;
  color: var(--rust);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.3rem;
  padding-bottom: 0.6rem;
}
.nav-links .nav-cta {
  background: var(--rust);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  margin-left: 0.5rem;
}
.nav-links .nav-cta:hover { background: var(--rust-dark); color: var(--white); }
/* When the Free Quote CTA's destination IS the current page, invert it so the
   text stays visible and signals "you're already here" without a hover state. */
.nav-links .nav-cta.active,
.nav-links .nav-cta.active:hover {
  background: var(--white);
  color: var(--rust);
  box-shadow: inset 0 0 0 1.5px var(--rust);
  cursor: default;
}

.nav-phone {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--rust);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-phone a { color: var(--rust); }
.nav-phone a:hover { color: var(--rust-dark); }
.nav-phone svg { flex-shrink: 0; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--charcoal);
}
.nav-toggle:focus { outline: 2px solid var(--rust); }

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/laverkin-build.webp');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.45;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  color: var(--white);
  padding: 4rem 0;
}
.hero-content .section-label { color: rgba(255,255,255,0.7); }
.hero-content h1 { color: var(--white); margin-bottom: 1rem; }
.hero-content p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 1.75rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero secondary button: solid white background, rust text, stays readable
   on top of the hero image. Other pages keep the white-outline default. */
.hero .btn-outline {
  background: var(--white);
  color: var(--rust);
  border-color: var(--white);
}
.hero .btn-outline:hover {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust);
}

.hero-badge-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-badge-row img {
  height: 80px;
  width: auto;
  filter: brightness(1.1);
}
.hero-badge-row img.ha-badge-lg {
  height: 96px;
  filter: brightness(1.1)
    drop-shadow(0 4px 10px rgba(0,0,0,0.75))
    drop-shadow(0 0 2px rgba(0,0,0,0.6));
}
.hero-badge-row .ha-badge-link {
  display: inline-block;
  line-height: 0;
  transition: transform 0.2s;
}
.hero-badge-row .ha-badge-link:hover { transform: translateY(-2px); }

a.hero-stat-link {
  text-decoration: none;
  color: var(--white);
  transition: transform 0.2s;
}
a.hero-stat-link:hover { transform: translateY(-2px); color: var(--white); }
a.hero-stat-link:hover strong { color: var(--rust-light); }

a.stat-item-link {
  text-decoration: none;
  color: var(--white);
  transition: transform 0.2s;
}
a.stat-item-link:hover { transform: translateY(-2px); color: var(--white); }
a.stat-item-link strong { color: var(--white); }

/* Google brand-letter treatment for "Google Reviews" stat */
.gbrand {
  font-weight: 800;
  letter-spacing: 0.01em;
}
.hero-stat .gbrand,
.hero-stat .gbrand > span {
  display: inline;
  margin: 0;
  opacity: 1;
  font-size: inherit;
  letter-spacing: inherit;
}
.hero-stat .gbrand > span { text-shadow: 0 1px 2px rgba(0,0,0,0.65); }

/* ---------- Credential Badges Row (About / Reviews) ---------- */
.credential-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.credential-badges img {
  height: 120px;
  width: auto;
  transition: transform 0.2s;
}
.credential-badges a {
  display: inline-block;
  line-height: 0;
  transition: transform 0.2s;
}
.credential-badges a:hover { transform: translateY(-2px); }
@media (max-width: 540px) {
  .credential-badges { gap: 1.5rem; }
  .credential-badges img { height: 88px; }
}
.hero-stat {
  color: var(--white);
  text-align: center;
  line-height: 1.1;
}
.hero-stat strong {
  display: block;
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--rust-light);
  line-height: 1;
  letter-spacing: -0.01em;
  text-shadow:
    0 2px 6px rgba(0,0,0,0.7),
    -1.5px -1.5px 0 rgba(0,0,0,0.85),
     1.5px -1.5px 0 rgba(0,0,0,0.85),
    -1.5px  1.5px 0 rgba(0,0,0,0.85),
     1.5px  1.5px 0 rgba(0,0,0,0.85);
}
.hero-stat strong .star {
  color: #FFC93C;
  font-size: 1em;
  margin-left: 0.08em;
  display: inline-block;
  vertical-align: baseline;
}
.hero-stat span {
  font-size: 0.92rem;
  opacity: 0.95;
  display: block;
  margin-top: 0.3rem;
  letter-spacing: 0.02em;
}

@media (max-width: 540px) {
  .hero-badge-row { gap: 1.25rem; }
  .hero-badge-row img { height: 64px; }
  .hero-badge-row img.ha-badge-lg { height: 77px; }
  .hero-stat strong { font-size: 2rem; }
}

/* ---------- Trust Badges Strip ---------- */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.trust-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-strip img {
  height: 52px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.trust-strip img:hover { opacity: 1; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mid-gray);
}
.trust-item svg { color: var(--rust); flex-shrink: 0; }

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}
.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card-body {
  padding: 1.5rem;
}
.service-card-body h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.service-card-body p { font-size: 0.9rem; margin-bottom: 1rem; }
.service-card-body a { font-size: 0.88rem; font-weight: 700; color: var(--rust); }
.service-card-body a:hover { color: var(--rust-dark); text-decoration: underline; }
/* Text-only service card (no photo) — intentional charcoal accent tile */
.service-card--text { background: var(--charcoal); display: flex; align-items: center; }
.service-card--text .service-card-body h3 { color: var(--white); }
.service-card--text .service-card-body p { color: rgba(255,255,255,0.82); }
.service-card--text .service-card-body a { color: var(--rust-light); }
.service-card--text .service-card-body a:hover { color: var(--white); }
.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(185, 74, 30, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--rust);
}

/* ---------- Full Service Detail Sections ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.service-detail h2 { margin-bottom: 1rem; }
.service-detail .service-list li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--mid-gray);
  font-size: 0.95rem;
}
.service-detail .service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 8px;
  height: 8px;
  background: var(--rust);
  border-radius: 50%;
}

/* ---------- Review Cards ---------- */
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 2px 12px var(--shadow);
  position: relative;
}
.review-card::before {
  content: '\201C';
  font-family: var(--font-head);
  font-size: 5rem;
  line-height: 1;
  color: var(--rust);
  opacity: 0.15;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
}
.review-stars { color: #E8A000; font-size: 1rem; margin-bottom: 0.75rem; letter-spacing: 0.05em; }
.review-text { font-style: italic; color: var(--mid-gray); margin-bottom: 1.25rem; font-size: 0.95rem; line-height: 1.7; }
.review-author {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--charcoal);
}
.review-author span { font-weight: 400; color: var(--mid-gray); font-size: 0.82rem; display: block; }
.review-source { font-size: 0.78rem; color: var(--mid-gray); margin-top: 0.5rem; }

/* ---------- Gallery Grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal);
}
.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.3s;
}
.gallery-item:hover img { transform: scale(1.05); opacity: 0.85; }
.gallery-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s;
}
.gallery-item:hover .gallery-item-label { opacity: 1; transform: translateY(0); }
.gallery-item.featured { grid-column: span 2; }
.gallery-item.featured img { height: 380px; }

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--rust);
  padding: 3rem 0;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-item strong .star {
  color: #FFC93C;
  font-size: 1em;
  line-height: 1;
  margin-left: 0.05em;
}
.stat-item span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--rust-dark) 0%, var(--rust) 100%);
  padding: 4rem 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-section p { color: rgba(255,255,255,0.88); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-section .btn-outline { border-color: rgba(255,255,255,0.6); }
.cta-section .cta-phone {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  font-family: var(--font-head);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.cta-section .cta-phone:hover { opacity: 0.85; color: var(--white); }

/* ---------- About / Team ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-intro img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.value-item {
  padding: 1.25rem;
  background: var(--light-gray);
  border-radius: var(--radius);
  border-left: 3px solid var(--rust);
}
.value-item h4 { margin-bottom: 0.25rem; color: var(--charcoal); font-size: 0.95rem; }
.value-item p { font-size: 0.85rem; margin: 0; }

/* ---------- Contact Form ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px var(--shadow);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}
.form-group label .required { color: var(--rust); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--charcoal);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(185,74,30,0.12);
  background: var(--white);
}
.form-control::placeholder { color: #999; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A5A5A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; padding: 1rem; }

.contact-info h3 { margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(185,74,30,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rust);
  flex-shrink: 0;
}
.contact-detail-text h4 { font-size: 0.9rem; color: var(--charcoal); margin-bottom: 0.2rem; }
.contact-detail-text p { font-size: 0.88rem; margin: 0; }
.contact-detail-text a { color: var(--rust); font-weight: 600; }

.map-placeholder {
  background: var(--light-gray);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 1.5rem;
  color: var(--mid-gray);
  font-size: 0.88rem;
}
.map-embed {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
}
.map-embed iframe { display: block; width: 100%; }

/* ---------- Page Hero (non-home) ---------- */
.page-hero {
  background: var(--charcoal);
  padding: 3.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--rust);
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.7); max-width: 620px; margin: 0 auto; }
.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 0.4rem; }

/* ---------- Section Heading Component ---------- */
.section-heading {
  margin-bottom: 3rem;
}
.section-heading h2 { margin-bottom: 0.75rem; }
.section-heading p { max-width: 600px; font-size: 1rem; }
.section-heading.center { text-align: center; }
.section-heading.center p { margin-left: auto; margin-right: auto; }
.heading-line {
  display: inline-block;
  width: 56px;
  height: 3px;
  background: var(--rust);
  margin-bottom: 0.75rem;
}

/* ---------- Checklist / Feature List ---------- */
.check-list { list-style: none; }
.check-list li {
  padding: 0.45rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--mid-gray);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--rust);
  font-weight: 700;
}

/* ---------- Service Silo Page Layout ---------- */
.silo-body { padding: 4rem 0; }
.silo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3rem;
  align-items: start;
}
.silo-main { min-width: 0; }
.silo-section {
  margin-bottom: 2.75rem;
}
.silo-section h2 {
  font-size: 1.55rem;
  margin-bottom: 0.85rem;
  color: var(--charcoal);
}
.silo-section h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--rust);
  margin-top: 0.55rem;
}
.silo-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--mid-gray);
  margin-bottom: 1rem;
}
.silo-section a { color: var(--rust); font-weight: 600; }
.silo-section a:hover { color: var(--rust-dark); }
.silo-section ul.check-list {
  margin-top: 0.5rem;
}

/* FAQ styling */
.silo-faq .faq-list {
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 0;
  position: relative;
  padding-right: 2rem;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--rust);
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item summary h3 {
  display: inline;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  font-family: var(--font-head);
}
.faq-item p {
  padding: 0 0 1.1rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--mid-gray);
  margin: 0;
}

/* Related services pills */
.silo-related .related-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
}
.silo-related .related-list li { margin: 0; }
.silo-related .related-list a {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--rust);
  color: var(--rust);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}
.silo-related .related-list a:hover {
  background: var(--rust);
  color: var(--white);
}

/* Sticky sidebar with image and CTA */
.silo-aside { position: sticky; top: calc(var(--nav-height) + 1.25rem); }
.silo-aside-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.silo-aside-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.silo-aside-cta {
  padding: 1.5rem 1.4rem 1.6rem;
}
.silo-aside-cta h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}
.silo-aside-cta p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--mid-gray);
  margin-bottom: 1rem;
}
.silo-aside-phone {
  display: block;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--rust);
  margin-bottom: 0.85rem;
  font-family: var(--font-head);
}
.silo-aside-phone:hover { color: var(--rust-dark); }
.silo-aside-cta .btn {
  white-space: normal;
  line-height: 1.25;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 880px) {
  .silo-layout { grid-template-columns: 1fr; gap: 2rem; }
  .silo-aside { position: static; }
  .silo-aside-card img { height: 200px; }
}

/* ---------- License / Trust Banner ---------- */
.license-banner {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  color: var(--mid-gray);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.license-banner strong { color: var(--charcoal); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand img { height: 52px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.65; }
.footer-brand .footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--rust-light);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}
.footer-brand .footer-phone:hover { color: var(--white); }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust-light);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }

.footer-nap address {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.8;
}
.footer-nap a { color: var(--rust-light); }
.footer-nap a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-social a:hover { color: var(--white); }

/* ---------- Responsive ---------- */

/* Tablet — 768px */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .about-intro img { height: 320px; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .section { padding: 3.5rem 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.featured { grid-column: span 1; }
  .gallery-item.featured img { height: 260px; }
  .service-detail { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail.reverse { direction: ltr; }
  .service-detail img { height: 260px; }
  .hero { min-height: 480px; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-badge-row { gap: 0.75rem; }
  .about-values { grid-template-columns: 1fr; }

  /* Hamburger menu */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 2px solid var(--border);
    box-shadow: 0 4px 12px var(--shadow);
    display: none;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 0.5rem; font-size: 1rem; border-radius: 0; border-bottom: 1px solid var(--light-gray); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .nav-cta { margin-left: 0; margin-top: 0.5rem; text-align: center; }
  .nav-phone { display: none; }

  /* Mobile dropdown — accordion style */
  .nav-links .has-dropdown > a::after {
    float: right;
    transform: translateY(6px) rotate(45deg);
  }
  .nav-links .has-dropdown.open > a::after { transform: translateY(8px) rotate(-135deg); }
  .nav-links .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--cream);
    padding: 0;
    margin: 0;
    border-radius: 0;
    min-width: auto;
  }
  .nav-links .dropdown a {
    padding: 0.65rem 1.5rem;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--light-gray);
  }
  .nav-links .dropdown li:first-child a {
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
    padding-bottom: 0.65rem;
  }
  /* Disable hover-open on mobile, only open on .open class */
  .nav-links .has-dropdown:hover .dropdown,
  .nav-links .has-dropdown:focus-within .dropdown { display: none; }
  .nav-links .has-dropdown.open .dropdown { display: block; }
}

/* Mobile — 320–480px */
@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.featured img { height: 240px; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-strip .container { gap: 1.5rem; }
  .hero-badge-row img { height: 36px; }
  .hero-badge-row img.ha-badge-lg { height: 43px; }
  .contact-form { padding: 1.5rem; }
  .review-card { padding: 1.5rem; }
}

/* ---------- Misc Utilities ---------- */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Print */
@media print {
  .site-nav, .topbar, .site-footer, .cta-section, .hero-btns { display: none; }
}
