/* ============================================================
   HOUND DOG LANDSCAPING — Design System
   Industrial-Rugged | Dark Navy (#1A222F) + Orange (#FB7A38)
   Fonts: Oswald (headings) + Lato (body)
   Friendlier tone with rugged visual aesthetic
   ============================================================ */

:root {
  /* Brand Colors */
  --color-primary: #1A222F;
  --color-primary-dark: #111821;
  --color-primary-light: #e8eaed;
  --color-accent: #FB7A38;
  --color-accent-dark: #e06420;
  --color-accent-light: #fff3eb;
  --color-secondary: #27312F;
  --color-white: #ffffff;
  --color-black: #111111;

  /* Neutral Palette */
  --color-bg: #ffffff;
  --color-bg-alt: #F6F6F6;
  --color-bg-dark: #1A222F;
  --color-bg-darker: #111821;
  --color-text: #333333;
  --color-text-light: #555555;
  --color-text-muted: #888888;
  --color-text-on-dark: #ffffff;
  --color-border: #e0e0e0;
  --color-border-light: #f0f0f0;

  /* Status */
  --color-success: #28a745;
  --color-error: #dc3545;

  /* Typography */
  --font-heading: 'Oswald', system-ui, -apple-system, sans-serif;
  --font-body: 'Lato', system-ui, -apple-system, sans-serif;
  --fs-hero: clamp(2.5rem, 6vw, 4rem);
  --fs-h1: clamp(2rem, 4.5vw, 2.75rem);
  --fs-h2: clamp(1.5rem, 3.5vw, 2rem);
  --fs-h3: clamp(1.1rem, 2.5vw, 1.375rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.8125rem;
  --lh-heading: 1.2;
  --lh-body: 1.7;

  /* Spacing */
  --section-padding: clamp(2.5rem, 5vw, 4rem);
  --container-max: 1200px;
  --gap: 1.25rem;

  /* Design Tokens — Industrial-Rugged */
  --radius: 2px;
  --radius-lg: 4px;
  --shadow: none;
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
a, button, input, select, textarea, [role="button"] { touch-action: manipulation; }

/* Skip Link */
.skip-link {
  position: absolute; top: -100%; left: 0;
  background: var(--color-accent); color: #fff;
  padding: 0.75rem 1.5rem; z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid #FB7A38;
  outline-offset: 3px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: var(--section-padding) 0; }
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-bg-dark); color: var(--color-text-on-dark); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--color-white); }
.section-dark .card h3, .section-dark .card h4 { color: var(--color-text); }
.section-dark .color-muted { color: #aaa; }
.section-dark a { color: var(--color-accent); }
.section-accent { background: var(--color-accent); color: var(--color-white); }

.drainage-intro-band,
.drainage-methods-band,
.drainage-diagnostic-band,
.drainage-faq-band,
.drainage-related-links {
  padding: var(--section-padding) 0;
}
.drainage-methods-band,
.drainage-proof-strip,
.drainage-faq-band {
  background: var(--color-bg-alt);
}
.drainage-proof-strip {
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
}
.drainage-diagnostic-band {
  background:
    linear-gradient(180deg, var(--color-white), #fbfbfb);
}
.drainage-action-banner {
  position: relative;
  background: var(--color-bg-dark);
  color: var(--color-white);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  text-align: center;
  overflow: hidden;
}
.drainage-action-banner .cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.drainage-action-banner .container {
  position: relative;
  z-index: 2;
}
.drainage-action-banner h2 {
  color: var(--color-white);
}
.drainage-action-banner p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 1.25rem;
}

.repair-feature {
  position: relative;
}
.repair-feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.repair-feature__media {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 0.75rem;
  align-items: stretch;
}
.repair-feature__media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.repair-feature__media img:nth-child(2) {
  min-height: 160px;
  align-self: end;
}
.repair-feature__list {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.repair-feature__list li {
  padding: 0.35rem 0 0.35rem 0.9rem;
}
@media (max-width: 767px) {
  .landscaper-overview .repair-feature__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .landscaper-overview .repair-feature__media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .landscaper-overview .repair-feature__media img {
    height: 220px;
    min-height: 0;
  }
}
.route-note {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(251,122,56,0.11), rgba(26,34,47,0.035)),
    var(--color-white);
  border-left: 5px solid var(--color-accent);
  box-shadow: var(--shadow-md);
}
.route-note p {
  max-width: 72ch;
}
.route-note__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.25rem 0 0.5rem;
}
.route-note__links a {
  display: block;
  padding: 0.75rem 0.85rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.route-note__links a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}
