/* ============================================================
   BLACK CANYON ROOFING — style.css
   Design System: Variables · Reset · Typography · Buttons · Utilities
   ============================================================ */

/* ------------------------------------------------------------
   1. GOOGLE FONTS
   ------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');


/* ------------------------------------------------------------
   2. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ------------------------------------------------------------ */
:root {

  /* — Brand Colors — */
  --color-rust:          #B84C2B;      /* Primary: deep canyon rust/red */
  --color-rust-dark:     #8F3519;      /* Darker rust for hover states */
  --color-rust-light:    #D4613A;      /* Lighter rust for accents */
  --color-rust-pale:     #F5EAE5;      /* Very pale rust tint for backgrounds */

  --color-charcoal:      #1C1C1E;      /* Primary dark / near-black */
  --color-charcoal-mid:  #2E2E30;      /* Cards, navbars, dark sections */
  --color-charcoal-soft: #3E3E40;      /* Subtle borders / dividers on dark bg */
  --color-slate:         #5A5A60;      /* Body text on light backgrounds */
  --color-muted:         #8A8A90;      /* Captions, meta, placeholders */

  --color-white:         #FFFFFF;
  --color-off-white:     #F7F5F3;      /* Warm off-white — page background */
  --color-light-gray:    #EDEBE8;      /* Dividers, card borders */
  --color-medium-gray:   #C8C4BF;      /* Input borders, disabled states */

  --color-success:       #35784A;      /* Confirmation / checkmarks */
  --color-warning:       #D97706;      /* Storm alert / badge */
  --color-danger:        #C0392B;      /* Form errors */

  /* — Semantic Aliases — */
  --color-primary:       var(--color-rust);
  --color-primary-hover: var(--color-rust-dark);
  --color-bg:            var(--color-off-white);
  --color-bg-dark:       var(--color-charcoal);
  --color-text:          var(--color-charcoal);
  --color-text-light:    var(--color-slate);
  --color-text-inverse:  var(--color-white);
  --color-border:        var(--color-light-gray);

  /* — Typography — */
  --font-heading:  'Oswald', 'Arial Narrow', sans-serif;
  --font-body:     'Inter', 'Segoe UI', system-ui, sans-serif;

  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-md:   1.125rem;   /* 18px */
  --text-lg:   1.25rem;    /* 20px */
  --text-xl:   1.5rem;     /* 24px */
  --text-2xl:  1.875rem;   /* 30px */
  --text-3xl:  2.25rem;    /* 36px */
  --text-4xl:  3rem;       /* 48px */
  --text-5xl:  3.75rem;    /* 60px */
  --text-6xl:  4.5rem;     /* 72px */

  --leading-tight:  1.2;
  --leading-snug:   1.35;
  --leading-normal: 1.6;
  --leading-loose:  1.8;

  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  /* — Spacing Scale — */
  --space-1:  0.25rem;   /* 4px  */
  --space-2:  0.5rem;    /* 8px  */
  --space-3:  0.75rem;   /* 12px */
  --space-4:  1rem;      /* 16px */
  --space-5:  1.25rem;   /* 20px */
  --space-6:  1.5rem;    /* 24px */
  --space-8:  2rem;      /* 32px */
  --space-10: 2.5rem;    /* 40px */
  --space-12: 3rem;      /* 48px */
  --space-16: 4rem;      /* 64px */
  --space-20: 5rem;      /* 80px */
  --space-24: 6rem;      /* 96px */
  --space-32: 8rem;      /* 128px */

  /* — Layout — */
  --container-max:    1200px;
  --container-wide:   1400px;
  --container-narrow: 800px;
  --gutter:           clamp(1rem, 4vw, 2rem);

  /* — Borders & Radius — */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;
  --border-width: 1px;
  --border-width-thick: 3px;

  /* — Shadows — */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.08);
  --shadow-md:  0 4px 12px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.08);
  --shadow-lg:  0 10px 30px rgba(0,0,0,.15), 0 4px 12px rgba(0,0,0,.10);
  --shadow-xl:  0 20px 50px rgba(0,0,0,.20), 0 8px 20px rgba(0,0,0,.12);
  --shadow-rust: 0 6px 24px rgba(184, 76, 43, .35);
  --shadow-inner: inset 0 2px 6px rgba(0,0,0,.08);

  /* — Transitions — */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-bounce: 300ms cubic-bezier(.34, 1.56, .64, 1);

  /* — Z-index Layers — */
  --z-below:    -1;
  --z-base:      0;
  --z-raised:   10;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;
  --z-toast:    500;

  /* — Emergency Banner — */
  --banner-height: 44px;
  --navbar-height: 72px;
}


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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Offset for fixed banner + navbar */
body {
  padding-top: calc(var(--banner-height) + var(--navbar-height));
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

ul,
ol {
  list-style: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Remove animations for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}


/* ------------------------------------------------------------
   4. BASE TYPOGRAPHY
   ------------------------------------------------------------ */

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-charcoal);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1 { font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl),  3vw, var(--text-3xl)); }
h4 { font-size: clamp(var(--text-lg),  2.5vw, var(--text-2xl)); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

/* Paragraphs */
p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text-light);
  max-width: 68ch;
}

p + p {
  margin-top: var(--space-4);
}

/* Lead paragraph */
.lead {
  font-size: var(--text-md);
  line-height: var(--leading-loose);
  color: var(--color-slate);
  max-width: 60ch;
}

/* Links */
a:not([class]) {
  color: var(--color-rust);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

a:not([class]):hover {
  color: var(--color-rust-dark);
}

/* Small / caption text */
small,
.text-small {
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
}

/* Strong */
strong, b {
  font-weight: var(--weight-semibold);
  color: var(--color-charcoal);
}

/* Horizontal rule */
hr {
  border: none;
  border-top: var(--border-width) solid var(--color-border);
  margin: var(--space-8) 0;
}

/* Blockquote (for testimonials) */
blockquote {
  position: relative;
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-style: italic;
  line-height: var(--leading-loose);
  color: var(--color-slate);
  padding-left: var(--space-6);
  border-left: var(--border-width-thick) solid var(--color-rust);
}

/* Selection color */
::selection {
  background-color: var(--color-rust);
  color: var(--color-white);
}


/* ------------------------------------------------------------
   5. BUTTON SYSTEM
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-bounce);
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn:focus-visible {
  outline: 3px solid var(--color-rust-light);
  outline-offset: 3px;
}

/* — Primary Button (Rust) — */
.btn-primary {
  background-color: var(--color-rust);
  color: var(--color-white);
  border-color: var(--color-rust);
  box-shadow: var(--shadow-rust);
}

.btn-primary:hover {
  background-color: var(--color-rust-dark);
  border-color: var(--color-rust-dark);
  box-shadow: 0 8px 30px rgba(184, 76, 43, .45);
  color: var(--color-white);
}

/* — Secondary Button (Outlined Rust) — */
.btn-secondary {
  background-color: transparent;
  color: var(--color-rust);
  border-color: var(--color-rust);
}

.btn-secondary:hover {
  background-color: var(--color-rust);
  color: var(--color-white);
}

/* — Dark Button (Charcoal) — */
.btn-dark {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  border-color: var(--color-charcoal);
  box-shadow: var(--shadow-md);
}

.btn-dark:hover {
  background-color: var(--color-charcoal-mid);
  border-color: var(--color-charcoal-mid);
  color: var(--color-white);
}

/* — Ghost Button (White outline, for dark backgrounds) — */
.btn-ghost {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,.6);
}

