/* ==========================================================================
   Full Service Chimney Sweep LLC — Master Stylesheet
   Client: Robert Simmons | Build: 2026-03
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS RESET
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

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

table {
  border-collapse: collapse;
  width: 100%;
}

/* --------------------------------------------------------------------------
   2. CUSTOM PROPERTIES (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --clr-primary: #800020;
  --clr-primary-dark: #5c0017;
  --clr-primary-light: #a3002e;
  --clr-secondary: #1a1a1a;
  --clr-accent: #c9a84c;
  --clr-accent-light: #e0c76a;
  --clr-bg: #ffffff;
  --clr-light: #f7f5f2;
  --clr-warm-light: #faf8f5;
  --clr-text: #3a3a3a;
  --clr-heading: #1a1a1a;
  --clr-white: #ffffff;
  --clr-gray: #777777;
  --clr-border: #e5e0db;

  /* Typography */
  --ff-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;

  /* Spacing */
  --section-pad-y: 96px;
  --section-pad-y-mobile: 56px;
  --container-max: 1200px;
  --container-pad: 24px;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.15);
  --shadow-warm: 0 4px 20px rgba(128, 0, 32, 0.08);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY — Google Fonts
   -------------------------------------------------------------------------- */
/* Google Fonts loaded via <link> tags in HTML — no @import needed */

body {
  font-family: var(--ff-body);
  font-size: 16px;
  color: var(--clr-text);
  background-color: var(--clr-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  color: var(--clr-heading);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

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

section {
  padding: var(--section-pad-y) 0;
}

.section-light {
  background-color: var(--clr-light);
}

.section-dark {
  background-color: var(--clr-secondary);
  color: var(--clr-white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--clr-white);
}

/* --------------------------------------------------------------------------
   5. UTILITY CLASSES
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-white { color: var(--clr-white); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 16px;
  min-height: 44px;
  background: var(--clr-primary);
  color: var(--clr-white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 8px;
}

/* Decorative heading underline */
.section-heading {
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  border: 2px solid transparent;
  line-height: 1.4;
  letter-spacing: 0.01em;
  gap: 8px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
}

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

.btn-primary:hover {
  background-color: var(--clr-primary-dark);
  border-color: var(--clr-primary-dark);
  box-shadow: 0 4px 16px rgba(128, 0, 32, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--clr-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background-color: var(--clr-white);
  color: var(--clr-primary);
  border-color: var(--clr-white);
}

.section-alt .btn-outline,
.section-gallery .btn-outline,
.section-light .btn-outline {
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}

.section-alt .btn-outline:hover,
.section-gallery .btn-outline:hover,
.section-light .btn-outline:hover {
  background-color: var(--clr-primary);
  color: var(--clr-white);
  border-color: var(--clr-primary);
}

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

.btn-white:hover {
  background-color: transparent;
  color: var(--clr-white);
  border-color: var(--clr-white);
}

/* --------------------------------------------------------------------------
   6. HEADER / NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--transition), background-color var(--transition), transform 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(0, 0, 0, 0.04);
}

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

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  height: 72px;
  width: auto;
  border-radius: 50%;
}

.logo-text {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--clr-gray);
  font-family: var(--ff-body);
  letter-spacing: 0.5px;
}

/* Header phone */
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--clr-primary);
  font-size: 0.95rem;
  margin-right: 12px;
  white-space: nowrap;
  transition: color var(--transition);
}

.header-phone:hover {
  color: var(--clr-primary-dark);
}

.header-phone svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Header actions (phone + book + hamburger) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-book {
  padding: 10px 22px;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

/* Desktop Nav */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--clr-text);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  transition: width var(--transition);
  border-radius: 1px;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--clr-primary);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1200;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--clr-secondary);
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Floating hamburger — appears when header is hidden on mobile */
.floating-hamburger {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1200;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.floating-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--clr-secondary);
}

.floating-hamburger.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

@media (max-width: 900px) {
  .floating-hamburger {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   7. HERO SECTIONS
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(26, 26, 26, 0.65) 0%,
    rgba(128, 0, 32, 0.45) 50%,
    rgba(26, 26, 26, 0.7) 100%
  );
  z-index: 1;
}

/* Subtle warm accent overlay on hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.08), transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px var(--container-pad);
}

.hero h1 {
  color: var(--clr-white);
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
  animation: heroFadeUp 0.8s ease-out both;
}

.hero .subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  margin-bottom: 32px;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page-specific hero overlays */
.hero--services::before {
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.65), rgba(128, 0, 32, 0.45));
}

.hero--about::before {
  background: linear-gradient(200deg, rgba(26, 26, 26, 0.6), rgba(128, 0, 32, 0.4));
}

.hero--products::before {
  background: linear-gradient(140deg, rgba(26, 26, 26, 0.65), rgba(128, 0, 32, 0.45));
}

.hero--contact::before {
  background: linear-gradient(170deg, rgba(26, 26, 26, 0.6), rgba(128, 0, 32, 0.45));
}

.hero--page {
  min-height: 380px;
}

/* Hero text animation */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   8. SERVICE CARDS GRID (HOME PAGE)
   -------------------------------------------------------------------------- */
.services-grid-section {
  background-color: var(--clr-warm-light);
  padding: var(--section-pad-y) 0;
}

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

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.85) 0%,
    rgba(26, 26, 26, 0.4) 40%,
    rgba(26, 26, 26, 0.15) 70%,
    transparent 100%
  );
  transition: background var(--transition);
}

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

.service-card:hover::before {
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.9) 0%,
    rgba(26, 26, 26, 0.5) 40%,
    rgba(26, 26, 26, 0.2) 70%,
    transparent 100%
  );
}

