/* === CSS VARIABLES === */
:root {
  --color-bg: #f5f5f5;
  --color-surface: #ffffff;
  --color-surface-2: #eaeaea;
  --color-accent: #0096b7;
  --color-accent-dark: #007a96;
  --color-accent-glow: rgba(0, 150, 183, 0.12);
  --color-text: #1a1a1a;
  --color-text-muted: #5a5a5a;
  --color-border: #d4d4d4;
  --color-white: #ffffff;
  --color-heading: #111111;
  --color-navy: #1a2744;
  --color-navy-light: #243352;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-accent-dark);
}

h1, h2 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

/* === LAYOUT === */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #f5f5f5 0%, #efefef 100%);
}

.section--surface {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

/* === SECTION DIVIDERS (angled/curved) === */
.section--divider-angle {
  clip-path: polygon(0 80px, 100% 0, 100% calc(100% - 40px), 0 100%);
  padding-top: 160px;
  padding-bottom: 120px;
  margin-top: -80px;
  margin-bottom: -40px;
}


/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(245, 245, 245, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: 0.06em;
  line-height: 1;
}

.nav__logo-sub {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--color-accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--color-heading);
}

.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
}

.nav__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-white) !important;
  padding: 10px 22px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 2.2);
  white-space: nowrap;
  overflow: hidden;
  background: rgba(0, 180, 216, 0.5);
  backdrop-filter: blur(12px) saturate(1.6);
  -webkit-backdrop-filter: blur(12px) saturate(1.6);
  box-shadow:
    inset 1px 1px 1px 0 rgba(255, 255, 255, 0.3),
    inset -1px -1px 1px 0 rgba(255, 255, 255, 0.1),
    0 4px 12px rgba(0, 180, 216, 0.25);
}

.nav__cta:hover {
  background: rgba(0, 180, 216, 0.7);
  color: var(--color-white) !important;
}

.nav__cta:active {
  transform: scale(0.96);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-heading);
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav overlay */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(245, 245, 245, 0.97);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nav__overlay.open {
  display: flex;
}

.nav__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-heading);
  padding: 8px;
  transition: color 0.2s;
}

.nav__close:hover {
  color: var(--color-accent);
}

.nav__overlay a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-heading);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.nav__overlay a:hover {
  color: var(--color-accent);
}

/* Hamburger active state */
.nav__hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === BUTTONS (Liquid Glass) === */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  padding: 0.8em 2.2em;
  border-radius: 50em;
  cursor: pointer;
  text-align: center;
  color: var(--color-accent-dark);
  background-color: #f0fbfd;
  border: 5px solid #6dd5e8;
  box-shadow: 0px 7px var(--color-accent-dark);
  transition: all 0.15s ease;
}

.btn:active {
  position: relative;
  top: 7px;
  border-color: #4bbdd1;
  box-shadow: 0px 0px var(--color-accent-dark);
}

.btn:hover {
  background-color: #e0f6fa;
  border-color: #4bbdd1;
}

.btn__label {
  position: relative;
  z-index: 3;
}

/* Glass layers no longer needed but keep for markup compat */
.btn__glass-blur,
.btn__glass-tint,
.btn__glass-shine {
  display: none;
}

/* Primary button */
.btn--primary {
  color: var(--color-accent-dark);
  background-color: #f0fbfd;
  border-color: #6dd5e8;
  box-shadow: 0px 7px var(--color-accent-dark);
}

.btn--primary:hover {
  background-color: #e0f6fa;
  border-color: #4bbdd1;
  color: var(--color-accent-dark);
}

/* Outline variant */
.btn--outline {
  color: var(--color-white);
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0px 7px rgba(255, 255, 255, 0.2);
}

.btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--color-white);
}

.btn--outline:active {
  box-shadow: 0px 0px rgba(255, 255, 255, 0.2);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* === HERO SCROLL ANIMATION === */
.hero-scroll__canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

.hero-scroll__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  display: flex;
  align-items: center;
  padding-top: 72px;
  pointer-events: auto;
}

.hero-scroll__spacer {
  height: 200vh;
  position: relative;
}

#services {
  opacity: 0;
}

.hero-scroll__content {
  max-width: 640px;
}