.btn-ghost:hover {
  background-color: var(--color-white);
  color: var(--color-charcoal);
  border-color: var(--color-white);
}

/* — Phone/CTA Button (with pulse ring) — */
.btn-call {
  background-color: var(--color-rust);
  color: var(--color-white);
  border-color: var(--color-rust);
  box-shadow: var(--shadow-rust);
  position: relative;
}

.btn-call::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--radius-sm) + 4px);
  border: 2px solid var(--color-rust-light);
  opacity: 0;
  animation: pulse-ring 2.5s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { transform: scale(.96); opacity: .7; }
  70%  { transform: scale(1.06); opacity: 0; }
  100% { transform: scale(1.06); opacity: 0; }
}

.btn-call:hover {
  background-color: var(--color-rust-dark);
  border-color: var(--color-rust-dark);
  color: var(--color-white);
}

/* — Size Modifiers — */
.btn-sm {
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-5);
}

.btn-lg {
  font-size: var(--text-lg);
  padding: var(--space-5) var(--space-10);
}

.btn-xl {
  font-size: var(--text-xl);
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-md);
}

/* — Full-width — */
.btn-block {
  width: 100%;
}

/* — Disabled state — */
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}


/* ------------------------------------------------------------
   6. CONTAINER & LAYOUT UTILITIES
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* Section spacing */
.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.section--sm {
  padding-block: clamp(var(--space-8), 5vw, var(--space-16));
}

.section--lg {
  padding-block: clamp(var(--space-20), 12vw, var(--space-32));
}

/* Dark section background */
.section--dark {
  background-color: var(--color-charcoal);
  color: var(--color-white);
}

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

.section--dark p,
.section--dark .lead {
  color: rgba(255,255,255,.75);
}

/* Rust tint section */
.section--rust {
  background-color: var(--color-rust);
  color: var(--color-white);
}

.section--rust h1,
.section--rust h2,
.section--rust h3 {
  color: var(--color-white);
}

.section--rust p {
  color: rgba(255,255,255,.85);
}

/* Off-white / warm section */
.section--warm {
  background-color: var(--color-rust-pale);
}

/* Grid utilities */
.grid {
  display: grid;
  gap: var(--space-8);
}

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

.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.items-end    { align-items: flex-end; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end     { justify-content: flex-end; }
.gap-2  { gap: var(--space-2); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }


/* ------------------------------------------------------------
   7. TEXT UTILITIES
   ------------------------------------------------------------ */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-rust    { color: var(--color-rust); }
.text-white   { color: var(--color-white); }
.text-charcoal{ color: var(--color-charcoal); }
.text-muted   { color: var(--color-muted); }
.text-slate   { color: var(--color-slate); }

.text-xs   { font-size: var(--text-xs); }
.text-sm   { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-md   { font-size: var(--text-md); }
.text-lg   { font-size: var(--text-lg); }
.text-xl   { font-size: var(--text-xl); }

.font-heading { font-family: var(--font-heading); }
.font-body    { font-family: var(--font-body); }
.font-bold    { font-weight: var(--weight-bold); }
.font-semibold{ font-weight: var(--weight-semibold); }
.font-medium  { font-weight: var(--weight-medium); }
.uppercase    { text-transform: uppercase; }
.tracking-wide{ letter-spacing: 0.08em; }

/* Section label / eyebrow text */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-rust);
  margin-bottom: var(--space-3);
}

/* Section heading group */
.section-heading {
  margin-bottom: var(--space-12);
}

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

.section-heading h2 {
  margin-bottom: var(--space-4);
}

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


/* ------------------------------------------------------------
   8. SPACING UTILITIES
   ------------------------------------------------------------ */
.mt-0  { margin-top: 0; }
.mt-2  { margin-top: var(--space-2); }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }

.mb-0  { margin-bottom: 0; }
.mb-2  { margin-bottom: var(--space-2); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.mx-auto { margin-inline: auto; }

.p-4  { padding: var(--space-4); }
.p-6  { padding: var(--space-6); }
.p-8  { padding: var(--space-8); }
.px-4 { padding-inline: var(--space-4); }
.px-6 { padding-inline: var(--space-6); }
.py-4 { padding-block: var(--space-4); }
.py-6 { padding-block: var(--space-6); }
.py-8 { padding-block: var(--space-8); }


/* ------------------------------------------------------------
   9. CARD BASE
   ------------------------------------------------------------ */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: var(--border-width) solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.card__body {
  padding: var(--space-8);
}

.card__body--sm {
  padding: var(--space-6);
}

/* Dark card */
.card--dark {
  background-color: var(--color-charcoal-mid);
  border-color: var(--color-charcoal-soft);
  color: var(--color-white);
}

.card--dark h3,
.card--dark h4 {
  color: var(--color-white);
}

.card--dark p {
  color: rgba(255,255,255,.70);
}


/* ------------------------------------------------------------
   10. BADGE & TAG
   ------------------------------------------------------------ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  line-height: 1.5;
}

.badge--rust {
  background-color: var(--color-rust-pale);
  color: var(--color-rust-dark);
}

.badge--dark {
  background-color: var(--color-charcoal);
  color: var(--color-white);
}

.badge--warning {
  background-color: #FEF3C7;
  color: #92400E;
}

.badge--success {
  background-color: #D1FAE5;
  color: #065F46;
}


/* ------------------------------------------------------------
   11. DIVIDER & DECORATIVE ELEMENTS
   ------------------------------------------------------------ */

/* Rust accent underline for headings */
.underline-rust {
  position: relative;
  display: inline-block;
}

.underline-rust::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 56px;
  height: 4px;
  background-color: var(--color-rust);
  border-radius: var(--radius-full);
}