.service-card-content {
  position: relative;
  z-index: 2;
  padding: 28px;
  color: var(--clr-white);
}

.service-card h3 {
  color: var(--clr-white);
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.service-card p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* 5 cards layout: 3 top, 2 bottom centered */
/* Text-only service cards (no background image) */
.service-grid--text .service-card {
  display: block;
  overflow: visible;
  min-height: auto;
  background: var(--clr-light);
  padding: 32px;
  border-left: 4px solid var(--clr-primary);
  border-radius: var(--radius-md);
}

.service-grid--text .service-card::before {
  display: none;
}

.service-grid--text .service-card:hover {
  transform: translateY(-4px);
}

.service-grid--text .service-card h3 {
  color: var(--clr-heading);
  font-size: 1.2rem;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--clr-border);
}

.service-grid--text .service-card p {
  color: var(--clr-text);
  opacity: 1;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.service-grid--five {
  grid-template-columns: repeat(6, 1fr);
}

.service-grid--five .service-card:nth-child(1),
.service-grid--five .service-card:nth-child(2),
.service-grid--five .service-card:nth-child(3) {
  grid-column: span 2;
}

.service-grid--five .service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.service-grid--five .service-card:nth-child(5) {
  grid-column: 4 / span 2;
}

/* --------------------------------------------------------------------------
   9. TRUST BAR
   -------------------------------------------------------------------------- */
.trust-bar {
  background: linear-gradient(135deg, var(--clr-secondary) 0%, #2a2020 100%);
  padding: 28px 0;
  border-top: 3px solid var(--clr-accent);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.trust-item img {
  height: 50px;
  width: auto;
}

.trust-item svg {
  width: 24px;
  height: 24px;
  color: var(--clr-accent);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   10. CTA SECTIONS
   -------------------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
  color: var(--clr-white);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative pattern on CTA */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.1), transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.03), transparent 50%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--clr-white);
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 28px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-phone {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--ff-heading);
  color: var(--clr-white);
}

.cta-phone:hover {
  color: var(--clr-accent);
}

/* Mid-page CTA — smaller variant */
.cta-mid {
  padding: 40px 0;
}

.cta-mid h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.cta-mid .cta-phone {
  font-size: 1.25rem;
}

/* --------------------------------------------------------------------------
   11. MOBILE STICKY CTA BAR
   -------------------------------------------------------------------------- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background-color: var(--clr-primary);
  padding: 10px 16px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}

.mobile-sticky-cta.hidden {
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--clr-white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  min-height: 44px;
}

.sticky-phone svg {
  flex-shrink: 0;
}

.sticky-book {
  padding: 8px 20px;
  font-size: 0.9rem;
  min-height: 44px;
}

/* --------------------------------------------------------------------------
   12. TESTIMONIAL CARDS
   -------------------------------------------------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--clr-white);
  padding: 32px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--ff-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--clr-primary);
  opacity: 0.08;
  pointer-events: none;
}

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

.testimonial-stars {
  color: var(--clr-accent);
  font-size: 1.15rem;
  margin-bottom: 14px;
  letter-spacing: 3px;
}

.testimonial-card blockquote {
  font-style: italic;
  margin-bottom: 18px;
  line-height: 1.75;
  color: var(--clr-text);
  font-size: 0.95rem;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--clr-heading);
  font-size: 0.9rem;
  display: block;
  padding-top: 14px;
  border-top: 1px solid var(--clr-border);
}

.testimonial-author {
  font-weight: 600;
  color: var(--clr-heading);
}

.testimonial-source {
  font-size: 0.8rem;
  color: var(--clr-gray);
}

/* --------------------------------------------------------------------------
   13. SERVICE AREA
   -------------------------------------------------------------------------- */
.service-area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.service-area-grid h3 {
  margin-bottom: 16px;
  color: var(--clr-primary);
}

.area-list li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 0.95rem;
}

.area-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--clr-accent);
}

/* --------------------------------------------------------------------------
   14. PRODUCT GALLERY
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.product-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
  transition: opacity var(--transition);
}

.product-item:hover::after {
  opacity: 0.8;
}

.product-item-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  z-index: 2;
  color: var(--clr-white);
}

.product-item-text h4 {
  color: var(--clr-white);
  font-size: 1rem;
}

.product-item-text p {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   15. PHOTO GALLERY PLACEHOLDER
   -------------------------------------------------------------------------- */
.gallery-placeholder {
  border: 2px dashed var(--clr-border);
  border-radius: var(--radius-md);
  background-color: var(--clr-light);
  padding: 60px 20px;
  text-align: center;
  color: var(--clr-gray);
}

.gallery-placeholder p {
  font-size: 1.1rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   16. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-item summary:hover {
  background-color: var(--clr-light);
}

/* Remove default marker */
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  content: '';
}

.faq-item summary::after {
  content: '';
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--clr-primary);
  border-bottom: 2px solid var(--clr-primary);
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: 16px;
  transform-origin: center;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

/* Grid-based smooth expand/collapse */
.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] .faq-answer-wrap {
  grid-template-rows: 1fr;
}

.faq-answer {
  overflow: hidden;
  min-height: 0;
  padding: 0 22px;
  color: var(--clr-text);
  line-height: 1.75;
}

.faq-answer > :last-child {
  margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   17. FORMS
   -------------------------------------------------------------------------- */
.form-container {
  max-width: 600px;
  margin-inline: auto;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--clr-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--clr-text);
  background-color: var(--clr-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.08);
}

.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' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L2 5h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-submit {
  margin-top: 8px;
}

