/* ============================================
   DandB Handyman Services — Stylesheet
   Palette: Terracotta (#9C5B3B) + Sand (#F5E6D3)
   Fonts: Playfair Display + Lato
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --terracotta: #9C5B3B;
  --terracotta-dark: #7A4529;
  --terracotta-light: #B87A5A;
  --sand: #F5E6D3;
  --sand-light: #FAF3EA;
  --sand-dark: #E8D5C0;
  --charcoal: #2C2420;
  --charcoal-light: #4A3F38;
  --warm-gray: #6B5E56;
  --cream: #FDF9F5;
  --white: #FFFFFF;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Lato', 'Segoe UI', system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(44, 36, 32, 0.08);
  --shadow-md: 0 4px 16px rgba(44, 36, 32, 0.10);
  --shadow-lg: 0 8px 32px rgba(44, 36, 32, 0.12);
  --shadow-xl: 0 16px 48px rgba(44, 36, 32, 0.14);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background-color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover { color: var(--terracotta-dark); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- PRELOADER ---------- */
.page-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-icon {
  animation: preloaderPulse 1.2s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.95); }
}

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--terracotta);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-size: 0.875rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
  color: var(--white);
}

/* ---------- BG PATTERN ---------- */
.bg-pattern {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C5B3B' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 249, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(156, 91, 59, 0.1);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(253, 249, 245, 0.97);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* ---------- LOGO ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--charcoal);
}

.logo--light .logo-name,
.logo--light .logo-tagline {
  color: var(--sand);
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--terracotta);
  color: var(--sand);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.logo:hover .logo-mark { transform: rotate(-5deg) scale(1.05); }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.logo-tagline {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ---------- NAV ---------- */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal-light);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: var(--terracotta);
  background: rgba(156, 91, 59, 0.06);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
  background: var(--terracotta);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  margin-left: 12px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--terracotta-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.nav-cta-icon {
  flex-shrink: 0;
}

/* ---------- NAV TOGGLE ---------- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  align-items: center;
  justify-content: center;
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  position: relative;
  transition: background var(--transition), transform var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  transition: transform var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44, 36, 32, 0.88) 0%,
    rgba(44, 36, 32, 0.72) 50%,
    rgba(122, 69, 41, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 230, 211, 0.12);
  border: 1px solid rgba(245, 230, 211, 0.2);
  color: var(--sand);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
  letter-spacing: 0.03em;
}

.hero-badge svg {
  opacity: 0.8;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  color: var(--sand);
  line-height: 1.12;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title-line {
  display: block;
}

.hero-title-accent {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta-light);
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(245, 230, 211, 0.8);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(245, 230, 211, 0.75);
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-icon {
  color: var(--terracotta-light);
  flex-shrink: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(245, 230, 211, 0.5);
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow {
  display: block;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-light {
  background: transparent;
  color: var(--sand);
  border-color: rgba(245, 230, 211, 0.4);
}

.btn-outline-light:hover {
  background: rgba(245, 230, 211, 0.1);
  border-color: var(--sand);
  color: var(--sand);
  transform: translateY(-2px);
}

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

.btn-full {
  width: 100%;
}

.btn-icon {
  flex-shrink: 0;
  transition: transform var(--transition);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--sand-light);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(156, 91, 59, 0.08);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  margin-bottom: 20px;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* ---------- WHY US ---------- */
.why-us-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-us-images {
  position: relative;
  min-height: 600px;
}

.why-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.why-img--main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 80%;
}

.why-img--main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-img--secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 55%;
  border: 6px solid var(--cream);
}

.why-img--secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-accent {
  position: absolute;
  top: -20px;
  right: 40%;
  width: 80px;
  height: 80px;
  background: var(--terracotta);
  border-radius: var(--radius-md);
  opacity: 0.15;
  z-index: -1;
}

