


:root {
  --color-earth: #3d2b1f;
  --color-earth-mid: #6b4c3b;
  --color-warm-bg: #f5f0eb;
  --color-warm-bg-alt: #ede7df;
  --color-white: #ffffff;
  --color-accent: #c17f3e;
  --color-accent-dark: #a0652a;
  --color-accent-light: #e8c99a;
  --color-text: #2a1f18;
  --color-text-mid: #5a4a3e;
  --color-text-light: #8a7a70;
  --color-border: #d4c8be;
  --color-border-light: #e8e0d8;
  --color-surface: rgba(255,255,255,0.82);
  --color-surface-warm: rgba(245,240,235,0.9);
  --color-error: #c0392b;
  --color-success: #2e7d32;

  --shadow-sm: 0 1px 3px rgba(61,43,31,0.08), 0 1px 2px rgba(61,43,31,0.06);
  --shadow-md: 0 4px 16px rgba(61,43,31,0.10), 0 2px 6px rgba(61,43,31,0.06);
  --shadow-lg: 0 12px 40px rgba(61,43,31,0.14), 0 4px 12px rgba(61,43,31,0.08);
  --shadow-glass: 0 8px 32px rgba(61,43,31,0.12);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --container-max: 1240px;
  --container-pad: clamp(1rem, 4vw, 2.5rem);

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;

  --header-h: 72px;
  --top-strip-h: 36px;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--color-accent-dark); text-decoration: none; }
a:hover { color: var(--color-earth); }
address { font-style: normal; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--color-earth);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }


.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section-pad {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.bg-warm { background: var(--color-warm-bg); }

.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section-header p {
  color: var(--color-text-mid);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0.5rem auto 0;
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-earth);
  border-color: var(--color-earth);
}
.btn-outline:hover {
  background: var(--color-earth);
  color: var(--color-white);
}

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  min-height: 36px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  font-family: var(--font-head);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-sm:hover { background: var(--color-accent-dark); color: var(--color-white); }

.btn-full { width: 100%; justify-content: center; }


.top-strip {
  background: var(--color-earth);
  color: var(--color-accent-light);
  text-align: center;
  font-size: 0.8rem;
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.5rem 1rem;
  height: var(--top-strip-h);
  display: flex;
  align-items: center;
  justify-content: center;
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand-logo { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo img { height: 48px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-earth);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.nav-active { color: var(--color-accent); background: rgba(193,127,62,0.07); }

.nav-trigger {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-earth);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-trigger:hover { color: var(--color-accent); background: rgba(193,127,62,0.07); }

.nav-arrow {
  font-size: 0.65rem;
  transition: transform 0.2s;
}

.nav-dropdown { position: relative; }
.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown:hover .nav-arrow { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 480px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
}

.dropdown-links {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.dropdown-links a {
  display: block;
  padding: 0.6rem 0.75rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--color-earth);
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
.dropdown-links a:hover, .dropdown-links a.nav-active {
  background: rgba(193,127,62,0.1);
  color: var(--color-accent-dark);
}

.dropdown-promo {
  background: var(--color-warm-bg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  border-left: 1px solid var(--color-border-light);
}
.dropdown-promo p {
  font-size: 0.85rem;
  color: var(--color-text-mid);
  margin: 0;
  line-height: 1.5;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: background 0.2s;
  margin-left: 0.75rem;
}
.header-phone:hover { background: var(--color-accent-dark); color: var(--color-white); }


.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-earth);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-menu-toggle.is-open .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.is-open .hamburger-bar:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.is-open .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


.mobile-menu {
  display: none;
  overflow-y: auto;
  max-height: calc(100dvh - var(--header-h) - var(--top-strip-h));
  background: var(--color-white);
  border-top: 1px solid var(--color-border-light);
  padding: 0.5rem 0 1rem;
}
.mobile-menu.is-open { display: block; }

.mobile-nav-list { list-style: none; }
.mobile-nav-list > li > a {
  display: block;
  padding: 0.75rem var(--container-pad);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-earth);
  border-bottom: 1px solid var(--color-border-light);
}
.mobile-nav-list > li > a:hover { background: var(--color-warm-bg); }

.mobile-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem var(--container-pad);
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-border-light);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-earth);
  cursor: pointer;
  text-align: left;
}
.mobile-trigger i { transition: transform 0.2s; font-size: 0.75rem; }
.mobile-trigger[aria-expanded="true"] i { transform: rotate(180deg); }

