/* ==========================================================================
   BUTTONS (Rule: Strictly NO pill shapes. Crisp rectangular with 6px-8px radius)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.25rem;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  transition: background-color var(--duration-fast) ease,
              border-color var(--duration-fast) ease,
              transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration-fast) ease;
  user-select: none;
}

.btn:active {
  transform: translateY(1px) scale(0.985);
}

.btn-primary {
  background-color: var(--color-brand-primary);
  color: #ffffff;
  border-color: var(--color-brand-primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-brand-primary-hover);
  border-color: var(--color-brand-primary-hover);
}

.btn-primary:active {
  background-color: var(--color-brand-primary-active);
  border-color: var(--color-brand-primary-active);
}

.btn-amber {
  background-color: var(--color-brand-amber);
  color: #ffffff;
  border-color: var(--color-brand-amber);
  box-shadow: var(--shadow-sm);
}

.btn-amber:hover {
  background-color: var(--color-brand-amber-hover);
  border-color: var(--color-brand-amber-hover);
}

.btn-amber:active {
  background-color: var(--color-brand-amber-active);
  border-color: var(--color-brand-amber-active);
}

.btn-secondary {
  background-color: var(--color-surface-base);
  color: var(--color-text-main);
  border-color: var(--color-border-medium);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--color-surface-subtle);
  border-color: var(--color-border-strong);
}

.btn-dark {
  background-color: var(--color-surface-dark);
  color: #ffffff;
  border-color: var(--color-surface-dark);
}

.btn-dark:hover {
  background-color: var(--color-surface-dark-elevated);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-text-main);
}

.btn-ghost:hover {
  background-color: var(--color-surface-muted);
}

.btn-lg {
  padding: 0.95rem 1.65rem;
  font-size: var(--font-size-base);
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 0.5rem 0.875rem;
  font-size: var(--font-size-xs);
  border-radius: var(--radius-xs);
}

.btn-full {
  width: 100%;
}

.btn .icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

/* ==========================================================================
   BADGES & TAGS
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 0.75rem;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-xs);
  letter-spacing: 0.02em;
  line-height: 1;
}

.badge-info {
  background-color: var(--color-info-bg);
  border: 1px solid var(--color-info-border);
  color: var(--color-info-text);
}

.badge-success {
  background-color: var(--color-success-bg);
  border: 1px solid var(--color-success-border);
  color: var(--color-success-text);
}

.badge-warning {
  background-color: var(--color-warning-bg);
  border: 1px solid var(--color-warning-border);
  color: var(--color-warning-text);
}

.badge-dark {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-subtle);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  padding: 0 var(--space-4);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  flex-wrap: nowrap;
  width: 100%;
}

.brand-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--duration-fast, 150ms) ease;
}

.brand-logo:hover {
  opacity: 0.9;
}

.brand-logo-img {
  height: 72px;
  max-height: 76px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-logo-text {
  font-family: var(--font-family-display, var(--font-family-base, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif));
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-brand-primary);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.brand-logo-text .brand-tld {
  color: var(--color-brand-amber);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.1vw, 1.25rem);
  list-style: none;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  transition: color var(--duration-fast) ease;
  white-space: nowrap;
  padding: 0.35rem 0.25rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-brand-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1vw, 0.75rem);
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.nav-call-btn {
  padding: 0.65rem 1rem;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-brand-primary);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-xs);
  transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease;
  white-space: nowrap;
}

.nav-phone:hover {
  background-color: var(--color-surface-hover);
  color: var(--color-brand-primary-hover);
}

.mobile-menu-btn {
  display: none;
  padding: 0.5rem;
  border-radius: var(--radius-xs);
  color: var(--color-brand-primary);
  flex-shrink: 0;
  background-color: transparent;
  border: 1px solid transparent;
  transition: color var(--duration-fast) ease, background-color var(--duration-fast) ease;
}

.mobile-menu-btn svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
  color: var(--color-brand-primary-hover);
  background-color: var(--color-brand-primary-subtle);
}

/* ==========================================================================
   HERO SECTION (Styled in Footer Dark Navy: var(--color-surface-dark))
   ========================================================================== */
