/* ============================================
   Newark Water Heater Pros — Design System
   ============================================
   Mobile-first responsive CSS
   No frameworks, no dependencies
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --color-primary: #0f2b4c;
  --color-primary-light: #1a3d6e;
  --color-primary-dark: #091c33;
  --color-secondary: #163a64;
  --color-accent: #e8751a;
  --color-accent-hover: #d4680f;
  --color-accent-light: #f5a623;
  --color-accent-glow: rgba(232, 117, 26, 0.15);

  /* Neutrals */
  --color-white: #ffffff;
  --color-off-white: #f8f9fb;
  --color-light-gray: #eef1f5;
  --color-mid-gray: #c5cdd8;
  --color-dark-gray: #6b7a8d;
  --color-text: #1e293b;
  --color-text-light: #475569;
  --color-text-muted: #8494a7;

  /* Functional Colors */
  --color-success: #16a34a;
  --color-warning: #f59e0b;
  --color-danger: #dc2626;
  --color-info: #2563eb;

  /* Typography */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Font Sizes — Fluid */
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --text-sm: clamp(0.8125rem, 0.78rem + 0.2vw, 0.875rem);
  --text-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
  --text-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.125rem);
  --text-xl: clamp(1.1875rem, 1.1rem + 0.4vw, 1.3125rem);
  --text-2xl: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  --text-3xl: clamp(1.625rem, 1.4rem + 0.8vw, 2rem);
  --text-4xl: clamp(1.875rem, 1.5rem + 1.2vw, 2.5rem);
  --text-5xl: clamp(2.125rem, 1.6rem + 1.6vw, 3rem);

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

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 900px;
  --container-wide: 1400px;
  --header-height: 72px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --border-radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 43, 76, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 43, 76, 0.08);
  --shadow-lg: 0 8px 24px rgba(15, 43, 76, 0.1);
  --shadow-xl: 0 12px 40px rgba(15, 43, 76, 0.12);
  --shadow-card: 0 2px 8px rgba(15, 43, 76, 0.06), 0 0 0 1px rgba(15, 43, 76, 0.04);
  --shadow-card-hover: 0 8px 24px rgba(15, 43, 76, 0.12), 0 0 0 1px rgba(15, 43, 76, 0.06);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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-accent);
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

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

h1 { font-size: var(--text-5xl); margin-bottom: var(--space-lg); }
h2 { font-size: var(--text-4xl); margin-bottom: var(--space-lg); }
h3 { font-size: var(--text-2xl); margin-bottom: var(--space-md); }
h4 { font-size: var(--text-xl); margin-bottom: var(--space-sm); }

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

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

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

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

.section {
  padding: var(--space-3xl) 0;
}

.section--gray {
  background-color: var(--color-off-white);
}

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

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

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--color-text-light);
}

.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
  border: 2px solid transparent;
  line-height: 1.2;
}

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

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 117, 26, 0.3);
}

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

.btn--secondary:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-1px);
}

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

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

.btn--outline-accent {
  background-color: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn--outline-accent:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-1px);
}

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

.btn--white:hover {
  background-color: var(--color-off-white);
  color: var(--color-accent);
  transform: translateY(-1px);
}

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

.btn--lg {
  font-size: var(--text-lg);
  padding: 1rem 2.25rem;
  min-height: 56px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--color-light-gray);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.site-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.site-logo-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-base);
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.site-logo-tagline {
  font-size: 0.6875rem;
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

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

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
  background-color: var(--color-accent-glow);
}

.header-cta {
  display: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-primary);
  border-radius: var(--border-radius);
  transition: background-color var(--transition-fast);
}

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

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-light-gray);
  box-shadow: var(--shadow-lg);
  padding: var(--space-md) 0;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  display: block;
  padding: 0.875rem var(--space-lg);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-accent);
  background-color: var(--color-accent-glow);
  border-left-color: var(--color-accent);
}

.mobile-nav-cta {
  padding: var(--space-md) var(--space-lg);
}

/* Mobile Header Phone */
.header-phone-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-accent);
  border-radius: var(--border-radius-full);
  background: var(--color-accent-glow);
  margin-right: var(--space-xs);
  flex-shrink: 0;
}

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

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-secondary) 100%);
  color: var(--color-white);
  padding: var(--space-3xl) 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(232, 117, 26, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(232, 117, 26, 0.15);
  border: 1px solid rgba(232, 117, 26, 0.3);
  color: var(--color-accent-light);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: var(--border-radius-full);
  margin-bottom: var(--space-lg);
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.hero-description {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
  max-width: 540px;
  line-height: 1.7;
}

.hero-phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
}

.hero-phone a {
  color: var(--color-accent-light);
  font-weight: 700;
  font-size: var(--text-lg);
}

