/* KMAC Contracting shared styles */

/* ─── Tokens ──────────────────────────────────────────────── */
:root {
  --navy:        #0d1b2a;
  --navy-mid:    #162437;
  --navy-light:  #1e3248;
  --steel:       #2c4a6e;
  --orange:      #74c365;
  --orange-dark: #5aaa4a;
  --cream:       #f5f0e8;
  --white:       #ffffff;
  --gray-light:  #f0ede8;
  --gray-mid:    #a0a0a0;
  --text-dark:   #0d1b2a;

  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:      4px;
  --radius-lg:   8px;

  --dur-fast:    150ms;
  --dur-normal:  280ms;
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);

  --section-pad: clamp(4rem, 3rem + 5vw, 8rem);
  --container:   1200px;
}

/* ─── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── Utilities ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}
.btn:active { transform: translateY(1px); }

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover { background: rgba(255,255,255,.08); border-color: var(--white); }

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--orange);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 3vw, 4.5rem);
  line-height: 1.0;
  letter-spacing: .01em;
  color: var(--navy);
}

/* ─── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background var(--dur-normal), box-shadow var(--dur-normal);
}
.nav.scrolled,
.nav.nav-solid {
  background: var(--navy);
  box-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.nav-logo-img {
  height: 44px;
  width: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-normal);
}
.nav.scrolled .nav-logo-img,
.nav.nav-solid .nav-logo-img {
  opacity: 1;
  pointer-events: auto;
}
.nav-wordmark {
  display: none;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: .06em;
  color: var(--white);
  line-height: 1;
}
.nav-wordmark span { color: var(--orange); }
.nav-wordmark .nav-wordmark-sub { color: rgba(255,255,255,.5); font-size: 1rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  transition: color var(--dur-fast);
}
.nav-links a:hover { color: var(--white); }
.nav-links a[aria-current="page"] {
  color: var(--white);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
}
.nav-cta { margin-left: .5rem; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--dur-normal), opacity var(--dur-normal);
  transform-origin: center;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--navy);
  padding: 5rem 2rem 2rem;
  z-index: 99;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.nav-mobile-drawer.open { display: flex; }
.nav-mobile-drawer a {
  display: block;
  padding: 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color var(--dur-fast);
}
.nav-mobile-drawer a:hover { color: var(--white); }
.nav-mobile-drawer a[aria-current="page"] {
  color: var(--white);
  border-left: 3px solid var(--orange);
  padding-left: .85rem;
}
.nav-mobile-drawer .mobile-cta {
  margin-top: 1.5rem;
  border-bottom: none;
  color: var(--white);
  background: var(--orange);
  text-align: center;
  border-radius: var(--radius);
  padding: .85rem 2rem;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo { display: none; }
  .nav-wordmark { display: block; position: relative; z-index: 100; }
}

/* ─── Hero (home) ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 110px;
  padding-bottom: clamp(3rem, 6vw, 6rem);
  background: var(--navy);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,.018) 40px,
      rgba(255,255,255,.018) 41px
    );
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px;
  height: 100%;
  background: var(--orange);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      160deg,
      rgba(13,27,42,.97) 0%,
      rgba(13,27,42,.72) 55%,
      rgba(13,27,42,.92) 100%
    ),
    url('../img/red-roof-house-1.jpg')
    center/cover no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-logo {
  display: block;
  height: 140px;
  width: auto;
  margin: 0 auto 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--orange);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .4rem .9rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(4rem, 3rem + 8vw, 10rem);
  line-height: .92;
  letter-spacing: .01em;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-heading em {
  font-style: normal;
  color: var(--orange);
  display: block;
}

.hero-sub {
  font-size: clamp(1rem, .9rem + .5vw, 1.2rem);
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-divider {
  color: rgba(255,255,255,.3);
  font-size: .85rem;
}

.hero-stats {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(3rem, 6vw, 6rem);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-end;
}

.hero-stat {
  text-align: right;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--orange);
  line-height: 1;
}
.hero-stat-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-top: .15rem;
}

@media (max-width: 600px) {
  .hero-stats { display: none; }
}

/* ─── Page hero (interior pages) ──────────────────────────── */
.page-hero {
  position: relative;
  background: var(--navy);
  padding: clamp(9rem, 8rem + 4vw, 13rem) 0 clamp(3.5rem, 3rem + 3vw, 6rem);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,.018) 40px,
      rgba(255,255,255,.018) 41px
    );
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px;
  height: 100%;
  background: var(--orange);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.page-hero .breadcrumbs {
  margin-bottom: 1.5rem;
}
.page-hero-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2.4rem + 4vw, 6rem);
  line-height: .95;
  letter-spacing: .01em;
  color: var(--white);
}
.page-hero-heading em {
  font-style: normal;
  color: var(--orange);
}
.page-hero-sub {
  margin-top: 1.25rem;
  font-size: clamp(1rem, .9rem + .4vw, 1.15rem);
  color: rgba(255,255,255,.65);
  max-width: 560px;
  line-height: 1.7;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  list-style: none;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.breadcrumbs a { color: rgba(255,255,255,.5); transition: color var(--dur-fast); }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs li[aria-current] { color: var(--orange); }
.breadcrumbs li + li::before {
  content: '/';
  color: rgba(255,255,255,.25);
  margin-right: .5rem;
}

/* ─── Trust bar ───────────────────────────────────────────── */
.trust-bar {
  background: var(--orange);
  padding: .9rem 0;
  overflow: hidden;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .trust-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .trust-bar::-webkit-scrollbar { display: none; }
  .trust-bar-inner {
    padding: 0 1rem;
  }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  flex-shrink: 0;
}
.trust-item svg { opacity: .85; }
.trust-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  flex-shrink: 0;
}

