:root {
  --gold: #c99318;
  --gold-dark: #a8750f;
  --black: #111111;
  --text: #202020;
  --muted: #606060;
  --light: #f5f5f3;
  --line: #e0e0dd;
  --white: #ffffff;
  --max: 1180px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: clip;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  margin: 0;
  padding: 0;
  width: 100%;
  position: relative;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────── */

h1, h2, h3,
.oswald {
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(38px, 4.8vw, 64px);
  color: var(--black);
}

h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  color: var(--black);
}

h3 {
  font-size: 20px;
  color: var(--black);
}

.kicker {
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}

.kicker::before,
.kicker::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.eyebrow {
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}

.gold-bar {
  width: 52px;
  height: 4px;
  background: var(--gold);
  margin-bottom: 22px;
}

/* ── TRUST BAR ───────────────────────────────────────────── */

.trust-bar {
  background: #181512;
  border-bottom: 2px solid #1e1a13;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0;
}

.trust-bar-inner::-webkit-scrollbar {
  display: none;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-item span {
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,.68);
}

.trust-icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.trust-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* ── BUTTONS ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 28px;
  height: 50px;
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
}

/* ── BUTTON ICONS ────────────────────────────────────────── */

.btn-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}

/* ── STICKY CALL BUTTON (mobile/tablet only) ─────────────── */

.sticky-call {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 150;
  height: 50px;
  width: auto;
  padding: 0 18px;
  gap: 9px;
  border-radius: 50px;
  background: #1e1609;
  border: 1.5px solid rgba(201,147,24,.4);
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 22px rgba(0,0,0,.42);
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
  text-decoration: none;
}

.sticky-call:hover {
  background: #2c2008;
  box-shadow: 0 6px 28px rgba(0,0,0,.50);
  transform: scale(1.04);
}

.sticky-call-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.sticky-call-label {
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

@media (max-width: 1024px) {
  .sticky-call {
    display: flex;
  }
}

/* ── HEADER ──────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

/* Break the header out of the centered max-width container so the logo
   pins to the true left edge of the viewport instead of the centered column */
.site-header .container {
  max-width: none;
  padding-left: 20px;
  padding-right: 20px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 90px;
}

.site-logo {
  width: 320px;
  max-width: 44vw;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 14px;
  color: var(--black);
  padding: 6px 0;
  position: relative;
}

.main-nav a:not(.btn-gold)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .18s ease;
}

.main-nav a:not(.btn-gold):hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* ── HAMBURGER TOGGLE ────────────────────────────────────── */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  transition: transform .2s ease, opacity .2s ease;
  transform-origin: center;
}

/* Animate to X when drawer is open */
.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE NAV DRAWER ───────────────────────────────────── */

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 3px solid var(--gold);
}

.nav-open .mobile-nav {
  display: block;
}

.mobile-nav a {
  display: block;
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 15px;
  color: #111;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  transition: background .15s ease;
}

.mobile-nav a:hover,
.mobile-nav a:active {
  background: var(--light);
}

.mobile-nav .mobile-nav-cta {
  display: block;
  margin: 12px 24px 16px;
  padding: 14px 24px;
  background: var(--gold);
  color: #fff;
  text-align: center;
  border-bottom: none;
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: 15px;
  font-weight: 600;
  transition: background .18s ease;
}

.mobile-nav .mobile-nav-cta:hover,
.mobile-nav .mobile-nav-cta:active {
  background: var(--gold-dark);
}

/* ── MOBILE HERO (shown ≤768px, hidden on desktop) ──────── */

.hero-mobile {
  display: none;
  position: relative;
  min-height: 500px;
  overflow: hidden;
  align-items: center;
}

/* Filtered image layer — same filter as desktop, z-index: 0 behind gradient ::before (z-index: 1) */
.hero-mobile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('images/shepherd-hero.png') 72% 40% / cover no-repeat;
  filter: contrast(1.1) saturate(1.08) sepia(0.07) brightness(0.94);
  z-index: 0;
}

.hero-mobile-content {
  width: 56%;
  padding: 40px 8px 40px 20px;
  background: transparent;
  position: relative;
  z-index: 1;
}