.hero-phone a:hover {
  color: var(--color-white);
}

.hero-image {
  margin-top: var(--space-2xl);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background-color: var(--color-secondary);
}

/* --- Service Page Hero (smaller variant) --- */
.hero--service {
  padding: var(--space-2xl) 0 var(--space-2xl);
}

/* --- Trust Bar --- */
.trust-bar {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-light-gray);
  padding: var(--space-2xl) 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  background-color: var(--color-off-white);
  transition: all var(--transition-base);
}

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

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  border-radius: var(--border-radius);
  flex-shrink: 0;
}

.trust-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-white);
}

.trust-text h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.trust-text p {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  border: 1px solid var(--color-light-gray);
}

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

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--color-accent-glow);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-md);
}

.card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
}

.card h3 {
  font-size: var(--text-lg);
}

.card p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
}

.card-link:hover {
  gap: var(--space-sm);
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.card-link:hover svg {
  transform: translateX(3px);
}

/* --- Service Cards --- */
.service-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  border: 1px solid var(--color-light-gray);
}

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

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

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

.service-card-body p {
  flex: 1;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-white);
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(232, 117, 26, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.cta-section .btn-group {
  justify-content: center;
}

/* --- Content Section (Service Pages) --- */
.content-section {
  padding: var(--space-3xl) 0;
}

.content-body {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.content-body h2 {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-light-gray);
}

.content-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

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

.content-body ul,
.content-body ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.content-body ul {
  list-style: disc;
}

.content-body ol {
  list-style: decimal;
}

.content-body li {
  margin-bottom: var(--space-sm);
  color: var(--color-text-light);
  line-height: 1.7;
}

.content-body li::marker {
  color: var(--color-accent);
}

.content-body strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Warning/Safety Box */
.warning-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 4px solid var(--color-danger);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}

.warning-box h4 {
  color: var(--color-danger);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.warning-box p {
  color: #991b1b;
  font-size: var(--text-sm);
}

/* Info Box */
.info-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--color-info);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}

.info-box h4 {
  color: var(--color-info);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.info-box p {
  color: #1e40af;
  font-size: var(--text-sm);
}

/* --- FAQ --- */
.faq-list {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-light-gray);
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-lg);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  background: none;
  cursor: pointer;
  transition: color var(--transition-fast);
  min-height: 48px;
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--color-dark-gray);
}

.faq-item.is-open .faq-question svg {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-answer {
  display: none;
  padding: 0 var(--space-lg) var(--space-lg);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-answer p {
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* --- Contact Form --- */
.contact-form {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-light-gray);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-white);
  border: 1px solid var(--color-mid-gray);
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
  min-height: 48px;
}

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

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

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

.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.form-radio-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text);
  cursor: pointer;
  min-height: 44px;
}

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

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: var(--space-md) 0;
  background-color: var(--color-off-white);
  border-bottom: 1px solid var(--color-light-gray);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.breadcrumb-item a {
  color: var(--color-text-light);
}

.breadcrumb-item a:hover {
  color: var(--color-accent);
}

.breadcrumb-sep {
  color: var(--color-mid-gray);
  font-size: var(--text-xs);
}

.breadcrumb-item:last-child {
  color: var(--color-text);
  font-weight: 500;
}

/* --- Contact Info --- */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-xl);
  background-color: var(--color-off-white);
  border-radius: var(--border-radius-lg);
}

.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--border-radius);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-white);
}

.contact-info-text h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}

.contact-info-text p {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

.contact-info-text a {
  color: var(--color-accent);
  font-weight: 600;
}

/* --- Service Area --- */
.area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.area-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background-color: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--color-text);
}

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

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

.area-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

.area-card h3 {
  font-size: var(--text-base);
  margin-bottom: 0;
}

.area-card p {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-3xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .site-logo-name {
  color: var(--color-white);
}

.footer-brand .site-logo-tagline {
  color: var(--color-accent-light);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  margin-top: var(--space-md);
  max-width: 280px;
}

.footer-heading {
  color: var(--color-white);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
  padding: var(--space-xs) 0;
}

.footer-links a:hover {
  color: var(--color-accent-light);
  padding-left: var(--space-sm);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}

.footer-contact-item a {
  color: var(--color-accent-light);
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-lg) 0;
  font-size: var(--text-xs);
  text-align: center;
}

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

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-xs);
}

.footer-bottom-links a:hover {
  color: var(--color-accent-light);
}

/* --- Mobile CTA Bar --- */
.mobile-cta-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: var(--color-primary);
  padding: var(--space-sm) var(--space-md);
  gap: var(--space-sm);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  border-top: 1px solid var(--color-primary-light);
}