.hero__eyebrow {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.hero__title {
  margin-bottom: 20px;
  color: var(--color-white);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.7;
}

/* Trust bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

.trust-bar__item {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Staggered hero content fade-in */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll__content > * {
  opacity: 0;
  animation: fadeSlideUp 0.7s ease-out forwards;
}
.hero-scroll__content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-scroll__content > *:nth-child(2) { animation-delay: 0.35s; }
.hero-scroll__content > *:nth-child(3) { animation-delay: 0.5s; }
.hero-scroll__content > *:nth-child(4) { animation-delay: 0.65s; }
.hero-scroll__content > *:nth-child(5) { animation-delay: 0.8s; }

/* === SERVICE CARDS (gradient-border cards) === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 1200px;
}

.service-card {
  background: linear-gradient(
    to top right,
    #006d8a,
    #0096b7 40%,
    #4db8cc 65%,
    #007a96 100%
  );
  padding: 3px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.06),
    0 12px 32px rgba(0, 150, 183, 0.12);
  transition: transform 0.4s ease, box-shadow 0.3s;
  transform-style: preserve-3d;
  will-change: transform;
}

.service-card:hover {
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.1),
    0 24px 48px rgba(0, 150, 183, 0.2);
}

.service-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  color: var(--color-white);
}

.service-card__label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-shadow: 1px 1px 4px rgba(0, 150, 183, 0.6);
}

.service-card__body {
  background-color: var(--color-surface);
  border-radius: 22px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.service-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.service-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.service-card__arrow:hover {
  background: rgba(255, 255, 255, 0.4);
  color: var(--color-white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    inset 1px 1px 1px 0 rgba(255, 255, 255, 0.35),
    inset -1px -1px 1px 0 rgba(255, 255, 255, 0.1),
    0 0 12px rgba(0, 180, 216, 0.4);
  transform: scale(1.1);
}

.service-card__arrow:active {
  transform: scale(0.95);
}

.service-card__desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* === WHY CHOOSE US === */
.why-section {
  --s: 60px;
  --c1: var(--color-accent);
  --c2: var(--color-accent-dark);
  --_g: radial-gradient(25% 25% at 25% 25%, var(--c1) 99%, rgba(0,0,0,0) 101%);
  background:
    var(--_g) var(--s) var(--s) / calc(2 * var(--s)) calc(2 * var(--s)),
    var(--_g) 0 0 / calc(2 * var(--s)) calc(2 * var(--s)),
    radial-gradient(50% 50%, var(--c2) 98%, rgba(0,0,0,0)) 0 0 / var(--s) var(--s),
    repeating-conic-gradient(var(--c2) 0 50%, var(--c1) 0 100%) calc(0.5 * var(--s)) 0 / calc(2 * var(--s)) var(--s);
}

.why-section .section-header h2,
.why-section .section-header p {
  color: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  perspective: 1200px;
}

.why-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.2),
    0 12px 40px rgba(0, 0, 0, 0.15);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.4s ease,
              background 0.3s ease,
              box-shadow 0.3s ease;
}

.why-card:hover {
  background: rgba(0, 0, 0, 0.45);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.25),
    0 24px 60px rgba(0, 0, 0, 0.2);
}

.why-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 8px;
}

.why-card__desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

/* === FULL-BLEED PHOTO BANNER === */
.photo-banner {
  position: relative;
  z-index: 2;
  height: 360px;
  background-image: url('images/driveway-concrete.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 122, 150, 0.7), rgba(0, 0, 0, 0.5));
}

.photo-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}

.photo-banner__content h2 {
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.photo-banner__content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  margin: 0 auto;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* === STATS BAR === */
.section--stats {
  padding: 0;
  position: relative;
  z-index: 4;
  margin-top: -48px;
  margin-bottom: -48px;
  background: none;
}

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 36px 48px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  border-radius: 20px;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.12),
    0 16px 48px rgba(26, 39, 68, 0.25);
  max-width: 640px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stat-item.revealed {
  opacity: 1;
  transform: none;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.stats-bar .stat-item__number {
  color: #fff;
}

.stats-bar .stat-item__number--sm {
  color: #fff;
}

.stat-item__label {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}


/* === PROCESS TIMELINE === */
.process-timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding-left: 56px;
}

/* Static track (gray background line) */
.process-timeline__track {
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-border);
  border-radius: 2px;
}

/* Animated progress line (draws on scroll) */
.process-timeline__progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #00b4d8, var(--color-accent-dark));
  border-radius: 2px;
  transition: height 0.1s linear;
  box-shadow: 0 0 8px rgba(0, 150, 183, 0.4);
}

