/* ==========================================================================
   NW CRAFT BUILDERS — DESIGN SYSTEM & STYLESHEET
   Domain: NWCraftBuilders.com
   Aesthetic: Warm Modern, Rugged Craftsmanship, Pacific Northwest Feel
   ========================================================================== */

/* --- Custom Properties & Design Tokens --- */
:root {
  /* Color Palette */
  --forest-slate: #1C2826;
  --forest-slate-dark: #121B19;
  --forest-slate-light: #263835;
  --forest-slate-subtle: #2E423F;
  
  --timber-cedar: #A45A2A;
  --timber-cedar-hover: #8B481D;
  --timber-cedar-light: #C46E35;
  --timber-cedar-subtle: rgba(164, 90, 42, 0.12);
  --timber-cedar-border: rgba(164, 90, 42, 0.35);

  --soft-linen: #F9F9F6;
  --soft-linen-card: #FFFFFF;
  --soft-linen-dark: #EFECE6;
  --soft-linen-accent: #FAF8F5;

  --charcoal: #2B2D2F;
  --charcoal-light: #4A4D50;
  --charcoal-muted: #6B7280;

  --stone-border: #E2DFD8;
  --stone-border-light: #ECE9E2;
  --stone-border-dark: #D1CCC1;
  --dark-border: rgba(255, 255, 255, 0.12);

  --white: #FFFFFF;
  --success: #1E6B47;
  --error: #BA2525;
  --error-bg: #FDF2F2;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 14px rgba(28, 40, 38, 0.08), 0 2px 6px rgba(28, 40, 38, 0.04);
  --shadow-lg: 0 12px 28px rgba(28, 40, 38, 0.12), 0 4px 10px rgba(28, 40, 38, 0.06);
  --shadow-xl: 0 20px 40px rgba(28, 40, 38, 0.18), 0 8px 16px rgba(28, 40, 38, 0.08);

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 300ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 500ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-width: 1280px;
  --header-height: 80px;
}

/* --- Global Reset & Base Setup --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--charcoal);
  background-color: var(--soft-linen);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg, picture, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --- Accessibility Skip Link --- */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--timber-cedar);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: 99999;
  transition: top var(--transition-fast);
}
.skip-to-content:focus {
  top: 20px;
}

/* Accessible focus ring */
:focus-visible {
  outline: 3px solid var(--timber-cedar);
  outline-offset: 3px;
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 5vw, 2.5rem);
  padding-right: clamp(1.25rem, 5vw, 2.5rem);
}

/* --- Typography System --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--forest-slate);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--timber-cedar);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--timber-cedar);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--forest-slate);
  margin-bottom: 1rem;
}

.section-title.light {
  color: var(--white);
}

.section-desc {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--charcoal-light);
  line-height: 1.65;
}

.section-desc.light {
  color: rgba(255, 255, 255, 0.78);
}

/* --- Buttons & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--timber-cedar);
  color: var(--white);
  border: 1px solid var(--timber-cedar);
  box-shadow: 0 4px 12px rgba(164, 90, 42, 0.28);
}
.btn-primary:hover {
  background-color: var(--timber-cedar-hover);
  border-color: var(--timber-cedar-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(164, 90, 42, 0.38);
}

.btn-secondary {
  background-color: transparent;
  color: var(--forest-slate);
  border: 1.5px solid var(--forest-slate);
}
.btn-secondary:hover {
  background-color: var(--forest-slate);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white-outline {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}
.btn-white-outline:hover {
  background-color: var(--white);
  color: var(--forest-slate);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* ==========================================================================
   NAVIGATION BAR (STICKY WITH BACKDROP BLUR)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(249, 249, 246, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 223, 216, 0.7);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(249, 249, 246, 0.96);
  border-bottom: 1px solid var(--stone-border);
  box-shadow: var(--shadow-sm);
  height: 72px;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon-wrapper {
  width: 40px;
  height: 40px;
  background-color: var(--forest-slate);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--timber-cedar-light);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-icon-wrapper {
  transform: rotate(-3deg) scale(1.05);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--forest-slate);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand-domain {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--timber-cedar);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--timber-cedar);
  transition: width var(--transition-fast);
}

.nav-item:hover,
.nav-item.active {
  color: var(--timber-cedar);
}

.nav-item.active::after {
  width: 100%;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--forest-slate);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.phone-link svg {
  color: var(--timber-cedar);
  flex-shrink: 0;
}

.phone-link:hover {
  color: var(--timber-cedar);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--forest-slate);
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] .line-1 {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] .line-2 {
  opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"] .line-3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(249, 249, 246, 0.98);
  backdrop-filter: blur(20px);
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 1.5rem;
  border-top: 1px solid var(--stone-border);
  overflow-y: auto;
  z-index: 999;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-item {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forest-slate);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--stone-border-light);
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--timber-cedar);
}

.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--forest-slate);
  color: var(--white);
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: clamp(4rem, 8vw, 7.5rem) 0;
  overflow: hidden;
}

/* Hero Background Image & Layered Gradient */
.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: brightness(0.68) saturate(1.1);
  transform: scale(1.03);
  transition: transform 10s ease-out;
}