.hero {
  position: relative;
  padding-top: var(--space-16);
  padding-bottom: var(--space-20);
  background-color: var(--color-surface-dark);
  border-bottom: 1px solid var(--color-surface-dark-border);
  color: #ffffff;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.hero-title {
  font-size: clamp(2.25rem, 4vw + 0.5rem, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-highlight {
  color: #38bdf8;
  display: inline-block;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-inverse-muted);
  line-height: var(--line-height-relaxed);
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.hero .btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.hero .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

/* Direct Contact Card in Hero */
.hero-card {
  background-color: var(--color-surface-dark-elevated);
  border: 1px solid var(--color-surface-dark-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.hero-card-header {
  border-bottom: 1px solid var(--color-surface-dark-border);
  padding-bottom: var(--space-4);
}

.hero-card-header h3 {
  font-size: var(--font-size-xl);
  color: #ffffff;
  margin-bottom: var(--space-1);
}

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

.hero-card .card-specs {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.hero-card .card-specs li {
  color: var(--color-text-inverse-muted);
}

.hero-card .card-specs strong {
  color: #ffffff;
}

.hero-card .card-specs svg {
  color: #38bdf8;
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

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

.systems-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

.systems-grid-2x2 .card,
.system-preview-card {
  border-top: 3px solid var(--color-brand-primary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.system-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-2);
}

.system-preview-header h3 {
  font-size: var(--font-size-lg);
  margin-bottom: 0;
  line-height: 1.3;
}

.system-preview-header .card-icon-box {
  margin-bottom: 0;
  flex-shrink: 0;
}

.system-preview-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-3);
  flex-grow: 1;
}

.system-preview-spec {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-brand-primary);
  margin-top: auto;
}

.card {
  background-color: var(--color-surface-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
  transition: transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration-fast) ease,
              border-color var(--duration-fast) ease;
}

.about-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-8);
  gap: var(--space-6);
}

.about-card-rush {
  border-color: var(--color-brand-primary-border);
  background: linear-gradient(180deg, #ffffff 0%, var(--color-brand-primary-subtle) 100%);
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 3px solid var(--color-brand-primary);
  background-color: var(--color-surface-card);
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.review-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: var(--space-4);
}

.review-quote {
  font-size: var(--font-size-xs);
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.review-card p {
  color: var(--color-text-muted);
}

.review-author {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-3);
}

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

.review-author-meta {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
}

.card:hover {
  border-color: var(--color-border-medium);
  box-shadow: var(--shadow-md);
}

.card-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--color-brand-primary-subtle);
  border: 1px solid var(--color-brand-primary-border);
  color: var(--color-brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.card-icon-box svg {
  width: 22px;
  height: 22px;
}

.card h3, .card h4 {
  margin-bottom: var(--space-2);
}

.card p {
  font-size: var(--font-size-sm);
}

.card-specs {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-subtle);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.card-specs li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.card-specs li svg {
  width: 18px;
  height: 18px;
  color: var(--color-brand-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   FORM CONTROLS
   ========================================================================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.form-label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-main);
  display: flex;
  justify-content: space-between;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--font-size-sm);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--color-text-main);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* ==========================================================================
   POSTCODE / AREA COVERAGE CHECKER
   ========================================================================== */
.area-checker-container {
  max-width: 640px;
  margin: 0 auto;
}

.area-input-group {
  display: flex;
  gap: var(--space-2);
}

.area-input-group .form-control {
  flex: 1;
  text-transform: uppercase;
  font-weight: var(--font-weight-semibold);
}

.area-result-box {
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  display: none;
  animation: fadeIn 200ms var(--ease-spring);
}

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

.area-result-box.visible {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.area-result-box.success {
  background-color: var(--color-success-bg);
  border: 1px solid var(--color-success-border);
  color: var(--color-success-text);
}

.area-result-box.info {
  background-color: var(--color-info-bg);
  border: 1px solid var(--color-info-border);
  color: var(--color-info-text);
}

.area-result-box.warning {
  background-color: var(--color-warning-bg);
  border: 1px solid var(--color-warning-border);
  color: var(--color-warning-text);
}

.coverage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-6);
}

.coverage-pill {
  padding: 0.4rem 0.8rem;
  background-color: var(--color-surface-subtle);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xs);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
}

/* ==========================================================================
   ACOUSTICS & EFFICIENCY BENCHMARKS
   ========================================================================== */
.efficiency-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

.efficiency-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.efficiency-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.efficiency-card p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-5);
}

.cop-bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

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

