/* Shared presentation for project portfolio and local case-study pages */
.local-hero {
  min-height: 480px;
  display: grid;
  position: relative;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 24%, rgba(240, 169, 0, .22), transparent 32%),
    linear-gradient(120deg, #05080a 10%, #111820 72%, #05080a);
}
.local-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .25), transparent 65%);
}
.local-hero .container {
  position: relative;
  z-index: 1;
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
}
.local-hero h1 {
  max-width: 1080px;
  margin: .18em 0;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: .94;
  text-transform: uppercase;
}
.local-hero p:not(.eyebrow) {
  max-width: 820px;
  margin: 0 0 24px;
  color: #e6e9ec;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}
.breadcrumbs {
  margin-bottom: 22px;
  color: #cfd4d8;
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}
.breadcrumbs a { color: var(--gold-2); }

.local-content {
  padding: clamp(58px, 7vw, 90px) 0;
  color: #17191c;
  background: #fff;
}
.local-content h2 {
  margin: 1.35em 0 .55em;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
  text-transform: uppercase;
}
.local-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 42px;
}
.local-grid article {
  padding: clamp(24px, 3vw, 34px);
  background: #f3f4f5;
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(5, 8, 11, .07);
}
.local-grid article h2 { margin-top: 0; }
.local-content ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
}
.local-content li {
  position: relative;
  padding-left: 26px;
}
.local-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #a86500;
  font-weight: 900;
}

.local-content .gallery-intro {
  max-width: 780px;
  margin: 0 0 25px;
  color: #555b61;
  text-align: left;
}
.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 22px 0 52px;
}
.project-gallery figure {
  min-width: 0;
  display: flex;
  margin: 0;
  overflow: hidden;
  flex-direction: column;
  background: #0d1115;
  border: 1px solid #252c33;
  border-radius: 9px;
  box-shadow: 0 16px 34px rgba(5, 8, 11, .16);
}
.project-gallery img {
  width: 100%;
  height: clamp(230px, 25vw, 350px);
  object-fit: cover;
  background: #090b0d;
}
.project-gallery figcaption {
  flex: 1;
  padding: 15px 17px;
  color: #f4f5f6;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.45;
  text-transform: uppercase;
  border-top: 3px solid var(--gold);
}

.local-form {
  padding: clamp(58px, 7vw, 88px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 15% 0%, rgba(240, 169, 0, .14), transparent 34%),
    #0c1014;
}
.local-form h2 {
  margin: 0 0 24px;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
  text-transform: uppercase;
}
.local-form .estimate-form {
  max-width: 920px;
  color: #17191c;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 22px 52px rgba(0, 0, 0, .28);
}

.seo-section {
  padding: clamp(58px, 7vw, 88px) 0;
  background: #f4f3ef;
}
.seo-city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.seo-city-card {
  padding: 26px;
  background: #fff;
  border: 1px solid #dadddf;
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(5, 8, 11, .07);
}
.seo-city-card h2 {
  margin: 7px 0 12px;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.85rem;
  line-height: 1.05;
  text-transform: uppercase;
}
.seo-text-link {
  display: inline-block;
  margin-top: 10px;
  color: #945d00;
  font-weight: 900;
}
.seo-cta {
  padding: 64px 0;
  color: #fff;
  text-align: center;
  background: #080b0e;
}
.seo-cta h2 {
  margin: 0 0 10px;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: .96;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .local-grid,
  .seo-city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .local-hero { min-height: 410px; }
  .local-hero h1 { font-size: clamp(2.8rem, 14vw, 4.6rem); }
  .local-grid,
  .project-gallery,
  .seo-city-grid,
  .local-content ul { grid-template-columns: 1fr; }
  .project-gallery img { height: clamp(240px, 76vw, 360px); }
}