.mobile-cta-bar .btn {
  flex: 1;
  font-size: var(--text-sm);
  padding: 0.75rem 0.5rem;
  min-height: 48px;
  border-radius: var(--border-radius);
}

body {
  padding-bottom: 72px;
}

/* --- 404 Page --- */
.error-page {
  text-align: center;
  padding: var(--space-4xl) 0;
}

.error-page h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--color-light-gray);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.error-page h2 {
  margin-bottom: var(--space-md);
}

.error-page p {
  font-size: var(--text-lg);
  max-width: 500px;
  margin: 0 auto var(--space-xl);
}

/* --- Legal Pages --- */
.legal-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.legal-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-2xl);
}

.legal-content h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-xl);
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content li {
  margin-bottom: var(--space-sm);
  color: var(--color-text-light);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* No-JS fallback: everything visible */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Small phones — 360px+ */
@media (min-width: 360px) {
  .hero-badge {
    font-size: var(--text-sm);
  }
}

/* Tablets — 576px+ */
@media (min-width: 576px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

/* Tablets landscape — 768px+ */
@media (min-width: 768px) {
  .section {
    padding: var(--space-4xl) 0;
  }

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

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

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

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

  .contact-form {
    padding: var(--space-2xl);
  }

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

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

/* Desktop — 1024px+ */
@media (min-width: 1024px) {
  /* Header desktop layout */
  .main-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

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

  .header-cta {
    display: flex;
  }

  .mobile-nav {
    display: none !important;
  }

  /* Hero two-column */
  .hero {
    padding: var(--space-4xl) 0;
  }

  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
  }

  .hero-image {
    margin-top: 0;
  }

  /* Cards */
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  /* Footer */
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  /* Hide mobile CTA bar on desktop */
  .mobile-cta-bar {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

  /* Area grid */
  .area-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Service page layout */
  .service-page-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-2xl);
    align-items: start;
  }
}

/* Large desktop — 1280px+ */
@media (min-width: 1280px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-inner {
    gap: var(--space-4xl);
  }
}

/* --- Sidebar (Service Pages) --- */
.sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .sidebar {
    display: block;
    position: sticky;
    top: calc(var(--header-height) + var(--space-xl));
  }
}

.sidebar-card {
  background-color: var(--color-off-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  border: 1px solid var(--color-light-gray);
}

.sidebar-card h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-accent);
}

.sidebar-link {
  display: block;
  padding: var(--space-sm) 0;
  font-size: var(--text-sm);
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-light-gray);
  transition: all var(--transition-fast);
}

.sidebar-link:last-child {
  border-bottom: none;
}

.sidebar-link:hover {
  color: var(--color-accent);
  padding-left: var(--space-sm);
}

.sidebar-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
}

.sidebar-cta h3 {
  color: var(--color-white);
  border-bottom: none;
  margin-bottom: var(--space-md);
}

.sidebar-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
}

.sidebar-cta .btn {
  width: 100%;
}

/* --- Table Responsive --- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-lg) 0;
}

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

.content-table th,
.content-table td {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-light-gray);
  text-align: left;
}

.content-table th {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
}

.content-table tr:nth-child(even) {
  background-color: var(--color-off-white);
}

/* --- Print --- */
@media print {
  .site-header,
  .mobile-cta-bar,
  .sidebar-cta {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  body {
    padding-bottom: 0;
  }
}

/* --- Details/Summary FAQ Pattern (alternative) --- */
details.faq-item {
  border: 1px solid var(--color-light-gray);
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

details.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  min-height: 48px;
  transition: color var(--transition-fast);
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

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

details.faq-item summary:hover {
  color: var(--color-accent);
}

details.faq-item summary svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--color-dark-gray);
}

details.faq-item[open] summary svg {
  transform: rotate(180deg);
  color: var(--color-accent);
}

details.faq-item .faq-content {
  padding: 0 var(--space-lg) var(--space-lg);
}

details.faq-item .faq-content p {
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* --- Hero Title/Subtitle utility classes --- */
.hero-title {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
  max-width: 640px;
  line-height: 1.7;
}

/* --- Breadcrumbs Container (alternative) --- */
.breadcrumbs-container {
  background-color: var(--color-off-white);
  border-bottom: 1px solid var(--color-light-gray);
}

.breadcrumbs-container .breadcrumbs {
  background: none;
  border-bottom: none;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs ol li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.breadcrumbs ol li::before {
  content: none;
}

.breadcrumbs ol li + li::before {
  content: '›';
  color: var(--color-mid-gray);
  margin-right: 0;
}

.breadcrumbs ol li a {
  color: var(--color-text-light);
}

.breadcrumbs ol li a:hover {
  color: var(--color-accent);
}

/* --- Contact page grid --- */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

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