.cop-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-main);
  gap: var(--space-2);
  line-height: 1.4;
}

.cop-bar-track {
  height: 12px;
  background-color: var(--color-gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
}

.cop-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 800ms var(--ease-spring);
}

.cop-bar-fill.aircon-cop { background-color: var(--color-success); }
.cop-bar-fill.gas-cop { background-color: var(--color-brand-primary); }
.cop-bar-fill.electric-cop { background-color: var(--color-warning); }

.cop-bar-fill.aircon-noise { background-color: #38bdf8; }
.cop-bar-fill.whisper { background-color: #0284c7; }
.cop-bar-fill.library { background-color: #64748b; }
.cop-bar-fill.desk-fan { background-color: #f59e0b; }

.cop-comparison-card {
  background-color: var(--color-surface-dark-elevated);
  border: 1px solid var(--color-surface-dark-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.cop-bar-item {
  margin-bottom: var(--space-4);
}

.cop-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-2);
  color: var(--color-text-inverse);
}

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  background-color: var(--color-brand-primary);
  color: #ffffff;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
}

.process-step h4 {
  font-size: var(--font-size-base);
  margin-top: var(--space-1);
}

.process-step p {
  font-size: var(--font-size-sm);
}

/* ==========================================================================
   FAQ ACCORDION & FILTERS
   ========================================================================== */
.faq-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-8);
}

.faq-filter-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  border: 1px solid var(--color-border-medium);
  background-color: #ffffff;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.faq-filter-btn:hover {
  background-color: var(--color-surface-subtle);
  border-color: var(--color-border-strong);
}

.faq-filter-btn.active {
  background-color: var(--color-brand-primary);
  border-color: var(--color-brand-primary);
  color: #ffffff;
  font-weight: var(--font-weight-semibold);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.faq-item:hover {
  border-color: var(--color-border-medium);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  text-align: left;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-main);
  background: transparent;
  border: none;
  cursor: pointer;
}

.faq-trigger svg {
  width: 20px;
  height: 20px;
  color: var(--color-brand-primary);
  transition: transform var(--duration-fast) var(--ease-spring);
  flex-shrink: 0;
}

.faq-item.open .faq-trigger svg {
  transform: rotate(180deg);
}

.faq-content {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  display: none;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border-subtle);
  background-color: var(--color-surface-subtle);
}

.faq-item.open .faq-content {
  display: block;
  animation: fadeIn 200ms var(--ease-spring);
}

/* ==========================================================================
   MODAL & CONTACT / SURVEY FORM
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.modal-backdrop.active {
  display: flex;
  animation: fadeIn 200ms var(--ease-spring);
}

.modal-dialog {
  background-color: var(--color-surface-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-8);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  padding: 0.5rem;
  border-radius: var(--radius-xs);
  color: var(--color-text-subtle);
}

.modal-close-btn:hover {
  background-color: var(--color-surface-muted);
  color: var(--color-text-main);
}

.modal-close-btn svg {
  width: 20px;
  height: 20px;
}

/* Form Validation & Feedback */
.form-feedback {
  font-size: var(--font-size-xs);
  margin-top: 0.25rem;
  display: none;
}

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

.form-feedback.danger {
  color: var(--color-danger-text);
}

.form-feedback.success {
  color: var(--color-success-text);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-surface-dark);
  color: var(--color-text-inverse-muted);
  border-top: 1px solid var(--color-surface-dark-border);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-8);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--color-surface-dark-border);
}

.footer-logo,
.footer-col img {
  height: 58px !important;
  max-height: 62px;
  width: auto !important;
  display: block;
  object-fit: contain;
}

.footer-col h4 {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-inverse);
  margin-bottom: var(--space-4);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  font-size: var(--font-size-sm);
  color: var(--color-text-inverse-muted);
  transition: color var(--duration-fast) ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-text-inverse-muted);
  margin-bottom: var(--space-2);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-brand-primary);
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-8);
  font-size: var(--font-size-sm);
}
/* ==========================================================================
   ACCREDITATION & MANUFACTURER PARTNERS BAR
   ========================================================================== */
.accreditation-bar {
  background-color: var(--color-surface-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  padding: var(--space-4) 0;
}

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

.accreditation-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
}

.accreditation-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-brand-primary);
  flex-shrink: 0;
}

.brand-pills-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-subtle);
}