.form-submit .btn {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

.form-success {
  display: none;
  background-color: #e8f5e9;
  border: 1px solid #4caf50;
  color: #2e7d32;
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  margin-bottom: 24px;
  font-weight: 500;
}

.form-success.visible {
  display: block;
}

/* --------------------------------------------------------------------------
   18. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--clr-secondary);
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: var(--clr-white);
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-family: var(--ff-body);
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--clr-accent);
  border-radius: 1px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--clr-accent);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--clr-accent);
  transition: width var(--transition);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   19. ABOUT PAGE — TRUCK GALLERY
   -------------------------------------------------------------------------- */
.truck-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.truck-gallery img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   20. MATERIALS COMPARISON TABLE
   -------------------------------------------------------------------------- */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

.comparison-table {
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
  text-align: left;
  border: 1px solid var(--clr-border);
  font-size: 0.95rem;
}

.comparison-table thead th {
  background-color: var(--clr-primary);
  color: var(--clr-white);
  font-weight: 600;
  font-family: var(--ff-body);
}

.comparison-table tbody tr:nth-child(even) {
  background-color: var(--clr-light);
}

.comparison-table tbody tr:hover {
  background-color: #eee;
}

/* --------------------------------------------------------------------------
   21. BUSINESS INFO CARD
   -------------------------------------------------------------------------- */
.info-card {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 32px;
  background-color: var(--clr-white);
  box-shadow: var(--shadow-sm);
}

.info-card-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--clr-light);
}

.info-card-row:last-child {
  border-bottom: none;
}

.info-card-row svg {
  width: 20px;
  height: 20px;
  color: var(--clr-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-card-label {
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--clr-gray);
  margin-bottom: 2px;
}

.info-card-value {
  font-size: 1rem;
  color: var(--clr-heading);
}

.info-card-value a {
  color: var(--clr-primary);
  font-weight: 500;
}

.info-card-value a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   22. WATERMARK OVERLAY
   -------------------------------------------------------------------------- */
.watermarked {
  position: relative;
  overflow: hidden;
}

.watermarked::after {
  content: 'Full Service Chimney Sweep LLC';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%) rotate(-15deg);
  font-family: var(--ff-heading);
  font-size: clamp(0.75rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.18);
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
  display: none;
}

/* --------------------------------------------------------------------------
   23. ANIMATIONS — Fade-in on Scroll
   -------------------------------------------------------------------------- */
/* Scroll animations disabled — content visible immediately */
.fade-in,
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* Smooth transitions on interactive elements */
a, button {
  transition: color var(--transition), background-color var(--transition),
    border-color var(--transition), box-shadow var(--transition),
    transform var(--transition);
}

input, select, textarea {
  transition: border-color var(--transition), box-shadow var(--transition);
}

/* --------------------------------------------------------------------------
   24. 404 PAGE
   -------------------------------------------------------------------------- */
.page-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px var(--container-pad);
}

.page-404 h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--clr-primary);
  line-height: 1;
  margin-bottom: 12px;
}

.page-404 h2 {
  margin-bottom: 16px;
}