.process-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 56px;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step__marker {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin-left: -56px;
}

.process-step__number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00b4d8, var(--color-accent-dark));
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow:
    0 4px 12px rgba(0, 150, 183, 0.3),
    0 8px 24px rgba(0, 150, 183, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Glow up when the progress line reaches this step */
.process-step.timeline-active .process-step__number {
  transform: scale(1.1);
  box-shadow:
    0 4px 12px rgba(0, 150, 183, 0.4),
    0 8px 24px rgba(0, 150, 183, 0.25),
    0 0 20px rgba(0, 180, 216, 0.3);
}

.process-step__body {
  padding-top: 14px;
}

.process-step__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--color-heading);
}

.process-step__desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.08),
    0 16px 40px rgba(0, 0, 0, 0.1);
}

/* Stagger middle card higher */
.testimonials-grid > :nth-child(2) {
  transform: translateY(-16px);
}

.testimonials-grid > :nth-child(2):hover {
  transform: translateY(-20px);
}

.testimonial-card__stars {
  margin-bottom: 12px;
}

.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-card__author {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.testimonial-card__location {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* === FAQ ACCORDION === */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.faq-grid {
  max-width: 100%;
}

/* FAQ sidebar CTA */
.faq-cta {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  box-shadow:
    0 4px 12px rgba(0, 150, 183, 0.2),
    0 12px 32px rgba(0, 150, 183, 0.1);
}

.faq-cta__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 10px;
}

.faq-cta__text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin-bottom: 20px;
}

.faq-cta__phone {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff !important;
  margin-bottom: 4px;
}

.faq-cta__hours {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.faq-cta__btn {
  width: 100%;
  font-size: 0.85rem;
  padding: 14px 20px;
}

.faq-cta__btn .btn__glass-tint {
  background: rgba(255, 255, 255, 0.2);
}

.faq-cta__btn .btn__glass-shine {
  box-shadow:
    inset 1px 1px 1px 0 rgba(255, 255, 255, 0.35),
    inset -1px -1px 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.faq-cta__btn:hover .btn__glass-tint {
  background: rgba(255, 255, 255, 0.35);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding-left: 20px;
  border-left: 3px solid transparent;
  transition: border-color 0.3s ease;
}

.faq-item.open {
  border-left-color: var(--color-accent);
}

.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--color-heading);
  transition: color 0.2s;
}

.faq-item__question:hover {
  color: var(--color-accent);
}

.faq-item__question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-text-muted);
  transition: transform 0.3s, color 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-item__question::after {
  content: '\2212';
  color: var(--color-accent);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer p {
  padding: 0 0 22px;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.area-note {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-top: 16px;
}

/* === SERVICE AREA LAYOUT === */
.area-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.area-list {
  columns: 3;
  column-gap: 32px;
  list-style: none;
  margin: 0 0 20px;
}

.area-list li {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

.area-list li strong {
  color: var(--color-accent-dark);
  font-weight: 700;
}

.area-layout__map {
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.06);
}

.area-layout__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* === CTA SECTION === */
.cta-section {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section > p {
  color: var(--color-text-muted);
  margin: 0 auto 40px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* GHL form embed */
.cta-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 12px 32px rgba(0, 0, 0, 0.04);
  margin-bottom: 32px;
}

.cta-form__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-heading);
  padding: 24px 24px 0;
}

.cta-form__iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

/* Subtle contact line */
.cta-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-contact__link {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.cta-contact__link:hover {
  color: var(--color-accent);
}

.cta-contact__divider {
  color: var(--color-border);
  font-size: 0.85rem;
}

/* === SECTION HEADER === */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header--left {
  text-align: left;
}

.section-header--left p {
  margin-left: 0;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 12px auto 0;
  line-height: 1.6;
}

/* === FOOTER === */
.footer {
  background: var(--color-navy);
  border-top: none;
  padding: 60px 0 32px;
  position: relative;
  z-index: 2;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 12px;
}

.footer__brand p a {
  color: var(--color-accent);
}

.footer__brand .nav__logo-text {
  color: #fff;
}

.footer__brand .nav__logo-sub {
  color: var(--color-accent);
}

.footer__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__list a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer__list a:hover {
  color: #fff;
}

.footer__contact-item {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.footer__contact-item a {
  color: var(--color-accent);
}

.footer__contact-item a:hover {
  color: #fff;
}

.footer__trust {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.footer__trust-badge {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* === STICKY MOBILE CTA BAR (Liquid Glass) === */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 12px 16px;
  overflow: hidden;
  border: none;
  background: transparent;
}

/* Glass layer 1: blurred backdrop */
.sticky-cta__glass-blur {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  filter: url(#glass-distortion);
}

/* Glass layer 2: translucent tint */
.sticky-cta__glass-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 24px 24px 0 0;
  background: rgba(255, 255, 255, 0.55);
}

/* Glass layer 3: inner shine / edge highlight */
.sticky-cta__glass-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  box-shadow:
    inset 1px 1px 1px 0 rgba(255, 255, 255, 0.6),
    inset -1px -1px 1px 0 rgba(255, 255, 255, 0.3),
    0 -4px 16px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.sticky-cta__inner {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.sticky-cta__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 14px 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.sticky-cta__btn:active {
  transform: scale(0.96);
}

.sticky-cta__btn--call {
  background: rgba(0, 0, 0, 0.06);
  color: var(--color-heading);
  border: 1px solid var(--color-border);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.4);
}

.sticky-cta__btn--quote {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow:
    0 4px 12px rgba(0, 180, 216, 0.35),
    inset 1px 1px 0 rgba(255, 255, 255, 0.2);
}

.sticky-cta__btn--quote:hover {
  background: var(--color-accent-dark);
}

/* === FOCUS STATES === */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.faq-item__question:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: 0 0 6px 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  z-index: 10000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
  color: var(--color-white);
}

/* === SCROLL REVEAL SYSTEM === */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  will-change: opacity, transform;
}

.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.92); }

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed {
  opacity: 1;
  transform: none;
}