.brand-pill {
  padding: 0.25rem 0.6rem;
  background-color: #ffffff;
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-xs);
  color: var(--color-text-main);
}

/* ==========================================================================
   PORTFOLIO & INSTALLATION GALLERY
   ========================================================================== */
.portfolio-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-8);
}

.portfolio-filter-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  border: 1px solid var(--color-border-medium);
  background-color: #ffffff;
  color: var(--color-text-muted);
  transition: all var(--duration-fast) ease;
}

.portfolio-filter-btn:hover {
  background-color: var(--color-surface-subtle);
  border-color: var(--color-border-strong);
}

.portfolio-filter-btn.active {
  background-color: var(--color-brand-primary);
  border-color: var(--color-brand-primary);
  color: #ffffff;
  font-weight: var(--font-weight-semibold);
}

.portfolio-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-fast) var(--ease-spring), box-shadow var(--duration-fast) ease;
}

.portfolio-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-medium);
}

.portfolio-visual,
.portfolio-img-wrapper {
  background-color: #f8fafc;
  padding: var(--space-8) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  min-height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-subtle);
}

.portfolio-visual img,
.portfolio-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-fast) var(--ease-spring);
}

.portfolio-card:hover .portfolio-img-wrapper img,
.portfolio-card:hover .portfolio-visual img {
  transform: scale(1.03);
}

.portfolio-visual svg,
.portfolio-img-wrapper svg {
  display: block;
  margin: 0 auto;
}

.portfolio-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background-color: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.25rem 0.6rem;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-brand-primary);
  box-shadow: var(--shadow-xs);
}

.portfolio-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.portfolio-body h4 {
  font-size: var(--font-size-base);
  margin-bottom: 0;
}

.portfolio-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-subtle);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.portfolio-specs-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.portfolio-specs-list svg {
  width: 18px;
  height: 18px;
  color: var(--color-success-icon);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   COMPACT SEMANTIC GALLERY & ACCESSIBLE LIGHTBOX
   ========================================================================== */
.gallery-grid-compact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.gallery-figure {
  margin: 0;
  background-color: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-fast) var(--ease-spring), box-shadow var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.gallery-figure:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-medium);
}

.gallery-image-btn {
  display: block;
  width: 100%;
  position: relative;
  aspect-ratio: 16 / 11;
  max-height: 210px;
  overflow: hidden;
  background-color: #f1f5f9;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  margin: 0;
}

.gallery-image-btn:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: -2px;
}

.gallery-image-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-normal) var(--ease-spring);
}

.gallery-figure:hover .gallery-image-btn img,
.gallery-image-btn:hover img {
  transform: scale(1.03);
}

.gallery-zoom-badge {
  position: absolute;
  bottom: var(--space-2);
  right: var(--space-2);
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  border-radius: var(--radius-xs);
  padding: 0.2rem 0.45rem;
  font-size: 0.7rem;
  font-weight: var(--font-weight-medium);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  pointer-events: none;
  transition: background-color var(--duration-fast) ease;
}

.gallery-image-btn:hover .gallery-zoom-badge {
  background-color: rgba(0, 119, 182, 0.9);
}

.gallery-caption {
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.gallery-category-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gallery-title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-main);
  margin: 0;
  line-height: 1.3;
}

.gallery-desc {
  font-size: var(--font-size-xs);
  line-height: 1.45;
  color: var(--color-text-muted);
  margin: 0;
}

/* Accessible Lightbox Modal */
.lightbox-dialog {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-xl);
  max-width: 860px;
  width: 94vw;
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: fadeIn 200ms var(--ease-spring);
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  max-height: calc(92vh - 20px);
  overflow-y: auto;
}

.lightbox-image-wrap {
  background-color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 68vh;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}

.lightbox-image {
  max-width: 100%;
  max-height: 68vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--duration-fast) ease;
}

.lightbox-nav-btn:hover {
  background-color: var(--color-brand-primary);
  border-color: var(--color-brand-primary);
}

.lightbox-nav-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.lightbox-nav-btn.prev {
  left: var(--space-3);
}

.lightbox-nav-btn.next {
  right: var(--space-3);
}