.page-404 p {
  max-width: 480px;
  margin-bottom: 28px;
  color: var(--clr-gray);
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   25. SECTION INTRO (common pattern)
   -------------------------------------------------------------------------- */
.section-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-intro h2 {
  margin-bottom: 12px;
}

.section-intro p {
  color: var(--clr-gray);
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   26. ADDITIONAL PAGE-SPECIFIC COMPONENTS
   -------------------------------------------------------------------------- */

/* Footer sub-elements */
.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 12px;
  border-radius: 50%;
}

.footer-company {
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-credit {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.site-credit a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition);
}

.site-credit a:hover {
  color: var(--clr-accent);
}

.bbb-badge {
  display: inline-block;
  transition: all var(--transition);
}

.bbb-badge img {
  display: block;
  height: 40px;
  width: auto;
  border-radius: 4px;
}

.bbb-badge:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

.social-link {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}

.social-link:hover {
  color: var(--clr-accent);
}

.social-link svg {
  display: inline-block;
}

.payment-methods {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 8px;
}

/* Hero variants */
.hero-home,
.hero-chase-covers,
.hero-chimney-caps,
.hero-about {
  background-color: #1a1a1a;
}

/* Ensure hero text sits above the ::before overlay */
.hero > .container {
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  margin-bottom: 32px;
  font-weight: 300;
  letter-spacing: 0.01em;
  animation: heroFadeUp 0.8s 0.15s ease-out both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeUp 0.8s 0.3s ease-out both;
}

/* Testimonials section */
.testimonials {
  padding: var(--section-pad-y) 0;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 48px;
}

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

.testimonials-cta {
  text-align: center;
  margin-top: 40px;
}

.testimonials-cta a {
  color: var(--clr-white);
  font-weight: 600;
}

/* Star rating */
.star {
  color: var(--clr-accent);
  font-size: 1.15rem;
  letter-spacing: 3px;
}

/* Service cards home page */
.service-card--dark {
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}

.service-card--has-bg {
  background-size: cover;
  background-position: center;
}

.service-card-overlay {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.service-card-title {
  color: var(--clr-white);
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.service-card-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Trust bar badges */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.trust-badge svg {
  width: 24px;
  height: 24px;
  color: var(--clr-accent);
  flex-shrink: 0;
}

.trust-badge--link {
  color: var(--clr-accent-light);
  font-weight: 700;
  transition: color var(--transition);
}

.trust-badge--link:hover {
  color: var(--clr-white);
}

.trust-link {
  color: var(--clr-primary);
}

/* Section variants */
.section-alt {
  background-color: var(--clr-light);
}

.section-highlight {
  background-color: var(--clr-primary);
  color: var(--clr-white);
}

.section-highlight h2,
.section-highlight h3,
.section-highlight p {
  color: var(--clr-white);
}

/* About preview */
.about-preview {
  background-color: var(--clr-warm-light);
  position: relative;
}

.about-preview .container {
  max-width: 800px;
  text-align: center;
}

.about-preview h2 {
  margin-bottom: 20px;
}

.about-preview p {
  font-size: 1.05rem;
  color: var(--clr-text);
  line-height: 1.8;
  margin-bottom: 28px;
}

/* Process steps (chase covers) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: 28px 20px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(128, 0, 32, 0.2);
}

/* Signs grid (chase covers) */
.card-sign {
  padding: 28px;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card-sign:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-sign svg {
  width: 32px;
  height: 32px;
  color: var(--clr-primary);
  margin-bottom: 12px;
}

/* Materials grid */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card-material {
  padding: 28px;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--clr-primary);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card-material:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.materials-detail {
  margin-top: 32px;
  line-height: 1.8;
}

/* Cap types grid */
.cap-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card-type {
  padding: 28px;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card-type:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Gallery grid (chimney caps product photos) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.gallery-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: var(--clr-white);
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
}

.gallery-item {
  cursor: pointer;
}

/* Install gallery */
.install-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.install-gallery-grid img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Mount types */
.mount-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.card-mount {
  padding: 28px;
  background: var(--clr-light);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--clr-primary);
}

/* Services grid (repairs page / home page 5-up) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

/* All cards span 2 of 6 columns = 3 per row */
.services-grid .service-card {
  grid-column: span 2;
}

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

/* Feature grid/cards */
.feature-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px 28px;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.card-icon {
  width: 44px;
  height: 44px;
  color: var(--clr-primary);
  margin-bottom: 14px;
}

/* Callout card (warranty, highlight boxes) */
.callout-card {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
  color: var(--clr-white);
  padding: 48px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.callout-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(201, 168, 76, 0.12), transparent 60%);
  pointer-events: none;
}

.callout-card h2,
.callout-card h3,
.callout-card p {
  color: var(--clr-white);
  position: relative;
}

/* Content with image (side-by-side layout) */
.content-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.content-image img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.content-narrow {
  max-width: 800px;
  margin-inline: auto;
}

/* Product features (wood stoves) */
.product-feature {
  padding: 28px;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.product-feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Why-us list (chase covers) */
.why-us-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why-us-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.why-us-item svg {
  width: 24px;
  height: 24px;
  color: var(--clr-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* About page — team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.team-card {
  padding: 36px;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--clr-primary);
  transition: box-shadow var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
}

.team-card h3 {
  margin-bottom: 8px;
  color: var(--clr-primary);
}

/* About page — fleet */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.fleet-grid img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.fleet-caption {
  text-align: center;
  margin-top: 20px;
  color: var(--clr-gray);
  font-size: 0.95rem;
  font-style: italic;
}

/* About page — credentials */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.credential-card {
  padding: 28px;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  font-weight: 500;
  transition: box-shadow var(--transition), transform var(--transition);
  border-top: 3px solid var(--clr-accent);
}

.credential-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.credential-card svg {
  width: 32px;
  height: 32px;
  color: var(--clr-primary);
  margin-bottom: 8px;
}

.credential-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

/* Service area columns */
.service-area {
  padding: var(--section-pad-y) 0;
  background-color: var(--clr-warm-light);
}

.service-area h2 {
  text-align: center;
  margin-bottom: 40px;
}

.service-area-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 600px;
  margin: 0 auto;
}

.service-area-col h3 {
  margin-bottom: 16px;
  color: var(--clr-primary);
  font-size: 1.3rem;
}

.service-area-col li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 1rem;
}

.service-area-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--clr-accent);
}

.service-area-text {
  max-width: 700px;
  margin: 24px auto 0;
  text-align: center;
  color: var(--clr-gray);
}

/* Contact page */
.contact-phone-big {
  display: block;
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--clr-primary);
  text-align: center;
  margin-bottom: 8px;
}

.contact-phone-big:hover {
  color: var(--clr-primary-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-col,
.contact-info-col {
  width: 100%;
}

/* Booking form */
.booking-form,
.contact-form {
  width: 100%;
}

/* Section page header (book, contact) */
.section-page-header {
  text-align: center;
  padding: var(--section-pad-y) 0 40px;
}

.section-page-header h1 {
  margin-bottom: 12px;
}

/* Phone CTA section */
.section-phone-cta {
  text-align: center;
  padding: 40px 0;
}

/* Section contact header */
.section-contact-header {
  text-align: center;
  padding: var(--section-pad-y) 0 20px;
}

/* Form note */
.form-note {
  text-align: center;
  color: var(--clr-gray);
  font-size: 0.9rem;
  margin-top: 16px;
  font-style: italic;
}

/* Required asterisk */
.required {
  color: var(--clr-primary);
}

/* Button variants */
.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

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

.btn-secondary {
  background-color: var(--clr-secondary);
  color: var(--clr-white);
  border-color: var(--clr-secondary);
}

.btn-secondary:hover {
  background-color: #333;
  border-color: #333;
}

.btn-outline-white {
  background-color: transparent;
  color: var(--clr-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background-color: var(--clr-white);
  color: var(--clr-primary);
  border-color: var(--clr-white);
}

/* CTA section sub-elements */
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-content {
  text-align: center;
}

.cta-text-lg {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--ff-heading);
}

/* Section-specific IDs */
.section-cta,
.section-cta-bottom {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
  color: var(--clr-white);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-cta::before,
.section-cta-bottom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.1), transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.03), transparent 50%);
  pointer-events: none;
}

.section-cta .container,
.section-cta-bottom .container {
  position: relative;
  z-index: 1;
}

.section-cta h2,
.section-cta-bottom h2 {
  color: var(--clr-white);
}

.section-cta p,
.section-cta-bottom p {
  color: rgba(255, 255, 255, 0.9);
}