.mobile-submenu {
  display: none;
  background: var(--color-warm-bg);
  list-style: none;
}
.mobile-submenu.is-open { display: block; }
.mobile-submenu li a {
  display: block;
  padding: 0.65rem var(--container-pad) 0.65rem calc(var(--container-pad) + 1.25rem);
  font-size: 0.92rem;
  color: var(--color-text-mid);
  border-bottom: 1px solid var(--color-border-light);
}
.mobile-submenu li a:hover { color: var(--color-accent); background: rgba(193,127,62,0.05); }

.mobile-phone-link {
  display: flex !important;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-accent) !important;
  font-weight: 600 !important;
}


.hero-stage {
  display: grid;
  grid-template-columns: 60fr 40fr;
  min-height: clamp(520px, 70vh, 780px);
  position: relative;
  overflow: hidden;
  background: var(--color-earth);
}

.hero-content-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
  padding-right: clamp(2rem, 5vw, 4rem);
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--color-earth) 70%, rgba(61,43,31,0.85) 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(193,127,62,0.2);
  border: 1px solid rgba(193,127,62,0.4);
  color: var(--color-accent-light);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
  width: fit-content;
}

.hero-heading {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  max-width: 600px;
}

.hero-subtext {
  color: rgba(255,255,255,0.78);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero-actions .btn-outline {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}
.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-white);
  color: var(--color-white);
}

.hero-image-panel {
  position: relative;
  overflow: hidden;
}
.hero-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-notch {
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 60px;
  background: var(--color-earth);
  clip-path: polygon(0 0, 40% 0, 100% 50%, 40% 100%, 0 100%);
}


.page-hero {
  background: var(--color-earth);
  color: var(--color-white);
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.page-hero h1 { color: var(--color-white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 600px; font-size: 1.1rem; margin: 0; }

.page-hero-image {
  background: var(--color-earth);
  position: relative;
  overflow: hidden;
}
.page-hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-img, none) center/cover no-repeat;
  opacity: 0.25;
  z-index: 0;
}
.page-hero-image .container { position: relative; z-index: 1; }

.page-hero-short { padding: clamp(2.5rem, 5vw, 4rem) 0; }


.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s, transform 0.25s;
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: inherit;
}

.service-card-image {
  aspect-ratio: 3/2;
  overflow: hidden;
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-image img { transform: scale(1.04); }

.service-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}
.service-card-body h3 { color: var(--color-earth); font-size: 1.1rem; }
.service-card-body p { color: var(--color-text-mid); font-size: 0.92rem; line-height: 1.5; flex: 1; }

.card-link-text {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-accent);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 0.25rem;
}
.card-link-text i { font-size: 0.75rem; transition: transform 0.2s; }
.service-card:hover .card-link-text i { transform: translateX(4px); }


.stagger-grid .service-card,
.stagger-grid .area-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-grid .service-card.is-visible,
.stagger-grid .area-card.is-visible { opacity: 1; transform: translateY(0); }
.stagger-grid .service-card:nth-child(2).is-visible,
.stagger-grid .area-card:nth-child(2).is-visible { transition-delay: 80ms; }
.stagger-grid .service-card:nth-child(3).is-visible,
.stagger-grid .area-card:nth-child(3).is-visible { transition-delay: 160ms; }
.stagger-grid .service-card:nth-child(4).is-visible,
.stagger-grid .area-card:nth-child(4).is-visible { transition-delay: 240ms; }


.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: start;
}
.step-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent-light);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.9rem; color: var(--color-text-mid); margin: 0; }

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 2rem;
  color: var(--color-accent);
  font-size: 1.25rem;
}


.job-stepper {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.stepper-progress {
  margin-bottom: 2rem;
  position: relative;
}

.progress-bar-track {
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 0.4s ease;
  width: 20%;
}

.stepper-dots {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.stepper-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-border);
  border: 2px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-border);
  transition: background 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.stepper-dot.active, .stepper-dot.completed {
  background: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent);
}

.stepper-content-area { min-height: 200px; position: relative; }