.lightbox-caption-box {
  padding: var(--space-3) var(--space-6);
  background-color: #ffffff;
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.lightbox-caption-text {
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: var(--color-text-main);
  margin: 0;
  flex: 1;
}

.lightbox-counter {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-brand-primary);
  background-color: var(--color-surface-subtle);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Google Action Button Pending States */
.btn.btn-disabled,
a.btn.btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: auto;
  background-color: var(--color-surface-muted) !important;
  color: var(--color-text-subtle) !important;
  border-color: var(--color-border-medium) !important;
}

.google-config-pending-note {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-xs);
  color: var(--color-warning-text, #b45309);
  background-color: var(--color-warning-subtle, #fef3c7);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-xs);
  margin-top: var(--space-2);
  width: 100%;
}

/* ==========================================================================
   COMPACT HORIZONTAL REVIEWS CAROUSEL
   ========================================================================== */
.reviews-carousel {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.reviews-carousel:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}

.reviews-carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.reviews-carousel-track {
  display: flex;
  transition: transform 250ms var(--ease-spring);
  will-change: transform;
}

.reviews-carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-review-card {
  background-color: var(--color-surface-card);
  border: 1px solid var(--color-border-subtle);
  border-top: 3px solid var(--color-brand-primary);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 165px;
  box-shadow: var(--shadow-sm);
}

.carousel-review-card.google-slide-card {
  border-top-color: #4285f4;
  background-color: #ffffff;
}

.carousel-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.carousel-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: #059669;
  background-color: #ecfdf5;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
}

.carousel-review-quote {
  font-size: var(--font-size-sm);
  line-height: 1.55;
  color: var(--color-text-main);
  margin: 0 0 var(--space-3) 0;
}

.carousel-review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-2);
}

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

.carousel-author-meta {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.carousel-date-badge {
  font-size: var(--font-size-xs);
  color: var(--color-text-subtle);
}

.carousel-google-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-2);
}

.reviews-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-3);
}

.carousel-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.carousel-nav-btn:hover {
  background-color: var(--color-brand-primary);
  border-color: var(--color-brand-primary);
  color: #ffffff;
}

.carousel-nav-btn:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  border: none;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 0;
  transition: all var(--duration-fast) ease;
}

.carousel-dot.active {
  background-color: var(--color-brand-primary);
  width: 20px;
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
}

/* ==========================================================================
   SYSTEM COMPARISON MATRIX
   ========================================================================== */
.matrix-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-4);
}

.matrix-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--font-size-sm);
}

.matrix-table th {
  background-color: var(--color-surface-subtle);
  padding: 1rem 1.25rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-main);
  border-bottom: 2px solid var(--color-border-medium);
  white-space: nowrap;
}

.matrix-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text-muted);
  vertical-align: middle;
  line-height: 1.5;
}

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

.matrix-table tr:hover td {
  background-color: var(--color-surface-subtle);
}

/* ==========================================================================
   LOCAL SERVICE AREA HUBS & COMPACT COLLAPSIBLE PANEL
   ========================================================================== */
.coverage-summary-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-6);
}

.coverage-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.4rem 0.8rem;
  background-color: var(--color-surface-subtle);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xs);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-main);
}

.coverage-toggle-container {
  display: flex;
  justify-content: center;
  margin-top: var(--space-6);
}

.coverage-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.35rem;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  border-color: var(--color-brand-primary-border);
  color: var(--color-brand-primary);
  background-color: var(--color-surface-base);
}

.coverage-toggle-btn:hover {
  background-color: var(--color-brand-primary-subtle);
  border-color: var(--color-brand-primary);
}

.coverage-toggle-btn .icon-chevron {
  transition: transform var(--duration-fast) ease;
}

.coverage-toggle-btn[aria-expanded="true"] .icon-chevron {
  transform: rotate(180deg);
}

.coverage-collapsible-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms var(--ease-spring), opacity 200ms ease, margin-top 200ms ease;
  opacity: 0;
  margin-top: 0;
  overflow: hidden;
}

.coverage-collapsible-panel.open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: var(--space-6);
}

.coverage-collapsible-content {
  min-height: 0;
}

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

.local-hub-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-4);
  transition: transform var(--duration-fast) var(--ease-spring), border-color var(--duration-fast) ease;
}

.local-hub-card:hover {
  border-color: var(--color-brand-primary);
  box-shadow: var(--shadow-md);
}

.local-hub-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
}

.local-hub-header h4 {
  font-size: var(--font-size-lg);
  margin-bottom: 0;
}

.local-hub-meta {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
