/* ======================================
   THOMPSON HOME INSPECTION — STYLES
   Palette: Restoration Hardware inspired
   Warm earth tones, light & airy, natural materials
   ====================================== */

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

:root {
  /* Earth-tone palette — warm, natural, inviting */
  --stone-50:  #faf8f5;
  --stone-100: #f3efe9;
  --stone-200: #e8e1d8;
  --stone-300: #d5cbbe;
  --stone-400: #b8a999;
  --stone-500: #9a8b7a;
  --stone-600: #7d6e5e;
  --stone-700: #5e5044;
  --stone-800: #43392f;
  --stone-900: #2c2520;

  /* Warm accent — soft copper for decorative details */
  --copper-400: #c8856a;
  --copper-500: #b8714f;
  --copper-600: #a3603f;
  --copper-700: #8a5035;

  /* Bold accent — rich clay/rust for buttons & key CTAs */
  --accent-500: #bf4e30;
  --accent-600: #a8432a;
  --accent-700: #8e3923;

  /* Charcoal — for headings, hero box, dark sections */
  --charcoal-700: #3d3a36;
  --charcoal-800: #2e2b27;
  --charcoal-900: #222019;

  /* Accent muted sage — very subtle, for small details only */
  --sage-50:  #f4f5f0;
  --sage-100: #e5e8dd;
  --sage-400: #8a9476;
  --sage-500: #717d60;
  --sage-600: #5e6a4e;

  /* Semantic */
  --primary:       var(--accent-500);
  --primary-dark:  var(--accent-600);
  --primary-light: var(--stone-50);
  --accent:        var(--accent-500);
  --text:          var(--stone-800);
  --text-secondary: var(--stone-500);
  --text-muted:    var(--stone-400);
  --heading:       var(--charcoal-800);
  --bg:            #ffffff;
  --bg-warm:       var(--stone-50);
  --bg-alt:        var(--stone-100);
  --border:        var(--stone-200);
  --border-light:  var(--stone-100);

  /* Typography */
  --font-heading: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-body:    'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --header-h: 80px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-500);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--heading);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn--ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.7);
}

.btn--phone {
  background: transparent;
  color: var(--accent-600);
  font-weight: 700;
  border: none;
  padding: 8px 0;
}
.btn--phone:hover { color: var(--accent-700); }

.btn--sm { padding: 8px 18px; font-size: 0.85rem; }
.btn--lg { padding: 14px 28px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
  height: var(--header-h);
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo { display: flex; align-items: center; }
.logo__img {
  height: 50px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

.nav { display: flex; gap: 28px; }

.nav__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--stone-600);
  transition: color 0.2s var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--accent-500); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--stone-700);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.mobile-nav.active { opacity: 1; pointer-events: all; }

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.mobile-nav__links a {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--stone-800);
}
.mobile-nav__links a:hover { color: var(--accent-500); }
.mobile-nav__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 260px;
  margin-top: 16px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

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

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 48px 0;
}

.hero__content-box {
  background: rgba(44, 37, 32, 0.92);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 44px 48px;
  border-radius: var(--radius-lg);
  max-width: 580px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.hero__company-name {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__credentials {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero__credential strong {
  display: block;
  font-size: 0.85rem;
  color: #fff;
  font-weight: 700;
}
.hero__credential span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.hero__credential-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.hero__credential-link:hover strong {
  text-decoration: underline;
}

.hero__credential-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.15);
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--charcoal-800);
  padding: 16px 0;
}

.trust-bar__inner {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 16px 28px;
  white-space: nowrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  flex-shrink: 0;
}
.trust-bar__item svg {
  color: var(--accent-500);
  flex-shrink: 0;
}
.trust-bar__link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.trust-bar__link:hover {
  color: #fff;
  text-decoration: underline;
}

/* ---------- SERVICES ---------- */
.services {
  padding: 80px 0;
  background: var(--stone-100);
}

.services .section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--sage-50);
  color: var(--sage-600);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 12px;
}

.service-card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
}

.service-card__features li {
  font-size: 0.85rem;
  color: var(--stone-600);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.service-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--accent-500);
  border-radius: 50%;
  opacity: 0.6;
}

