/* ==========================================================================
   Evergreen Outdoor Living — demo site
   Built by Altus Digital
   ========================================================================== */

:root {
  --white: #FFFFFF;
  --off-white: #FAF8F5;
  --cream: #F5F2EE;
  --charcoal: #1A1A1A;
  --ink: #2C2C2C;
  --forest: #2D5A3D;
  --forest-light: #3D7250;
  --forest-dark: #1F3F2A;
  --stone: #8B8680;
  --stone-light: #A8A39D;
  --stone-dark: #6B6660;
  --earth: #C4A882;
  --gold: #E8B84B;
  --danger: #B3261E;
  --line: rgba(0,0,0,0.08);
  --line-strong: rgba(0,0,0,0.14);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  background: var(--off-white);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--charcoal);
  line-height: 1.15;
  font-weight: 600;
  text-wrap: balance;
}

/* Anchor targets clear the fixed header instead of hiding beneath it. */
section[id], [id].anchor-offset { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ========== ACCESSIBILITY ========== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px; left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--forest);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--forest-light);
  outline-offset: 3px;
  border-radius: 2px;
}
.hero :focus-visible,
.trust-strip :focus-visible,
.cta-section :focus-visible,
.footer :focus-visible,
.header:not(.scrolled) :focus-visible {
  outline-color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========== UTILITIES ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 100px 0; position: relative; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.tag-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--forest);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--stone-dark);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
  text-wrap: pretty;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 15px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover {
  background: var(--forest-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.85);
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}
.header.scrolled {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: var(--transition);
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.header.scrolled .logo { color: var(--charcoal); text-shadow: none; }
.logo span { color: var(--forest-light); }
.header.scrolled .logo span { color: var(--forest); }

.nav-desktop { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  transition: var(--transition);
  position: relative;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.header.scrolled .nav-link { color: var(--ink); text-shadow: none; }
.nav-link:hover { color: var(--white); }
.header.scrolled .nav-link:hover { color: var(--forest); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-cta {
  padding: 12px 24px;
  background: var(--forest);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: none;
}
.nav-cta:hover { background: var(--forest-dark); transform: translateY(-1px); }
.nav-cta::after { display: none; }

.menu-toggle { display: none; }

/* ========== HERO ========== */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  max-height: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 0 24px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.08;
  margin-bottom: 24px;
  font-weight: 700;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-sub {
  color: rgba(255,255,255,0.94);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  margin: 0 auto 36px;
  max-width: 580px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@keyframes ken-burns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08); }
}
.hero-bg { animation: ken-burns 20s ease-out infinite alternate; }
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
}

/* ========== TRUST STRIP ========== */
.trust-strip {
  background: var(--charcoal);
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust-strip-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  list-style: none;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
}
.trust-badge svg { width: 18px; height: 18px; flex-shrink: 0; }
.trust-stars { color: var(--gold); letter-spacing: 2px; font-size: 0.9rem; }

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card-img-wrap { overflow: hidden; }
.service-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img { transform: scale(1.06); }
.service-card-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card-body p {
  font-size: 0.88rem;
  color: var(--stone-dark);
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
}
.service-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  min-height: 44px;   /* comfortable thumb target on mobile */
  transition: var(--transition);
}
.service-link:hover { gap: 10px; }
.service-link svg { width: 14px; height: 14px; }

/* ========== BEFORE & AFTER / DAY & NIGHT ========== */
.ba-section { background: var(--cream); }
.dn-section { background: var(--off-white); }
.ba-slider-wrap { max-width: 900px; margin: 0 auto; }
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  box-shadow: var(--shadow-lg);
  touch-action: pan-y;
}
.ba-slider img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-after { z-index: 1; }
.ba-before { z-index: 2; clip-path: inset(0 50% 0 0); }
.ba-handle {
  position: absolute;
  top: 0; left: 50%;
  z-index: 3;
  width: 3px;
  height: 100%;
  background: var(--white);
  transform: translateX(-50%);
  cursor: ew-resize;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  border-radius: 2px;
}
.ba-handle:focus-visible {
  outline: 3px solid var(--forest-light);
  outline-offset: 2px;
}
.ba-handle-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--charcoal);
  pointer-events: none;
}
.ba-handle-btn svg { width: 22px; height: 22px; }
.ba-label {
  position: absolute;
  bottom: 16px;
  z-index: 4;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.ba-label-before { left: 16px; background: rgba(0,0,0,0.6); color: var(--white); }
.ba-label-after { right: 16px; background: rgba(45,90,61,0.85); color: var(--white); }
.ba-hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--stone-dark);
  margin-top: 18px;
}