.hero-mobile-eyebrow {
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}

.hero-mobile-title {
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.07;
  color: #111;
  margin-bottom: 12px;
}

.hero-mobile-lead {
  font-size: 13.5px;
  line-height: 1.58;
  color: #333;
  margin-bottom: 18px;
}

.hero-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.hero-mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 44px;
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: 13px;
  font-weight: 600;
  border-radius: 5px;
  border: 2px solid transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
  text-decoration: none;
}

.hero-mobile-btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.hero-mobile-btn--gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.hero-mobile-btn--outline {
  background: #fff;
  border-color: #111;
  color: #111;
}

.hero-mobile-btn--outline:hover {
  background: #111;
  color: #fff;
}

/* ── MOBILE SERVICES ICON GRID (hidden on desktop) ──────── */

.services-mobile-grid {
  display: none;
}

.svc-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 8px 16px;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.svc-icon-card:nth-child(4n) {
  border-right: none;
}

.svc-icon-card:nth-child(n+5) {
  border-bottom: none;
}

.svc-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.svc-icon-img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.svc-icon-label {
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 10px;
  font-weight: 600;
  color: #111;
  line-height: 1.3;
}

/* ── HERO ────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 620px;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: none;
}

/* Gradient overlay — sits above image, behind content */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255,255,255,.98) 0%,
    rgba(255,255,255,.88) 24%,
    rgba(255,255,255,.36) 46%,
    rgba(255,255,255,0)   64%
  );
  z-index: 1;
  pointer-events: none;
}

/* Image layer — filter applies here only, never touches text or gradient */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('images/shepherd-hero.png') 68% 42% / cover no-repeat;
  filter: contrast(1.1) saturate(1.08) sepia(0.07) brightness(0.94);
  z-index: 0;
}