.stepper-slide {
  display: none;
  animation: stepIn 0.3s ease;
}
.stepper-slide.active { display: block; }

@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.stepper-slide .stepper-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(193,127,62,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-size: 1.4rem;
}
.stepper-slide h3 { margin-bottom: 0.75rem; font-size: 1.2rem; }
.stepper-slide p { color: var(--color-text-mid); line-height: 1.65; }

.stepper-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: rgba(193,127,62,0.07);
  border-left: 3px solid var(--color-accent);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--color-text-mid);
}
.stepper-tip i { color: var(--color-accent); margin-top: 2px; flex-shrink: 0; }

.stepper-controls {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border-light);
}
.stepper-btn { min-width: 120px; }


.area-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.area-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}
.area-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: inherit;
}

.area-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-accent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.area-card h3 { color: var(--color-earth); margin-bottom: 0.5rem; font-size: 1.15rem; }
.area-card p { color: var(--color-text-mid); font-size: 0.9rem; line-height: 1.5; flex: 1; }
.area-card .card-link-text { margin-top: 1rem; }
.area-card:hover .card-link-text i { transform: translateX(4px); }


.about-preview-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-preview-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 380px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.about-preview-content h2 { margin-bottom: 1rem; }
.about-preview-content p { color: var(--color-text-mid); margin-bottom: 1rem; }


.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.detail-row:last-child { margin-bottom: 0; }
.detail-row-reverse { direction: rtl; }
.detail-row-reverse > * { direction: ltr; }

.detail-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.detail-content h2 { margin-bottom: 1rem; }
.detail-content p { color: var(--color-text-mid); margin-bottom: 1.5rem; }


.trustindex-wrapper {
  min-height: 200px;
}


.contact-form-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-form-intro h2 { margin-bottom: 1rem; }
.contact-form-intro p { color: var(--color-text-mid); margin-bottom: 1.5rem; }

.contact-quick-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-quick-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--color-text-mid);
}
.contact-quick-list i {
  color: var(--color-accent);
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
}
.contact-quick-list a { color: var(--color-earth); font-weight: 500; }
.contact-quick-list a:hover { color: var(--color-accent); }

.contact-panel {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
}


.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
  min-height: 80px;
}
.form-field:has(textarea) { min-height: 130px; }

.form-field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-earth);
  letter-spacing: 0.02em;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(193,127,62,0.15);
}
.form-field textarea { resize: vertical; min-height: 100px; }

.error-message {
  color: var(--color-error);
  font-size: 0.82rem;
  margin-top: 0.2rem;
}
.is-invalid {
  border-color: var(--color-error) !important;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12) !important;
}

[data-form-success] {
  background: rgba(46,125,50,0.08);
  border: 1px solid rgba(46,125,50,0.3);
  color: var(--color-success);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-weight: 500;
  text-align: center;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.site-footer {
  background: var(--color-earth);
  color: rgba(255,255,255,0.8);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.footer-brand img { margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

.footer-nav h4 {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--color-accent-light); }

.footer-contact h4 {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}
.footer-contact address p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.35rem;
}
.footer-contact a { color: rgba(255,255,255,0.85); }
.footer-contact a:hover { color: var(--color-accent-light); }
.footer-contact strong { color: rgba(255,255,255,0.9); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin: 0; }

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
}
.footer-legal-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-legal-links a:hover { color: rgba(255,255,255,0.8); }


.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  pointer-events: none;
}
.floating-cta.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta-inner {
  background: var(--color-earth);
  border-top: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.875rem var(--container-pad);
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(61,43,31,0.2);
}

.floating-cta-text {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-family: var(--font-head);
  font-weight: 500;
}

.floating-cta-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-accent-light);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}
.floating-cta-phone:hover { color: var(--color-white); }

.floating-cta-btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
}

.floating-cta-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem;
  min-width: 28px;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.floating-cta-close:hover { color: var(--color-white); background: rgba(255,255,255,0.1); }


.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(42,31,24,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
  animation: modalFadeIn 0.25s ease;
}
.modal-overlay[hidden] { display: none; }

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  width: 100%;
  max-width: 520px;
  max-height: 90dvh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalSlideUp 0.3s ease;
}
@keyframes modalSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-warm-bg);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-earth);
  font-size: 1rem;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--color-border); }