/* ─── Services grid ───────────────────────────────────────── */
.services {
  background: var(--cream);
  padding: var(--section-pad) 0;
}

.services-header {
  margin-bottom: 3.5rem;
  max-width: 600px;
}

.services-header p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: #4a5a6a;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5px;
  background: #c8c0b4;
  border: 1.5px solid #c8c0b4;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  display: block;
  background: var(--white);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background var(--dur-normal);
}
.service-card:hover { background: var(--navy); }

.service-card:hover .service-icon { background: var(--orange); color: var(--white); }
.service-card:hover .service-name { color: var(--white); }
.service-card:hover .service-desc { color: rgba(255,255,255,.65); }
.service-card:hover .service-arrow { color: var(--orange); opacity: 1; }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--gray-light);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background var(--dur-normal), color var(--dur-normal);
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: .02em;
  color: var(--navy);
  margin-bottom: .6rem;
  line-height: 1.1;
  transition: color var(--dur-normal);
}

.service-desc {
  font-size: .9rem;
  color: #5a6a7a;
  line-height: 1.65;
  transition: color var(--dur-normal);
}

.service-arrow {
  position: absolute;
  bottom: 1.75rem;
  right: 1.75rem;
  color: var(--orange);
  opacity: 0;
  transition: opacity var(--dur-normal), color var(--dur-normal);
  font-size: 1.4rem;
}

/* ─── Service detail rows (services page) ─────────────────── */
.service-detail-list {
  padding: var(--section-pad) 0;
  background: var(--cream);
}
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: center;
  padding: clamp(2.5rem, 4vw, 4rem) 0;
  border-bottom: 1px solid #ddd6cc;
}
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) .service-detail-visual { order: 2; }

@media (max-width: 820px) {
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .service-detail-visual { order: 0; }
}

.service-detail-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 40px rgba(13,27,42,.15);
}

.service-detail-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 2vw, 3.2rem);
  line-height: 1;
  color: var(--navy);
  margin-bottom: 1rem;
}
.service-detail-copy p {
  font-size: .98rem;
  color: #4a5a6a;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.service-detail-points {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  display: grid;
  gap: .6rem;
}
.service-detail-points li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--navy);
}
.service-detail-points li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: .45rem;
  background: var(--orange);
  border-radius: 2px;
}

