/* ==========================================================================
   Hossier — Global Stylesheet
   1. Tokens   2. Reset   3. Base   4. Typography
   5. Layout utilities   6. Components   7. Sections
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Colors */
  --color-black:       #0a0a0a; /* main dark / primary (neutral, no green tone) */
  --color-accent:      #dda745; /* accent / highlights */
  --color-body:        #14140a; /* page background */
  --color-white:       #fbfaf8; /* text on dark / "whites" */
  --color-light-alt:   #efeae1; /* slightly darker off-white, for adjacent light sections */
  --color-card-hover:  #161616; /* card hover state */

  /* Borders — one consistent style across the whole site */
  --border-width:        2px;
  --border-color:        rgba(221, 167, 69, 0.3); /* gold tint, reads on light & dark */
  --border-color-hover:  var(--color-accent);     /* full accent on hover */
  --border-radius:       2px;
  --border:              var(--border-width) solid var(--border-color);

  /* Typography */
  --font-main:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-small: 14px; /* small body text */

  /* Spacing / layout */
  --section-pad-y:    5rem;
  --section-pad-x:    2rem;
  --container-width:  1120px;
  --container-narrow: 820px;

  /* Effects */
  --overlay-gradient: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.55) 0%,
    rgba(10, 10, 10, 0.7) 55%,
    rgba(10, 10, 10, 0.95) 100%
  );
}

/* 2. Reset ----------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 3. Base ------------------------------------------------------------------ */
body {
  font-family: var(--font-main);
  background: var(--color-body);
  color: var(--color-white);
  min-height: 100vh;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: var(--color-accent); text-decoration: none; }

/* 4. Typography ------------------------------------------------------------ */
/* Global heading scale — used directly on h1–h4 tags everywhere. */
h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}
h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 700;
}
h4 {
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 600;
}
p { font-size: 1rem; line-height: 1.6; }
/* Consistent spacing below every heading (heading → subheading gap) */
h1, h2, h3, h4 { margin-bottom: 20px; }

/* Text helpers */
.accent     { color: var(--color-accent); }
/* Eyebrow / superheading — small accent label above a section title */
.eyebrow {
  display: block;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.lead       { font-size: 1.2rem; line-height: 1.55; max-width: 42rem; opacity: 0.9; }
.intro      { font-size: 1.1rem; line-height: 1.65; opacity: 0.85; }
.body-small { font-size: var(--font-small); }
.nowrap     { white-space: nowrap; }

/* 5. Layout utilities ------------------------------------------------------ */
.section { padding: var(--section-pad-y) var(--section-pad-x); }
.section--flush  { padding: 0; }
.section--light  { background: var(--color-white); color: var(--color-black); }
.section--light-alt { background: var(--color-light-alt); color: var(--color-black); }
.section--dark   { background: var(--color-black);  color: var(--color-white); }
.section--center { text-align: center; }
.section--right  { text-align: right; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
}
.container--narrow { max-width: var(--container-narrow); }

.row { display: grid; gap: 3.5rem; align-items: center; }
.row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 768px) {
  .row--2 { grid-template-columns: 1fr; gap: 2rem; }
}

.img-fluid { width: 100%; height: auto; }

/* 6. Components ------------------------------------------------------------ */

/* Button / call-to-action */
.btn {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-black);
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.15s ease, opacity 0.2s ease;
}
.btn:hover { transform: translateY(-2px); opacity: 0.92; }

/* Navbar: transparent over the hero, solid on scroll */
#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.54rem 2rem;
  background: transparent;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
#site-header.scrolled {
  background: var(--color-black);
  padding-top: 0.99rem;
  padding-bottom: 0.99rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 86px; min-width: 158px; width: auto; object-fit: contain; display: block; }