.section-cta-mid {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
  color: var(--clr-white);
  padding: 48px 0;
  text-align: center;
}

.section-cta-mid h2 {
  color: var(--clr-white);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.section-cta-mid p {
  color: rgba(255, 255, 255, 0.9);
}

/* Grid utilities */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 404 page */
.section-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.not-found-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.not-found-links a {
  color: var(--clr-primary);
  font-weight: 600;
}

.not-found-links a:hover {
  text-decoration: underline;
}

/* Map section */
.section-map {
  padding: var(--section-pad-y) 0;
}

.section-map iframe {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Social/trust bar on contact */
.trust-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--clr-primary);
}

/* Badge in trust/social bar */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Container full-width variant */
.container-full {
  width: 100%;
  padding-inline: var(--container-pad);
}

/* FAQ question styling */
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

/* Story content */
.story-content {
  max-width: 800px;
  line-height: 1.85;
}

.story-content p {
  font-size: 1.05rem;
}

/* Sticky book button */
.sticky-book {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   27. RESPONSIVE — TABLET (768px – 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .service-grid--five .service-card:nth-child(1),
  .service-grid--five .service-card:nth-child(2),
  .service-grid--five .service-card:nth-child(3),
  .service-grid--five .service-card:nth-child(4),
  .service-grid--five .service-card:nth-child(5) {
    grid-column: auto;
  }

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

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

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

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

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

  .services-grid,
  .service-list,
  .feature-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid .service-card {
    grid-column: auto;
  }

  .service-card--has-bg {
    background-size: cover !important;
  }

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

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

  .content-with-image {
    grid-template-columns: 1fr;
  }

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

/* --------------------------------------------------------------------------
   27. RESPONSIVE — MOBILE (< 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  section {
    padding: var(--section-pad-y-mobile) 0;
  }

  /* Header / Nav — slide-out on mobile */
  .logo-link {
    flex-shrink: 1;
    min-width: 0;
    overflow: visible;
  }

  .header-phone {
    font-size: 0;
    margin-right: 0;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-phone svg {
    width: 20px;
    height: 20px;
  }

  .header-book {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--clr-white);
    z-index: 1100;
    padding: 80px 24px 40px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right var(--transition);
    overflow-y: auto;
    display: block;
    justify-content: initial;
  }

  .main-nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    padding: 14px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--clr-text);
    border-bottom: 1px solid var(--clr-light);
  }

  .nav-list a::after {
    display: none;
  }

  .nav-list a:hover,
  .nav-list a.active {
    color: var(--clr-primary);
  }

  .header-inner {
    gap: 8px;
  }

  .header-actions {
    gap: 8px;
  }

  /* Logo — compact on mobile */
  .logo-img {
    height: 44px;
  }

  .logo-text {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  /* Hero — disable fixed attachment on mobile (causes rendering glitches on iOS) */
  .hero {
    min-height: 380px;
    background-attachment: scroll;
  }

  .hero::before {
    background: rgba(26, 26, 26, 0.45);
  }

  .hero::after {
    display: none;
  }

  .service-card::before {
    background: linear-gradient(
      to top,
      rgba(26, 26, 26, 0.75) 0%,
      transparent 50%
    );
  }

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

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Grids to single column */
  .service-grid,
  .service-grid--five {
    grid-template-columns: 1fr;
  }

  .service-grid--five .service-card:nth-child(1),
  .service-grid--five .service-card:nth-child(2),
  .service-grid--five .service-card:nth-child(3),
  .service-grid--five .service-card:nth-child(4),
  .service-grid--five .service-card:nth-child(5) {
    grid-column: auto;
  }

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

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

  .service-area-grid,
  .service-area-columns {
    grid-template-columns: 1fr;
  }

  .truck-gallery,
  .fleet-grid,
  .install-gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .materials-grid,
  .cap-types-grid,
  .mount-types-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .service-list,
  .feature-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .services-grid .service-card {
    grid-column: auto;
    min-height: 260px;
  }

  .service-card--has-bg {
    background-size: cover !important;
  }

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

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

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

  .content-with-image {
    grid-template-columns: 1fr;
  }

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

  .grid-2, .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  /* Trust bar */
  .trust-bar-inner {
    gap: 20px;
    justify-content: center;
  }

  .trust-badge {
    font-size: 0.85rem;
  }

  /* CTA */
  .cta-phone {
    font-size: 1.25rem;
  }

  /* Forms */
  .form-submit .btn {
    width: 100%;
  }

  /* Mobile Sticky CTA Bar — visible on mobile */
  .mobile-sticky-cta {
    display: flex;
  }

  /* Add bottom padding to body so sticky CTA doesn't cover content */
  body {
    padding-bottom: 64px;
  }

  /* Footer links — larger tap targets */
  .footer-links a {
    display: block;
    padding: 10px 0;
  }

  .footer-links li {
    margin-bottom: 0;
  }

  /* Service area centered on mobile */
  .service-area-columns {
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   28. RESPONSIVE — LARGE SCREENS (> 1440px)
   -------------------------------------------------------------------------- */
@media (min-width: 1441px) {
  :root {
    --container-pad: 0;
  }
}

/* --------------------------------------------------------------------------
   29. PRINT STYLES
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .mobile-sticky-cta,
  .cta-section,
  .hamburger,
  .floating-hamburger,
  .mobile-nav,
  .mobile-nav-overlay {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    background: none !important;
    color: #000;
    padding: 20px 0;
  }

  .hero::before {
    display: none;
  }

  .hero h1,
  .hero .subtitle {
    color: #000;
    text-shadow: none;
  }

  a {
    text-decoration: underline;
  }

  section {
    padding: 20px 0;
  }

  .site-footer {
    background: #fff;
    color: #000;
    padding: 20px 0;
  }
}

/* --------------------------------------------------------------------------
   30. FOCUS-VISIBLE STYLES (Accessibility)
   -------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 2px;
}

.btn:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.3);
}

/* --------------------------------------------------------------------------
   31. MOBILE NAV OVERLAY
   -------------------------------------------------------------------------- */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   32. LIGHTBOX
   -------------------------------------------------------------------------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 24px;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-inner {
  transform: scale(1);
}

.lightbox-inner img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  margin-top: 20px;
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

.lightbox-overlay.active .lightbox-caption {
  opacity: 1;
  transform: translateY(0);
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: var(--clr-white);
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--clr-white);
  font-size: 1.5rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  opacity: 0.7;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.lightbox-nav:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: -72px;
}

.lightbox-next {
  right: -72px;
}

@media (max-width: 1100px) {
  .lightbox-prev { left: -12px; }
  .lightbox-next { right: -12px; }
}

@media (max-width: 600px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .lightbox-prev { left: -4px; }
  .lightbox-next { right: -4px; }
  .lightbox-close { top: -40px; }
}

/* Firewood lightbox labels */
.lightbox-image-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.lightbox-image-wrap img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
}