.text-center .underline-rust::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Thin colored rule */
.rule-rust {
  border: none;
  height: 3px;
  background: linear-gradient(90deg, var(--color-rust), var(--color-rust-light), transparent);
  margin-block: var(--space-8);
}


/* ------------------------------------------------------------
   12. FORM BASE
   ------------------------------------------------------------ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.form-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-charcoal);
  letter-spacing: 0.03em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-charcoal);
  background-color: var(--color-white);
  border: var(--border-width) solid var(--color-medium-gray);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-rust);
  box-shadow: 0 0 0 3px rgba(184, 76, 43, .15);
}

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

.form-error {
  font-size: var(--text-sm);
  color: var(--color-danger);
}


/* ------------------------------------------------------------
   13. VISIBILITY & ACCESSIBILITY UTILITIES
   ------------------------------------------------------------ */
.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;
}

.hidden { display: none !important; }
.invisible { visibility: hidden; }

/* Focus visible ring for all interactive elements */
:focus-visible {
  outline: 3px solid var(--color-rust);
  outline-offset: 3px;
}


/* ------------------------------------------------------------
   14. ASPECT RATIO & IMAGE HELPERS
   ------------------------------------------------------------ */
.aspect-video    { aspect-ratio: 16 / 9; }
.aspect-square   { aspect-ratio: 1 / 1;  }
.aspect-photo    { aspect-ratio: 4 / 3;  }

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

/* Overlay helper */
.overlay {
  position: absolute;
  inset: 0;
}

.overlay--dark {
  background: linear-gradient(
    to bottom,
    rgba(28,28,30,.35) 0%,
    rgba(28,28,30,.65) 100%
  );
}

.overlay--rust {
  background: linear-gradient(
    135deg,
    rgba(143, 53, 25, .75) 0%,
    rgba(28,28,30,.60) 100%
  );
}


/* ------------------------------------------------------------
   15. RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------ */

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

/* Mobile */
@media (max-width: 768px) {
  :root {
    --navbar-height: 60px;
  }

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

  .btn-xl {
    font-size: var(--text-lg);
    padding: var(--space-5) var(--space-8);
  }

  .section-heading {
    margin-bottom: var(--space-8);
  }
}

/* Small mobile */
@media (max-width: 480px) {
  :root {
    --banner-height: 52px; /* Wraps on small screens */
  }
}

/* ------------------------------------------------------------
   16. EMERGENCY TOP BANNER
   ------------------------------------------------------------ */
.emergency-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-rust);
  color: var(--color-white);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-align: center;
  z-index: var(--z-sticky);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform var(--transition-base), opacity var(--transition-base);
  height: var(--banner-height);
}

.emergency-banner.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.emergency-banner p {
  color: var(--color-white); /* Enforce white color */
  margin: 0;
  line-height: var(--leading-tight);
}

.emergency-banner a {
  font-weight: var(--weight-bold);
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--color-white);
}

.emergency-banner a:hover {
  color: var(--color-rust-pale);
}

.emergency-banner__close {
  position: absolute;
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: var(--text-lg);
  cursor: pointer;
  padding: var(--space-1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast);
  opacity: 0.8;
}

.emergency-banner__close:hover {
  opacity: 1;
}

/* Adjust body padding when banner is closed */
body.banner-closed {
  padding-top: var(--navbar-height);
  transition: padding-top var(--transition-base); /* smooth content slide up */
}

/* ------------------------------------------------------------
   17. NAVBAR
   ------------------------------------------------------------ */
.navbar {
  position: fixed;
  top: var(--banner-height);
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background-color: var(--color-charcoal);
  z-index: calc(var(--z-sticky) - 1);
  transition: top var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
  border-bottom: 1px solid var(--color-charcoal-soft);
}

.navbar.is-scrolled {
  box-shadow: var(--shadow-lg);
  border-bottom-color: transparent;
  background-color: var(--color-charcoal-mid);
}

body.banner-closed .navbar {
  top: 0;
}

.navbar__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.navbar__logo {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
  font-weight: var(--weight-bold);
  color: var(--color-white);
  text-decoration: none !important;
  letter-spacing: 0.05em;
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.navbar__logo span {
  color: var(--color-rust);
  font-weight: var(--weight-light);
}

.navbar__logo:hover {
  color: var(--color-white) !important;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.navbar__nav {
  display: flex;
  gap: var(--space-6);
  margin: 0;
  padding: 0;
}

.navbar__link {
  color: var(--color-white);
  font-size: var(--text-base);
  font-family: var(--font-heading);
  font-weight: var(--weight-medium);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: var(--space-2) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.navbar__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-rust);
  transition: width var(--transition-base);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--color-rust-light);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 100%;
}

.navbar__toggle {
  display: none;
  background: transparent;
  border: none;
  padding: var(--space-2);
  cursor: pointer;
  z-index: calc(var(--z-overlay) + 1);
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  position: relative;
  transition: background-color var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  transition: transform var(--transition-base), top var(--transition-base);
}

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

/* Menu Open State */
.navbar__toggle.is-active .hamburger { background-color: transparent; }
.navbar__toggle.is-active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.navbar__toggle.is-active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Prevent body scroll when menu open */
body.menu-open {
  overflow: hidden;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .navbar__toggle {
    display: block;
  }
  
  .navbar__menu {
    position: fixed;
    top: calc(var(--banner-height) + var(--navbar-height));
    left: 0;
    width: 100%;
    height: calc(100vh - var(--banner-height) - var(--navbar-height));
    background-color: var(--color-charcoal);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: var(--z-overlay);
    overflow-y: auto;
  }

  body.banner-closed .navbar__menu {
    top: var(--navbar-height);
    height: calc(100vh - var(--navbar-height));
  }

  .navbar__menu.is-open {
    transform: translateX(0);
  }

  .navbar__nav {
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
  }

  .navbar__link {
    font-size: var(--text-xl);
  }
}

/* ------------------------------------------------------------
   18. FOOTER
   ------------------------------------------------------------ */
.footer {
  background-color: #141416; /* Slightly darker than base charcoal for depth */
  color: var(--color-slate);
  padding-top: var(--space-16);
}

.footer__top {
  padding-bottom: var(--space-12);
}

.footer__grid {
  gap: var(--space-12);
}