.hero-section:hover .hero-bg-image {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(18, 27, 25, 0.92) 0%,
    rgba(28, 40, 38, 0.82) 50%,
    rgba(46, 66, 63, 0.55) 100%
  );
}

.hero-texture-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(164, 90, 42, 0.22);
  border: 1px solid rgba(196, 110, 53, 0.45);
  color: #F8B588;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-headline {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-headline .timber-highlight {
  color: #E2884E;
  position: relative;
  display: inline-block;
}

.hero-subheadline {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 680px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

/* Trust Badges Strip */
.trust-badges-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.trust-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(164, 90, 42, 0.25);
  border: 1px solid rgba(196, 110, 53, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F8B588;
  flex-shrink: 0;
}

.trust-badge-divider {
  width: 4px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

/* ==========================================================================
   CORE SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: clamp(5rem, 8vw, 7.5rem) 0;
  background-color: var(--soft-linen);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  position: relative;
  background-color: var(--soft-linen-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--stone-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--timber-cedar);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--timber-cedar-border);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--forest-slate);
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.service-card:hover .service-card-img {
  transform: scale(1.08);
}

.service-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(28, 40, 38, 0.85);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}

.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--timber-cedar-subtle);
  color: var(--timber-cedar);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--forest-slate);
}

.service-card-text {
  font-size: 0.9375rem;
  color: var(--charcoal-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--stone-border-light);
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--charcoal);
}

.service-feature-item svg {
  color: var(--timber-cedar);
  flex-shrink: 0;
}

.service-card-action {
  margin-top: auto;
}

.service-inquire-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--timber-cedar);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.service-inquire-btn:hover {
  gap: 10px;
  color: var(--timber-cedar-hover);
}

/* ==========================================================================
   FEATURED PROJECTS / PORTFOLIO SECTION
   ========================================================================== */
.portfolio-section {
  padding: clamp(5rem, 8vw, 7.5rem) 0;
  background-color: #F4F3EE;
  border-top: 1px solid var(--stone-border);
  border-bottom: 1px solid var(--stone-border);
}

/* Filter Controls */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 10px 22px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid var(--stone-border);
  background-color: var(--white);
  color: var(--charcoal);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--timber-cedar);
  color: var(--timber-cedar);
}

.filter-btn.active {
  background-color: var(--forest-slate);
  border-color: var(--forest-slate);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

/* Projects Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.project-card {
  position: relative;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--stone-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), opacity var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.project-card.hidden {
  display: none;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.project-card-image-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
  background-color: var(--forest-slate);
  cursor: pointer;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.project-card:hover .project-img {
  transform: scale(1.06);
}

.project-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(28, 40, 38, 0.45);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast);
  backdrop-filter: blur(2px);
}

.project-card:hover .project-card-overlay {
  opacity: 1;
}

.preview-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--white);
  color: var(--forest-slate);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transform: translateY(10px);
  transition: transform var(--transition-fast);
}

.project-card:hover .preview-pill {
  transform: translateY(0);
}

.project-card-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.project-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--timber-cedar);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-category-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--soft-linen-dark);
  color: var(--forest-slate);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.project-title {
  font-size: 1.25rem;
  color: var(--forest-slate);
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.875rem;
  color: var(--charcoal-light);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.project-specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 0.75rem;
  border-top: 1px solid var(--stone-border-light);
  font-size: 0.8125rem;
  color: var(--charcoal-muted);
}

.project-spec-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   OUR 4-STEP BUILD PROCESS (HORIZONTAL TIMELINE)
   ========================================================================== */
.process-section {
  padding: clamp(5rem, 8vw, 7.5rem) 0;
  background-color: var(--soft-linen);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 2rem;
}

/* Connecting Horizontal Line for Desktop */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--timber-cedar) 0,
    var(--timber-cedar) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 1;
}