#site-header.scrolled .logo img { height: 73px; transition: height 0.3s ease; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a {
  color: var(--color-white);
  opacity: 0.85;
  font-size: 0.95rem;
  font-weight: 700;
  transition: opacity 0.2s ease;
}
.nav a:hover { opacity: 1; }
.caret { font-size: 0.7em; opacity: 0.8; }
/* Light-hero pages (e.g. Contact, Projects): dark nav text while the bar is
   transparent at the top. Once scrolled, .scrolled restores white-on-black. */
#site-header.header--light:not(.scrolled) .nav > a,
#site-header.header--light:not(.scrolled) .nav-link {
  color: var(--color-black);
}

/* Services dropdown */
.nav-item.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  margin-top: 0.6rem;
  padding: 0.4rem 0;
  background: var(--color-black);
  border: var(--border);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.nav-item.has-dropdown:hover > .dropdown,
.nav-item.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.92rem;
  white-space: nowrap;
}

/* Nested submenu (e.g. Drainage Solutions → its sub-pages) */
.dropdown .has-submenu { position: relative; }
.dropdown .has-submenu > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.dropdown .submenu {
  top: -0.4rem;          /* align with parent item, accounting for dropdown padding */
  left: auto;
  right: 100%;           /* open to the LEFT so it stays within the screen */
  margin-top: 0;
  margin-right: 0.4rem;
}
.dropdown .has-submenu:hover > .submenu,
.dropdown .has-submenu:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hamburger toggle — hidden on desktop, shown on tablet/mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 9px 8px;
  margin-left: 1rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 60;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--color-white);
  transition: transform 0.3s ease, opacity 0.2s ease;
}
/* Light-hero pages: dark bars while the bar is transparent at the top */
#site-header.header--light:not(.scrolled) .nav-toggle-bar { background: var(--color-black); }
/* Animate the three bars into an X when the menu is open */
#site-header.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#site-header.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
#site-header.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Tablet & mobile: hamburger + classic full-width dropdown panel */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  /* The nav becomes a panel that drops down full-width under the header */
  .nav {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;          /* full-bleed regardless of header padding */
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.25rem 0 0.5rem;
    background: var(--color-black);
    border-top: var(--border);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.45);
    max-height: 0;               /* collapsed by default */
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease, visibility 0.2s ease;
  }
  #site-header.nav-open .nav {
    max-height: 85vh;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }

  /* Every link is a full-width row, always light on the dark panel */
  .nav a,
  #site-header.header--light:not(.scrolled) .nav > a,
  #site-header.header--light:not(.scrolled) .nav-link {
    color: var(--color-white);
    opacity: 0.95;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }
  .nav > a,
  .nav > .nav-item > .nav-link { border-top: 1px solid rgba(255, 255, 255, 0.07); }
  .nav .has-dropdown > .nav-link,
  .nav .has-submenu > a { display: flex; align-items: center; justify-content: space-between; }

  /* Dropdowns turn into inline accordions */
  .nav-item.has-dropdown,
  .dropdown .has-submenu { position: static; }
  .dropdown,
  .dropdown .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
    max-height: 0;               /* collapsed until parent gets .open */
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-item.has-dropdown.open > .dropdown { max-height: 800px; }
  .has-submenu.open > .submenu { max-height: 500px; }
  .dropdown a { padding-left: 2.5rem; font-size: 0.95rem; white-space: normal; }
  .dropdown .submenu a { padding-left: 3.5rem; }

  /* Caret rotates to indicate the open state */
  .nav .caret { transition: transform 0.25s ease; }
  .nav-item.has-dropdown.open > .nav-link .caret { transform: rotate(180deg); }
  .has-submenu.open > a .caret { transform: rotate(90deg); }
}

/* 7. Sections -------------------------------------------------------------- */

/* Hero */
.hero {
  position: relative;
  min-height: 85vh; /* shorter than full screen so the next section peeks into view */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  padding-top: 6rem; /* clears the fixed navbar with breathing room below it */
  padding-bottom: 1.6rem; /* 20% less than the other sides */
  overflow: hidden;
}
/* Reusable background photo + dark overlay (hero, banner, …) */
.bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.bg-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-gradient);
  z-index: -1;
}
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 2rem; }
@media (min-width: 768px) {
  .hero h1 { padding-inline: 15%; }
}