/* Brand Column */
.footer__logo {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  text-decoration: none !important;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.footer__logo span {
  color: var(--color-rust);
  font-weight: var(--weight-light);
}

.footer__logo:hover {
  color: var(--color-white) !important;
}

.footer__tagline {
  color: var(--color-muted);
  font-size: var(--text-base);
  margin-bottom: var(--space-6);
  max-width: 320px;
}

.footer__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-white);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  text-decoration: none !important;
  transition: color var(--transition-fast);
}

.footer__phone svg {
  color: var(--color-rust);
}

.footer__phone:hover {
  color: var(--color-rust-light);
}

/* Link Columns */
.footer__heading {
  color: var(--color-white);
  font-size: var(--text-base);
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
  position: relative;
  display: inline-block;
}

.footer__heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 24px;
  height: 2px;
  background-color: var(--color-rust);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a {
  color: var(--color-muted);
  font-size: var(--text-base);
  text-decoration: none !important;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer__links a:hover {
  color: var(--color-rust);
  transform: translateX(4px); /* Subtle indentation on hover */
}

/* Bottom Bar */
.footer__bottom {
  border-top: 1px solid var(--color-charcoal-soft);
  padding-block: var(--space-6);
}

.footer__bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__bottom p {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer {
    padding-top: var(--space-12);
  }
  
  .footer__bottom-container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

/* ------------------------------------------------------------
   19. HOMEPAGE HERO
   ------------------------------------------------------------ */
.hero {
  position: relative;
  /* Full viewport height minus the fixed heights (dynamic based on banner state) */
  min-height: calc(100vh - var(--banner-height) - var(--navbar-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: var(--space-16);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  /* Premium image background with dark overlay for readability */
  background: linear-gradient(rgba(26, 26, 30, 0.7), rgba(26, 26, 30, 0.7)),
    url('images/hero-highres.png') no-repeat center/cover;
  z-index: var(--z-below);
}

.hero__container {
  position: relative;
  z-index: var(--z-base);
  text-align: center;
  width: 100%;
}

.hero__content {
  max-width: 900px;
  margin-inline: auto;
}

.hero__title {
  color: var(--color-white);
  font-size: clamp(var(--text-4xl), 7vw, var(--text-6xl)); /* Massive responsive heading */
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero__subtitle {
  color: var(--color-light-gray);
  font-size: clamp(var(--text-lg), 3vw, var(--text-xl));
  font-weight: var(--weight-light);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-10);
  max-width: 760px;
  margin-inline: auto;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Load-in Animations for Hero elements */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpAnim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }

@keyframes fadeUpAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Base adjustment for animation accessibility preference */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Mobile Hero Tweaks */
@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
    padding-block: var(--space-12);
  }
  
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  
  .hero__actions .btn {
    width: 100%;
  }
}

/* ------------------------------------------------------------
   20. TRUST BADGES
   ------------------------------------------------------------ */
.trust {
  /* Using .section--warm for the light rust-tint background */
}

/* 5 Column Grid for Desktop */
.trust__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-6);
}

.trust__card {
  text-align: center;
  /* Extends base .card utility */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-8) var(--space-4);
  height: 100%;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.trust__icon {
  color: var(--color-rust);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background-color: var(--color-rust-pale);
  border-radius: var(--radius-full);
  transition: transform var(--transition-bounce), background-color var(--transition-fast), color var(--transition-fast);
}

.trust__card:hover .trust__icon {
  transform: scale(1.1) translateY(-4px);
  background-color: var(--color-rust);
  color: var(--color-white);
}

.trust__title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  color: var(--color-charcoal);
  margin-bottom: var(--space-3);
  line-height: var(--leading-tight);
}

.trust__desc {
  font-size: var(--text-sm);
  color: var(--color-slate);
  margin: 0;
  line-height: var(--leading-normal);
}

/* Responsive Grid Breakpoints */
@media (max-width: 1024px) {
  .trust__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (max-width: 480px) {
  .trust__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }
}

/* ------------------------------------------------------------
   21. SERVICES PREVIEW
   ------------------------------------------------------------ */
.services-preview {
  background-color: var(--color-white); /* Enforce white background */
}

.service-card {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit; /* Prevent a-tag default blue */
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  height: 100%;
}

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

.service-card__icon {
  padding: var(--space-8) var(--space-8) 0;
  color: var(--color-rust);
  transition: transform var(--transition-fast);
}

.service-card:hover .service-card__icon {
  transform: scale(1.05); /* Slight icon scale up */
}

.service-card__body {
  padding: var(--space-5) var(--space-8) var(--space-8);
  display: flex;
  flex-direction: column;
  flex: 1; /* Forces link to the true bottom */
}

.service-card__body h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-charcoal);
  margin-bottom: var(--space-2);
}

.service-card__body p {
  color: var(--color-slate);
  margin-bottom: var(--space-6);
  flex: 1; /* Occupies excess space if title wraps */
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--weight-bold);
  color: var(--color-rust);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
  margin-top: auto; /* Docks to bottom */
}

.service-card__link .arrow {
  transition: transform var(--transition-fast);
}

.service-card:hover .service-card__link {
  color: var(--color-rust-dark);
}

  .service-card:hover .service-card__link .arrow {
  transform: translateX(5px);
}

/* ------------------------------------------------------------
   22. CTA BLOCK
   ------------------------------------------------------------ */
.cta-block {
  background-color: var(--color-rust);
  color: var(--color-white);
  text-align: center;
}

.cta-block__container {
  max-width: 800px;
  margin-inline: auto;
}

.cta-block__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-4);
}

.cta-block__title {
  color: var(--color-white);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
  margin-bottom: var(--space-6);
  line-height: var(--leading-tight);
}

.cta-block__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-10);
  max-width: 680px;
  margin-inline: auto;
}

.cta-block__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Mobile Adjustments */
@media (max-width: 640px) {
  .cta-block__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  
  .cta-block__actions .btn {
    width: 100%;
  }
}

/* ------------------------------------------------------------
   23. ABOUT PREVIEW
   ------------------------------------------------------------ */
.about-preview {
  background-color: var(--color-white);
}

.about-preview__points {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: 0;
  margin: 0 0 var(--space-8);
  list-style: none;
}

.about-preview__points li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-md);
  color: var(--color-charcoal);
  line-height: var(--leading-tight);
}

.about-preview__visual {
  background-color: var(--color-charcoal-mid);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   24. WORK PROCESS
   ------------------------------------------------------------ */
.process__grid {
  display: flex;
  align-items: stretch; /* Equal height cards */
  justify-content: space-between;
  gap: var(--space-4);
  max-width: 1000px;
  margin-inline: auto;
  padding-top: var(--space-8); /* Secure overhang clearance */
}

.process__step {
  flex: 1;
  text-align: center;
  padding: var(--space-8) var(--space-6);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible !important; /* Prevent .card from cutting off badge */
  margin-top: var(--space-6); /* Room for badge half overlap */
}

.process__badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--color-rust);
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
}

