/* ============================================================
   BISHOP CONSTRUCTION — styles.css
   Color palette derived from the Bishop Construction logo
   ============================================================ */

/* === 1. CUSTOM PROPERTIES === */
:root {
  /* Colors */
  --tan-dark:    #0F2137;
  --tan-primary: #C4A15A;
  --tan-light:   #D4B470;
  --blue-primary:  #0F2137;
  --blue-light:    #1A3A5C;
  --charcoal:      #1C1C1E;
  --charcoal-soft: #2E2E30;
  --gray-mid:      #6B7280;
  --gray-light:    #F3F4F6;
  --gray-border:   #E5E7EB;
  --white:         #FFFFFF;
  --overlay-hero:  rgba(10, 20, 35, 0.55);
  --overlay-card:  rgba(18, 32, 18, 0.75);

  /* Typography */
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-hero: clamp(2.4rem, 5.5vw, 4rem);

  /* Spacing */
  --space-xs:      0.5rem;
  --space-sm:      1rem;
  --space-md:      1.5rem;
  --space-lg:      2.5rem;
  --space-xl:      4rem;
  --space-section: clamp(4rem, 8vw, 7rem);

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 5vw, 2rem);

  /* Effects */
  --radius-sm:      4px;
  --radius-md:      8px;
  --radius-lg:      16px;
  --shadow-card:    0 2px 16px rgba(0, 0, 0, 0.07);
  --shadow-hover:   0 8px 32px rgba(0, 0, 0, 0.14);
  --transition:     0.25s ease;
  --transition-med: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* === 3. TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--charcoal);
}

h1 { font-size: var(--text-hero); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: var(--text-2xl); font-family: var(--font-body); font-weight: 600; }

p { max-width: 66ch; }

/* === 4. LAYOUT CONTAINER === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* === 4b. UTILITY === */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* === 5. SECTION SCAFFOLDING === */
section {
  padding-block: var(--space-section);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.section-header p { margin-inline: auto; }

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tan-primary);
  margin-bottom: var(--space-xs);
}

.section-sub {
  margin-top: var(--space-sm);
  color: var(--gray-mid);
  font-size: var(--text-lg);
}

/* === 6. BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--blue-primary);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--tan-primary);
  color: var(--white);
  border: 2px solid var(--tan-primary);
}
.btn-primary:hover {
  background: var(--tan-light);
  border-color: var(--tan-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 95, 42, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.65);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--tan-primary);
  border: 2px solid var(--tan-primary);
}
.btn-outline:hover {
  background: var(--tan-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-nav {
  padding: 0.55rem 1.25rem;
  font-size: var(--text-sm);
  background: var(--tan-primary);
  color: var(--white);
  border: 2px solid var(--tan-primary);
  border-radius: var(--radius-md);
}
.btn-nav:hover {
  background: var(--tan-light);
  border-color: var(--tan-light);
}

.btn--full { width: 100%; }

/* === 7. NAVIGATION === */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 0;
  background: var(--tan-dark);
  transition: background var(--transition-med), box-shadow var(--transition-med),
              padding var(--transition-med);
}

#site-header.nav--scrolled {
  background: var(--tan-dark);
  padding: 0.5rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  gap: var(--space-md);
}

.nav-logo img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition);
  display: block;
}
.nav-logo:hover img { opacity: 0.85; }

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

.nav-links a {
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--tan-light);
  transition: width var(--transition);
}
.nav-links a:not(.btn):hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a:not(.btn):hover { color: rgba(255,255,255,0.85); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 110;
}

.burger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .burger-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === 8. HERO === */
#hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 0;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-hero);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding-inline: var(--container-pad);
  max-width: 800px;
}

.hero-eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
  max-width: none;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.25rem;
  margin-inline: auto;
  max-width: 56ch;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.55);
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
  transition: color var(--transition);
}
.hero-scroll-cue:hover { color: var(--white); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* === 9. TRUST BAR === */
#trust-bar {
  padding-block: 3rem;
  background: var(--tan-primary);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.trust-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.trust-suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
}

/* wrap number + suffix inline */
.trust-item > .trust-number,
.trust-item > .trust-suffix {
  display: inline;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-number-wrap {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.trust-label {
  font-size: var(--text-sm);
  font-weight: 500;
  opacity: 0.88;
  letter-spacing: 0.02em;
}

.trust-icon {
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.25rem;
}

.trust-item--icon .trust-label {
  line-height: 1.4;
}

/* === 10. SERVICES === */
#services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
  border-top: 4px solid var(--gray-border);
  display: flex;
  flex-direction: column;
}

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

.service-card.featured {
  border-top-color: var(--tan-primary);
}

.service-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

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

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tan-primary);
  flex-shrink: 0;
}

.service-card-body h3 { margin-top: 0.25rem; }

.service-card-body p {
  color: var(--gray-mid);
  font-size: var(--text-sm);
  flex: 1;
}

.service-card-body .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* === 11. ABOUT === */
#about {
  background: var(--gray-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  aspect-ratio: 5/6;
}

.about-badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--tan-primary);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(42,95,42,0.35);
  min-width: 110px;
}

.badge-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