/* Banner — call-to-action over a photo, same overlay gradient as the hero */
.banner {
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem;
  text-align: center;
}
.banner h2 { margin-bottom: 1.25rem; }
.banner .intro {
  max-width: 640px;
  margin: 0 auto 2rem;
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: var(--border);
}
.btn--outline:hover {
  border-color: var(--border-color-hover);
  color: var(--color-accent);
}
/* Outline button needs dark text on light sections (e.g. service-area hero) */
.section--light .btn--outline { color: var(--color-black); }
/* Left-align the call/text buttons inside the two-column service heroes */
.svc-intro__copy .btn-group { justify-content: flex-start; }

/* Services — full-bleed cards touching, separated by hairline dividers */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;                 /* mobile: stacked */
  gap: var(--border-width);
  background: var(--border-color);            /* shows through the gaps as dividers */
  border: var(--border);                      /* lines around the whole group */
}
@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(5, 1fr); } /* desktop: 5 in a row */
}
.card {
  position: relative;
  display: block;
  color: inherit;                             /* cards are links — keep text color, not link gold */
  background: var(--color-black);
  padding: 1.925rem 1.75rem;                  /* top/bottom 10% larger than sides */
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  background: var(--color-card-hover);
  /* accent ring fills the surrounding gaps so the whole card outline turns accent */
  box-shadow: 0 0 0 var(--border-width) var(--border-color-hover);
  z-index: 1;
}
/* Card image — bleeds to the card edges, sits above the title */
.card-img {
  margin: -1.925rem -1.75rem 1.5rem;   /* cancel card padding so the image is full-bleed */
  aspect-ratio: 16 / 10;
  background: var(--border-color);      /* placeholder fill until a real image is set */
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card h3 { margin-bottom: 0.75rem; }
.card p {
  opacity: 0.7;
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
}
.card ul { list-style: none; }
.card li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  opacity: 0.85;
  line-height: 1.45;
}
.card li:last-child { margin-bottom: 0; }
.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* Service page intro — left-aligned copy + contact form column */
.svc-intro {
  position: relative;
  overflow: hidden;
  /* transparent so the bg-photo (negative z-index) shows through,
     same as the homepage hero; section--dark still gives white text */
  background: transparent;
  /* extra top padding so content clears the fixed header */
  padding-top: calc(var(--section-pad-y) + 4.95rem);
}
.svc-intro .row { align-items: start; }
#culvert-problems .row,
#surface-problems .row,
#tile-problems .row { align-items: start; }
/* More breathing room between the paragraph and the bullet list in warning sections */
#warning-signs .intro { margin-bottom: 1.75rem; }
.svc-intro__copy { max-width: 90%; }
.svc-intro__copy h1 { margin-bottom: 1.25rem; }
.svc-intro__copy .lead { margin-bottom: 2rem; max-width: none; }
.svc-intro__form iframe { display: block; width: 100%; }

/* Page hero — centered title section that clears the fixed header */
#about-hero { padding-top: calc(var(--section-pad-y) + 4.95rem); }

/* Projects gallery */
#projects-hero { padding-top: calc(var(--section-pad-y) + 4.95rem); padding-bottom: 0; }
#projects-hero .intro { max-width: 760px; margin-inline: auto; }
#project-gallery { padding-top: 100px; }
.masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .masonry { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .masonry { grid-template-columns: 1fr; } }
.masonry img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: var(--border-radius);
}

/* FAQ hub page */
#faq-page { padding-top: calc(var(--section-pad-y) + 4.95rem); }
#faq-page .faq-intro { text-align: center; margin-bottom: 1rem; }
#faq-page .faq-intro .intro { max-width: 640px; margin: 0 auto; }
#faq-page .faq-group { margin-top: 3rem; }
#faq-page .faq-list { margin-top: 1rem; }