.process__step:hover .process__badge {
  transform: translateX(-50%) scale(1.15);
  box-shadow: var(--shadow-rust);
}

.process__icon {
  color: var(--color-rust);
  margin-block: var(--space-2) var(--space-5);
  display: inline-flex;
  background-color: var(--color-rust-pale);
  padding: var(--space-4);
  border-radius: var(--radius-full);
}

.process__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-charcoal);
  margin-bottom: var(--space-3);
  line-height: var(--leading-tight);
}

.process__desc {
  font-size: var(--text-base);
  color: var(--color-slate);
  margin: 0;
  line-height: var(--leading-normal);
}

.process__connector {
  flex: 0 0 auto;
  color: var(--color-rust); /* Match brand aesthetic */
  display: flex;
  justify-content: center;
  align-items: center; /* Center the arrow strictly in stretched grid row */
}

.process__connector svg {
  width: 32px;
  height: 32px;
}

/* Mobile Responsive */
@media (max-width: 850px) {
  .process__grid {
    flex-direction: column;
    gap: var(--space-12);
  }
  
  .process__connector {
    transform: rotate(90deg);
  }

  .process__step {
    width: 100%;
    max-width: 400px;
  }
}

/* ------------------------------------------------------------
   25. BUTTON OUTLINE RUST (CTA #2)
   ------------------------------------------------------------ */
.btn-outline-rust {
  background-color: transparent;
  color: var(--color-rust);
  border: 2px solid var(--color-rust);
}

.btn-outline-rust:hover {
  background-color: var(--color-rust);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-rust);
}

/* ------------------------------------------------------------
   26. CTA BLOCK (DARK VARIANT)
   ------------------------------------------------------------ */
.cta-block--dark {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  /* Subtle diagonal line CSS texture overlay to add premium depth */
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.03) 0,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 12px
  );
}

.cta-block--dark .cta-block__label {
  color: var(--color-rust); /* Override transparent white with brand red */
  text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Lift off texture */
}

.cta-block--dark .cta-block__title {
  text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Keep legible against texture */
}

/* ------------------------------------------------------------
   27. WHY CHOOSE US
   ------------------------------------------------------------ */
.why-us {
  /* Using medium charcoal for section background to separate from pure black footer or hero */
  background-color: var(--color-charcoal-mid);
}

.why-us .section-heading h2 {
  color: var(--color-white);
}

.why-us .section-heading .lead {
  color: rgba(255, 255, 255, 0.7);
}

.why-card {
  /* Subtle lighting bump off the mid charcoal bg */
  background-color: var(--color-charcoal-light);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border-left: 4px solid transparent;
  transition: background-color var(--transition-base), border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  background-color: #45454b; /* slightly lighter than charcoal-light */
  border-left-color: var(--color-rust); /* accent edge */
  box-shadow: -4px 0 20px rgba(184, 76, 43, 0.15); /* soft rust glow off left edge */
  transform: translateY(-4px); /* lift off space */
}

.why-card__icon {
  color: var(--color-rust);
  margin-bottom: var(--space-5);
  display: inline-flex;
}

.why-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-white);
  margin-bottom: var(--space-2);
  line-height: var(--leading-tight);
}

.why-card__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: var(--leading-normal);
}

/* Utility to ensure text classes explicitly map correctly */
.text-white { color: var(--color-white) !important; }
.text-gray { color: rgba(255, 255, 255, 0.7) !important; }

/* ------------------------------------------------------------
   28. CTA BLOCK (SPLIT VARIANT)
   ------------------------------------------------------------ */
.cta-block.cta-block--split {
  display: flex;
  padding: 0;
  background-color: transparent; /* Reset base .cta-block bg */
  text-align: left;
}

.cta-block__left {
  flex: 1 1 55%;
  background-color: var(--color-rust);
  padding: var(--space-16) var(--space-12) var(--space-16) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%);
  position: relative;
  z-index: 2;
}

.cta-block__content {
  max-width: 600px;
  width: 100%;
}

.cta-block__left .cta-block__label {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-3);
  display: inline-block;
}

.cta-block__left .cta-block__title,
.cta-block__left .cta-block__text {
  color: var(--color-white);
  text-align: left;
  margin-inline: 0;
  max-width: 100%;
}

.cta-block__left .cta-block__text {
  margin-bottom: 0;
}

.cta-block__right {
  flex: 1 1 45%;
  background-color: var(--color-charcoal);
  padding: var(--space-16) var(--space-8) var(--space-16) var(--space-16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -8%; /* Slide right container underneath the left diagonal clip */
}

.cta-block__actions-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  width: 100%;
  max-width: 420px;
}

.cta-block__actions-stack .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Mobile Adjustments for Split Layout */
@media (max-width: 1024px) {
  .cta-block.cta-block--split {
    flex-direction: column;
  }
  
  .cta-block__left {
    clip-path: none;
    padding: var(--space-10) var(--space-6);
  }
  
  .cta-block__right {
    margin-left: 0;
    padding: var(--space-10) var(--space-6);
  }
}

/* ------------------------------------------------------------
   29. TESTIMONIALS SLIDER
   ------------------------------------------------------------ */
.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonial-slider {
  position: relative;
  max-width: 900px;
  margin: var(--space-12) auto var(--space-10);
  padding: 0 var(--space-12);
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  flex: 0 0 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: none;
}

.testimonial-slide.active {
  display: block;
  opacity: 1;
}