/* ─── About ───────────────────────────────────────────────── */
.about {
  background: var(--navy);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.about::after {
  content: 'KMAC';
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 22rem);
  color: rgba(255,255,255,.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  .about-inner { grid-template-columns: 1fr; }
}

.about-visual {
  position: relative;
}

.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  background:
    linear-gradient(160deg, rgba(13,27,42,.35), rgba(13,27,42,.1)),
    url('../img/contractor-handshake.jpg')
    center/cover;
  background-blend-mode: multiply;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--orange);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.about-badge-num {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}
.about-badge-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .85;
  margin-top: .25rem;
}

@media (max-width: 860px) {
  .about-badge { bottom: 1rem; right: 1rem; }
}

.about-copy .section-label { color: var(--orange); }
.about-copy .section-heading { color: var(--white); }

.about-copy p {
  margin-top: 1.25rem;
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  line-height: 1.75;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.about-pillar {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: rgba(255,255,255,.03);
}
.about-pillar-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .35rem;
}
.about-pillar-text {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  line-height: 1.55;
}

.about-cta {
  margin-top: 2.5rem;
}

/* ─── Process steps (about page) ──────────────────────────── */
.process {
  background: var(--cream);
  padding: var(--section-pad) 0;
}
.process-header {
  max-width: 600px;
  margin-bottom: 3rem;
}
.process-header p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: #4a5a6a;
  line-height: 1.7;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.process-step {
  background: var(--white);
  border: 1px solid #ddd6cc;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
}
.process-step-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 1rem;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .02em;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.1;
}
.process-step p {
  font-size: .88rem;
  color: #5a6a7a;
  line-height: 1.65;
}

/* ─── Projects ────────────────────────────────────────────── */
.projects {
  background: var(--gray-light);
  padding: var(--section-pad) 0;
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy-mid);
}

/* Bento arrangement */
.project-card:nth-child(1) { grid-column: 1 / 8; grid-row: 1; }
.project-card:nth-child(2) { grid-column: 8 / 13; grid-row: 1; }
.project-card:nth-child(3) { grid-column: 1 / 5; grid-row: 2; }
.project-card:nth-child(4) { grid-column: 5 / 9; grid-row: 2; }
.project-card:nth-child(5) { grid-column: 9 / 13; grid-row: 2; }
.project-card:nth-child(6) { grid-column: 1 / 6; grid-row: 3; }
.project-card:nth-child(7) { grid-column: 6 / 13; grid-row: 3; }
.project-card:nth-child(8) { grid-column: 1 / 8; grid-row: 4; }
.project-card:nth-child(9) { grid-column: 8 / 13; grid-row: 4; }

@media (max-width: 900px) {
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-card { grid-column: auto !important; grid-row: auto !important; }
}
@media (max-width: 560px) {
  .projects-grid { grid-template-columns: 1fr; }
}

.project-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .5s var(--ease);
}
.project-card:hover .project-img { transform: scale(1.04); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,.9) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--dur-normal);
}
.project-card:hover .project-overlay { opacity: 1; }

.project-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  transform: translateY(8px);
  opacity: 0;
  transition: transform var(--dur-normal) var(--ease), opacity var(--dur-normal);
}
.project-card:hover .project-info { transform: translateY(0); opacity: 1; }

.project-type {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .25rem;
}
.project-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  line-height: 1.1;
}
.project-meta {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  margin-top: .3rem;
}

/* ─── Reviews ─────────────────────────────────────────────── */
.reviews {
  background: var(--white);
  padding: var(--section-pad) 0;
}

.reviews-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.reviews-score {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: var(--cream);
  border: 1px solid #d8d0c4;
  border-radius: 100px;
  padding: .5rem 1.25rem;
  margin-bottom: 1.25rem;
}
.reviews-stars { color: var(--orange); font-size: 1rem; letter-spacing: .1em; }
.reviews-score-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  line-height: 1;
}
.reviews-count {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gray-mid);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--cream);
  border: 1px solid #ddd6cc;
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.review-card::before {
  content: '\201C';
  position: absolute;
  top: .75rem;
  right: 1.5rem;
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--orange);
  opacity: .15;
  line-height: 1;
}

