/* ==========================================================================
   KEHOE INTERIOR FITOUT & SUSPENDED CEILINGS - MAIN STYLESHEET
   Production Architecture: Mobile-First, Accessible (WCAG AA/AAA), Fluid Scale
   Playbook: Professional (Variant C - Approachable Expert)
   Locality: Dublin 8, Ireland
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Root Variables
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette from design_brief.json */
  --bg: #f8f8f6;
  --surface: #ffffff;
  --text: #141724;
  --muted: #525866;
  --primary: #2d2e83;
  --primary-text: #ffffff;
  --accent: #c26d1a;
  --dark: #101326;
  --dark-text: #f8f8f6;

  /* Derived System Shades & Alpha Variants */
  --primary-dark: #1e1f5d;
  --primary-light: #ececf7;
  --primary-rgb: 45, 46, 131;
  --accent-hover: #7d3c00;
  --accent-text: #944a04;
  --accent-light: #fbf3ec;
  --accent-rgb: 194, 109, 26;
  --dark-surface: #181c35;
  --dark-border: rgba(255, 255, 255, 0.12);
  --border: #e3e5ea;
  --border-light: #eeeeea;
  --surface-hover: #fcfcfb;
  --badge-bg: #e9eaf7;
  --badge-text: #202166;
  --success: #198754;
  --success-bg: #eafaf1;

  /* Typography Stacks */
  --font-display: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, sans-serif;

  /* Fluid Typographic Scale using clamp() */
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.18vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-md: clamp(1.125rem, 1.06rem + 0.32vw, 1.25rem);
  --text-lg: clamp(1.25rem, 1.15rem + 0.5vw, 1.45rem);
  --text-xl: clamp(1.4rem, 1.28rem + 0.6vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.55rem + 1vw, 2.25rem);
  --text-3xl: clamp(2.15rem, 1.85rem + 1.5vw, 2.85rem);
  --text-hero: clamp(2.5rem, 2.1rem + 2vw, 3.75rem);

  /* Elevation Shadows */
  --shadow-xs: 0 1px 2px rgba(16, 19, 38, 0.05);
  --shadow-sm: 0 2px 6px rgba(16, 19, 38, 0.07);
  --shadow-md: 0 8px 24px rgba(16, 19, 38, 0.08), 0 2px 6px rgba(16, 19, 38, 0.04);
  --shadow-lg: 0 16px 36px rgba(16, 19, 38, 0.12), 0 4px 12px rgba(16, 19, 38, 0.06);
  --shadow-focus: 0 0 0 3px rgba(45, 46, 131, 0.35);
  --shadow-focus-accent: 0 0 0 3px rgba(194, 109, 26, 0.4);

  /* Border Radii (Variant C - Approachable rounded cards) */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Layout Constraints */
  --container-max: 1280px;
  --container-narrow: 940px;
  --gutter: clamp(1rem, 0.75rem + 1.25vw, 2rem);
  --header-height: 80px;
  --topbar-height: 42px;

  /* Transitions */
  --transition-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 260ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 380ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Base Elements
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip; /* Strictly avoid overflow:hidden to preserve position:sticky */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1 0 auto;
}

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

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

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

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

a:hover {
  color: var(--accent-text);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-xs);
}

/* Skip to Content for Assistive Technology */
.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 1rem;
  background: var(--dark);
  color: var(--surface);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
  box-shadow: var(--shadow-lg);
}

.skip-link:focus {
  top: 1rem;
}