.badge-year {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.badge-city {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  opacity: 0.8;
  margin-top: 2px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-lead {
  font-size: var(--text-lg);
  color: var(--charcoal);
  font-weight: 500;
  line-height: 1.6;
}

.about-content p { color: var(--gray-mid); }

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.about-credentials li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--charcoal);
}

.about-credentials li svg {
  color: var(--tan-primary);
  flex-shrink: 0;
}

/* === 12. GALLERY / SLIDESHOW === */
#gallery {
  background: var(--charcoal);
}

#gallery .section-eyebrow {
  color: rgba(255,255,255,0.55);
}

#gallery h2 {
  color: var(--white);
}

.slideshow {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 7;
  max-height: 580px;
}

.slideshow-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  margin: 0;
}

.slide--active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  padding: 2.5rem 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.gallery-tag {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tan-light);
}

.gallery-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--white);
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background var(--transition);
  z-index: 10;
}

.slide-btn:hover { background: rgba(255,255,255,0.32); }

.slide-btn--prev { left: 1rem; }
.slide-btn--next { right: 1rem; }

.slide-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}

.slide-dot--active {
  background: var(--white);
  transform: scale(1.25);
}

.gallery-note {
  text-align: center;
  margin-top: 1.25rem;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  max-width: none;
}

/* === 13. YELP-STYLE REVIEWS === */
#testimonials {
  background: var(--gray-light);
}

.yelp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.yelp-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-border);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.yelp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Header row: avatar + name + yelp badge */
.yelp-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.yelp-reviewer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.yelp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--avatar-color, #666);
  color: var(--white);
  font-size: var(--text-base);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-body);
}

.yelp-reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.yelp-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yelp-location {
  font-size: var(--text-xs);
  color: var(--gray-mid);
}

.yelp-badge {
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity var(--transition);
  line-height: 1;
}
.yelp-badge:hover { opacity: 1; }

/* Stars + date row */
.yelp-rating-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.yelp-stars {
  display: flex;
  gap: 2px;
  color: #FF3B30;
}

.yelp-date {
  font-size: var(--text-xs);
  color: var(--gray-mid);
}

/* Review body */
.yelp-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.yelp-body blockquote { margin: 0; }

.yelp-preview-text {
  font-size: var(--text-sm);
  color: var(--charcoal-soft);
  line-height: 1.65;
  max-width: none;
}

.yelp-toggle {
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--blue-primary);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color var(--transition);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.yelp-toggle:hover { color: var(--tan-primary); }

/* "See all on Yelp" link row */
.yelp-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.yelp-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* === 14. CONTACT === */
#contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info h2 { margin-top: 0.25rem; }

.contact-info > p {
  color: var(--gray-mid);
  font-size: var(--text-lg);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--charcoal);
}

.contact-details li svg {
  color: var(--tan-primary);
  flex-shrink: 0;
}

.contact-details a:hover {
  color: var(--tan-primary);
  text-decoration: underline;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--gray-light);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

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

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

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--charcoal);
}

.required { color: var(--tan-primary); }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9CA3AF;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' 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 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--tan-primary);
  box-shadow: 0 0 0 3px rgba(42, 95, 42, 0.12);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #DC2626;
}

.field-error {
  font-size: var(--text-xs);
  color: #DC2626;
  font-weight: 500;
}

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

.form-status {
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  display: none;
}

.form-status.success {
  display: block;
  background: #D1FAE5;
  color: #065F46;
}

.form-status.error {
  display: block;
  background: #FEE2E2;
  color: #991B1B;
}

/* === 15. FOOTER === */
footer {
  background: var(--tan-dark);
  color: rgba(255,255,255,0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-block: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand img {
  filter: brightness(0) invert(1);
  opacity: 0.88;
  height: 38px;
  width: auto;
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.6;
  max-width: 32ch;
}

.footer-license {
  font-size: var(--text-xs) !important;
  opacity: 0.55;
}

.footer-nav h3,
.footer-contact h3 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }

.footer-contact address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-contact p,
.footer-contact a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.5rem;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  max-width: none;
}

/* === 16. SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease var(--reveal-delay, 0s),
              transform 0.65s ease var(--reveal-delay, 0s);
}

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

/* === 17. MEDIA QUERIES === */

/* Tablet: 2-column services, mobile nav visible */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-inline: auto;
  }

  .about-image img { aspect-ratio: 16/9; }
  .about-badge { right: 1rem; bottom: -1rem; }

  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-inline: auto;
  }

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

  .footer-brand { grid-column: span 2; }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--tan-dark);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    font-size: var(--text-xl);
    transform: translateX(100%);
    transition: transform var(--transition-med);
    z-index: 105;
  }

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

  .nav-links a { color: var(--white); }
  .nav-links .btn-nav {
    font-size: var(--text-xl);
    padding: 0.75rem 2rem;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .yelp-reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .contact-form { padding: 1.75rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 2.5rem;
  }

  .footer-brand { grid-column: auto; }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }

  .yelp-reviews-grid { grid-template-columns: 1fr; }

  .hero-cta-group { flex-direction: column; align-items: center; }

  .about-badge { position: static; margin-top: 1rem; display: inline-block; }
}

/* === 18. REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-img { transition: none; }
}