.review-stars { color: var(--orange); font-size: .85rem; letter-spacing: .1em; margin-bottom: 1rem; }
.review-text {
  font-size: .9rem;
  line-height: 1.7;
  color: #3a4a5a;
  margin-bottom: 1.25rem;
}
.review-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: .875rem; color: var(--navy); }
.review-location { font-size: .75rem; color: var(--gray-mid); }

.reviews-footer {
  text-align: center;
  margin-top: 3rem;
}
.reviews-footer p {
  font-size: .9rem;
  color: #5a6a7a;
  margin-bottom: 1.25rem;
}

/* ─── Areas Served ────────────────────────────────────────── */
.areas {
  background: var(--navy-mid);
  padding: 3.5rem 0;
}

.areas-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.areas-label {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  flex-shrink: 0;
  white-space: nowrap;
}

.areas-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

@media (max-width: 700px) { .areas-divider { display: none; } }

.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
}

.area-tag {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  padding: .3rem .9rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255,255,255,.65);
}

/* ─── CTA band ────────────────────────────────────────────── */
.cta {
  background: var(--navy);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,.015) 60px,
    rgba(255,255,255,.015) 61px
  );
}

.cta::after {
  content: '';
  position: absolute;
  top: 0; left: -5%;
  width: 40%;
  height: 100%;
  background: var(--orange);
  clip-path: polygon(0 0, 75% 0, 55% 100%, 0 100%);
  opacity: .07;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .cta-inner { grid-template-columns: 1fr; }
}

.cta-eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .75rem;
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 2rem + 3vw, 5rem);
  color: var(--white);
  line-height: .95;
}

.cta-sub {
  margin-top: 1rem;
  font-size: 1rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  max-width: 460px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.cta-phone svg { color: var(--orange); }

.cta-phone-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: .1rem;
}

/* ─── Contact ─────────────────────────────────────────────── */
.contact {
  background: var(--cream);
  padding: var(--section-pad) 0;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact-info p {
  margin-top: 1rem;
  font-size: 1rem;
  color: #4a5a6a;
  line-height: 1.7;
}

.contact-details {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: .2rem;
}
.contact-detail-value {
  font-weight: 600;
  color: var(--navy);
  font-size: .95rem;
  line-height: 1.5;
}
.contact-detail-value a:hover { color: var(--orange); }

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq {
  background: var(--white);
  padding: var(--section-pad) 0;
}
.faq-header {
  max-width: 600px;
  margin-bottom: 2.5rem;
}
.faq-header p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: #4a5a6a;
  line-height: 1.7;
}
.faq-list {
  max-width: 760px;
  display: grid;
  gap: .75rem;
}
.faq-item {
  background: var(--cream);
  border: 1px solid #ddd6cc;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--orange);
  line-height: 1;
  transition: transform var(--dur-normal);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 1.5rem 1.25rem;
  font-size: .9rem;
  color: #4a5a6a;
  line-height: 1.7;
}

/* ─── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--navy);
  padding: 2.5rem 0 1.5rem;
  border-top: 3px solid var(--orange);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-logo-mark { color: var(--white); font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .06em; }
.footer-logo-mark span { color: var(--orange); }
.footer-tagline { font-size: .72rem; color: rgba(255,255,255,.35); letter-spacing: .1em; text-transform: uppercase; margin-top: .2rem; }

.footer-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  transition: color var(--dur-fast);
}
.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: .72rem;
  color: rgba(255,255,255,.25);
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.5rem;
}

/* ─── 404 ─────────────────────────────────────────────────── */
.notfound {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.notfound::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,.018) 40px,
      rgba(255,255,255,.018) 41px
    );
}
.notfound-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 6rem 0;
}
.notfound-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 14rem);
  line-height: 1;
  color: var(--orange);
}
.notfound-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.notfound-sub {
  color: rgba(255,255,255,.6);
  max-width: 420px;
  margin: 0 auto 2rem;
}

/* ─── Scroll reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .project-card:hover .project-img { transform: none; }
}