.testimonial-card {
  background-color: var(--color-white);
  padding: var(--space-10) var(--space-12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  margin: var(--space-4);
}

.quote-icon {
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-size: 80px;
  line-height: 1;
  color: var(--color-rust-pale);
  font-family: serif;
  user-select: none;
  z-index: 0;
}

.star-rating {
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.testimonial-text {
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-slate);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.author-name {
  font-weight: var(--weight-bold);
  color: var(--color-charcoal);
  font-size: var(--text-md);
  margin-bottom: var(--space-1);
}

.author-label {
  color: var(--color-rust);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--color-rust);
  cursor: pointer;
  z-index: 10;
  padding: var(--space-2);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.slider-arrow:hover {
  color: var(--color-rust-dark);
  transform: translateY(-50%) scale(1.2);
}

.slider-arrow.prev {
  left: 0;
}

.slider-arrow.next {
  right: 0;
}

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background-color: var(--color-medium-gray);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.dot.active {
  background-color: var(--color-rust);
  transform: scale(1.2);
}

.dot:hover {
  background-color: var(--color-rust-pale);
}

/* Google Trust */
.google-trust {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.google-rating {
  font-weight: var(--weight-bold);
  font-size: var(--text-md);
  margin-bottom: var(--space-2);
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-slider {
    padding: 0 var(--space-4);
  }
  
  .testimonial-card {
    padding: var(--space-8) var(--space-6);
  }
  
  .slider-arrow {
    display: none; /* Hide arrows on mobile, use swiping or dots */
  }
  
  .testimonial-text {
    font-size: var(--text-md);
  }
}

/* ------------------------------------------------------------
   30. SERVICE AREAS
   ------------------------------------------------------------ */
.service-areas {
  background-color: var(--color-white);
  /* Decorative dot grid pattern — CSS only */
  background-image: radial-gradient(var(--color-light-gray) 1px, transparent 1px);
  background-size: 30px 30px;
  position: relative;
}

.area-card {
  background-color: var(--color-white);
  padding: var(--space-6) var(--space-8);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-rust);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  transition: background-color var(--transition-base), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.area-card:hover {
  background-color: var(--color-rust-pale);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.area-card__icon {
  font-size: var(--text-2xl);
  flex-shrink: 0;
}

.area-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-charcoal);
  margin-bottom: var(--space-1);
}

.area-card__desc {
  font-size: var(--text-sm);
  color: var(--color-slate);
  margin: 0;
}

.service-areas__footer p {
  font-size: var(--text-md);
  color: var(--color-slate);
}

.font-bold {
  font-weight: var(--weight-bold);
}

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

@media (max-width: 640px) {
  .service-areas__grid {
    grid-template-columns: 1fr;
  }
  
  .area-card {
    padding: var(--space-6);
  }
}

/* ------------------------------------------------------------
   31. FAQ ACCORDION
   ------------------------------------------------------------ */
.faq {
  background-color: var(--color-light-gray); /* Subtle contrast from white */
}

.faq__list {
  margin-top: var(--space-12);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq__item {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--transition-fast);
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__item.is-open {
  background-color: var(--color-rust-pale);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-8);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--color-charcoal);
  transition: color var(--transition-fast);
}

.faq__item.is-open .faq__question {
  color: var(--color-rust);
}

.faq__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-rust);
  color: var(--color-rust);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: var(--weight-light);
  line-height: 1;
  transition: transform var(--transition-bounce), background-color var(--transition-fast), color var(--transition-fast);
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  background-color: var(--color-rust);
  color: var(--color-white);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, padding 0.3s ease;
  padding: 0 var(--space-8);
}

.faq__answer p {
  color: var(--color-slate);
  line-height: var(--leading-normal);
  font-size: var(--text-base);
  padding-bottom: var(--space-6);
  margin: 0;
}

.faq__item.is-open .faq__answer {
  max-height: 400px; /* Large enough to fit any answer */
  padding-top: 0;
}

/* ------------------------------------------------------------
   32. CONTACT + MAP SECTION
   ------------------------------------------------------------ */
.contact-section {
  background-color: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  margin-top: var(--space-12);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

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

.form-input {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  border: 1.5px solid var(--color-medium-gray);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-charcoal);
  background-color: var(--color-white);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

.form-input::placeholder {
  color: var(--color-muted);
}

.form-input:focus {
  border-color: var(--color-rust);
  box-shadow: 0 0 0 3px rgba(184, 76, 43, 0.12);
}

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

.form-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='%235A5A60' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
  cursor: pointer;
}

.form-privacy {
  font-size: var(--text-xs);
  color: var(--color-muted);
  text-align: center;
  margin-top: var(--space-2);
  margin-bottom: 0;
}

/* Contact Info */
.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact-details__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-details__icon {
  font-size: var(--text-xl);
  flex-shrink: 0;
  line-height: 1.4;
}

.contact-details__value {
  font-size: var(--text-base);
  color: var(--color-charcoal);
  line-height: var(--leading-normal);
  text-decoration: none;
}

.contact-details__phone {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-rust);
  transition: color var(--transition-fast);
}

.contact-details__phone:hover {
  color: var(--color-rust-dark);
}

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

.contact-map iframe {
  display: block;
  width: 100%;
}

/* Call Strip */
.contact-call-strip {
  margin-top: var(--space-12);
  background-color: var(--color-rust);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-8);
  text-align: center;
}

.contact-call-strip p {
  color: var(--color-white);
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  margin: 0;
}

.contact-call-strip a {
  color: var(--color-white);
  font-weight: var(--weight-bold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   33. FOOTER
   ------------------------------------------------------------ */
.footer {
  background-color: #131315;
  color: var(--color-muted);
  padding-top: var(--space-16);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--color-charcoal-soft);
}

.footer__logo {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  text-decoration: none;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.footer__logo span {
  color: var(--color-rust);
}

.footer__tagline {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-5);
  color: var(--color-muted);
}

.footer__phone {
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  color: var(--color-rust);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__phone:hover {
  color: var(--color-rust-light);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-rust);
}

.footer__bottom {
  padding: var(--space-6) 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
}

/* Footer Responsive */
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ------------------------------------------------------------
   34. PAGE HERO (Inner Pages)
   ------------------------------------------------------------ */
.page-hero {
  position: relative;
  padding: calc(var(--space-24) + 20px) 0 var(--space-20);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26, 26, 30, 0.85) 0%, rgba(26, 26, 30, 0.65) 60%, rgba(184, 76, 43, 0.25) 100%),
    url('images/hero-highres.png') center/cover no-repeat;
  z-index: 0;
}

.page-hero__container {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.page-hero__container .section-label {
  color: var(--color-rust-light);
  margin-bottom: var(--space-4);
  display: inline-block;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
  color: var(--color-white);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
}

.page-hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-10);
  max-width: 600px;
}

/* ------------------------------------------------------------
   35. DETAILED SERVICE CARDS (services.html)
   ------------------------------------------------------------ */
.services-detail {
  background-color: var(--color-white);
}

.services-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.svc-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--color-rust);
  box-shadow: var(--shadow-sm);
  padding: var(--space-8) var(--space-8) var(--space-10);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Emergency card gets extra attention */
.svc-card--emergency {
  border-left-color: var(--color-rust-dark);
  background-color: #fdf8f7;
}

.svc-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.svc-card__icon {
  color: var(--color-rust);
  flex-shrink: 0;
  background-color: var(--color-rust-pale);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  display: inline-flex;
}