/* ========== GALLERY ========== */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 11px 22px;
  min-height: 44px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--stone-dark);
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--forest); color: var(--forest); }
.filter-btn[aria-pressed="true"] {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
/* Grid, not columns: guarantees even rows, and keeps visual order matching
   DOM/tab order (column-count flows down each column, so keyboard focus
   jumps around the page). */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  font-size: 0;   /* kills the inline-box gap under the image */
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: var(--cream);
}
/* Must out-specify the .gallery-item display rule above — an author
   `display` declaration otherwise beats the UA stylesheet's [hidden] rule
   and the filter hides nothing. */
.gallery-item[hidden] { display: none; }
.gallery-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
/* Square regardless of the source file's own dimensions, so dropping in a
   client photo of any shape can never break the grid. */
.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-item-overlay,
.gallery-item:focus-visible .gallery-item-overlay { opacity: 1; }
.gallery-item-cat {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.gallery-empty {
  text-align: center;
  color: var(--stone-dark);
  padding: 40px 0;
}

/* ========== LIGHTBOX ========== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.93);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  border-radius: var(--radius-md);
  object-fit: contain;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-close svg { width: 22px; height: 22px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-nav svg { width: 24px; height: 24px; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-caption {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

/* ========== DESIGN INSPIRATION ========== */
.inspiration-section { background: var(--white); }
.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.inspiration-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.inspiration-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.inspiration-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.inspiration-card:hover img { transform: scale(1.06); }
.inspiration-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.72) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.inspiration-overlay h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 6px; }
.inspiration-overlay p { color: rgba(255,255,255,0.9); font-size: 0.85rem; }

/* ========== PROCESS ========== */
.process-section { background: var(--cream); }
.process-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 20px;
  list-style: none;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 8%; right: 8%;
  height: 2px;
  background: var(--line-strong);
}
.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-number {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 20px;
  border: 5px solid var(--cream);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.process-step:hover .process-number {
  background: var(--forest-dark);
  transform: scale(1.08);
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.85rem; color: var(--stone-dark); line-height: 1.55; padding: 0 8px; }

/* ========== SERVICE AREA ========== */
.area-section { background: var(--off-white); }
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.area-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  position: relative;
  background: var(--cream);
}
.area-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2) contrast(1.05) brightness(0.95);
}
.area-list h3 { font-size: 1.5rem; margin-bottom: 20px; }
.area-cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-bottom: 24px;
  list-style: none;
}
.area-city {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink);
}
.area-city::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--forest);
  flex-shrink: 0;
}
.area-tag {
  display: inline-block;
  padding: 10px 20px;
  background: var(--forest);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ========== REVIEWS ========== */
.reviews-section { background: var(--white); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 1px solid var(--line);
  transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-stars { color: var(--gold); font-size: 1rem; letter-spacing: 3px; margin-bottom: 16px; }
.review-text {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.review-name { font-size: 0.92rem; font-weight: 600; color: var(--charcoal); }
.review-date { font-size: 0.78rem; color: var(--stone-dark); }
.sample-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--stone-dark);
  margin-top: 32px;
  font-style: italic;
}

/* ========== ESTIMATE FORM ========== */
.form-section { background: var(--off-white); }
.form-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.form-label .req { color: var(--danger); }
.form-control {
  padding: 14px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 16px; /* 16px minimum stops iOS Safari zooming on focus */
  color: var(--ink);
  background: var(--off-white);
  transition: var(--transition);
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--forest);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(45,90,61,0.15);
}
.form-control:user-invalid {
  border-color: var(--danger);
  background: #FDF6F5;
}
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B6660' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-hint { font-size: 0.78rem; color: var(--stone-dark); margin-top: 6px; }
.form-upload {
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}
.form-upload:hover { border-color: var(--forest); background: var(--cream); }
.form-upload svg { width: 30px; height: 30px; color: var(--stone); margin: 0 auto 8px; }
.form-upload p { font-size: 0.88rem; color: var(--stone-dark); }
.form-submit { width: 100%; margin-top: 8px; padding: 18px; font-size: 1rem; }
.form-status { text-align: center; margin-top: 16px; font-size: 0.92rem; min-height: 1.4em; }
.form-status.success { color: var(--forest); font-weight: 600; }
.form-status.error { color: var(--danger); font-weight: 600; }
/* Honeypot — hidden from people, tempting to bots. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ========== FINAL CTA ========== */
.cta-section {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
  background: var(--charcoal);
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
  object-fit: cover;
  width: 100%; height: 100%;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(26,26,26,0.62) 0%, rgba(26,26,26,0.78) 100%);
}
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}
.cta-content h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}
.cta-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: 36px;
  line-height: 1.6;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== FOOTER ========== */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.65);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 16px; }