/* 404 page hero */
#notfound-hero { padding-top: calc(var(--section-pad-y) + 5.5rem); padding-bottom: calc(var(--section-pad-y) + 2rem); }
#notfound-hero .intro { max-width: 560px; margin: 0 auto 2rem; }

/* Service Area page hero (same layout as Projects hero) */
#service-area-hero { padding-top: calc(var(--section-pad-y) + 4.95rem); }
#service-area-hero .intro { max-width: 760px; margin: 0 auto 2rem; }
/* Reserved map space */
#service-map { padding-top: 0; }
.map-placeholder {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder img {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: var(--border-radius);
}
/* Home base highlight */
.home-base {
  max-width: 720px;
  margin: 0 auto 3rem;
  padding: 1.5rem 2rem;
  border: var(--border);
  border-radius: var(--border-radius);
}
.home-base h3 { margin-bottom: 0.4rem; color: var(--color-accent); }
.home-base p { opacity: 0.85; }
/* City boxes (local-page entry points on the Service Area page) */
.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem auto 0;
  text-align: left;
}
@media (max-width: 900px) { .city-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .city-grid { grid-template-columns: 1fr; } }
.city-box {
  border: var(--border);
  border-radius: var(--border-radius);
  padding: 1.1rem 1.25rem;
}
.city-box h3 {
  margin-bottom: 0.4rem;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-black);
}
.city-box ul { list-style: none; margin: 0; }
.city-box li { margin-bottom: 0.3rem; }
.city-box li:last-child { margin-bottom: 0; }
.city-box a { font-size: 14px; color: var(--color-black); }
.city-box a:hover { color: var(--color-accent); }
/* Counties section heading spacing */
#coverage h2 { margin-top: 50px; }
/* Counties grid */
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.75rem;
  margin-top: 2.5rem;
  text-align: left;
}
@media (max-width: 900px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .area-grid { grid-template-columns: 1fr; } }
.area-county h3 { margin-bottom: 0.35rem; font-size: 1.1rem; }
.area-county p { opacity: 0.75; font-size: 0.95rem; line-height: 1.65; }

/* Legal pages (privacy, terms, cookies) — simple readable layout */
.legal { padding-top: calc(var(--section-pad-y) + 4.95rem); }
.legal h1 { margin-bottom: 0.5rem; }
.legal .legal-updated { opacity: 0.6; font-size: 0.95rem; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2.5rem; }
.legal p { margin-bottom: 1rem; opacity: 0.85; line-height: 1.7; }
.legal ul { margin: 0 0 1rem 1.25rem; }
.legal li { margin-bottom: 0.5rem; opacity: 0.85; line-height: 1.6; }
.legal address { font-style: normal; opacity: 0.85; line-height: 1.8; }

/* Contact page */
#contact-intro { padding-top: calc(var(--section-pad-y) + 4.95rem); }
#contact-intro .intro { max-width: 640px; }
.contact-grid { align-items: start; margin-top: 2.5rem; }
.contact-form { width: 100%; }
.contact-form iframe { display: block; width: 100%; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-detail h4 { margin-bottom: 0.25rem; color: var(--color-accent); }
.contact-detail p { line-height: 1.6; }
/* Owner statement — darker panel under the heading */
.about-statement {
  max-width: 850px;
  margin: 2.5rem auto 0;
  padding: 2.5rem;
  background: #050505;
  border-radius: var(--border-radius);
  text-align: center;
}
.about-statement p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
  opacity: 0.85;
}
.about-statement .about-signature {
  margin-bottom: 0;
  margin-top: 1.75rem;
  color: var(--color-accent);
  font-weight: 600;
  opacity: 1;
}