.modal-title {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  padding-right: 2rem;
}


.about-split {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-content h2 { margin: 1.5rem 0 0.75rem; }
.about-content h2:first-child { margin-top: 0; }
.about-content p { color: var(--color-text-mid); }
.about-cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }

.about-sidebar img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.about-facts { display: flex; flex-direction: column; gap: 1rem; }
.about-fact {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--color-warm-bg);
  border-radius: var(--radius-md);
}
.about-fact i { color: var(--color-accent); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.about-fact strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--color-earth); margin-bottom: 0.2rem; }
.about-fact span { font-size: 0.85rem; color: var(--color-text-mid); }


.contact-page-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-nap-block {
  background: var(--color-warm-bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.contact-nap-block h2 { font-size: 1.3rem; margin-bottom: 1.25rem; }

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.contact-info-row:last-child { margin-bottom: 0; }
.contact-info-row i { color: var(--color-accent); font-size: 1rem; margin-top: 3px; width: 18px; flex-shrink: 0; }
.contact-info-row strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--color-earth); }
.contact-info-row span, .contact-info-row a { font-size: 0.92rem; color: var(--color-text-mid); }
.contact-info-row a:hover { color: var(--color-accent); }

.returning-client-block {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.returning-icon {
  width: 44px;
  height: 44px;
  background: rgba(193,127,62,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.returning-client-block h3 { margin-bottom: 0.75rem; font-size: 1.05rem; }
.returning-client-block p { font-size: 0.9rem; color: var(--color-text-mid); margin-bottom: 0.75rem; }

.contact-page-form h2 { margin-bottom: 1.25rem; }


.map-section { padding: 0 0 clamp(3rem, 6vw, 5rem); }
.map-heading { padding: 0 var(--container-pad); margin-bottom: 1.25rem; }
.map-responsive-container {
  position: relative;
  width: 100%;
  padding-top: 45%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 0 var(--container-pad);
  width: calc(100% - 2 * var(--container-pad));
}
.map-responsive-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


.faq-container { max-width: 820px; margin: 0 auto; }
.faq-group { margin-bottom: 2.5rem; }
.faq-group h2 { margin-bottom: 1.25rem; font-size: 1.3rem; color: var(--color-earth); }

.faq-accordion { display: flex; flex-direction: column; gap: 0.5rem; }

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-earth);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--color-accent);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.faq-item[open] .faq-question::after { transform: rotate(180deg); }
.faq-item[open] .faq-question { color: var(--color-accent-dark); }

.faq-answer {
  padding: 0 1.25rem 1rem;
  color: var(--color-text-mid);
  font-size: 0.93rem;
  line-height: 1.65;
}
.faq-answer p { margin-bottom: 0; }


.legal-container {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content { background: var(--color-white); }
.legal-container h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; color: var(--color-earth); }
.legal-container h2:first-of-type { margin-top: 0; }
.legal-container p { color: var(--color-text-mid); margin-bottom: 1rem; font-size: 0.95rem; }
.legal-container ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-container ul li { color: var(--color-text-mid); font-size: 0.95rem; margin-bottom: 0.4rem; }
.legal-container address { font-style: normal; line-height: 1.8; color: var(--color-text-mid); font-size: 0.95rem; }


.service-intro-split {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.service-intro-content h2 { margin-bottom: 1rem; }
.service-intro-content p { color: var(--color-text-mid); margin-bottom: 1rem; }
.service-intro-content ul { list-style: disc; padding-left: 1.5rem; color: var(--color-text-mid); font-size: 0.95rem; }
.service-intro-content ul li { margin-bottom: 0.4rem; }
.service-intro-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.process-checklist { display: flex; flex-direction: column; gap: 1.25rem; }
.process-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.process-item i {
  color: var(--color-accent);
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
  width: 24px;
}
.process-item h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.process-item p { font-size: 0.9rem; color: var(--color-text-mid); margin: 0; }

.area-mention-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.area-mention-card {
  display: block;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.area-mention-card:hover { box-shadow: var(--shadow-sm); border-color: var(--color-accent); }
.area-mention-card h3 { font-size: 1rem; margin-bottom: 0.35rem; color: var(--color-earth); }
.area-mention-card p { font-size: 0.85rem; color: var(--color-text-mid); margin: 0; }

.service-contact-cta {
  background: var(--color-warm-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.service-contact-cta p { color: var(--color-text-mid); margin: 0; }
.service-contact-cta .btn { margin: 0 0.25rem; }


.commercial-app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.commercial-app-card {
  background: var(--color-warm-bg);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}
.commercial-app-card i { font-size: 1.75rem; color: var(--color-accent); margin-bottom: 0.75rem; }
.commercial-app-card h3 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.commercial-app-card p { font-size: 0.85rem; color: var(--color-text-mid); margin: 0; }


.detail-pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.detail-pair {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.detail-pair-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}
.detail-pair p { font-size: 0.9rem; color: var(--color-text-mid); margin: 0; }


.backsplash-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.backsplash-detail {
  background: var(--color-warm-bg);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.backsplash-detail h3 { font-size: 0.95rem; color: var(--color-accent-dark); margin-bottom: 0.5rem; }
.backsplash-detail p { font-size: 0.88rem; color: var(--color-text-mid); margin: 0; }

.backsplash-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 1rem;
  margin-top: 2rem;
  height: 280px;
}
.backsplash-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}


.area-intro-content { max-width: 820px; }
.area-intro-content > p { color: var(--color-text-mid); font-size: 1.05rem; margin-bottom: 2rem; }

.area-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}
.area-service-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-earth);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.area-service-link i { color: var(--color-accent); font-size: 1.1rem; }
.area-service-link:hover { border-color: var(--color-accent); background: rgba(193,127,62,0.04); box-shadow: var(--shadow-sm); color: var(--color-earth); }


.west-end-bento-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--color-earth);
}
.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s;
  opacity: 0.85;
}
.bento-card:hover img { transform: scale(1.04); opacity: 0.75; }
.bento-large { grid-row: span 2; min-height: 420px; }
.bento-small { min-height: 200px; }
.bento-medium { min-height: 200px; }