.trust-rhythm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  text-align: left;
}
.trust-rhythm > div,
.service-checklist > div {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  padding: 1.25rem;
}
.service-checklist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 1.5rem;
}

.local-proof-strip {
  position: relative;
  overflow: hidden;
}
.local-proof-strip > .container {
  position: relative;
  z-index: 1;
}
.local-proof-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(251,122,56,0.08), rgba(251,122,56,0) 36%),
    linear-gradient(180deg, rgba(26,34,47,0.035), rgba(26,34,47,0));
}
.local-proof-strip .grid-2 > div,
.local-proof-strip .grid-3 > .card {
  border-top: 3px solid var(--color-accent);
}

.home-priority-strip {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.home-priority-strip h2 {
  color: var(--color-white);
  max-width: 620px;
}
.home-priority-strip p {
  color: rgba(255,255,255,0.82);
  max-width: 66ch;
}
.home-priority-strip__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.home-priority-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.home-priority-list a {
  display: grid;
  gap: 0.25rem;
  min-height: 100%;
  padding: 1rem;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.055);
  border-left: 4px solid var(--color-accent);
}
.home-priority-list a:hover {
  color: var(--color-white);
  transform: translateY(-2px);
  background: rgba(255,255,255,0.09);
}
.home-priority-list strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.home-priority-list span {
  color: rgba(255,255,255,0.78);
  font-size: 0.94rem;
  line-height: 1.55;
}

.blog-card--featured {
  border-top: 4px solid var(--color-accent);
}
.blog-index-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.blog-index-intro h2,
.blog-index-intro p {
  margin-bottom: 0;
}
.blog-index-grid .blog-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  min-height: 350px;
}
.blog-index-grid .blog-card--featured .card-img {
  height: 100%;
}
.blog-index-grid .blog-card--featured .card-img img {
  height: 100%;
  min-height: 350px;
  object-fit: cover;
}
.blog-index-grid .blog-card--featured .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.blog-index-grid .blog-card--horizontal {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
}
.blog-index-grid .blog-card--horizontal .card-img,
.blog-index-grid .blog-card--horizontal .card-img img {
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}
.blog-topic {
  width: max-content;
  max-width: 100%;
  margin-bottom: 0.55rem;
  color: var(--color-accent-dark);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}
.blog-card--featured .card-img img {
  object-position: center center;
}
.blog-index-grid > .blog-card:not(.blog-card--curated) {
  display: none;
}
.blog-guide-library {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  padding: clamp(1.75rem, 5vw, 3.5rem);
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.035) 0 36%, transparent 36% 100%),
    var(--color-primary);
}
.blog-guide-library__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.blog-guide-library__intro h2,
.blog-guide-library__intro p {
  margin-bottom: 0;
  color: var(--color-white);
}
.blog-guide-library__intro p {
  color: rgba(255,255,255,0.76);
}
.blog-guide-library .section-label {
  color: var(--color-accent);
}
.blog-guide-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  background: rgba(255,255,255,0.16);
}
.blog-guide-group {
  padding: clamp(1.35rem, 3.5vw, 2.25rem);
  background: var(--color-primary);
}
.blog-guide-group__number {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.blog-guide-group h3 {
  margin-bottom: 1rem;
  color: var(--color-white);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}
.blog-guide-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.blog-guide-list li {
  border-top: 1px solid rgba(255,255,255,0.12);
}
.blog-guide-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  color: rgba(255,255,255,0.82);
  font-size: 0.94rem;
  line-height: 1.4;
}
.blog-guide-list a:hover {
  padding-left: 0.25rem;
  color: var(--color-accent);
}
.blog-guide-list a span {
  flex: 0 0 auto;
  color: var(--color-accent);
}