.process-card {
  position: relative;
  z-index: 2;
  background-color: var(--white);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--timber-cedar-border);
}

.process-step-indicator {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--forest-slate);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  border: 4px solid var(--soft-linen);
  box-shadow: 0 0 0 2px var(--timber-cedar);
  margin-bottom: 1.5rem;
}

.process-card:hover .process-step-indicator {
  background-color: var(--timber-cedar);
  box-shadow: 0 0 0 2px var(--forest-slate);
}

.process-step-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--forest-slate);
  line-height: 1.3;
}

.process-step-desc {
  font-size: 0.875rem;
  color: var(--charcoal-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.process-deliverables {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--stone-border-light);
}

.deliverable-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal-muted);
  margin-bottom: 0.5rem;
}

.deliverables-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.deliverables-list li {
  font-size: 0.8125rem;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 6px;
}

.deliverables-list li::before {
  content: '•';
  color: var(--timber-cedar);
  font-weight: bold;
}

/* ==========================================================================
   WHY CHOOSE US / CRAFTSMANSHIP STANDARDS SECTION
   ========================================================================== */
.why-us-section {
  padding: clamp(5rem, 8vw, 7.5rem) 0;
  background-color: var(--forest-slate);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-us-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(164, 90, 42, 0.15), transparent 70%);
  pointer-events: none;
}

.why-us-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.why-us-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-top: 2rem;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-fast);
}

.pillar-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--timber-cedar-light);
  transform: translateY(-3px);
}

.pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: rgba(164, 90, 42, 0.2);
  color: #F8B588;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.pillar-title {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.pillar-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

/* Stats Counter Grid */
.stats-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.stat-item {
  text-align: center;
  padding: 1rem;
  border-bottom: 1px solid var(--dark-border);
}
.stat-item:nth-child(3),
.stat-item:nth-child(4) {
  border-bottom: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #F8B588;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

/* ==========================================================================
   SOCIAL PROOF & CLIENT TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  padding: clamp(5rem, 8vw, 7.5rem) 0;
  background-color: var(--soft-linen);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--timber-cedar-border);
}

.stars-rating {
  display: flex;
  gap: 4px;
  color: #D97706; /* Amber-gold */
  margin-bottom: 1.25rem;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  flex-grow: 1;
  font-style: italic;
  position: relative;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 1.25rem;
  border-top: 1px solid var(--stone-border-light);
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--timber-cedar-border);
}

.client-info h4 {
  font-size: 1rem;
  color: var(--forest-slate);
  margin-bottom: 2px;
}

.client-meta {
  font-size: 0.8125rem;
  color: var(--charcoal-muted);
}

/* Industry Badge Strip */
.industry-badges-strip {
  border-top: 1px solid var(--stone-border);
  padding-top: 3rem;
  text-align: center;
}

.industry-badges-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--charcoal-muted);
  margin-bottom: 1.75rem;
}

.industry-logos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3.5rem;
}

.industry-badge-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background-color: var(--white);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--forest-slate);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.industry-badge-pill svg {
  color: var(--timber-cedar);
  flex-shrink: 0;
}

.industry-badge-pill:hover {
  border-color: var(--timber-cedar);
  transform: translateY(-2px);
}

/* ==========================================================================
   LEAD CAPTURE / CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: clamp(5rem, 8vw, 7.5rem) 0;
  background-color: #F3F1EB;
  border-top: 1px solid var(--stone-border);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: start;
}

/* Contact Form Card */
.contact-form-card {
  background-color: var(--white);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
}

.contact-form-header {
  margin-bottom: 2rem;
}

.contact-form-title {
  font-size: 1.75rem;
  color: var(--forest-slate);
  margin-bottom: 0.5rem;
}

.contact-form-subtitle {
  font-size: 0.9375rem;
  color: var(--charcoal-light);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.col-span-2 {
  grid-column: span 2;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--forest-slate);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label .required-indicator {
  color: var(--timber-cedar);
  font-weight: bold;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  background-color: var(--soft-linen);
  border: 1.5px solid var(--stone-border);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--charcoal);
  transition: all var(--transition-fast);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--charcoal-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--timber-cedar);
  box-shadow: 0 0 0 3px rgba(164, 90, 42, 0.15);
}