/* Icon highlights — 4 borderless boxes, icon above each title */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
  text-align: center;
}
@media (max-width: 900px) { .icon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .icon-grid { grid-template-columns: 1fr; } }
.icon-box svg {
  width: 38px;
  height: 38px;
  margin: 0 auto 1rem;
  display: block;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-box h3 { margin-bottom: 0.6rem; }
.icon-box p { opacity: 0.75; font-size: 0.98rem; }

/* About / Hire Travis */
.about h2 { margin-bottom: 1.25rem; }
.about .intro { margin-bottom: 2rem; }

/* Service-detail bullet list (accent dots), sits between intro and button */
.svc-list { list-style: none; margin-bottom: 2rem; }
.svc-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.7rem;
  line-height: 1.5;
  opacity: 0.85;
}
.svc-list li:last-child { margin-bottom: 0; }
/* Icon variant — replaces the dot with an inline icon */
.svc-list--icons li { display: flex; align-items: flex-start; gap: 0.75rem; padding-left: 0; }
.svc-list--icons li::before { display: none; }
.svc-list--icons svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* Linkable sub-service cards (work on light or dark sections) */
.link-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  text-align: left;
}
@media (max-width: 900px) {
  .link-card-grid { grid-template-columns: 1fr; }
}
#durability .intro,
#grade-matters .intro,
#equipment-matters .intro,
#skid-steer-clearing .intro { max-width: 850px; }
.link-card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .link-card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .link-card-grid--4 { grid-template-columns: 1fr; }
}
.link-card {
  display: block;
  border: var(--border);
  border-radius: var(--border-radius);
  padding: 1.75rem;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.link-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10, 10, 10, 0.08);
}
.link-card h3 { margin-bottom: 0.6rem; }
.link-card p { opacity: 0.75; font-size: 0.98rem; }
/* "See More" cue inside clickable cards */
.card-more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Generic image placeholder (reserved space before a real image is set) */
.img-placeholder {
  aspect-ratio: 4 / 3;
  width: 100%;
  background: var(--border-color);
  border-radius: var(--border-radius);
}

/* Breadcrumbs */
.breadcrumb { font-size: 0.85rem; margin-bottom: 1.25rem; opacity: 0.9; }
.breadcrumb a { color: var(--color-accent); }
.breadcrumb a:hover { opacity: 0.85; }
.breadcrumb span { opacity: 0.7; }

/* Related-services links block */
.related-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.related-links a { color: var(--color-accent); font-weight: 600; }

/* Small contextual service-area note (on dark hero) */
.svc-note { margin-top: 1.25rem; font-size: 0.95rem; opacity: 0.9; }
.svc-note a { color: var(--color-accent); font-weight: 600; }

/* Service-area / coverage copy spacing */
.coverage h4 { margin-top: 1.5rem; margin-bottom: 0.35rem; color: var(--color-accent); }
.coverage p { margin-bottom: 0.75rem; }
.coverage p:last-child { margin-bottom: 0; }

/* Process timeline — 3 horizontal steps, numbered icon nodes, no card chrome */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}
@media (max-width: 768px) {
  .timeline { grid-template-columns: 1fr; gap: 3rem; }
}
.timeline-step { position: relative; text-align: center; }
.step-node {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border);
  border-radius: 50%;
  background: var(--color-black);
}
.step-node svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-white);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step-num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-black);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
}
.step-node .step-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}
.timeline-step h3 { margin-bottom: 0.6rem; }
.timeline-step p { opacity: 0.75; font-size: 0.98rem; max-width: 34ch; margin: 0 auto; }
/* connector line between the numbered nodes (desktop only) */
@media (min-width: 769px) {
  .timeline-step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 35px;
    left: calc(50% + 44px);
    width: calc(100% + 2.5rem - 88px);
    height: 2px;
    background: var(--border-color);
    z-index: 0;
  }
}