.article-hero {
  min-height: clamp(300px, 34vw, 430px);
  padding: clamp(2rem, 5vw, 4rem) 0;
}
.hero.article-hero h1 {
  max-width: 840px;
  font-size: clamp(2rem, 3.25vw, 2.75rem);
  line-height: 1.08;
  text-transform: none;
}
.article-hero .lead {
  max-width: 720px;
}
.article-hero--light-right,
.article-hero--light-left {
  background: var(--color-bg-alt);
  color: var(--color-text);
}
.article-hero--light-right .hero-bg,
.article-hero--light-left .hero-bg,
.article-hero--frame .hero-bg {
  inset: 1.5rem 1.5rem 1.5rem auto;
  width: 42%;
  height: calc(100% - 3rem);
  min-width: 0;
  min-height: 0;
  border-radius: var(--radius-lg);
  opacity: 1;
  box-shadow: var(--shadow-md);
}
.article-hero--light-left .hero-bg {
  inset: 1.5rem auto 1.5rem 1.5rem;
}
.article-hero--light-right .container,
.article-hero--frame .container {
  padding-right: min(48%, 560px);
}
.article-hero--light-left .container {
  padding-left: min(48%, 560px);
}
.article-hero--light-right h1,
.article-hero--light-left h1 {
  color: var(--color-primary);
}
.article-hero--light-right .lead,
.article-hero--light-left .lead {
  color: var(--color-text-light);
}
.article-hero--light-right .breadcrumbs,
.article-hero--light-left .breadcrumbs,
.article-hero--light-right .breadcrumbs a,
.article-hero--light-left .breadcrumbs a,
.article-hero--light-right .article-meta,
.article-hero--light-left .article-meta {
  color: var(--color-text-muted);
}
.article-hero--frame {
  background:
    linear-gradient(135deg, var(--color-primary-dark), var(--color-secondary));
}
.article-hero--frame .hero-bg {
  width: 38%;
}
.article-hero--full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,24,33,0.92), rgba(17,24,33,0.5) 64%, rgba(17,24,33,0.2));
}
.article-hero--full .container {
  z-index: 3;
}
.article-hero--light-left + .blog-article-section .container {
  max-width: 1040px !important;
  margin-left: max(0px, calc((100vw - 1200px) / 2));
}
.article-hero--light-right + .blog-article-section .container {
  max-width: 980px !important;
  margin-right: max(0px, calc((100vw - 1200px) / 2));
}
.article-hero--frame + .blog-article-section .container {
  max-width: 920px !important;
}
.article-hero--light-left + .blog-article-section article > p:nth-of-type(2),
.article-hero--light-right + .blog-article-section article > p:nth-of-type(2) {
  font-size: 1.08rem;
  line-height: 1.75;
}

.blog-article-section {
  background: var(--color-white);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.article-content {
  max-width: 78ch;
}

.article-content > * + * {
  margin-top: 1rem;
}

.article-content h2,
.article-content h3 {
  margin-top: 2rem;
}

.article-content ul,
.article-content ol {
  list-style: disc;
  padding-left: 1.35rem;
}

.article-content li + li {
  margin-top: 0.5rem;
}

.article-callout {
  border-left: 5px solid var(--color-accent);
  background: var(--color-accent-light);
  padding: clamp(1rem, 2vw, 1.35rem);
  margin: 1.5rem 0;
}

.article-sidebar {
  position: sticky;
  top: 1rem;
}

.article-sidebar-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  padding: 1.25rem;
}

.article-sidebar-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 0.85rem 0 1.1rem;
}

.article-meta {
  color: rgba(255,255,255,0.78);
  font-size: var(--fs-small);
  margin-bottom: 0.5rem;
}

.article-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.article-link-row a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.8rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-link-row a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}
.hardscape-project-grid .card {
  border-top: 4px solid var(--color-accent);
}
.hardscape-project-grid .card-body {
  height: 100%;
}
.hardscape-project-grid p {
  margin-bottom: 0;
}
.hardscape-related-links {
  justify-content: center;
  margin-top: 2rem;
}
.related-next-steps {
  background:
    linear-gradient(180deg, var(--color-white), var(--color-bg-alt));
}
.related-next-steps .service-card {
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.related-next-steps .service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(251,122,56,0.55);
  box-shadow: var(--shadow-md);
}