/* --------------------------------------------------------------------------
   3. Typography & Headings
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p {
  color: var(--muted);
  font-size: var(--text-base);
  line-height: 1.65;
  text-wrap: pretty;
}

p + p {
  margin-top: 1rem;
}

.lead {
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--text);
}

.subheading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-text);
  margin-bottom: 0.75rem;
}

.subheading::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-text);
}

/* --------------------------------------------------------------------------
   4. Layout Containers & Grid Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(3rem, 2.25rem + 3vw, 5.5rem);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.section-header p {
  margin-top: 0.75rem;
  font-size: var(--text-md);
}

.section-dark {
  background-color: var(--dark);
  color: var(--dark-text);
}

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

.section-dark p {
  color: rgba(248, 248, 246, 0.78);
}

.section-dark .subheading {
  color: #e0862b;
}

.section-dark .subheading::before {
  background-color: #e0862b;
}

/* --------------------------------------------------------------------------
   5. Buttons & Interactive Links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.65rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-sm);
  min-height: 48px;
  min-width: 48px;
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
  max-width: 100%;
}

@media (max-width: 640px) {
  .btn {
    white-space: normal;
  }
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-text);
  box-shadow: 0 4px 14px rgba(45, 46, 131, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--primary-text);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 46, 131, 0.35);
}

.btn-accent {
  background-color: #984a00;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(152, 74, 0, 0.28);
}

.btn-accent:hover {
  background-color: #7d3c00;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(152, 74, 0, 0.38);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--primary-text);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--surface);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: var(--surface);
  color: var(--dark);
  border-color: var(--surface);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  min-height: 38px;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 1.05rem 2rem;
  min-height: 54px;
  font-size: var(--text-base);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

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

/* --------------------------------------------------------------------------
   6. Global Sticky Header & Top Utility Bar
   -------------------------------------------------------------------------- */
.top-utility-bar {
  background-color: var(--dark);
  color: var(--dark-text);
  font-size: var(--text-xs);
  padding-block: 0.4rem;
  border-bottom: 1px solid var(--dark-border);
}

.top-utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(248, 248, 246, 0.82);
  transition: color var(--transition-fast);
}

.top-bar-item:hover {
  color: #ffffff;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: rgba(194, 109, 26, 0.22);
  color: #f7a956;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
}

/* Primary Header Component: Directly child of body, strictly sticky */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition-normal), background-color var(--transition-normal);
}

header.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

/* Brand Logo (Always Home Link, sits at start of header) */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--primary);
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 3px;
}

/* Desktop Navigation Menu */
.desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.95rem;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text);
  border-radius: var(--radius-sm);
  position: relative;
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

.nav-link.active,
.nav-link[aria-current="page"] {
  color: var(--primary);
  background-color: var(--primary-light);
}

.nav-link.active::after,
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--primary);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-phone-btn {
  display: none;
}

@media (min-width: 768px) {
  .header-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--primary);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
  }

  .header-phone-btn:hover {
    background-color: #dfdff3;
  }
}

/* Mobile Hamburger Menu Toggle */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  z-index: 1010;
  transition: background-color var(--transition-fast);
}

.menu-toggle:hover {
  background-color: var(--surface-hover);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: calc(var(--header-height) + 1px);
  inset-inline-start: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.5rem var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
  z-index: 999;
}

.mobile-nav-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-size: var(--text-lg);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  background-color: var(--bg);
  border-radius: var(--radius-md);
  min-height: 52px;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active,
.mobile-nav-link[aria-current="page"] {
  background-color: var(--primary);
  color: var(--primary-text);
}

.mobile-contact-block {
  margin-top: auto;
  padding: 1.25rem;
  background-color: var(--bg);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-contact-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--muted);
}

.mobile-contact-line a {
  color: var(--primary);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   7. Hero Section (Split Layout)
   -------------------------------------------------------------------------- */
.hero-section {
  padding-block: clamp(2.5rem, 1.8rem + 2.5vw, 4.5rem);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

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

.proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
  width: fit-content;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text);
}

.star-rating {
  color: #f59e0b;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.proof-divider {
  width: 4px;
  height: 4px;
  background-color: var(--muted);
  border-radius: 50%;
  opacity: 0.5;
}

.hero-title {
  font-size: var(--text-hero);
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  color: var(--primary);
  display: inline-block;
  position: relative;
}