.lightbox-label {
  position: absolute;
  bottom: 16px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.25s, transform 0.4s ease 0.25s;
}

.lightbox-overlay.active .lightbox-label {
  opacity: 1;
  transform: translateY(0);
}

.lightbox-label-left {
  left: 8%;
}

.lightbox-label-right {
  right: 8%;
  transition-delay: 0.35s;
}

@media (max-width: 600px) {
  .lightbox-label {
    padding: 7px 14px;
    font-size: 0.8rem;
    bottom: 10px;
  }
  .lightbox-label-left { left: 4%; }
  .lightbox-label-right { right: 4%; }
}

/* --------------------------------------------------------------------------
   33. BEFORE & AFTER GALLERY
   -------------------------------------------------------------------------- */
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.before-after-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.before-after-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.ba-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 16px;
  border-radius: 6px;
  font-family: var(--ff-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
}

.ba-before {
  background: #c0392b;
}

.ba-after {
  background: #27ae60;
}

.gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.gallery-media {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.gallery-media img,
.gallery-media video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (max-width: 600px) {
  .before-after-grid,
  .gallery-row {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   34. PRODUCT CARDS
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--clr-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card-body {
  padding: 1.25rem;
}

.product-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.product-card-type {
  font-size: 0.8rem;
  color: var(--clr-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1rem;
  font-size: 0.85rem;
  color: #555;
}

.product-specs dt {
  font-weight: 600;
  color: #333;
}

.product-specs dd {
  margin: 0;
}

.product-badge {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-tax-credit {
  background: #27ae60;
  color: #fff;
}

.badge-new {
  background: var(--clr-primary);
  color: #fff;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   36. DESIGN UPGRADE — Enhanced Animations, Textures, Components
   ========================================================================== */

/* --- New Animation Keyframes --- */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes blurIn {
  from { opacity: 0; filter: blur(8px); }
  to { opacity: 1; filter: blur(0); }
}

@keyframes goldShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes floatEmber {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0); }
  50% { box-shadow: 0 0 20px 4px rgba(201, 168, 76, 0.15); }
}

@keyframes smokeRise {
  0% { transform: translateY(0) scaleX(1); opacity: 0.5; }
  50% { transform: translateY(-40px) scaleX(1.5); opacity: 0.3; }
  100% { transform: translateY(-80px) scaleX(2); opacity: 0; }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Scroll Animation Variants --- */
/* Scroll animation variants disabled */
.fade-in-left,
.fade-in-right,
.scale-in,
.blur-in,
.fade-in-left.visible,
.fade-in-right.visible,
.scale-in.visible,
.blur-in.visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* --- Enhanced Hero --- */
.hero {
  min-height: 600px;
}

.hero-home {
  min-height: 660px;
}

/* Animated gold accent line under hero heading */
.hero h1::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  margin: 20px auto 0;
  background: linear-gradient(90deg, transparent, var(--clr-accent), transparent);
  border-radius: 2px;
  animation: heroLineExpand 1s 0.6s ease-out forwards;
}

@keyframes heroLineExpand {
  to { width: 120px; }
}

/* Hero subtitle stagger */
.hero .subtitle,
.hero .hero-subtitle {
  animation: heroFadeUp 0.8s 0.2s ease-out both;
}

.hero .hero-ctas,
.hero .hero-buttons {
  animation: heroFadeUp 0.8s 0.4s ease-out both;
}

/* Subtle floating ember dots on hero */
.hero::after {
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(201, 168, 76, 0.4), transparent),
    radial-gradient(2px 2px at 70% 60%, rgba(201, 168, 76, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(201, 168, 76, 0.35), transparent),
    radial-gradient(2px 2px at 85% 25%, rgba(201, 168, 76, 0.25), transparent),
    radial-gradient(1.5px 1.5px at 55% 45%, rgba(201, 168, 76, 0.3), transparent);
  animation: floatEmber 6s ease-in-out infinite;
}

/* --- Enhanced Service Cards --- */
.service-card {
  min-height: 340px;
  border-radius: var(--radius-lg);
}

/* Image zoom on hover */
.service-card--has-bg {
  background-size: 110%;
  transition: transform var(--transition), box-shadow var(--transition), background-size 0.6s ease;
}

.service-card--has-bg:hover {
  background-size: 120%;
}

/* Gold bottom border reveal */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-light), var(--clr-accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 5;
}

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

/* Arrow indicator on service cards */
.service-card-overlay::after {
  content: '\2192';
  display: inline-block;
  margin-top: 10px;
  font-size: 1.2rem;
  color: var(--clr-accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-card-overlay::after {
  opacity: 1;
  transform: translateX(0);
}

/* --- Enhanced Trust Bar --- */
.trust-bar {
  padding: 32px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 50%, #1a1a1a 100%);
  border-top: none;
  position: relative;
  overflow: hidden;
}

/* Gold shimmer line at top */
.trust-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--clr-accent), transparent);
  background-size: 200% 100%;
  animation: goldShimmer 4s linear infinite;
}

.trust-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.trust-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-2px);
}