/* Services Featured Banner */
.services__featured {
  margin-bottom: 32px;
  background: linear-gradient(135deg, var(--charcoal-800), var(--charcoal-900));
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.services__featured-inner {
  max-width: 680px;
  margin: 0 auto;
}
.services__featured-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent-500);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.services__featured-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}
.services__featured-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Compliance card accent */
.service-card--compliance {
  position: relative;
  border-left: 4px solid var(--accent-500);
}

/* "Now Offering" pill on compliance cards */
.service-card__pill {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent-500);
  padding: 3px 10px;
  border-radius: 50px;
  line-height: 1.4;
}

/* Sample report link on service cards */
.service-card__sample-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-500);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.service-card__sample-link:hover {
  color: var(--accent-700);
  text-decoration: underline;
}

/* Featured banner CTA row */
.services__featured-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- ABOUT ---------- */
.about {
  padding: 80px 0;
  background: #fff;
}

.about__inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 64px;
  align-items: start;
}

.about__photos {
  position: relative;
}

.about__photo-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about__experience-badge {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 80px;
  height: 80px;
  background: var(--accent-500);
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.about__experience-number {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}
.about__experience-text {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.about__text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about__text a {
  color: var(--accent-500);
  font-weight: 600;
  text-decoration: none;
}
.about__text a:hover {
  text-decoration: underline;
}

/* Licensed Contractor / ASHI Blocks — Portrait Layout */
.about__licenses-row {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.about__license {
  flex: 1;
  padding: 24px 20px;
  background: var(--stone-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.about__license--portrait .about__license-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s var(--ease);
}
.about__license--portrait .about__license-inner:hover {
  opacity: 0.85;
}
.about__license-logo {
  height: 96px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.about__license-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about__license-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--heading);
  margin-bottom: 2px;
}
.about__license-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.about__license-link u {
  color: var(--accent-500);
  text-decoration: underline;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: 64px 0;
  background: var(--stone-100);
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
}

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

.testimonial__card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.testimonial__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: #e8a317;
}

.testimonial__text {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 700;
  line-height: 1.55;
  color: var(--heading);
  font-style: italic;
  margin-bottom: 20px;
  flex: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial__author strong {
  font-size: 0.9rem;
  color: var(--stone-700);
}

.testimonial__author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- WHAT WE INSPECT ---------- */
.inspect {
  padding: 80px 0;
  background: var(--bg-warm);
}

.inspect__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 24px;
}

.inspect__item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 0;
}

.inspect__img {
  width: 180px;
  height: 100%;
  object-fit: cover;
}

.inspect__item-content {
  padding: 24px 24px 24px 0;
}

.inspect__item-content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
}

.inspect__item-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---------- PROCESS ---------- */
.process {
  padding: 80px 0;
  background: var(--charcoal-800);
  color: #fff;
}

.process .section-label { color: var(--accent-500); }
.process .section-title { color: #fff; }
.process .section-desc { color: rgba(255,255,255,0.6); }

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process__step {
  text-align: center;
}

.process__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--accent-500);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  border-radius: 50%;
  margin-bottom: 20px;
}

.process__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.process__text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}
.process__phone-link {
  color: var(--accent-500);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.process__phone-link:hover {
  text-decoration: underline;
  color: #fff;
}

/* ---------- GALLERY ---------- */
.gallery {
  padding: 80px 0;
  background: #fff;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); }

.gallery__item--wide { grid-column: span 2; }

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 16px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ---------- SERVICE AREA ---------- */
.area {
  padding: 80px 0;
  background: var(--stone-100);
}

.area__inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
}

.area__content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.area__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.area__city {
  display: inline-flex;
  padding: 6px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--stone-700);
}

.area__region-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-600);
  margin-bottom: 8px;
}

.area__region-label + .area__cities {
  margin-bottom: 20px;
}

.area__note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.area__photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- PROFESSIONALS ---------- */
.professionals {
  padding: 80px 0;
  background: #fff;
}

.professionals__inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: start;
}

.professionals__content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.professionals__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.professionals__list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}
.professionals__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--accent-500);
  border-radius: 50%;
  opacity: 0.6;
}
.professionals__list li strong {
  color: var(--heading);
}