.bento-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(42,31,24,0.9) 0%, transparent 100%);
  padding: 1.25rem;
  color: var(--color-white);
}
.bento-caption h3 { font-size: 0.95rem; color: var(--color-white); margin-bottom: 0.25rem; }
.bento-caption p { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin: 0; }


.adair-projects-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.adair-projects-scroll::-webkit-scrollbar { height: 4px; }
.adair-projects-scroll::-webkit-scrollbar-track { background: var(--color-border-light); border-radius: 2px; }
.adair-projects-scroll::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 2px; }

.scroll-project-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
  display: block;
}
.scroll-project-card:hover { box-shadow: var(--shadow-md); }
.scroll-project-card img { width: 100%; height: 200px; object-fit: cover; }
.scroll-project-caption { padding: 1rem; }
.scroll-project-caption h3 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.scroll-project-caption p { font-size: 0.8rem; color: var(--color-text-mid); margin: 0; }


.adair-process-strip {
  background: var(--color-warm-bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 1.5rem;
}
.adair-process-strip h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.process-strip-steps { display: flex; flex-direction: column; gap: 0.6rem; }
.process-strip-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--color-text-mid);
}
.process-strip-step span {
  width: 24px;
  height: 24px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}


.capitol-view-timeline { display: flex; flex-direction: column; gap: 2rem; }
.timeline-project { display: flex; gap: 1.25rem; align-items: flex-start; }
.timeline-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.75rem;
  position: relative;
}
.timeline-marker::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 12px;
  width: 2px;
  height: calc(100% + 2rem);
  background: var(--color-border);
  transform: translateX(-50%);
}
.timeline-project:last-child .timeline-marker::before { display: none; }
.timeline-content { flex: 1; }
.timeline-project-link {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.timeline-project-link:hover { box-shadow: var(--shadow-sm); }
.timeline-project-link img { width: 180px; height: 120px; object-fit: cover; }
.timeline-caption { padding: 0.75rem 1rem; display: flex; flex-direction: column; justify-content: center; }
.timeline-caption h3 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.timeline-caption p { font-size: 0.82rem; color: var(--color-text-mid); margin: 0; }


.local-focus-block {
  background: var(--color-warm-bg);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 2rem 2rem 2rem 2.5rem;
  max-width: 700px;
}
.local-focus-block i {
  font-size: 2rem;
  color: var(--color-accent-light);
  display: block;
  margin-bottom: 0.75rem;
}
.local-focus-block p { color: var(--color-text-mid); font-size: 1rem; margin: 0; line-height: 1.7; }


.west-end-home-types {
  background: var(--color-warm-bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 1.5rem;
}
.west-end-home-types h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.west-end-home-types ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.west-end-home-types ul li {
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.92rem;
  color: var(--color-text-mid);
}
.west-end-home-types ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}


.nearby-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.nearby-chip {
  background: var(--color-warm-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  color: var(--color-text-mid);
}


.mechanicsville-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.mosaic-feature {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  display: block;
  text-decoration: none;
  grid-row: span 2;
  background: var(--color-earth);
}
.mosaic-feature img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.3s; }
.mosaic-feature:hover img { opacity: 0.72; }
.mosaic-secondary { display: flex; flex-direction: column; gap: 1rem; }
.mosaic-secondary-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex: 1;
  display: block;
  text-decoration: none;
  background: var(--color-earth);
  min-height: 180px;
}
.mosaic-secondary-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.3s; }
.mosaic-secondary-card:hover img { opacity: 0.72; }
.mosaic-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(42,31,24,0.88) 0%, transparent 100%);
  padding: 1rem;
  color: var(--color-white);
}
.mosaic-caption h3 { font-size: 0.9rem; color: var(--color-white); margin-bottom: 0.2rem; }
.mosaic-caption p { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin: 0; }