/* FAQ accordions — native <details>, global border style */
.faq-list {
  max-width: var(--container-narrow);
  margin: 3rem auto 0;
  text-align: left;
}
.faq-item {
  border: var(--border);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  transition: border-color 0.2s ease;
}
.faq-item:last-child { margin-bottom: 0; }
.faq-item:hover,
.faq-item[open] { border-color: var(--border-color-hover); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 600;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--color-accent);
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 400;
}
.faq-item[open] summary::after { content: "\2212"; } /* en-dash minus */
.faq-item p {
  margin: 0;
  padding: 0 1.4rem 1.3rem;
  opacity: 0.8;
  line-height: 1.6;
}

/* Why / checklist */
.why h2 { margin-bottom: 1.25rem; }
.why .intro { margin-bottom: 2.5rem; }
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  border: var(--border);
  border-radius: var(--border-radius);
  padding: 1rem 1.25rem;
  transition: border-color 0.2s ease;
}
.check-item:hover { border-color: var(--border-color-hover); }
.check-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.check-item span { font-size: 1.02rem; line-height: 1.5; opacity: 0.85; }

/* Features — "What sets us apart": 6 cards in a 3-column grid */
.features h2 { margin-bottom: 20px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  text-align: left;
}
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature-card {
  border: var(--border);
  border-radius: var(--border-radius);
  padding: 1.75rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.feature-card:hover {
  border-color: var(--border-color-hover);
  background: var(--color-card-hover);
}
.feature-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 0.9rem;
  stroke: var(--color-white);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 { margin-bottom: 0.6rem; }
.feature-card p { opacity: 0.75; font-size: 0.98rem; }

/* Image gallery slider (driveway photos) — all slides identical height, cropped */
.gallery .slide {
  padding: 0;
  aspect-ratio: 4 / 3;
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
}

/* Recent projects: one titled gallery per project, stacked and centered */
#recent-projects .intro { margin-bottom: 2.75rem; }
.project-block { max-width: 760px; margin: 0 auto 3rem; }
.project-block:last-child { margin-bottom: 0; }
.project-block h3 { margin-bottom: 1.1rem; color: var(--color-accent); }

/* Testimonials slider */
.slider { overflow: hidden; }
.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}
.slide {
  min-width: 100%;
  padding: 0 1rem;
}
.slide .quote {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.slide .attribution {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--color-accent);
}
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.slider-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  line-height: 1;
  background: transparent;
  color: var(--color-white);
  border: var(--border);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.slider-arrow:hover {
  border-color: var(--border-color-hover);
  color: var(--color-accent);
}
/* On light sections the white chevrons/dots would vanish — darken them */
.section--light .slider-arrow,
.section--light-alt .slider-arrow {
  color: var(--color-black);
  border-color: var(--color-black);
}
.section--light .dot,
.section--light-alt .dot { background: rgba(10, 10, 10, 0.45); }
.slider-dots { display: flex; gap: 0.5rem; }
.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(251, 250, 248, 0.3);
  cursor: pointer;
  transition: background 0.2s ease;
}
.dot.active { background: var(--color-accent); }

/* Footer */
.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 4rem 2rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer h4 { margin-bottom: 1rem; }
.footer-logo img { height: 64px; width: auto; display: block; }
.footer-brand p {
  margin-top: 1rem;
  opacity: 0.7;
  line-height: 1.6;
  max-width: 28ch;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: var(--color-white);
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.footer-col a:hover { opacity: 1; color: var(--color-accent); }
.footer address {
  font-style: normal;
  line-height: 1.9;
  opacity: 0.85;
}
.footer .hours li { opacity: 0.75; }
.social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: var(--border);
  border-radius: var(--border-radius);
  color: var(--color-white);
  opacity: 1;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.social a:hover { border-color: var(--border-color-hover); color: var(--color-accent); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(251, 250, 248, 0.12);
  font-size: 0.85rem;
}
.footer-bottom p { opacity: 0.6; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a {
  color: var(--color-white);
  opacity: 0.75;
  transition: color 0.2s ease;
}
.footer-legal a:hover { color: var(--color-accent); }