.hero-lead {
  font-size: var(--text-md);
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-trust-chips {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--muted);
}

.trust-chip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

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

/* Hero Media Wrapper (Prevents CLS) */
.hero-media-wrapper {
  position: relative;
}

.hero-image-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--surface);
  background-color: #e5e5e0;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-spring);
}

.hero-image-frame:hover img {
  transform: scale(1.03);
}

/* Floating Stat / Verification Card */
.hero-floating-card {
  position: absolute;
  bottom: -1.25rem;
  inset-inline-start: -1rem;
  background-color: var(--surface);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 280px;
}

@media (max-width: 640px) {
  .hero-floating-card {
    position: relative;
    bottom: auto;
    inset-inline-start: auto;
    margin-top: 1rem;
    max-width: 100%;
  }
}

.hero-card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-card-text {
  display: flex;
  flex-direction: column;
}

.hero-card-stat {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.1;
}

.hero-card-label {
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   8. Sectors Served & Manufacturer Brand Alliances
   -------------------------------------------------------------------------- */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.sector-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all var(--transition-normal);
  position: relative;
}

.sector-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.sector-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.sector-card h3 {
  font-size: var(--text-md);
  color: var(--text);
}

.sector-card p {
  font-size: var(--text-sm);
  color: var(--muted);
}

/* Manufacturer Alliances Bar */
.manufacturer-banner {
  margin-top: 3.5rem;
  padding: 2rem;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xs);
}

.manufacturer-intro {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.manufacturer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  flex-wrap: wrap;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  background-color: var(--bg);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text);
  letter-spacing: 0.02em;
  transition: all var(--transition-fast);
}

.brand-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   9. Services & Outcomes Section
   -------------------------------------------------------------------------- */
.services-outcomes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.service-feature-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.service-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(45, 46, 131, 0.3);
}

.service-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background-color: #ddd;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-spring);
}

.service-feature-card:hover .service-card-media img {
  transform: scale(1.04);
}

.service-spec-badge {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  background-color: var(--dark);
  color: var(--dark-text);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--dark-border);
}

.service-card-body {
  padding: clamp(1.5rem, 1.25rem + 1vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.service-card-body h3 {
  font-size: var(--text-xl);
  color: var(--text);
}

.service-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: var(--text-sm);
}

.service-specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text);
}

.service-specs-list li svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   10. SIGNATURE SECTION: 4-Step Turnkey Process Timeline
   -------------------------------------------------------------------------- */
.process-timeline-wrapper {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 1.25rem + 1.5vw, 3rem);
  box-shadow: var(--shadow-md);
}

.timeline-nav-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .timeline-nav-tabs {
    grid-template-columns: repeat(4, 1fr);
  }
}

.timeline-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1rem 1.25rem;
  background-color: var(--bg);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  text-align: start;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.timeline-tab-btn:hover {
  background-color: var(--primary-light);
  border-color: rgba(45, 46, 131, 0.2);
}

.timeline-tab-btn.active,
.timeline-tab-btn[aria-selected="true"] {
  background-color: var(--primary-light);
  border-color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.tab-step-num {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tab-step-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.timeline-panel-container {
  position: relative;
  min-height: 280px;
}

.timeline-step-panel {
  display: none;
  animation: fadeIn 300ms ease forwards;
}

.timeline-step-panel.active {
  display: block;
}

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

.timeline-panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .timeline-panel-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.timeline-panel-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-step-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  background-color: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  width: fit-content;
}

.timeline-panel-info h3 {
  font-size: var(--text-2xl);
  color: var(--text);
}

.timeline-deliverables-box {
  background-color: var(--bg);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-inline-start: 4px solid var(--primary);
}

.deliverables-title {
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
}

.deliverables-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: var(--text-sm);
}

.deliverables-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
}

.deliverables-list li svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  flex-shrink: 0;
}