.yard-priority-section {
  background:
    linear-gradient(180deg, var(--color-white), #fbfbfb);
}
.service-pathways,
.drainage-methods {
  display: grid;
  gap: 1rem;
}
.service-pathway,
.drainage-method {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) minmax(220px, 0.45fr);
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: center;
  padding: clamp(1.1rem, 2.6vw, 1.75rem);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-accent);
  box-shadow: 0 10px 24px rgba(26,34,47,0.07);
}
.service-pathway__number,
.drainage-method__label {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.service-pathway__number {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
}
.service-pathway h3,
.drainage-method h3 {
  margin-bottom: 0.45rem;
}
.service-pathway p,
.drainage-method p {
  max-width: 74ch;
  margin-bottom: 0;
}
.service-pathway__links {
  display: grid;
  gap: 0.55rem;
}
.service-pathway__links a {
  display: block;
  padding: 0.6rem 0.75rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.service-pathway__links a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}
.drainage-methods {
  margin-top: 1.5rem;
}
.drainage-method {
  grid-template-columns: minmax(120px, 0.26fr) minmax(0, 1fr);
  align-items: start;
}
.drainage-method__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.55rem 0.75rem;
  background: var(--color-accent-light);
  border: 1px solid rgba(251,122,56,0.25);
  color: var(--color-accent-dark);
  text-align: center;
}
.drainage-method--featured {
  background:
    linear-gradient(135deg, rgba(26,34,47,0.96), rgba(39,49,47,0.94)),
    var(--color-primary);
  border-color: rgba(251,122,56,0.55);
}
.drainage-method--featured h3,
.drainage-method--featured p {
  color: var(--color-white);
}
.drainage-method--featured a {
  color: var(--color-accent-light);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
h1 { font-size: var(--fs-h1); margin-bottom: 0.75rem; }
h2 { font-size: var(--fs-h2); margin-bottom: 0.5rem; }
h3 { font-size: var(--fs-h3); margin-bottom: 0.375rem; }
p { margin-bottom: 0.75rem; }
.lead { font-size: 1.125rem; color: var(--color-text-light); line-height: 1.7; }
.color-primary { color: var(--color-primary); }
.color-accent { color: var(--color-accent); }
.color-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}
.section-dark .section-label { color: var(--color-accent); }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--color-bg-darker);
  color: var(--color-text-on-dark);
  font-size: var(--fs-xs);
  padding: 0.5rem 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-bar a { color: var(--color-text-on-dark); }
.top-bar a:hover { color: var(--color-accent); }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 1rem; }
.top-bar-right a { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; }
.top-bar-right svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  background: var(--color-white);
  border-bottom: 2px solid var(--color-border);
  position: relative;
  z-index: 100;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.logo img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 0.125rem; }