/* Stagger children */
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.4s; }

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll__content > * { opacity: 1; animation: none; }
  .reveal-up, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .stat-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .why-card {
    transition: none;
  }
  .why-card:hover {
    transform: none;
  }
  #services { opacity: 1; }
  /* reduced-motion: canvas just shows final frame, no scroll needed */
}

/* === NAVY SECTION MODIFIER === */
.section--navy {
  background: var(--color-navy);
}

.section--navy h2,
.section--navy h3,
.section--navy p,
.section--navy .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

.section--navy h2 {
  color: #fff;
}

/* === NAV DROPDOWN === */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--color-border);
  padding: 8px 0;
  min-width: 220px;
  list-style: none;
  z-index: 1002;
}

.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown.open .nav__dropdown-menu {
  display: block;
}

.nav__dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  transition: background 0.2s, color 0.2s;
}

.nav__dropdown-menu li a:hover {
  background: var(--color-accent-glow);
  color: var(--color-accent-dark);
}

/* === SERVICE AREA HERO === */
.service-area-hero {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  padding: 140px 0 80px;
}

.service-area-hero__content {
  max-width: 640px;
}

.service-area-hero h1 {
  color: #fff;
  margin-bottom: 20px;
}

.service-area-hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.service-area-hero .breadcrumbs {
  margin-bottom: 20px;
}

.service-area-hero .breadcrumbs a {
  color: var(--color-accent);
}

.service-area-hero .breadcrumbs,
.service-area-hero .breadcrumbs span {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* === NEARBY CITIES GRID === */
.nearby-cities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.nearby-city-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-heading);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.nearby-city-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(0, 150, 183, 0.15);
  transform: translateY(-2px);
  color: var(--color-accent-dark);
}

.nearby-city-card svg {
  flex-shrink: 0;
  color: var(--color-accent);
}