.footer-brand h3 span { color: var(--forest-light); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; max-width: 300px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--forest); }
.footer-social svg { width: 18px; height: 18px; color: var(--white); }
.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  font-family: var(--sans);
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 4px; font-size: 0.88rem; }
.footer-col a {
  font-size: 0.88rem;
  display: inline-block;
  padding: 5px 0;   /* keeps stacked links above the 24px minimum target size */
  transition: var(--transition);
}
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
}
.footer-bottom a { text-decoration: underline; }
.footer-bottom a:hover { color: var(--white); }
.footer-disclaimer {
  margin-top: 8px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.45);
}

/* ========== MOBILE STICKY NAV ========== */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-nav-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 56px;
  padding: 10px 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--stone-dark);
  transition: var(--transition);
}
.mobile-nav-item:active { color: var(--forest); }
.mobile-nav-item svg { width: 22px; height: 22px; }
.mobile-nav-estimate { background: var(--forest); color: var(--white); }

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--off-white);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.4s ease, visibility 0.4s;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
}
.mobile-menu-close svg { width: 22px; height: 22px; }
.mobile-menu-link {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--charcoal);
  margin-bottom: 14px;
  padding: 6px 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}
.mobile-menu-link:hover { color: var(--forest); }
.mobile-menu-link.call { color: var(--forest); font-size: 1.4rem; font-family: var(--sans); font-weight: 600; }

body.menu-open,
body.lightbox-open { overflow: hidden; }

/* ========== SCROLL ANIMATIONS ==========
   Hidden state is applied by JS (.js-anim) so that content stays visible
   if JavaScript fails or is disabled. */
.js-anim .fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-anim .fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js-anim .fade-up { opacity: 1; transform: none; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
  .inspiration-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .area-grid { gap: 32px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .nav-desktop { display: none; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px; height: 48px;
    align-items: center;
  }
  .menu-toggle span {
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
  }
  .header.scrolled .menu-toggle span { background: var(--charcoal); }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 24px; }
  .area-grid { grid-template-columns: 1fr; gap: 32px; }
  .process-timeline { flex-direction: column; gap: 32px; }
  .process-timeline::before { display: none; }
  .process-step { display: flex; align-items: center; gap: 20px; text-align: left; }
  .process-number { margin: 0; flex-shrink: 0; }
  .process-step p { padding: 0; }
  .ba-slider { aspect-ratio: 4/3; }
  .mobile-nav { display: block; }
  .mobile-menu { display: flex; }
  body { padding-bottom: 64px; }
  .lightbox { padding: 16px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }
  .cta-section { padding: 80px 0; }
}

/* Tablet portrait keeps two columns here — one column leaves the page
   looking empty and doubles the scroll length. */
@media (max-width: 640px) {
  .inspiration-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-masonry { grid-template-columns: 1fr; gap: 12px; }
  .area-cities { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
  .trust-strip-inner { gap: 14px 20px; }
  .trust-badge { font-size: 0.72rem; }
  .form-card { padding: 24px 18px; }
  .mobile-menu-link { font-size: 1.5rem; margin-bottom: 16px; }
}

/* ========== PRINT ========== */
@media print {
  .header, .mobile-nav, .mobile-menu, .lightbox, .gallery-filters,
  .hero-buttons, .cta-buttons, .form-upload, .skip-link { display: none !important; }
  body { padding-bottom: 0; background: #fff; }
  .hero { height: auto; min-height: 0; padding: 40px 0; }
  .section { padding: 24px 0; page-break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.75em; }
}