.trust-badge--link {
  border-color: rgba(201, 168, 76, 0.2);
}

.trust-badge--link:hover {
  border-color: var(--clr-accent);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.15);
}

/* --- Enhanced Testimonials --- */
.testimonials-grid {
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
}

/* First testimonial featured larger */
.testimonials-grid .testimonial-card:first-child {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonials-grid .testimonial-card:first-child blockquote {
  font-size: 1.15rem;
  line-height: 1.85;
}

/* Gold accent on testimonial cards */
.testimonial-card {
  border-left: 3px solid transparent;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.testimonial-card:hover {
  border-left-color: var(--clr-accent);
}

/* Larger decorative quote mark */
.testimonial-card::before {
  font-size: 5rem;
  color: var(--clr-accent);
  opacity: 0.12;
}

/* Star rating with gold glow */
.testimonial-stars .star {
  text-shadow: 0 0 8px rgba(201, 168, 76, 0.4);
}

/* --- Enhanced Forms --- */
.form-container,
.contact-form-col {
  position: relative;
}

/* Accent card wrapper for forms */
.booking-form,
.contact-form {
  background: var(--clr-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-border);
  position: relative;
}

/* Gold top accent on form */
.booking-form::before,
.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent), var(--clr-primary));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Enhanced input focus with gold accent */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

/* Form label with subtle tracking */
.form-group label {
  letter-spacing: 0.02em;
}

/* Submit button enhanced */
.booking-form .btn-primary,
.contact-form .btn-primary {
  margin-top: 8px;
  padding: 18px;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  position: relative;
  overflow: hidden;
}

/* Shimmer effect on submit hover */
.booking-form .btn-primary::after,
.contact-form .btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.booking-form .btn-primary:hover::after,
.contact-form .btn-primary:hover::after {
  left: 100%;
}

/* --- Book Page — Split Layout Info Sidebar --- */
.book-split {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.book-sidebar {
  position: sticky;
  top: 120px;
}

.book-sidebar .info-card {
  background: linear-gradient(135deg, var(--clr-secondary), #2a1a1a);
  color: rgba(255, 255, 255, 0.85);
  border: none;
  padding: 36px;
}

.book-sidebar .info-card h3 {
  color: var(--clr-white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.book-sidebar .info-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.book-sidebar .info-card a {
  color: var(--clr-accent);
}

.book-sidebar .info-card a:hover {
  color: var(--clr-accent-light);
}

.book-sidebar .sidebar-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 20px 0;
}

.book-sidebar .sidebar-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.book-sidebar .sidebar-badge svg {
  width: 18px;
  height: 18px;
  color: var(--clr-accent);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .book-split {
    grid-template-columns: 1fr;
  }
  .book-sidebar {
    position: static;
  }
}

/* --- Enhanced Contact Page --- */
.section-phone-cta {
  background: linear-gradient(135deg, var(--clr-warm-light), #f7f2ec);
  position: relative;
  overflow: hidden;
}

.section-phone-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08), transparent 70%);
  pointer-events: none;
}

.contact-phone-big {
  position: relative;
  display: inline-block;
}

.contact-phone-big::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  border-radius: 2px;
}

/* Info card enhanced */
.contact-info-col .info-card {
  border-top: 3px solid var(--clr-primary);
  background: linear-gradient(180deg, var(--clr-white) 0%, var(--clr-warm-light) 100%);
}

.contact-info-col .info-card a {
  color: var(--clr-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-info-col .info-card a:hover {
  color: var(--clr-heading);
}

/* --- Enhanced 404 Page --- */
.section-404 {
  background: var(--clr-warm-light);
  position: relative;
  overflow: hidden;
}

/* Decorative chimney silhouette */
.chimney-404 {
  position: relative;
  margin: 0 auto 40px;
  width: 120px;
  height: 180px;
}

.chimney-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 120px;
  background: linear-gradient(180deg, #5c4033, #3e2723);
  border-radius: 4px 4px 0 0;
}

.chimney-body::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -8px;
  right: -8px;
  height: 12px;
  background: linear-gradient(180deg, var(--clr-primary-dark), var(--clr-primary));
  border-radius: 3px;
}

/* Animated smoke puffs */
.smoke-puff {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 170, 160, 0.4), transparent);
}

.smoke-puff:nth-child(1) {
  width: 30px; height: 30px;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  animation: smokeRise 3s ease-out infinite;
}

.smoke-puff:nth-child(2) {
  width: 22px; height: 22px;
  top: 15px; left: 40%;
  animation: smokeRise 3.5s 0.8s ease-out infinite;
}

.smoke-puff:nth-child(3) {
  width: 26px; height: 26px;
  top: 5px; left: 55%;
  animation: smokeRise 4s 1.5s ease-out infinite;
}

.error-code-404 {
  font-family: var(--ff-heading);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 20px rgba(128, 0, 32, 0.15);
}

.not-found-links {
  gap: 12px;
}

.not-found-links a {
  padding: 12px 28px;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.not-found-links a:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  border-color: var(--clr-primary);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- Enhanced Footer --- */
.site-footer {
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent), var(--clr-primary));
}