/* Anchor hero content to the left edge rather than centering with auto margins */
.hero .container {
  margin-left: 0;
  padding-left: clamp(40px, 5.5vw, 88px);
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
  padding: 76px 0;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 34px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── SECTION BASE ────────────────────────────────────────── */

.section {
  padding: 64px 0;
}

.section-sm {
  padding: 48px 0;
}

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

.section-title {
  margin-bottom: 40px;
}

/* ── WORK GALLERY ────────────────────────────────────────── */

.work-section {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-card {
  background: #1a1815;
  overflow: hidden;
}

.gallery-img-wrap {
  position: relative;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}


.gallery-cta {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

/* ── SERVICES ────────────────────────────────────────────── */

.services-section {
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 22px 32px;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--black);
}

.service-card p {
  font-size: 14.5px;
  color: #555;
  line-height: 1.68;
}

.service-card .service-icon {
  display: block;
  width: 36px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 16px;
}

.service-card .service-icon-svg {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.service-card .service-icon-img {
  display: block;
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin: 0 auto 28px auto;
  flex-shrink: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-cta {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

/* ── SERVICE AREAS ───────────────────────────────────────── */

.areas-section {
  background: #1c1a17;
}

.areas-layout {
  display: grid;
  grid-template-columns: 5fr 8fr;
  gap: 48px;
  align-items: center;
}

.areas-copy {
  display: flex;
  flex-direction: column;
}

.areas-section .eyebrow {
  color: var(--gold);
}

.areas-section h2 {
  color: #fff;
  margin-bottom: 14px;
}

.areas-section .gold-bar {
  background: var(--gold);
}

.areas-copy .body-text {
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(255,255,255,.68);
  margin-bottom: 0;
}

.areas-locations {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.loc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 14px;
  color: rgba(255,255,255,.82);
}

.loc-marker {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.loc-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

.loc-item a:hover {
  color: var(--gold);
}

.areas-county-note {
  font-size: 13px;
  color: rgba(255,255,255,.42);
  line-height: 1.75;
  font-family: "Inter", Arial, sans-serif;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 18px;
}

.areas-communities {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-bottom: 28px;
}

.areas-communities-label {
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  color: rgba(255,255,255,.40);
  margin-bottom: 14px;
}

.areas-map {
  display: flex;
  flex-direction: column;
}

/* Crops the Google My Maps header/sidebar by overflow-hiding the wrapper
   and shifting the iframe so only the map canvas is visible.
   Adjust top/left values to fine-tune which part of the map is centered. */
.map-embed-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 580px;
}

.map-embed-wrapper iframe {
  position: absolute;
  top: -60px;        /* hides the top header bar (~52–64 px tall) */
  left: -240px;      /* clips the left sidebar panel; increase to shift map right */
  width: calc(100% + 240px);
  height: calc(100% + 60px);
  display: block;
}

/* Legacy classes kept for other pages */
.areas-list-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-bottom: 28px;
}

.location-list {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.location-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 15px;
  color: var(--black);
}

.loc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── ABOUT / WHY CHOOSE US ───────────────────────────────── */

.about-section {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-photo img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.about-copy h2 {
  margin-bottom: 14px;
}

.about-copy .body-text {
  font-size: 16.5px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 22px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.5;
}

.check-list li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── REVIEWS ─────────────────────────────────────────────── */

.reviews-section {
  background: var(--light);
}

.reviews-intro {
  text-align: center;
  margin-bottom: 36px;
}

.reviews-heading {
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.1;
}

.reviews-subheading {
  font-size: 15.5px;
  color: var(--muted);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

.reviews-summary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.reviews-summary-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reviews-google-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  text-transform: none;
  letter-spacing: 0;
}

.reviews-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviews-rating-num {
  font-family: "Oswald", Impact, sans-serif;
  font-size: 32px;
  color: var(--black);
  font-weight: 700;
  line-height: 1;
}

.reviews-stars-lg {
  color: var(--gold);
  font-size: 22px;
  letter-spacing: 2px;
  line-height: 1;
}

.reviews-verified-note {
  font-size: 12px;
  color: var(--muted);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
  line-height: 1;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card-g {
  background: var(--white);
  border-radius: 12px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: .04em;
}

.review-avatar--blue  { background: #d4e4f7; color: #1a5ca8; }
.review-avatar--green { background: #d7eed9; color: #1e7a34; }
.review-avatar--amber { background: #fce8d0; color: #b85c00; }

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.review-name-g {
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin: 0;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}

.review-google-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--muted);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1;
}

.review-stars-sm {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;
}

.review-body {
  font-size: 14.5px;
  color: #3a3a3a;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  flex: 1;
}

/* ── CTA BAND ────────────────────────────────────────────── */

.cta-section {
  background:
    linear-gradient(rgba(12,9,4,.82), rgba(12,9,4,.82)),
    url('images/excavation-gallery5.jpg') center / cover no-repeat;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 56px 0;
}

.cta-inner h2 {
  color: #fff;
  margin-bottom: 8px;
}

.cta-inner p {
  color: rgba(255,255,255,.82);
  font-size: 17px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── FOOTER ──────────────────────────────────────────────── */

.footer-main {
  background: #0e0c09;
  border-top: 3px solid #1e1a12;
  padding: 52px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.footer-logo {
  width: 260px;
  height: auto;
  display: block;
  margin-bottom: 18px;
  filter: brightness(1.3);
}

.footer-desc {
  color: rgba(255,255,255,.55);
  font-size: 14px;
  line-height: 1.78;
  margin-bottom: 0;
}

.footer-cta-block {
  margin-top: 22px;
}

.footer-cta-btn {
  height: 44px;
  font-size: 13px;
  padding: 0 22px;
}

.footer-heading {
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  color: rgba(255,255,255,.38);
  margin-bottom: 14px;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links li a,
.footer-links li {
  color: rgba(255,255,255,.62);
  font-size: 14px;
  line-height: 1.6;
  transition: color .15s ease;
}

.footer-links li a:hover {
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.62);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 11px;
}

.footer-contact-item a {
  color: rgba(255,255,255,.62);
  transition: color .15s ease;
}

.footer-contact-item a:hover {
  color: var(--gold);
}

.footer-area-list {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-area-note {
  font-size: 12.5px;
  color: rgba(255,255,255,.36);
  line-height: 1.85;
}

.footer-bottom {
  background: #080705;
  padding: 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
  color: rgba(255,255,255,.38);
  font-size: 12px;
}

.footer-bottom-tag {
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255,255,255,.22);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card .service-icon-img {
    width: 68px;
    height: 68px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 860px) {
  /* Reviews — stack on tablet/mobile */
  .reviews-summary-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    flex-direction: column;
    min-height: auto;
    padding: 16px 0;
    gap: 14px;
  }

  .site-logo {
    width: 280px;
    max-width: 66vw;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .areas-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .map-embed-wrapper {
    height: 420px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-photo img {
    height: 320px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 0;
  }
}

@media (max-width: 768px) {
  /* Switch to hamburger layout — override the 860px column-stack */
  .nav-wrap {
    flex-direction: row;
    min-height: 58px;
    padding: 0;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  .site-logo {
    width: 210px;
    max-width: 56vw;
  }

  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* ── Hero swap ──────────────────────────────────────────── */
  .hero { display: none; }

  .hero-mobile {
    display: flex;
    min-height: 560px;
    /* Image lives in ::after with filter — no background here */
  }

  /* Override ::after position for mobile viewport */
  .hero-mobile::after {
    background-position: 74% 38%;
  }

  /* Gradient anchored to the left edge of the hero, not the image */
  .hero-mobile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(255,255,255,.97) 0%,
      rgba(255,255,255,.90) 32%,
      rgba(255,255,255,.42) 52%,
      rgba(255,255,255,.10) 70%,
      rgba(255,255,255,0)   82%
    );
    z-index: 1;
  }

  /* Sit above the overlay, constrained to the readable white zone */
  .hero-mobile-content {
    position: relative;
    z-index: 2;
    width: 54%;
    padding: 42px 8px 20px 20px;
  }

  .hero-mobile-title {
    font-size: 26px;
  }

  .hero-mobile-lead {
    margin-bottom: 14px;
  }

  .hero-mobile-actions {
    margin-top: 44px;
    gap: 14px;
  }

  /* ── Recent Work: vertical portfolio cards ───────────────── */
  .work-section {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .work-section .section-title {
    font-size: clamp(24px, 6vw, 32px);
    white-space: normal;
    margin-bottom: 28px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-card:nth-child(1),
  .gallery-card:nth-child(2),
  .gallery-card:nth-child(3),
  .gallery-card:nth-child(4) { order: unset; }

  .gallery-card:nth-child(n+5) { display: block; }

  .gallery-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 18px rgba(0,0,0,.22);
  }

  .gallery-card img {
    height: 220px;
  }

  .gallery-cta {
    margin-top: 24px;
  }

  /* ── Services: hide desktop cards, show icon grid ────────── */
  .services-grid { display: none; }

  .services-mobile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
  }

  /* 8 items in 4 cols — last row (items 5-8) has no bottom border */
  .services-mobile-grid .svc-icon-card:nth-child(n+5) {
    border-bottom: none;
  }

  .services-cta {
    margin-top: 28px;
  }

  /* ── Service areas: single column on mobile ────────────── */
  .areas-layout {
    gap: 28px;
  }

  .areas-copy .body-text {
    font-size: 15px;
  }

  .locations-grid {
    grid-template-columns: 1fr 1fr;
  }

  .map-embed-wrapper {
    height: 380px;
  }
}

@media (max-width: 600px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .main-nav a:not(.btn-gold) {
    display: none;
  }

  /* Keep single-column portfolio layout on narrow phones */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-card img {
    height: 200px;
  }

  /* Keep desktop services grid hidden; mobile icon grid stays visible */
  .services-grid {
    display: none;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }

  .trust-item {
    padding: 11px 14px;
  }
}

/* ── ANIMATIONS ──────────────────────────────────────────── */

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

@keyframes callPulse {
  0%,  100% { box-shadow: 0 4px 22px rgba(0,0,0,.42), 0 0 0 0    rgba(201,147,24,.0);  }
  40%        { box-shadow: 0 4px 22px rgba(0,0,0,.42), 0 0 0 7px  rgba(201,147,24,.22); }
  70%        { box-shadow: 0 4px 22px rgba(0,0,0,.42), 0 0 0 13px rgba(201,147,24,.0);  }
}

/* Scroll-reveal base */
.anim-fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery card stagger */
.gallery-card.anim-fade-up:nth-child(1) { transition-delay: 0s; }
.gallery-card.anim-fade-up:nth-child(2) { transition-delay: 0.08s; }
.gallery-card.anim-fade-up:nth-child(3) { transition-delay: 0.16s; }
.gallery-card.anim-fade-up:nth-child(4) { transition-delay: 0.24s; }
.gallery-card.anim-fade-up:nth-child(5) { transition-delay: 0.32s; }
.gallery-card.anim-fade-up:nth-child(6) { transition-delay: 0.40s; }
.gallery-card.anim-fade-up:nth-child(7) { transition-delay: 0.48s; }
.gallery-card.anim-fade-up:nth-child(8) { transition-delay: 0.56s; }
.gallery-card.anim-fade-up:nth-child(9) { transition-delay: 0.64s; }

/* Service card stagger */
.service-card.anim-fade-up:nth-child(1) { transition-delay: 0s; }
.service-card.anim-fade-up:nth-child(2) { transition-delay: 0.07s; }
.service-card.anim-fade-up:nth-child(3) { transition-delay: 0.14s; }
.service-card.anim-fade-up:nth-child(4) { transition-delay: 0.21s; }
.service-card.anim-fade-up:nth-child(5) { transition-delay: 0.28s; }
.service-card.anim-fade-up:nth-child(6) { transition-delay: 0.35s; }
.service-card.anim-fade-up:nth-child(7) { transition-delay: 0.42s; }
.service-card.anim-fade-up:nth-child(8) { transition-delay: 0.49s; }

/* About section stagger */
.about-photo.anim-fade-up { transition-delay: 0s; }
.about-copy.anim-fade-up  { transition-delay: 0.14s; }

/* Reduced-motion: reveal everything immediately, no animation */
@media (prefers-reduced-motion: reduce) {
  .anim-fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── SERVICE CARD HOVER LIFT ─────────────────────────────── */

.service-card {
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.60s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 44px rgba(0,0,0,.11);
}

.service-card .service-icon-svg {
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-icon-svg,
.service-card:hover .service-icon-img {
  transform: translateY(-3px);
}

/* ── MOTION-ENABLED ANIMATIONS ───────────────────────────── */

@media (prefers-reduced-motion: no-preference) {

  /* Desktop hero — staggered content reveal */
  .hero-content .eyebrow,
  .hero-content h1,
  .hero-content .gold-bar,
  .hero-content .hero-lead,
  .hero-content .hero-actions {
    animation: fadeSlideUp 0.80s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero-content .eyebrow      { animation-delay: 0.05s; }
  .hero-content h1            { animation-delay: 0.18s; }
  .hero-content .gold-bar     { animation-delay: 0.30s; }
  .hero-content .hero-lead    { animation-delay: 0.42s; }
  .hero-content .hero-actions { animation-delay: 0.55s; }

  /* Desktop hero — slow background zoom */
  .hero::after {
    animation: heroZoom 16s ease-out forwards;
  }

  /* Mobile hero — staggered content reveal */
  .hero-mobile-content .hero-mobile-eyebrow,
  .hero-mobile-content .hero-mobile-title,
  .hero-mobile-content .hero-mobile-lead,
  .hero-mobile-content .hero-mobile-actions {
    animation: fadeSlideUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero-mobile-content .hero-mobile-eyebrow  { animation-delay: 0.05s; }
  .hero-mobile-content .hero-mobile-title    { animation-delay: 0.18s; }
  .hero-mobile-content .hero-mobile-lead     { animation-delay: 0.30s; }
  .hero-mobile-content .hero-mobile-actions  { animation-delay: 0.42s; }

  /* Mobile hero — slow background zoom */
  .hero-mobile::after {
    animation: heroZoom 16s ease-out forwards;
  }

  /* Sticky call — gentle ring pulse, pauses on interaction */
  .sticky-call {
    animation: callPulse 4.5s ease-in-out 3s infinite;
  }

  .sticky-call:hover,
  .sticky-call:focus-visible {
    animation: none;
  }

}