.mechanicsville-highlight-block {
  background: var(--color-warm-bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 1.5rem;
  border-left: 4px solid var(--color-accent);
}
.mechanicsville-highlight-block h2 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.mechanicsville-highlight-block p { color: var(--color-text-mid); font-size: 0.95rem; margin: 0; }


.project-breadcrumb {
  padding: 1rem var(--container-pad);
  font-size: 0.85rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.project-breadcrumb a { color: var(--color-accent-dark); }
.project-breadcrumb a:hover { color: var(--color-accent); }
.project-breadcrumb span:last-child { color: var(--color-text-mid); }

.project-hero { margin-bottom: 0; }
.project-hero .container { padding-bottom: 1.5rem; }
.project-hero h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); }

.project-hero-image {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
}
.project-hero-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.project-body-grid {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.project-description h2 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.project-description h3 { font-size: 1.05rem; margin: 1.5rem 0 0.6rem; }
.project-description p { color: var(--color-text-mid); margin-bottom: 1rem; font-size: 0.95rem; }

.project-details-table {
  background: var(--color-warm-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.project-details-table h3 { margin-bottom: 1rem; font-size: 1rem; margin-top: 0; }
.project-details-list { display: flex; flex-direction: column; gap: 0.6rem; }
.project-details-list > div {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}
.project-details-list dt {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--color-earth);
  min-width: 90px;
  flex-shrink: 0;
}
.project-details-list dd { color: var(--color-text-mid); }
.project-details-list dd a { color: var(--color-accent-dark); }

.micro-process-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  counter-reset: step-counter;
}
.micro-process-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-mid);
  counter-increment: step-counter;
}
.micro-process-list li::before {
  content: counter(step-counter);
  width: 22px;
  height: 22px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.project-closing {
  background: rgba(193,127,62,0.07);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-mid);
  margin-top: 1rem;
}
.project-closing a { color: var(--color-accent-dark); font-weight: 600; }

.project-more {
  position: sticky;
  top: calc(var(--header-h) + var(--top-strip-h) + 1rem);
}
.project-more h3 { font-size: 1rem; margin-bottom: 1rem; }
.more-projects-list { display: flex; flex-direction: column; gap: 0.75rem; }
.more-project-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.more-project-card:hover { box-shadow: var(--shadow-sm); }
.more-project-card img { width: 72px; height: 56px; object-fit: cover; flex-shrink: 0; }
.more-project-card span { font-size: 0.82rem; color: var(--color-text-mid); padding: 0.25rem 0.5rem 0.25rem 0; line-height: 1.4; }


