/* ==========================================================================
   NY PLUMBING NETWORK HUB — CORE DESIGN SYSTEM (2026 EDITORIAL STANDARD)
   Canonical Host: https://nyplumbing.sbs/
   ========================================================================== */

:root {
  /* Brand & Core Color Palette */
  --color-primary: #0369a1;         /* Deep cerulean / New York infrastructure */
  --color-primary-hover: #0284c7;   /* Bright electric blue */
  --color-primary-dark: #0c4a6e;    /* Deep navy slate */
  --color-accent: #0284c7;          /* Vivid link & CTA accent */
  --color-accent-amber: #b45309;    /* Safety advisory / critical alerts */
  --color-bg-page: #f8fafc;         /* Pure crisp off-white background */
  --color-bg-surface: #ffffff;      /* Pure white container cards */
  --color-bg-subtle: #f1f5f9;       /* Secondary neutral container */
  --color-bg-dark: #0f172a;         /* High-contrast midnight footer/hero */
  --color-border: #e2e8f0;          /* Clean structural borders */
  --color-border-hover: #cbd5e1;    /* Interactive border hover */

  /* Typography Colors */
  --text-main: #1e293b;             /* Charcoal for optimal readability */
  --text-muted: #64748b;            /* Refined secondary labels */
  --text-light: #94a3b8;            /* Low-emphasis captions */
  --text-inverse: #ffffff;          /* White text on dark surfaces */

  /* Verification Status Badges */
  --badge-verified-bg: #ecfdf5;
  --badge-verified-text: #047857;
  --badge-verified-border: #a7f3d0;

  --badge-pending-bg: #f8fafc;
  --badge-pending-text: #475569;
  --badge-pending-border: #e2e8f0;

  /* Typography Scale */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;

  /* Structural Radii & Shadows */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-inner: inset 0 2px 4px rgba(15, 23, 42, 0.04);

  /* Max Widths */
  --max-width-content: 1200px;
  --max-width-text: 780px;

  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.25s ease-in-out;
}

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

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--color-primary-hover);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  margin-bottom: var(--space-md);
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-main);
}

ul, ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

li {
  margin-bottom: var(--space-xs);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.container-narrow {
  max-width: var(--max-width-text);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background-color: var(--color-bg-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: -0.03em;
}

.brand-badge {
  font-size: 0.725rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--color-bg-subtle);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

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

.header-cta {
  display: flex;
  align-items: center;
}

.btn-nav-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-primary);
  color: var(--text-inverse);
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(3, 105, 161, 0.25);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-nav-call:hover {
  background-color: var(--color-primary-hover);
  color: var(--text-inverse);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(3, 105, 161, 0.35);
}

.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #0284c7;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-call:hover {
  background-color: #0369a1;
  color: #ffffff;
  transform: translateY(-1px);
}

.call-cta-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  margin: var(--space-2xl) 0;
  box-shadow: var(--shadow-md);
}

.call-cta-box h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.call-cta-box p {
  color: #cbd5e1;
  font-size: 0.95rem;
  max-width: 580px;
  margin: 0 auto var(--space-md);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  padding: var(--space-xs);
}

/* ==========================================================================
   Hero Section (Editorial Composition)
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--text-inverse);
  padding: var(--space-3xl) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  margin-bottom: var(--space-sm);
}

.hero-title {
  color: var(--text-inverse);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.hero-subhead {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0284c7;
  color: var(--text-inverse);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background-color: #38bdf8;
  color: #0f172a;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-inverse);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--text-inverse);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--space-lg);
}

.hero-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #38bdf8;
}

.hero-stat-label {
  font-size: 0.825rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-image-wrap img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.hero-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
  font-size: 0.85rem;
  color: #e2e8f0;
}

/* ==========================================================================
   Page Banners (For Interior Pages)
   ========================================================================== */
.page-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--text-inverse);
  padding: var(--space-2xl) 0 var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.page-banner h1 {
  color: var(--text-inverse);
  margin-bottom: var(--space-xs);
}

.page-banner .lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 780px;
  margin-bottom: 0;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
  list-style: none;
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
  padding: 0;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin: 0;
  color: #94a3b8;
}

.breadcrumbs li a {
  color: #38bdf8;
}

.breadcrumbs li a:hover {
  text-decoration: underline;
}

.breadcrumbs li::after {
  content: "/";
  color: #64748b;
  margin-left: var(--space-xs);
}

.breadcrumbs li:last-child::after {
  content: "";
}

.breadcrumbs li:last-child {
  color: #e2e8f0;
  font-weight: 500;
}