.nav a {
  padding: 0.5rem 0.75rem;
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  display: inline-flex; align-items: center; gap: 0.25rem;
  min-height: 48px;
}
.nav a:hover, .nav a.active {
  background: var(--color-accent-light);
  color: var(--color-accent);
}
.nav-cta {
  background: var(--color-accent) !important;
  color: var(--color-white) !important;
  font-weight: 600 !important;
  border-radius: var(--radius) !important;
  padding: 0.625rem 1.25rem !important;
}
.nav-cta:hover { background: var(--color-accent-dark) !important; }
.header-phone {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  font-size: var(--fs-small);
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.header-phone:hover { color: var(--color-accent); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }

/* Nav Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  z-index: 100;
  padding: 0.5rem 0;
  flex-direction: column;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
  display: block;
  width: 100%;
  padding: 0.625rem 1rem;
  border-radius: 0;
  min-height: 44px;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--color-bg-alt); }
.dropdown-arrow { font-size: 0.65em; transition: transform var(--transition); }
.nav-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  position: absolute;
  transition: var(--transition);
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle.active span { background: transparent; }
.menu-toggle.active span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.active span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  font-size: var(--fs-xs);
  color: #999;
  margin-bottom: 0.75rem;
}
.breadcrumbs a { color: #ccc; }
.breadcrumbs a:hover { color: var(--color-accent); }
.breadcrumbs .current { color: #bbb; }
.hero .breadcrumbs { color: rgba(255,255,255,0.6); }
.hero .breadcrumbs a { color: rgba(255,255,255,0.8); }
.hero .breadcrumbs a:hover { color: var(--color-accent); }
.hero .breadcrumbs .current { color: rgba(255,255,255,0.5); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--transition);
  min-height: 48px;
  text-align: center;
}
.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn--primary:hover {
  background: var(--color-accent-dark);
  color: var(--color-white);
}
.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
}
.btn--outline-dark {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn--dark {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn--dark:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}
.btn--sm { padding: 0.5rem 1.25rem; font-size: var(--fs-small); }
.btn--lg { padding: 1rem 2.5rem; font-size: 1.125rem; }
.btn--full { width: 100%; }
.btn-group { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding: clamp(3rem, 8vw, 5rem) 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0.4;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-size: var(--fs-hero);
  color: var(--color-white);
  max-width: 720px;
  text-transform: uppercase;
}
.hero .lead { color: #ccc; max-width: 600px; margin-bottom: 1.5rem; font-size: 1.125rem; }
.hero .btn-group { margin-top: 1.25rem; }

/* Hero stats bar */
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}
.hero-stat { text-align: left; }
.hero-stat .stat-value { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--color-accent); }
.hero-stat .stat-label { font-size: var(--fs-xs); color: #aaa; text-transform: uppercase; letter-spacing: 0.08em; }

/* Inner page hero */
.hero-compact,
.hero--inner {
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.hero-compact h1,
.hero--inner h1 { margin-bottom: 0.5rem; }
.hero-compact .lead,
.hero--inner .lead { margin-bottom: 1rem; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.75rem 0;
}
.trust-bar .container {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
  text-align: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.trust-item svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
}
.card-body { padding: 1.25rem; }
.card-img {
  aspect-ratio: 16/10;
  background: var(--color-bg-alt);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card .card-body h3 { margin-bottom: 0.375rem; }
.service-card .card-body p { color: var(--color-text-light); font-size: var(--fs-small); margin-bottom: 0.625rem; }
.service-card .card-link {
  font-family: var(--font-heading);
  font-weight: 600; font-size: var(--fs-small);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.service-card .card-link:hover { gap: 0.6rem; }

/* ============================================================
   TWO-COLUMN LAYOUTS
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}
.split--reverse .split-img { order: -1; }
.split-content { max-width: 540px; }
.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   STATS / COUNTERS
   ============================================================ */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-box {
  text-align: center;
  padding: 1.5rem 2.5rem;
  border: 1px solid var(--color-border);
  flex: 1;
  min-width: 200px;
}
.stat-box .stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.1;
}
.stat-box .stat-label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}
.section-dark .stat-box { border-color: rgba(255,255,255,0.15); }
.section-dark .stat-box .stat-label { color: #aaa; }

/* ============================================================
   CHECKLIST (service details)
   ============================================================ */
.checklist { margin: 1rem 0; }
.checklist li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  color: var(--color-text);
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
}
.checklist li strong { font-weight: 700; color: var(--color-primary); }
.section-dark .checklist li { color: #ccc; }
.section-dark .checklist li strong { color: var(--color-white); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
}
.testimonial-stars { color: #f59e0b; font-size: 1.125rem; margin-bottom: 0.5rem; }
.testimonial-text { font-style: italic; color: var(--color-text-light); margin-bottom: 0.75rem; line-height: 1.7; }
.testimonial-author { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-small); text-transform: uppercase; }
.testimonial-meta { font-size: var(--fs-xs); color: var(--color-text-muted); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: left;
  cursor: pointer;
  min-height: 48px;
  gap: 1rem;
}
.faq-item__question:hover { color: var(--color-accent); }
.faq-item__icon {
  font-size: 1.25rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  line-height: 1;
  color: var(--color-accent);
}
.faq-item.active .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item__answer-inner {
  padding-bottom: 1rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 1rem; }
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.375rem;
  color: var(--color-primary);
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  font-size: var(--fs-body);
  transition: border-color var(--transition);
  min-height: 48px;
  background: var(--color-white);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--color-accent);
}
.form-textarea { min-height: 120px; resize: vertical; }
.contact-form {
  background: var(--color-bg-alt);
  color: var(--color-text);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
}
.thanks-msg {
  text-align: center;
  padding: 2rem;
}
.thanks-msg h2 { color: var(--color-accent); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  background: var(--color-bg-dark);
  color: var(--color-white);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  text-align: center;
  overflow: hidden;
}
.cta-section .cta-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { color: var(--color-white); }
.cta-section p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 1.25rem; }

/* ============================================================
   PORTFOLIO / GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.client-project-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.gallery-item.gallery-item--client-proof {
  aspect-ratio: 4 / 3;
  min-width: 0;
}
.gallery-item--client-proof img {
  object-position: center 58%;
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* ============================================================
   REVIEW AGGREGATE
   ============================================================ */