.footer-col h4 {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.footer-col h4::after {
  width: 40px;
  background: linear-gradient(90deg, var(--clr-accent), transparent);
}

/* Footer link hover — gold slide */
.footer-links a {
  display: inline-block;
  transition: color var(--transition), transform var(--transition);
}

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

/* Footer logo glow on hover */
.footer-logo {
  transition: filter var(--transition);
}

.footer-logo:hover {
  filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.4));
}

/* Enhanced footer bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.15);
  padding: 20px 0;
}

/* --- Enhanced CTA Sections --- */
.cta-section,
.section-cta,
.section-cta-bottom {
  position: relative;
}

.cta-section::after,
.section-cta::after,
.section-cta-bottom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--clr-accent), transparent);
}

/* --- Enhanced Feature/Card Hover States --- */
.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--clr-primary), var(--clr-accent));
  transition: height 0.4s ease;
  border-radius: 0 0 2px 0;
}

.feature-card:hover::before {
  height: 100%;
}

/* Card icon pulse on hover */
.feature-card:hover .card-icon,
.card-sign:hover svg {
  animation: pulseGlow 1.5s ease-in-out;
}

/* --- Credential Cards Enhanced --- */
.credential-card {
  position: relative;
  overflow: hidden;
}

.credential-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-light));
  transform: scaleX(0.5);
  transition: transform 0.4s ease;
}

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

/* --- Callout Card Enhanced --- */
.callout-card {
  border: 1px solid rgba(201, 168, 76, 0.2);
}

/* --- FAQ Enhanced --- */
.faq-item {
  transition: box-shadow var(--transition), border-color var(--transition);
}

.faq-item:hover {
  border-color: rgba(128, 0, 32, 0.2);
}

.faq-item[open] {
  border-color: var(--clr-primary);
  box-shadow: 0 4px 16px rgba(128, 0, 32, 0.06);
}

/* --- Section Grain Texture Overlay --- */
.services-grid-section,
.about-preview,
.service-area {
  position: relative;
}

.services-grid-section::before,
.about-preview::before,
.service-area::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.services-grid-section > *,
.about-preview > *,
.service-area > * {
  position: relative;
  z-index: 1;
}

/* --- Section Intro Gold Accent --- */
.section-intro h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* --- Product Card Enhanced --- */
.product-card {
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 2;
}

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

/* Product card image zoom */
.product-card img {
  transition: transform 0.6s ease;
}

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

/* --- Before/After Comparison Slider --- */
.ba-compare-slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  max-width: 900px;
  margin: 0 auto;
  cursor: col-resize;
  aspect-ratio: 16 / 10;
}

.ba-compare-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-compare-slider .ba-after-img {
  clip-path: inset(0 50% 0 0);
}

.ba-compare-slider .ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--clr-white);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
  z-index: 10;
  transform: translateX(-50%);
}

.ba-compare-slider .ba-slider-handle::after {
  content: '\2194';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--clr-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* --- Responsive Adjustments for Enhancements --- */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid .testimonial-card:first-child {
    grid-row: auto;
  }
}

@media (max-width: 767px) {
  .hero { min-height: 420px; }
  .hero-home { min-height: 440px; }

  .hero h1::after {
    width: 0;
    animation: heroLineExpand 1s 0.6s ease-out forwards;
  }

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

  .testimonials-grid .testimonial-card:first-child {
    grid-row: auto;
  }

  .booking-form,
  .contact-form {
    padding: 24px;
  }

  .trust-badge {
    padding: 10px 14px;
  }

  .chimney-404 {
    width: 80px;
    height: 120px;
  }

  .chimney-body {
    width: 56px;
    height: 80px;
  }

  .error-code-404 {
    font-size: clamp(4rem, 10vw, 6rem);
  }
}

/* --------------------------------------------------------------------------
   35. PREFERS REDUCED MOTION
   -------------------------------------------------------------------------- */
@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;
  }
}

/* ============================================================
   MOBILE HERO IMAGES — serve smaller files on mobile
   ============================================================ */
@media (max-width: 768px) {
  .hero-home {
    background-image: url('/images/heroes/mobile/cap-installed-drone.webp') !important;
  }
  .hero-repairs {
    background-image: url('/images/repairs/smoke-chamber-after.webp') !important;
  }
  .hero-cleaning {
    background-image: url('/images/heroes/mobile/cap-installed-stone.webp') !important;
  }
  .hero-about {
    background-image: url('/images/heroes/mobile/truck-frontier.webp') !important;
  }
  .hero-chimney-caps {
    background-image: url('/images/heroes/mobile/chimney-cap-installed.webp') !important;
  }
  .hero-chase-covers {
    background-image: url('/images/chase-covers/hero-chase-cover-mobile.webp') !important;
  }
}

/* ==========================================================================
   Site Search
   ========================================================================== */

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--clr-secondary);
  padding: 6px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.search-btn:hover {
  color: var(--clr-primary);
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-modal {
  background: var(--clr-white);
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 70vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transform: translateY(-10px);
  transition: transform 0.2s;
}

.search-overlay.active .search-modal {
  transform: translateY(0);
}

.search-header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e5e5e5;
  padding: 4px;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 20px;
  font-size: 1.1rem;
  font-family: var(--ff-body);
  background: transparent;
}

.search-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 8px 16px;
  color: #999;
  transition: color 0.2s;
}

.search-close:hover {
  color: var(--clr-secondary);
}

.search-results {
  overflow-y: auto;
  padding: 8px;
}

.search-hint {
  padding: 24px;
  text-align: center;
  color: #999;
  font-size: 0.95rem;
}

.search-result {
  display: block;
  padding: 14px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--clr-secondary);
  transition: background 0.15s;
}

.search-result:hover {
  background: #f5f5f5;
}

.search-result h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: var(--clr-primary);
}

.search-result p {
  font-size: 0.85rem;
  margin: 0;
  color: #666;
  line-height: 1.4;
}