/* Modern Accessible Form Validation: :user-invalid & :user-valid */
.form-input:user-invalid,
.form-select:user-invalid,
.form-textarea:user-invalid,
.form-input.user-invalid-fallback,
.form-select.user-invalid-fallback,
.form-textarea.user-invalid-fallback {
  border-color: var(--error);
  background-color: var(--error-bg);
}

.form-input:required:user-valid,
.form-select:required:user-valid,
.form-textarea:required:user-valid {
  border-color: var(--success);
}

.error-msg {
  display: none;
  color: var(--error);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-top: 0.35rem;
}

.form-input:user-invalid + .error-msg,
.form-select:user-invalid + .error-msg,
.form-textarea:user-invalid + .error-msg,
.form-input.user-invalid-fallback + .error-msg,
.form-select.user-invalid-fallback + .error-msg {
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-privacy-note {
  font-size: 0.8125rem;
  color: var(--charcoal-muted);
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Contact Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background-color: var(--white);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-title {
  font-size: 1.25rem;
  color: var(--forest-slate);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--stone-border-light);
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-channel-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--timber-cedar-subtle);
  color: var(--timber-cedar);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channel-details h5 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal-muted);
  margin-bottom: 2px;
}

.contact-channel-details a,
.contact-channel-details p {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--forest-slate);
}

.contact-channel-details a:hover {
  color: var(--timber-cedar);
}

/* Service Area Tag List */
.service-area-box {
  background-color: var(--soft-linen-dark);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.service-area-box h5 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal-muted);
  margin-bottom: 0.75rem;
}

.service-area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.area-tag {
  background-color: var(--white);
  border: 1px solid var(--stone-border);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--forest-slate);
}

/* Map Card */
.map-embed-card {
  background-color: var(--white);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-placeholder-frame {
  position: relative;
  height: 220px;
  background-color: #E5E3DC;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  background-image: 
    linear-gradient(rgba(28, 40, 38, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 40, 38, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
}

.map-pin-pulse {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--timber-cedar);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: 0 0 0 8px rgba(164, 90, 42, 0.2);
  animation: pulsePin 2.5s infinite;
}

@keyframes pulsePin {
  0% { box-shadow: 0 0 0 0 rgba(164, 90, 42, 0.4); }
  70% { box-shadow: 0 0 0 16px rgba(164, 90, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(164, 90, 42, 0); }
}

.map-card-info {
  padding: 1rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--charcoal-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--stone-border-light);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--forest-slate-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-licenses {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8125rem;
  color: #E2884E;
  font-weight: 600;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-links-list a:hover {
  color: #F8B588;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.75rem;
}

.footer-contact-item svg {
  color: var(--timber-cedar-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 1.25rem;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background-color: var(--timber-cedar);
  border-color: var(--timber-cedar);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a:hover {
  color: var(--white);
}

/* ==========================================================================
   MODALS & LIGHTBOX (<dialog>)
   ========================================================================== */
dialog {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 90vw;
  max-height: 90vh;
  margin: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

dialog::backdrop {
  background-color: rgba(18, 27, 25, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dialog-modal-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 860px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.dialog-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(28, 40, 38, 0.7);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.dialog-close-btn:hover {
  background-color: var(--timber-cedar);
  transform: rotate(90deg);
}

.lightbox-hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.lightbox-content {
  padding: 2.25rem;
  overflow-y: auto;
  max-height: 50vh;
}

.lightbox-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.lightbox-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background-color: var(--soft-linen);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

.spec-box h6 {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--charcoal-muted);
  margin-bottom: 2px;
}

.spec-box p {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--forest-slate);
}

/* Success Confirmation State */
.form-success-overlay {
  display: none;
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.form-success-overlay.active {
  display: flex;
}

.success-check-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #E7F6EC;
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

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

  .process-timeline::before {
    display: none;
  }

  .why-us-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-actions .btn {
    display: none;
  }

  .phone-link span {
    display: none;
  }

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

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

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .why-us-pillars {
    grid-template-columns: 1fr;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .form-group.col-span-2 {
    grid-column: span 1;
  }

  .lightbox-specs-grid {
    grid-template-columns: 1fr;
  }

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