.why-intro {
  font-size: 1.0625rem;
  color: var(--warm-gray);
  line-height: 1.75;
  margin-bottom: 36px;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-feature {
  display: flex;
  gap: 16px;
}

.why-feature-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(156, 91, 59, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-feature-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.why-feature-desc {
  font-size: 0.9375rem;
  color: var(--warm-gray);
  line-height: 1.65;
}

/* ---------- PROJECTS ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.project-card--large {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 500px;
}

.project-card--wide {
  grid-column: span 5;
  grid-row: span 2;
  min-height: 500px;
}

.project-card:not(.project-card--large):not(.project-card--wide) {
  grid-column: span 6;
  min-height: 240px;
}

.project-img {
  position: absolute;
  inset: 0;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 36, 32, 0.85) 0%, rgba(44, 36, 32, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background var(--transition);
}

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

.project-card:hover .project-overlay {
  background: linear-gradient(to top, rgba(44, 36, 32, 0.92) 0%, rgba(44, 36, 32, 0.3) 60%, transparent 100%);
}

.project-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--terracotta-light);
  margin-bottom: 8px;
  width: fit-content;
}

.project-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--sand);
  margin-bottom: 6px;
}

.project-desc {
  font-size: 0.875rem;
  color: rgba(245, 230, 211, 0.7);
  line-height: 1.6;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(156, 91, 59, 0.08);
  position: relative;
  transition: all var(--transition);
}

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

.testimonial-quote-mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--terracotta);
  opacity: 0.2;
  position: absolute;
  top: 16px;
  left: 24px;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--charcoal-light);
  line-height: 1.75;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author-avatar {
  width: 44px;
  height: 44px;
  background: var(--terracotta);
  color: var(--sand);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--charcoal);
}

.testimonial-author-location {
  font-size: 0.8125rem;
  color: var(--warm-gray);
}

/* ---------- CTA ---------- */
.cta {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(156, 91, 59, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.cta-content {
  flex: 1;
  max-width: 520px;
}

.cta-eyebrow {
  color: var(--terracotta-light);
}

.cta-title {
  color: var(--sand);
}

.cta-text {
  font-size: 1.0625rem;
  color: rgba(245, 230, 211, 0.7);
  line-height: 1.75;
  margin-top: 16px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.btn-lg--full {
  width: 100%;
  justify-content: center;
}

/* ---------- CONTACT ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 48px;
}

.contact-intro {
  font-size: 1.0625rem;
  color: var(--warm-gray);
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 52px;
  height: 52px;
  background: rgba(156, 91, 59, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--warm-gray);
  margin-bottom: 4px;
}

.contact-detail-value {
  display: block;
  font-size: 1rem;
  color: var(--charcoal);
  font-weight: 500;
}

.contact-detail-value a {
  color: var(--charcoal);
}

.contact-detail-value a:hover {
  color: var(--terracotta);
}

/* ---------- FORM ---------- */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(156, 91, 59, 0.08);
  box-shadow: var(--shadow-md);
}

.contact-form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--charcoal);
  background: var(--sand-light);
  border: 1.5px solid rgba(156, 91, 59, 0.15);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--warm-gray);
  opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(156, 91, 59, 0.1);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B5E56' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(156, 91, 59, 0.08);
  border: 1px solid rgba(156, 91, 59, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 16px;
  color: var(--terracotta-dark);
  font-size: 0.9375rem;
  font-weight: 500;
}

.form-success svg {
  flex-shrink: 0;
  color: var(--terracotta);
}

/* ---------- MAP ---------- */
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--charcoal);
  color: var(--sand);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(245, 230, 211, 0.1);
}

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(245, 230, 211, 0.6);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--sand);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(245, 230, 211, 0.6);
  transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
  color: var(--sand);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-list a {
  font-size: 0.875rem;
  color: rgba(245, 230, 211, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}

.footer-contact-list a:hover {
  color: var(--sand);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.8125rem;
  color: rgba(245, 230, 211, 0.4);
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
  .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ---------- MOBILE NAV OVERLAY ---------- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(44, 36, 32, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-overlay.active {
  opacity: 1;
}

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

  .why-us-layout {
    gap: 40px;
  }

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }

  .project-card--large,
  .project-card--wide {
    grid-column: span 12;
    min-height: 360px;
  }

  .project-card:not(.project-card--large):not(.project-card--wide) {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 96px 28px 32px;
    gap: 4px;
    box-shadow: var(--shadow-xl);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-overlay {
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-link {
    font-size: 1rem;
    padding: 12px 16px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
    justify-content: center;
    padding: 14px 18px;
  }

  .hero-content {
    padding: 100px 0 60px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust {
    gap: 16px;
  }

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

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

  .why-us-images {
    min-height: 400px;
    order: -1;
  }

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

  .project-card:not(.project-card--large):not(.project-card--wide) {
    grid-column: span 1;
  }

  .project-card--large,
  .project-card--wide {
    min-height: 280px;
  }

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-content {
    max-width: 100%;
  }

  .cta-actions {
    width: 100%;
    flex-direction: row;
  }

  .cta-actions .btn {
    flex: 1;
  }

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

  .contact-form-wrapper {
    padding: 28px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 2.125rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .service-card {
    padding: 28px 22px;
  }

  .contact-form-wrapper {
    padding: 20px;
  }
}