.professionals__photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 80px 0;
  background: var(--bg-warm);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact__info p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact__detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--stone-100);
  color: var(--accent-500);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact__detail strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact__detail a,
.contact__detail span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--stone-800);
}
.contact__detail a:hover { color: var(--accent-500); }

/* Form */
.contact__form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact__form-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 24px;
}

.form__group { margin-bottom: 16px; }

.form__group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--stone-700);
  margin-bottom: 4px;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-warm);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(191, 78, 48, 0.12);
}
.form__group textarea { resize: vertical; min-height: 90px; }
.form__group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239a8b7a' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

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

.form__note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--charcoal-900);
  color: rgba(255,255,255,0.5);
  padding: 56px 0 24px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  height: 50px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.footer__company-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
}

.footer__tagline {
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer__links h4 {
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer__links a {
  display: block;
  font-size: 0.85rem;
  padding: 3px 0;
  transition: color 0.2s;
}
.footer__links a:hover { color: rgba(255,255,255,0.9); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: 0.8rem;
}
.footer__bottom a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer__bottom a:hover { color: rgba(255,255,255,0.9); }

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--accent-500);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: all 0.3s var(--ease);
  z-index: 100;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--accent-600);
}

/* ---------- ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__photos { max-width: 380px; }
  .inspect__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .area__inner { grid-template-columns: 1fr; }
  .area__photo { display: none; }
  .professionals__inner { grid-template-columns: 1fr; }
  .professionals__photo { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .testimonials__grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav, .header__actions { display: none; }
  .hamburger { display: flex; }
  .logo__img { height: 38px; }

  /* Mobile nav button overrides — ensure button text isn't overridden by link color */
  .mobile-nav__buttons .btn--primary {
    color: #fff;
  }
  .mobile-nav__buttons .btn--primary:hover {
    color: #fff;
  }

  /* Mobile hero — compact, centered, let image show at top & bottom */
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: var(--header-h);
    padding-bottom: 0;
  }
  .hero__inner {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    padding: 24px 0;
  }
  .hero__content-box {
    max-width: 100%;
    padding: 24px 20px;
    border-radius: var(--radius-md);
    background: rgba(44, 37, 32, 0.85);
    backdrop-filter: blur(6px);
  }
  .hero__company-name {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
  }
  .hero__title {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }
  .hero__subtitle {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 18px;
  }
  .hero__cta {
    margin-bottom: 16px;
  }
  .hero__credentials {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    padding-top: 14px;
    justify-content: space-between;
  }
  .hero__credential {
    flex: 1 1 auto;
    text-align: center;
    min-width: 0;
  }
  .hero__credential strong {
    font-size: 0.72rem;
    white-space: nowrap;
  }
  .hero__credential span {
    font-size: 0.65rem;
    white-space: nowrap;
  }
  .hero__credential-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
    margin: 0 8px;
  }

  .services__grid { grid-template-columns: 1fr; }
  .service-card__features { grid-template-columns: 1fr; }

  .inspect__item { grid-template-columns: 1fr; }
  .inspect__img { width: 100%; height: 180px; min-height: auto; }
  .inspect__item-content { padding: 20px; }

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

  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery__item--wide { grid-column: span 2; }

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

  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; gap: 4px; text-align: center; }

  .trust-bar__inner { gap: 10px 24px; flex-wrap: wrap; white-space: normal; justify-content: center; }
  .trust-bar__item { flex-shrink: 1; }
  .services__featured { padding: 28px 24px; }
  .services__featured-title { font-size: 1.2rem; }
  .services__featured-cta { flex-direction: column; align-items: center; }
  .about__licenses-row { flex-direction: column; gap: 16px; }
  .inspect__grid { grid-auto-rows: auto; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .contact__form { padding: 24px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { text-align: center; justify-content: center; font-size: 0.9rem; padding: 12px 20px; }
  .hero__content-box { padding: 20px 16px; }
  .hero__title { font-size: 1.4rem; }
  .hero__subtitle { font-size: 0.85rem; }
  .hero__credential strong { font-size: 0.68rem; }
  .hero__credential span { font-size: 0.6rem; }
  .hero__credential-divider { margin: 0 4px; height: 24px; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery__item--wide { grid-column: span 1; }
}