.review-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-accent-light);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-accent);
  margin-bottom: 2rem;
}
.review-summary .rating-big {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}
.review-summary .rating-stars { color: #f59e0b; font-size: 1.5rem; }
.review-summary .rating-count { font-size: var(--fs-small); color: var(--color-text-muted); }

/* ============================================================
   IMAGE PLACEHOLDER SYSTEM
   ============================================================ */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  font-size: var(--fs-small);
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 0;
}
.img-placeholder span { padding: 1rem; text-align: center; }
.img-real {
  opacity: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity 0.3s ease;
}
.img-real.loaded { opacity: 1; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-card .card-body { padding: 1.25rem; }
.blog-card .blog-date { font-size: var(--fs-xs); color: var(--color-text-muted); margin-bottom: 0.375rem; }
.blog-card h3 { font-size: var(--fs-h3); }
.blog-card h3 a { color: var(--color-primary); }
.blog-card h3 a:hover { color: var(--color-accent); }
.blog-card .blog-excerpt { font-size: var(--fs-small); color: var(--color-text-light); }

.article-content { max-width: 760px; margin: 0 auto; }
.article-content h2 { margin-top: 2rem; }
.article-content h3 { margin-top: 1.5rem; }
.article-content p { margin-bottom: 1rem; }
.article-content ul, .article-content ol { margin: 0.75rem 0 1rem 1.5rem; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 0.375rem; color: var(--color-text-light); }
.article-meta { font-size: var(--fs-small); color: var(--color-text-muted); margin-bottom: 1.5rem; }
.article-meta strong { color: var(--color-text); }
.article-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  margin-top: 2rem;
  border: 1px solid var(--color-border);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-secondary);
  color: #ccc;
  padding: 2.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 1.5rem;
}
.footer h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 0.625rem;
}
.footer__brand p { font-size: var(--fs-small); margin-bottom: 0.5rem; }
.footer__brand .logo img { height: 48px; margin-bottom: 0.75rem; filter: brightness(0) invert(1); }
.footer__social { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.footer__social a {
  display: flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  color: #ccc;
  transition: color var(--transition);
}
.footer__social a:hover { color: var(--color-accent); }
.footer__social svg { width: 20px; height: 20px; fill: currentColor; }
.footer ul li { margin-bottom: 0; }
.footer a {
  color: #ccc;
  font-size: var(--fs-small);
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}
.footer a:hover { color: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 1.5rem;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  color: #888;
}
.footer__legal { display: flex; gap: 1rem; }
.footer__legal a { font-size: var(--fs-xs); min-height: auto; }

/* --- SMS Consent (A2P Compliance) --- */
.sms-consent{margin:16px 0}
.sms-consent__label{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.5;color:var(--color-text-muted);cursor:pointer;margin-bottom:12px}
.sms-consent__label input[type="checkbox"]{margin-top:3px;flex-shrink:0;width:16px;height:16px;cursor:pointer;accent-color:var(--color-primary)}
.sms-consent__label a{color:var(--color-primary);text-decoration:underline}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-white); border-bottom: 2px solid var(--color-border); padding: 0.5rem 1rem; z-index: 10000; }
  .nav.open { display: flex; }
  .nav a { width: 100%; justify-content: flex-start; border-radius: 0; }
  .menu-toggle { display: flex; }
  .header-phone { display: none; }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    min-width: auto;
  }
  .nav-dropdown-menu a { padding: 0.5rem 0.75rem; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-img { order: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .home-service-grid { grid-template-columns: 1fr; }
  .home-priority-strip__grid,
  .home-priority-list,
  .route-note__links,
  .trust-rhythm,
  .service-checklist { grid-template-columns: 1fr; }
  .blog-index-intro,
  .blog-guide-library__intro,
  .blog-index-grid .blog-card--featured,
  .blog-index-grid .blog-card--horizontal,
  .blog-index-grid > .blog-card:nth-child(5) {
    grid-template-columns: 1fr;
  }
  .blog-guide-groups {
    grid-template-columns: 1fr;
  }
  .blog-index-grid .blog-card--featured .card-img img,
  .blog-index-grid .blog-card--horizontal .card-img img {
    min-height: 220px;
    max-height: 280px;
  }
  .article-hero--light-right,
  .article-hero--light-left,
  .article-hero--frame {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .article-hero--light-right .hero-bg,
  .article-hero--light-left .hero-bg,
  .article-hero--frame .hero-bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: 210px;
    min-height: 210px;
    border-radius: 0;
    box-shadow: none;
  }
  .article-hero--light-right .container,
  .article-hero--light-left .container,
  .article-hero--frame .container {
    padding: 1.5rem 1.25rem 2rem;
  }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .home-page .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .home-page .hero-stat { min-width: 0; }
  .home-page .hero-stat .stat-value { font-size: 1.75rem; }
  .home-page .hero-stat .stat-label { font-size: 0.7rem; line-height: 1.3; }
  .stats-bar { flex-direction: column; }
  .stat-box { border-bottom: 1px solid var(--color-border); }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar { display: none; }
}

@media (max-width: 480px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .client-project-proof { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }
}

/* ============================================================
   UTILITY — PHONE BAR (mobile sticky)
   ============================================================ */
.phone-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: var(--color-accent);
  color: var(--color-white);
  text-align: center;
  padding: 0.75rem;
  z-index: 10000;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.phone-bar a { color: var(--color-white); display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.phone-bar svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 768px) { .phone-bar { display: block; } body { padding-bottom: 56px; } }

@media (max-width: 768px) {
  body.home-page .hero .btn-group a[href^="tel:"] {
    display: none;
  }

  body.contact-page {
    padding-bottom: 0;
  }

  body.contact-page .phone-bar {
    display: none;
  }
}

/* ============================================================
   MISSING CLASS FIXES (QA 2026-04-25)
   Classes used in erosion-control.html, turf-softscapes.html,
   and other pages — aliases for existing design-system patterns.
   ============================================================ */

/* section--alt: alias for section-alt (double-dash BEM variant) */
.section--alt { background: var(--color-bg-alt); }

/* breadcrumb: alias for breadcrumbs (singular name used on some pages) */
.breadcrumb {
  font-size: var(--fs-xs);
  color: #999;
  margin-bottom: 0.75rem;
}
.breadcrumb a { color: #ccc; }
.breadcrumb a:hover { color: var(--color-accent); }
.hero .breadcrumb { color: rgba(255,255,255,0.6); }
.hero .breadcrumb a { color: rgba(255,255,255,0.8); }

/* content-block: prose container for long-form answer-first sections */
.content-block { max-width: 800px; }
.content-block p { margin-bottom: 0.75rem; }

/* split__content / split__image: BEM aliases for split-content / split-img */
.split__content { max-width: 540px; }
.split__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.split__image img { width: 100%; height: 100%; object-fit: cover; }

/* process-steps: ordered list used for numbered warning signs / steps */
.process-steps {
  margin: 1rem 0;
  counter-reset: proc-step;
  list-style: none;
}
.process-steps li {
  padding: 0.625rem 0 0.625rem 2.25rem;
  position: relative;
  color: var(--color-text);
  counter-increment: proc-step;
}
.process-steps li::before {
  content: counter(proc-step) ".";
  position: absolute;
  left: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-accent);
}
.process-steps li strong { font-weight: 700; color: var(--color-primary); }

/* process-grid / process-step / process-step__number: numbered process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
}
.process-step {
  padding: 1.25rem;
}
.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}
.process-step h3 { margin-bottom: 0.375rem; }
.process-step p { color: var(--color-text-light); font-size: var(--fs-small); margin-bottom: 0; }

/* comparison-table: wrapper for comparison/cost tables */
.comparison-table { overflow-x: auto; margin: 1rem 0; }
.comparison-table table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.comparison-table th {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.comparison-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--color-border); }
.comparison-table tr:hover { background: var(--color-bg-alt); }