.timeline-panel-sidebar {
  background-color: var(--dark);
  color: var(--dark-text);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.timeline-sidebar-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.timeline-stat-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #f7a956;
}

.timeline-stat-lbl {
  font-size: var(--text-xs);
  color: rgba(248, 248, 246, 0.7);
}

/* --------------------------------------------------------------------------
   11. Recent Projects & Craftsmanship Showcase
   -------------------------------------------------------------------------- */
.projects-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

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

@media (min-width: 1024px) {
  .projects-gallery-grid {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
  }
}

.project-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(45, 46, 131, 0.3);
}

.project-media {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  background-color: #ddd;
}

.project-card:nth-child(2) .project-media,
.project-card:nth-child(3) .project-media {
  aspect-ratio: 3 / 4;
}

@media (min-width: 1024px) {
  .project-card:nth-child(1) .project-media {
    aspect-ratio: 16 / 11;
  }
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-spring);
}

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

.project-location-tag {
  position: absolute;
  bottom: 0.75rem;
  inset-inline-start: 0.75rem;
  background-color: rgba(16, 19, 38, 0.85);
  backdrop-filter: blur(4px);
  color: var(--surface);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
}

.project-details {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.project-details h3 {
  font-size: var(--text-md);
  color: var(--text);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.project-tag {
  font-size: var(--text-xs);
  background-color: var(--bg);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  color: var(--muted);
  border: 1px solid var(--border-light);
}

/* --------------------------------------------------------------------------
   12. Premium Ceiling Tiles Catalog Preview
   -------------------------------------------------------------------------- */
.tiles-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tile-product-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  position: relative;
}

.tile-product-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.tile-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.tile-brand-chip {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
}

.tile-poa-badge {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--muted);
}

.tile-card-title {
  font-size: var(--text-lg);
  color: var(--text);
}

.tile-spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-block: 0.25rem;
}

.spec-pill {
  font-size: var(--text-xs);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background-color: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.spec-pill strong {
  color: var(--primary);
}

.tile-card-actions {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   13. Why Choose Kehoe (Trust Pillars)
   -------------------------------------------------------------------------- */
.why-kehoe-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .why-kehoe-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-kehoe-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-pillar-card {
  background-color: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all var(--transition-normal);
}

.trust-pillar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(194, 109, 26, 0.5);
  box-shadow: var(--shadow-md);
}

.trust-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: rgba(194, 109, 26, 0.15);
  color: #e0862b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.trust-pillar-card h3 {
  font-size: var(--text-md);
  color: var(--surface);
}

.trust-pillar-card p {
  font-size: var(--text-sm);
  color: rgba(248, 248, 246, 0.75);
}

/* --------------------------------------------------------------------------
   14. Client Testimonials (Google Verbatim Proof)
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.testimonial-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card:first-child {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--surface) 0%, #fafaf8 100%);
  border-inline-start: 4px solid var(--accent);
}

.testimonial-quote {
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  font-style: normal;
  position: relative;
}

.testimonial-card:first-child .testimonial-quote {
  font-size: var(--text-md);
}

.testimonial-author-block {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text);
}

.author-source {
  font-size: var(--text-xs);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.google-icon-svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   15. FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 820px;
  margin-inline: auto;
}

.faq-item {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(45, 46, 131, 0.3);
}

.faq-item.is-open {
  border-color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: start;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform var(--transition-normal);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal) ease;
  padding-inline: 1.5rem;
}

.faq-item.is-open .faq-answer-panel {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq-answer-panel p {
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   16. Contact & Consultation Section
   -------------------------------------------------------------------------- */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

@media (min-width: 1024px) {
  .contact-layout-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.quote-form-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem);
  box-shadow: var(--shadow-md);
}

.quote-form-card h3 {
  font-size: var(--text-xl);
  margin-bottom: 0.5rem;
}