/* Light breadcrumbs for interior content pages */
.breadcrumbs-light li {
  color: var(--text-muted);
}
.breadcrumbs-light li a {
  color: var(--color-primary);
}
.breadcrumbs-light li:last-child {
  color: var(--text-main);
}

/* ==========================================================================
   Directory Search & Filter UI (Interactive Component)
   ========================================================================== */
.directory-control-bar {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.search-input-group {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.search-field-wrap {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.search-field-wrap input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-page);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.search-field-wrap input:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-bg-surface);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.15);
}

.search-icon-svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.filter-select {
  padding: 10px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-page);
  color: var(--text-main);
  cursor: pointer;
}

.filter-pills {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.pill-btn {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pill-btn:hover, .pill-btn.active {
  background-color: var(--color-primary);
  color: var(--text-inverse);
  border-color: var(--color-primary);
}

.directory-results-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

/* ==========================================================================
   Directory Grid & Cards
   ========================================================================== */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.location-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

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

.location-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.location-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.location-card-parent {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 500;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.725rem;
  font-weight: 600;
  background-color: var(--badge-verified-bg);
  color: var(--badge-verified-text);
  border: 1px solid var(--badge-verified-border);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.badge-pending {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.725rem;
  font-weight: 600;
  background-color: var(--badge-pending-bg);
  color: var(--badge-pending-text);
  border: 1px solid var(--badge-pending-border);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.location-card-body {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.location-card-services {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: var(--space-sm);
}

.service-tag {
  font-size: 0.75rem;
  background-color: var(--color-bg-subtle);
  color: var(--text-main);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.location-card-footer {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.location-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.location-card-link:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

.empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
  background-color: var(--color-bg-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}

.empty-state h3 {
  color: var(--text-main);
  margin-bottom: var(--space-xs);
}

/* ==========================================================================
   Service Taxonomy Cards & Catalog
   ========================================================================== */
.service-cluster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

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

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

.service-card-media {
  height: 200px;
  overflow: hidden;
  position: relative;
  background-color: var(--color-bg-subtle);
}

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

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

.service-card-content {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-cluster-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: var(--space-xs);
}

.service-card-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: var(--space-md);
  flex: 1;
}

.service-card-symptoms {
  background-color: var(--color-bg-page);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-md);
  font-size: 0.825rem;
}

.service-card-symptoms strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 4px;
}

.service-card-symptoms ul {
  margin: 0;
  padding-left: var(--space-md);
  color: var(--text-muted);
}

.service-card-action {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Editorial Content & Typography Components
   ========================================================================== */
.editorial-article {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin-top: calc(-1 * var(--space-xl));
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-content h2 {
  margin-top: var(--space-2xl);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-border);
}

.article-content h3 {
  margin-top: var(--space-xl);
}

/* Callouts & Alerts */
.callout-box {
  background-color: var(--color-bg-subtle);
  border-left: 4px solid var(--color-primary);
  padding: var(--space-md) var(--space-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-xl) 0;
}

.callout-box.alert-safety {
  background-color: #fef2f2;
  border-left-color: #ef4444;
}

.callout-box.alert-safety strong {
  color: #991b1b;
}

.callout-box.alert-info {
  background-color: #eff6ff;
  border-left-color: #3b82f6;
}

/* Editorial Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: var(--space-xl) 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.editorial-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.editorial-table th {
  background-color: var(--color-bg-subtle);
  color: var(--text-main);
  padding: 12px 16px;
  font-weight: 600;
  border-bottom: 2px solid var(--color-border);
}

.editorial-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  color: var(--text-main);
}

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

.editorial-table tr:hover td {
  background-color: var(--color-bg-page);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--color-bg-dark);
  color: #94a3b8;
  margin-top: auto;
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand h3 {
  color: var(--text-inverse);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 360px;
}

.footer-col h4 {
  color: var(--text-inverse);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer-bottom-links a {
  color: #94a3b8;
}

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

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .hero-image-wrap img {
    height: 320px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  .site-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--color-bg-surface);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-lg);
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  
  .site-nav.open {
    display: flex;
  }
  
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-xs);
  }
  
  .nav-link {
    padding: var(--space-sm);
  }
  
  .header-cta {
    margin-top: var(--space-md);
    display: flex;
    justify-content: center;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .editorial-article {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .site-header {
    height: auto;
  }
  .header-inner {
    height: 64px;
  }
  .site-brand span:not(.brand-badge) {
    font-size: 1.05rem;
  }
  .brand-badge {
    display: none;
  }
  .btn-nav-call {
    padding: 7px 12px;
    font-size: 0.8rem;
    gap: 4px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary, .btn-secondary, .btn-call {
    width: 100%;
    text-align: center;
  }
  .container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
}