.svc-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-charcoal);
  margin: 0;
  line-height: var(--leading-tight);
}

.svc-card__desc {
  color: var(--color-slate);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-6);
}

.svc-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.svc-card__list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-charcoal);
}

.svc-card__list li::before {
  content: "✓";
  color: var(--color-rust);
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
  flex-shrink: 0;
}

.svc-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--weight-bold);
  color: var(--color-rust);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color var(--transition-fast);
  margin-top: auto;
}

.svc-card__cta .arrow {
  transition: transform var(--transition-fast);
}

.svc-card:hover .svc-card__cta {
  color: var(--color-rust-dark);
}

.svc-card:hover .svc-card__cta .arrow {
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 900px) {
  .services-detail__grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   36. SERVICE DETAIL — 3 COLUMN (inner service pages)
   ------------------------------------------------------------ */
.svc-details__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.svc-details__col {
  padding: var(--space-8);
}

.svc-details__heading {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-charcoal);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--color-rust);
}

.svc-details__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.svc-details__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  line-height: var(--leading-normal);
}

.svc-details__list li::before {
  content: "✓";
  color: var(--color-rust);
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 900px) {
  .svc-details__grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   37. INNER WHY-CHOOSE 2x2 GRID
   ------------------------------------------------------------ */
.inner-why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

@media (max-width: 768px) {
  .inner-why__grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   38. PAGE HERO ACTIONS (two buttons)
   ------------------------------------------------------------ */
.page-hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

/* ------------------------------------------------------------
   39. STATIC 3-REVIEW GRID (inner service pages)
   ------------------------------------------------------------ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.reviews-grid .testimonial-card {
  /* Reuse existing testimonial-card styles — no slider needed */
  margin: 0;
}

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

/* ------------------------------------------------------------
   40. REASSURANCE BOX
   ------------------------------------------------------------ */
.reassurance-box {
  background-color: var(--color-charcoal);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.reassurance-box p {
  color: var(--color-white);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ------------------------------------------------------------
   41. CONTACT PAGE — INFO STRIP
   ------------------------------------------------------------ */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.contact-strip__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-strip__icon {
  font-size: var(--text-2xl);
  flex-shrink: 0;
}

.contact-strip__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--color-rust);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-1);
}

.contact-strip__value {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a.contact-strip__value:hover {
  color: var(--color-rust);
}

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

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

/* ------------------------------------------------------------
   42. GALLERY PAGE
   ------------------------------------------------------------ */
.gallery-filters {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-10);
}

.gallery-filter {
  background: transparent;
  border: 1.5px solid var(--color-medium-gray);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-slate);
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.gallery-filter:hover,
.gallery-filter.active {
  background-color: var(--color-rust);
  border-color: var(--color-rust);
  color: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--color-white);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid var(--color-border);
}

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

.gallery-item.is-hidden {
  display: none;
}

.gallery-item__img {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.gallery-placeholder {
  background: linear-gradient(135deg, var(--color-charcoal) 0%, #2a2a30 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gallery-placeholder__label {
  color: rgba(255,255,255,0.7);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.gallery-placeholder__label small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-rust-light);
  margin-top: var(--space-2);
  font-style: italic;
}

.gallery-item__info {
  padding: var(--space-6);
}

.gallery-item__tag {
  display: inline-block;
  background-color: var(--color-rust-pale);
  color: var(--color-rust);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.gallery-item__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-charcoal);
  margin-bottom: var(--space-2);
}

.gallery-item__desc {
  font-size: var(--text-sm);
  color: var(--color-slate);
  line-height: var(--leading-normal);
  margin: 0;
}

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

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

/* ------------------------------------------------------------
   43. ABOUT PAGE — SPLIT VISUAL PLACEHOLDER
   ------------------------------------------------------------ */
.aspect-photo {
  background: linear-gradient(135deg, var(--color-charcoal) 0%, #2a2a30 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  letter-spacing: 0.05em;
}

/* ------------------------------------------------------------
   44. GOOGLE TRUST BADGE
   ------------------------------------------------------------ */
.google-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.google-rating {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-charcoal);
  margin: 0;
}

.btn-link {
  color: var(--color-rust);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.btn-link:hover {
  color: var(--color-rust-dark);
  text-decoration: underline;
}

/* ============================================================
   PREMIUM ANIMATIONS & MICRO-INTERACTIONS
   Black Canyon Roofing — Animation Layer
   ============================================================ */

/* ── 1. PAGE LOAD FADE-IN ─────────────────────────────────── */
body {
  opacity: 0;
  transition: opacity 0.5s ease;
}
body.page-loaded {
  opacity: 1;
}

/* ── 2. SMOOTH SCROLL ──────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

/* ── 3. TAP HIGHLIGHT (Mobile) ─────────────────────────────── */
* {
  -webkit-tap-highlight-color: rgba(184, 76, 43, 0.1);
}

/* ── 4. SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger child cards inside reveal containers */
.reveal .card:nth-child(1),
.reveal [class*='__item']:nth-child(1),
.reveal [class*='__step']:nth-child(1)  { transition-delay: 0.05s; }
.reveal .card:nth-child(2),
.reveal [class*='__item']:nth-child(2),
.reveal [class*='__step']:nth-child(2)  { transition-delay: 0.15s; }
.reveal .card:nth-child(3),
.reveal [class*='__item']:nth-child(3),
.reveal [class*='__step']:nth-child(3)  { transition-delay: 0.25s; }
.reveal .card:nth-child(4),
.reveal [class*='__item']:nth-child(4),
.reveal [class*='__step']:nth-child(4)  { transition-delay: 0.35s; }
.reveal .card:nth-child(5),
.reveal [class*='__item']:nth-child(5),
.reveal [class*='__step']:nth-child(5)  { transition-delay: 0.45s; }
.reveal .card:nth-child(6),
.reveal [class*='__item']:nth-child(6),
.reveal [class*='__step']:nth-child(6)  { transition-delay: 0.55s; }

/* Section header cascading reveal */
.section-heading .section-label {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.section-heading h2,
.section-heading h1 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
}
.section-heading .lead,
.section-heading p {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}
.section-heading.revealed .section-label,
.section-heading.revealed h2,
.section-heading.revealed h1,
.section-heading.revealed .lead,
.section-heading.revealed p {
  opacity: 1;
  transform: translateY(0);
}

/* ── 5. KEYFRAME DEFINITIONS ───────────────────────────────── */
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(184, 76, 43, 0.45); }
  70%  { box-shadow: 0 0 0 10px rgba(184, 76, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(184, 76, 43, 0); }
}