/* === SERVICE AREA: SERVICES LIST === */
.services-grid--service {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .reveal-up { transform: translateY(24px); }
  .reveal-left { transform: translateX(-24px); }
  .reveal-right { transform: translateX(24px); }

  .section {
    padding: 48px 0;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-timeline {
    padding-left: 48px;
  }

  .process-step__marker {
    margin-left: -48px;
  }

  .process-timeline__track {
    left: 27px;
  }

  .process-step__number {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }

  .nav__links {
    display: none;
  }

  .nav__dropdown-menu {
    display: none !important;
    position: static;
    transform: none;
    background: transparent;
    box-shadow: none;
    border: none;
    margin: 0;
    padding: 0;
    min-width: 0;
  }

  .nav__dropdown-menu::before {
    display: none;
  }

  .nav__cta.desktop-only {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .sticky-cta {
    display: block;
  }

  .service-area-hero {
    padding: 120px 0 60px;
  }

  .nearby-cities {
    grid-template-columns: 1fr 1fr;
  }

  .cta-options {
    grid-template-columns: 1fr;
  }

  .hero-scroll__overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.5) 60%,
      rgba(0, 0, 0, 0.7) 100%
    );
  }

  .stats-bar {
    gap: 32px;
    padding: 28px 32px;
  }

  .section--stats {
    margin-top: -32px;
    margin-bottom: -32px;
  }

  .testimonials-grid > :nth-child(2) {
    transform: none;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-cta {
    display: none;
  }

  .area-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .area-list {
    columns: 2;
    column-gap: 32px;
  }

  .area-layout__map {
    margin-left: -24px;
    margin-right: -24px;
    border-radius: 0;
    min-height: 300px;
  }

  .area-layout__map iframe {
    min-height: 300px;
    border-radius: 0 !important;
  }

  .section--divider-angle {
    clip-path: polygon(0 24px, 100% 0, 100% calc(100% - 24px), 0 100%);
    padding-top: 88px;
    padding-bottom: 88px;
    margin-top: -24px;
    margin-bottom: -24px;
  }


  .photo-banner {
    height: 280px;
    background-attachment: scroll;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 14px 24px;
    width: 100%;
    display: inline-flex;
  }

  .btn-group {
    flex-direction: column;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section--stats {
    margin-top: -36px;
    margin-bottom: -36px;
    padding: 0 16px;
  }

  .stats-bar {
    flex-direction: column;
    gap: 20px;
    padding: 28px 24px;
    border-radius: 16px;
  }

  .photo-banner__content {
    padding-top: 48px;
  }

  .area-list {
    column-gap: 24px;
  }

  .trust-bar {
    flex-direction: column;
    gap: 10px;
  }



  body {
    padding-bottom: 72px;
  }

  .hero-scroll__content {
    padding: 0 4px;
  }

  .hero__title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .photo-banner {
    height: 340px;
  }

  .section--divider-angle {
    clip-path: polygon(0 16px, 100% 0, 100% calc(100% - 16px), 0 100%);
    padding-top: 72px;
    padding-bottom: 72px;
    margin-top: -16px;
    margin-bottom: -16px;
  }

}

/* === SERVICE PAGE: HERO BANNER === */
.service-hero-banner {
  position: relative;
  z-index: 2;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-image: url('images/driveway-concrete.webp');
  background-size: cover;
  background-position: center;
  padding-top: 72px;
}

.service-hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 39, 68, 0.75) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.service-hero-banner__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding-top: 48px;
  padding-bottom: 64px;
}

.service-hero-banner h1 {
  color: var(--color-white);
  margin-bottom: 20px;
}

.service-hero-banner p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.service-hero-banner .breadcrumbs {
  margin-bottom: 20px;
}

.service-hero-banner .breadcrumbs a {
  color: var(--color-accent);
}

.service-hero-banner .breadcrumbs,
.service-hero-banner .breadcrumbs span {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* === SERVICE PAGE: CONTENT PROSE === */
.service-content {
  max-width: 780px;
  margin: 0 auto;
}

.service-content h2 {
  margin-bottom: 24px;
}

.service-content p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-content p:last-child {
  margin-bottom: 0;
}

/* === SERVICE PAGE: BEFORE / AFTER === */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.before-after__card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.06);
}

.before-after__card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.before-after__label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 8px;
}

/* Service page: wider stats bar (4 items side by side) */
.stats-bar--wide {
  max-width: 900px;
}

/* Smaller stat number for text-based stats (not big numerals) */
.stat-item__number--sm {
  font-size: 1.4rem;
  font-weight: 700;
}

/* Large phone number in CTA sections */
.cta-phone-lg {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--color-accent);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.cta-phone-lg:hover {
  color: var(--color-accent-dark);
}

@media (max-width: 600px) {
  .before-after {
    grid-template-columns: 1fr;
  }

  .service-hero-banner {
    min-height: 70vh;
    background-position: center;
  }

  .service-hero-banner__content {
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .stats-bar--wide {
    max-width: 100%;
  }

  .cta-phone-lg {
    font-size: 1.6rem;
  }
}