/* stat / stat__number / stat__label: BEM aliases for stat-box / stat-value / stat-label */
.stat {
  text-align: center;
  padding: 1.5rem 2.5rem;
  border: 1px solid var(--color-border);
  flex: 1;
  min-width: 200px;
}
.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.1;
  display: block;
}
.stat__label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
  display: block;
}
.section-dark .stat { border-color: rgba(255,255,255,0.15); }
.section-dark .stat__label { color: #aaa; }

/* cta-section__overlay / cta-section__content: layered CTA with background image */
.cta-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 34, 47, 0.85);
  z-index: 1;
}
.cta-section__content {
  position: relative;
  z-index: 2;
}

/* card--service / card__body: linked service card variant */
.card--service { display: block; text-decoration: none; color: inherit; }
.card--service img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
  height: auto;
}
.card--service:hover .card-link { gap: 0.6rem; }
.card__body { padding: 1.25rem; }
.card__body h3 { margin-bottom: 0.375rem; }
.card__body p { color: var(--color-text-light); font-size: var(--fs-small); margin-bottom: 0.625rem; }

/* faq-list: wrapper for FAQ accordions */
.faq-list { max-width: 800px; }

/* grid: bare grid class (some pages use "grid grid-2" with both) */
.grid { display: grid; gap: var(--gap); }