@keyframes kenBurns {
  0%   { transform: scale(1);    }
  100% { transform: scale(1.08); }
}

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

@keyframes iconBounce {
  0%, 100% { transform: translateY(0);   }
  50%       { transform: translateY(-7px); }
}

@keyframes ctaShimmer {
  0%   { background-position: 0% 50%;   }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%;   }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInLeft {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ── 6. BUTTONS ────────────────────────────────────────────── */
.btn {
  transition: background-color 0.2s ease, color 0.2s ease,
              transform 0.2s ease, box-shadow 0.2s ease,
              border-color 0.2s ease;
  will-change: transform, box-shadow;
}
.btn:hover  { transform: scale(1.03); }
.btn:active { transform: scale(0.97); }

.btn-primary:hover {
  filter: brightness(0.88);
  box-shadow: var(--shadow-rust);
}
.btn-call {
  animation: pulse 2.5s ease-in-out 1.5s 3;
}

/* ── 7. CARDS — Global Lift ────────────────────────────────── */
.card,
.service-card,
.svc-card,
.why-card,
.area-card,
.gallery-item,
.faq__item,
.trust-badge {
  transition: transform 0.3s ease, box-shadow 0.3s ease,
              background-color 0.3s ease;
  will-change: transform;
}
.card:hover,
.service-card:hover,
.svc-card:hover,
.area-card:hover,
.gallery-item:hover,
.trust-badge:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ── 8. NAVBAR ENHANCEMENTS ────────────────────────────────── */
.navbar.scrolled {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: rgba(26, 26, 30, 0.88);
}

/* Animated underline on nav links */
.navbar__link {
  position: relative;
  transition: color 0.2s ease;
}
.navbar__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: var(--color-rust);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}
.navbar__link:hover::after,
.navbar__link.active::after {
  transform: scaleX(1);
}

/* ── 9. HERO SECTION ───────────────────────────────────────── */
.hero__bg,
.page-hero__bg {
  animation: kenBurns 20s ease-in-out infinite alternate;
  will-change: transform;
}

.hero__label {
  animation: heroFadeUp 0.6s ease 0.1s both;
}
.hero__title {
  animation: heroFadeUp 0.6s ease 0.25s both;
}
.hero__subtitle,
.hero__desc {
  animation: heroFadeUp 0.6s ease 0.4s both;
}
.hero__actions,
.page-hero__actions {
  animation: heroFadeUp 0.6s ease 0.55s both;
}

/* ── 10. SERVICE CARD ICON BOUNCE ──────────────────────────── */
.service-card:hover .service-card__icon,
.svc-card:hover .svc-card__icon,
.why-card:hover .why-card__icon,
.process__step:hover .process__icon {
  animation: iconBounce 0.55s ease;
}

/* ── 11. CTA BLOCK SHIMMER ─────────────────────────────────── */
.cta-block {
  background: linear-gradient(
    135deg,
    var(--color-rust) 0%,
    var(--color-rust-dark) 40%,
    var(--color-rust) 100%
  );
  background-size: 200% 200%;
  animation: ctaShimmer 7s ease infinite;
}

/* ── 12. FAQ ACCORDION ENHANCEMENTS ───────────────────────── */
.faq__answer {
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              padding    0.3s  cubic-bezier(0.4, 0, 0.2, 1);
}
.faq__icon {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.25s ease,
              color 0.25s ease;
}
.faq__question {
  transition: color 0.25s ease;
}

/* Animated left border on open FAQ item */
.faq__item {
  position: relative;
  overflow: hidden;
}
.faq__item::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 4px;
  height: 100%;
  background-color: var(--color-rust);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq__item.is-open::before {
  transform: scaleY(1);
}

/* ── 13. TESTIMONIAL CARD ENHANCEMENTS ─────────────────────── */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.testimonial-card:hover .quote-icon {
  color: var(--color-rust);
  transition: color 0.3s ease;
}

/* Slider dots to pill on active */
.slider-dot {
  transition: width 0.3s ease, background-color 0.3s ease, border-radius 0.3s ease;
}
.slider-dot.active {
  width: 28px;
  border-radius: 999px;
}

/* ── 14. FOOTER LINK HOVER ─────────────────────────────────── */
.footer__links a {
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer__links a:hover {
  transform: translateX(4px);
  color: var(--color-rust);
}

/* ── 15. FORM FIELDS ────────────────────────────────────────── */
.form-input {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus {
  border-color: var(--color-rust);
  box-shadow: 0 0 0 3px rgba(184, 76, 43, 0.15);
}

/* ── 16. MAP LAZY FADE-IN ───────────────────────────────────── */
.contact-map {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.contact-map.map-visible {
  opacity: 1;
}

/* ── 17. CONTACT INFO STAGGER ───────────────────────────────── */
.contact-details__item {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.contact-details.revealed .contact-details__item:nth-child(1) { opacity:1; transform:none; transition-delay: 0.05s; }
.contact-details.revealed .contact-details__item:nth-child(2) { opacity:1; transform:none; transition-delay: 0.15s; }
.contact-details.revealed .contact-details__item:nth-child(3) { opacity:1; transform:none; transition-delay: 0.25s; }
.contact-details.revealed .contact-details__item:nth-child(4) { opacity:1; transform:none; transition-delay: 0.35s; }

/* ── 18. MOBILE — DISABLE HOVER TRANSFORMS ─────────────────── */
@media (hover: none) {
  .btn:hover            { transform: none; }
  .card:hover,
  .service-card:hover,
  .svc-card:hover,
  .area-card:hover,
  .gallery-item:hover,
  .trust-badge:hover,
  .testimonial-card:hover,
  .why-card:hover       { transform: none; box-shadow: var(--shadow-sm); }
  .footer__links a:hover { transform: none; }
  .service-card:hover .service-card__icon,
  .svc-card:hover .svc-card__icon,
  .why-card:hover .why-card__icon,
  .process__step:hover .process__icon { animation: none; }
}

/* ── 19. REDUCED MOTION ACCESSIBILITY ───────────────────────── */
@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;
  }
  body { opacity: 1 !important; }
  .reveal,
  .section-heading .section-label,
  .section-heading h2,
  .section-heading h1,
  .section-heading .lead,
  .section-heading p { opacity: 1 !important; transform: none !important; }
  .contact-details__item { opacity: 1 !important; transform: none !important; }
  .contact-map { opacity: 1 !important; }
  .hero__bg,
  .page-hero__bg { animation: none !important; }
}