.quote-form-card p {
  font-size: var(--text-sm);
  margin-bottom: 1.75rem;
}

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

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.form-group label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: var(--text-sm);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--bg);
  color: var(--text);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--surface);
  box-shadow: var(--shadow-focus);
}

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

.form-radio-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--text);
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.form-status-msg {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-top: 1rem;
}

.form-status-msg.success {
  display: block;
  background-color: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(25, 135, 84, 0.25);
}

/* Contact Info Sidebar Card */
.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-quick-box {
  background-color: var(--dark);
  color: var(--dark-text);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-md);
}

.contact-quick-box h3 {
  font-size: var(--text-lg);
  color: var(--surface);
}

.contact-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: var(--text-sm);
}

.contact-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.1);
  color: #f7a956;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-text {
  display: flex;
  flex-direction: column;
}

.contact-item-label {
  font-size: var(--text-xs);
  color: rgba(248, 248, 246, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item-val {
  color: var(--surface);
  font-weight: 600;
}

.contact-item-val a {
  color: var(--surface);
}

.contact-item-val a:hover {
  color: #f7a956;
}

/* Map Embed Wrapper */
.map-embed-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 10;
  width: 100%;
  background-color: #e5e5e0;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   17. Comprehensive Multi-Column Footer
   -------------------------------------------------------------------------- */
footer.site-footer {
  background-color: var(--dark);
  color: var(--dark-text);
  padding-top: clamp(3rem, 2.5rem + 2vw, 5rem);
  border-top: 1px solid var(--dark-border);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: clamp(2.5rem, 2rem + 1.5vw, 4rem);
  border-bottom: 1px solid var(--dark-border);
}

@media (min-width: 640px) {
  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-main-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand .brand-logo {
  color: var(--surface);
}

.footer-brand .brand-title {
  color: var(--surface);
}

.footer-brand p {
  color: rgba(248, 248, 246, 0.72);
  font-size: var(--text-sm);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--surface);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 28px;
  height: 2px;
  background-color: var(--accent);
}

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

.footer-links-list a {
  color: rgba(248, 248, 246, 0.75);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

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

.footer-hours-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: var(--text-xs);
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  padding-block: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(248, 248, 246, 0.8);
}

.footer-hours-row:last-child {
  border-bottom: none;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  padding-block: 1.5rem;
  font-size: var(--text-xs);
  color: rgba(248, 248, 246, 0.6);
}

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

.footer-credits {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   18. Back to Top Button
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-end: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: var(--primary-text);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-normal);
  border: 2px solid var(--surface);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(194, 109, 26, 0.4);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   19. Sub-Page Specific Components: Tables & Filters
   -------------------------------------------------------------------------- */
/* Page Hero Banner */
.page-hero-banner {
  background: linear-gradient(180deg, var(--dark) 0%, #151936 100%);
  color: var(--dark-text);
  padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem);
  border-bottom: 1px solid var(--dark-border);
}

.page-hero-banner h1 {
  color: var(--surface);
  margin-bottom: 0.75rem;
}

.page-hero-banner p {
  color: rgba(248, 248, 246, 0.85);
  font-size: var(--text-md);
  max-width: 760px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  color: rgba(248, 248, 246, 0.65);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: rgba(248, 248, 246, 0.8);
}

.breadcrumbs a:hover {
  color: #ffffff;
}

/* Specification Comparison Table */
.table-responsive-container {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  margin-block: 2rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  text-align: start;
}

.spec-table th,
.spec-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.spec-table th {
  background-color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.spec-table tbody tr:hover {
  background-color: var(--surface-hover);
}

.spec-table tbody tr:last-child td {
  border-bottom: none;
}

/* Filter Controls */
.filter-tabs-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-tab-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background-color: var(--surface);
  border: 1px solid var(--border);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-tab-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--primary-text);
}

/* --------------------------------------------------------------------------
   20. Motion & Accessibility Controls
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Content fallback for users with JS disabled or reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