/* --- Address Autocomplete Dropdown --- */
.address-dropdown{position:absolute;top:100%;left:0;right:0;z-index:1000;background:#fff;border:1px solid #ddd;border-top:none;border-radius:0 0 8px 8px;box-shadow:0 4px 12px rgba(0,0,0,.1);list-style:none;margin:0;padding:0;max-height:240px;overflow-y:auto}
.address-dropdown__item{padding:10px 14px;cursor:pointer;font-size:14px;line-height:1.4;border-bottom:1px solid #f0f0f0;transition:background .15s}
.address-dropdown__item:last-child{border-bottom:none}
.address-dropdown__secondary{color:#888;font-size:13px}
.address-dropdown__item--active,.address-dropdown__item:hover{background:var(--color-primary-light,#f0f7ff)}


.hero-image-first {
  min-height: clamp(320px, 42vw, 520px);
  display: flex;
  align-items: center;
}
.hero-compact.hero-image-first,
.hero--inner.hero-image-first {
  min-height: clamp(240px, 28vw, 360px);
}
.hero-full-image {
  min-width: 100%;
  min-height: 100%;
}
.home-estimate-panel {
  width: min(760px, 100%);
  margin: 1.5rem auto 0;
  background: rgba(255,255,255,0.96);
  color: var(--color-text);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
}
.home-early-estimate {
  text-align: left;
}
.home-early-estimate > .container {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(480px, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.home-early-estimate__intro h2 {
  color: var(--color-white);
}
.home-early-estimate__intro p {
  color: rgba(255,255,255,0.84);
  max-width: 56ch;
}
.home-early-estimate__phone {
  font-weight: 700;
}
.home-early-estimate__phone a {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.home-early-estimate .home-estimate-panel {
  margin: 0;
}
.contact-form--compact .grid-2 { gap: 0.75rem; }
.contact-form--compact .form-group { margin-bottom: 0.75rem; }
.contact-hero.hero-image-first,
.contact-hero.hero-compact.hero-image-first,
.contact-hero.hero--inner.hero-image-first {
  min-height: 0;
  padding: clamp(1rem, 2vw, 1.625rem) 0;
}
.contact-hero .split {
  grid-template-columns: minmax(0, 0.68fr) minmax(360px, 420px);
  align-items: start;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.contact-hero h1 {
  font-size: clamp(2rem, 3.2vw, 2.55rem);
  max-width: 540px;
}
.contact-hero .lead {
  font-size: 1rem;
  max-width: 500px;
  margin-bottom: 0;
}
.contact-hero .breadcrumbs { margin-bottom: 0.35rem; }
.contact-hero .section-label { margin-bottom: 0.15rem; }
.contact-hero .contact-form {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  padding: 1rem;
}
.contact-hero .contact-form__row { gap: 0.625rem; }
.contact-hero .form-group { margin-bottom: 0.625rem; }
.contact-hero .form-label {
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}
.contact-hero .form-input,
.contact-hero .form-textarea,
.contact-hero .form-select {
  min-height: 38px;
  padding: 0.4rem 0.65rem;
}
.contact-hero .form-textarea { min-height: 54px; }
.contact-hero .sms-consent { margin: 0.75rem 0; }
.contact-hero .sms-consent__label {
  gap: 8px;
  font-size: 12px;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}
.contact-hero .btn {
  min-height: 42px;
  padding: 0.55rem 1.1rem;
}
@media (max-width: 768px) {
  .service-pathway,
  .drainage-method {
    grid-template-columns: 1fr;
  }
  .service-pathway__links {
    grid-template-columns: 1fr;
  }
  .service-pathway__number {
    font-size: 1.7rem;
  }
  .drainage-method__label {
    width: max-content;
    max-width: 100%;
    min-height: 0;
  }
  .hero-image-first { min-height: 280px; }
  .hero-compact.hero-image-first,
  .hero--inner.hero-image-first { min-height: 220px; }
  .home-estimate-panel { padding: 1rem; }
  .home-early-estimate > .container {
    grid-template-columns: 1fr;
  }
  .contact-hero.hero-image-first,
  .contact-hero.hero-compact.hero-image-first,
  .contact-hero.hero--inner.hero-image-first {
    min-height: 0;
    padding: 1.5rem 0;
  }
  .contact-hero .split {
    grid-template-columns: 1fr;
  }
  .contact-hero .contact-form {
    max-width: none;
    margin-left: 0;
  }
  .contact-hero .contact-form__row { grid-template-columns: 1fr; }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
  .article-link-row a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Drainage advice has no unrelated photo column. */
.drainage-diagnostic-copy { max-width: 52rem; margin-inline: auto; }

/* Keep the turf project story readable without an unrelated photo. */
.turf-project-story { max-width: 52rem; margin-inline: auto; }