.error-container {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--container-pad);
}
.error-number {
  font-family: var(--font-head);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 800;
  color: var(--color-accent-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.error-container h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.error-container > p { color: var(--color-text-mid); margin-bottom: 2rem; }
.error-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  text-align: left;
  margin-bottom: 2rem;
}
.error-link-group h3 { font-size: 0.9rem; color: var(--color-text-light); margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.06em; }
.error-link-group ul { display: flex; flex-direction: column; gap: 0.4rem; }
.error-link-group a { font-size: 0.92rem; color: var(--color-accent-dark); }
.error-link-group a:hover { color: var(--color-earth); }


.commercial-faq-style h2 { margin-bottom: 1.25rem; }


@media (max-width: 1023px) {
  .main-nav .nav-list,
  .main-nav .header-phone { display: none; }
  .mobile-menu-toggle { display: flex; }
  
  .hero-stage { grid-template-columns: 1fr; min-height: auto; }
  .hero-image-panel { height: 300px; }
  .hero-notch { display: none; }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .step-connector { display: none; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  .about-split { grid-template-columns: 1fr; }
  .about-sidebar { order: -1; }
  .about-sidebar img { height: 260px; }
  
  .contact-page-grid { grid-template-columns: 1fr; }
  .contact-form-split { grid-template-columns: 1fr; }
  
  .detail-row, .detail-row-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  
  .service-intro-split { grid-template-columns: 1fr; }
  
  .about-preview-split { grid-template-columns: 1fr; }
  
  .backsplash-gallery { grid-template-columns: 1fr 1fr; height: auto; }
  .backsplash-gallery img { height: 200px; }
  
  .detail-pair-grid { grid-template-columns: 1fr; }
  .backsplash-detail-grid { grid-template-columns: 1fr; }
  
  .project-body-grid { grid-template-columns: 1fr; }
  .project-more { position: static; margin-top: 2rem; }
  
  .west-end-bento-grid { grid-template-columns: 1fr; }
  .bento-large { grid-row: span 1; min-height: 280px; }
  
  .mechanicsville-mosaic { grid-template-columns: 1fr; }
  .mosaic-feature { grid-row: span 1; min-height: 250px; }
  
  .capitol-view-timeline .timeline-project-link { grid-template-columns: 140px 1fr; }
  
  .map-responsive-container { margin: 0; width: 100%; }
}

@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  
  .hero-content-panel { padding: 2.5rem 1.25rem; }
  
  .floating-cta-text { display: none; }
  
  .service-grid { grid-template-columns: 1fr; }
  .area-cards { grid-template-columns: 1fr 1fr; }
  
  .area-mention-grid { grid-template-columns: 1fr 1fr; }
  
  .commercial-app-grid { grid-template-columns: 1fr 1fr; }
  
  .timeline-project-link {
    grid-template-columns: 1fr;
  }
  .timeline-project-link img { width: 100%; height: 160px; }
  
  .error-links-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 479px) {
  .area-cards { grid-template-columns: 1fr; }
  .area-mention-grid { grid-template-columns: 1fr; }
  .commercial-app-grid { grid-template-columns: 1fr; }
  .error-links-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .stagger-grid .service-card,
  .stagger-grid .area-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .floating-cta { transition: none; }
}

/* === fixed-mobile-header: BEGIN === */
@media (max-width: 767.98px) {
  /* Hide any pre-header promo strip on mobile so the fixed header doesn't overlap it. */
  .top-strip,
  .global-top-strip,
  .mod-top-strip,
  .san-top-strip { display: none !important; }

  /* Fix the site header to the viewport on mobile. */
  header,
  .site-header,
  .mod-header,
  .global-header,
  .san-header,
  .old-header,
  #site-header,
  #globalHeader,
  #san-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
  }

  /* Push page content down by the header's height so nothing hides underneath.
     Uses var(--header-h) when defined by the theme, otherwise falls back to 64px. */
  body { padding-top: var(--header-h, 64px) !important; }

  /* Some themes' JS adds .is-hidden on scroll-down to slide the header off-screen.
     On mobile the user asked for the header to stay anchored, so cancel that transform. */
  .site-header.is-hidden,
  .mod-header.is-hidden,
  .global-header.is-hidden,
  .san-header.is-hidden,
  .old-header.is-hidden,
  header.is-hidden,
  #site-header.is-hidden,
  #globalHeader.is-hidden,
  #san-header.is-hidden { transform: none !important; }
}
/* === fixed-mobile-header: END === */
