/* =============================================
   A.M.S. Appliance Service — Design System
   Modern Light Aesthetic (Reference-Based Design)
   ============================================= */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary Accent: Coral Red */
  --color-primary: #EE593B;
  --color-primary-hover: #E04527;
  --color-primary-light: #FFF2EF;
  --color-primary-glow: rgba(238, 89, 59, 0.15);

  /* Accent Secondary */
  --color-accent: #EE593B;
  --color-accent-light: #FFF2EF;
  --color-accent-dark: #D83C1D;

  /* Clean Light Theme Palette */
  --color-bg: #FAFAFC;
  --color-bg-secondary: #F3F4F6;
  --color-bg-tertiary: #EBECEF;
  --color-bg-card: #FFFFFF;
  --color-bg-glass: rgba(255, 255, 255, 0.9);
  --color-surface: #FFFFFF;
  --color-surface-hover: #F8F9FA;
  --color-border: #E4E4E7;
  --color-border-hover: #D1D5DB;

  /* Typography Colors */
  --color-text: #111116;
  --color-text-secondary: #52525B;
  --color-text-muted: #71717A;

  /* Semantic */
  --color-success: #10B981;
  --color-danger: #EF4444;

  /* 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: 5rem;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.5rem;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.07);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.09);

  /* Layout */
  --max-width: 1200px;
  --nav-height: 76px;
}

/* ---------- Interactive Service Area Map Modal & Clickable Cards ---------- */
.area-card-clickable {
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.area-card-clickable:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: 0 16px 36px -8px rgba(238, 89, 59, 0.22);
}

.view-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 1rem;
  transition: gap 0.2s ease;
}

.area-card-clickable:hover .view-map-link {
  gap: 0.6rem;
}

.zip-badge-clickable {
  cursor: pointer;
  transition: all 0.25s ease;
}

.zip-badge-clickable:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(238, 89, 59, 0.3);
}

/* Map Modal Window */
.map-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 17, 23, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 1.5rem;
}

.map-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.map-modal-content {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 720px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-modal.active .map-modal-content {
  transform: scale(1);
}

.map-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 2rem;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text);
  line-height: 1;
  z-index: 10;
  transition: all 0.2s ease;
}

.map-modal-close:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.map-modal-header {
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--color-border-light);
}

.map-title-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.map-title-icon {
  font-size: 1.75rem;
}

.map-area-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.15rem;
}

.map-county-badge {
  display: inline-flex;
  padding: 0.2rem 0.6rem;
  background: rgba(238, 89, 59, 0.08);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
}

.map-zip-info {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  margin-top: 0.75rem;
}

.map-iframe-container {
  width: 100%;
  height: 380px;
  background: var(--color-bg-secondary);
}

.map-modal-actions {
  padding: 1.25rem 1.75rem;
  background: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--color-border-light);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(238, 89, 59, 0.3);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-text);
  background-color: var(--color-bg-secondary);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--text-base);
}

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

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

:root {
  --nav-height: 84px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.25rem;
  color: #1E2229; /* Graphite color */
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
}

.brand-subtitle {
  font-size: 0.82rem;
  font-weight: 700;
  color: #4B525D; /* Dark slate graphite */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.phone-link {
  font-weight: 700;
  font-size: var(--text-sm);
  color: #FFFFFF;
  background: linear-gradient(135deg, #EE593B 0%, #D44427 100%);
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(238, 89, 59, 0.35);
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.phone-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(238, 89, 59, 0.45);
  color: #FFFFFF;
}

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

/* ---------- Hero Section (Main Page vs Sub-Pages) ---------- */
.hero-home {
  position: relative;
  padding-top: calc(var(--nav-height) + 5rem);
  padding-bottom: 6rem;
  background-image: url('images/hero-technician.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-home .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(15, 17, 23, 0.72) 0%, rgba(15, 17, 23, 0.65) 50%, rgba(15, 17, 23, 0.82) 100%);
  z-index: 1;
}

.hero-home .container {
  position: relative;
  z-index: 2;
}

/* ---------- Sub-Pages Hero (Clean White Background + Right Photo Card) ---------- */
.hero:not(.hero-home) {
  position: relative;
  padding-top: calc(var(--nav-height) + 3.5rem);
  padding-bottom: 4rem;
  background: #FFFFFF !important;
  background-image: none !important;
  min-height: auto;
  border-bottom: 1px solid var(--color-border);
}

.hero:not(.hero-home) .hero-overlay {
  display: none !important;
}

/* ---------- Sub-Page Hero Interactive Showcase Card ---------- */
.hero:not(.hero-home) .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.hero:not(.hero-home) .hero-actions {
  justify-content: center;
}

.hero:not(.hero-home) .hero-stats {
  justify-content: center;
  width: 100%;
}

.subpage-hero-card {
  position: relative;
  background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.5rem 1.25rem;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.subpage-hero-card .badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: rgba(238, 89, 59, 0.08);
  color: var(--color-primary);
  border: 1px solid rgba(238, 89, 59, 0.2);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.subpage-hero-card .appliance-visual {
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.subpage-hero-card .appliance-visual img {
  max-height: 220px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s ease;
}

.subpage-hero-card:hover .appliance-visual img {
  transform: scale(1.04);
}

.subpage-hero-card .specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  width: 100%;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-light);
}

.subpage-hero-card .spec-box {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.4rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.subpage-hero-card .spec-val {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-text);
  display: block;
}

.subpage-hero-card .spec-lbl {
  font-size: 10px;
  color: var(--color-text-muted);
  font-weight: 600;
  display: block;
  margin-top: 2px;
}

.hero:not(.hero-home) .hero-content {
  grid-column: 1;
  grid-row: 1;
}

.hero:not(.hero-home) .hero-title,
.hero:not(.hero-home) h1 {
  color: var(--color-text);
  font-size: var(--text-4xl);
  font-weight: 800;
  text-shadow: none;
  margin-bottom: 1rem;
}

.hero:not(.hero-home) .hero-description,
.hero:not(.hero-home) .hero-subtitle,
.hero:not(.hero-home) p {
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  max-width: 600px;
  text-shadow: none;
  line-height: 1.6;
}

.hero:not(.hero-home) .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero:not(.hero-home) .hero-actions {
  justify-content: flex-start;
  margin-top: 1.5rem;
  margin-bottom: 2.25rem;
}

.hero:not(.hero-home) .hero-actions .btn-secondary {
  background-color: #FFFFFF;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: none;
}

.hero:not(.hero-home) .hero-actions .btn-secondary:hover {
  background-color: var(--color-bg-secondary);
  border-color: var(--color-text);
}

.hero:not(.hero-home) .hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.hero:not(.hero-home) .hero-stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  display: block;
}

.hero:not(.hero-home) .hero-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 600;
}

.hero-content-centered {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.25rem;
  max-width: 620px;
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  width: 100%;
}

.hero-actions .btn-secondary {
  background-color: rgba(255, 255, 255, 0.95);
  color: #111116;
  border-color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn-secondary:hover {
  background-color: #FFFFFF;
  transform: translateY(-1px);
}

.hero-trust-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

/* ---------- Glowing Same-Day Availability Badge ---------- */
.trust-availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1.4rem;
  background: rgba(16, 185, 129, 0.18);
  border: 1.5px solid rgba(16, 185, 129, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 22px rgba(16, 185, 129, 0.35);
  transition: all 0.3s ease;
}

.trust-availability-badge:hover {
  background: rgba(16, 185, 129, 0.28);
  border-color: #10B981;
  box-shadow: 0 6px 28px rgba(16, 185, 129, 0.55);
  transform: translateY(-2px) scale(1.02);
}

.pulse-dot-glowing {
  width: 10px;
  height: 10px;
  background-color: #10B981;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 10px #10B981;
  flex-shrink: 0;
}

.pulse-dot-glowing::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #10B981;
  animation: pulsePing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulsePing {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.availability-text {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ---------- Premium Hero Trust Cards (Soft & Pleasant Typography) ---------- */
.hero-trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 980px;
  margin-top: 0.75rem;
}

.hero-trust-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: rgba(18, 22, 31, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  text-align: left;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-trust-card:hover {
  transform: translateY(-3px);
  background: rgba(18, 22, 31, 0.85);
  border-color: rgba(238, 89, 59, 0.6);
  box-shadow: 0 16px 36px rgba(238, 89, 59, 0.25);
}

.trust-card-icon {
  font-size: 1.75rem;
  line-height: 1;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-card-content {
  display: flex;
  flex-direction: column;
}

.trust-card-title {
  font-family: 'Plus Jakarta Sans', var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.trust-card-title .highlight-tag {
  color: #FBBF24;
  font-size: 1.15rem;
  font-weight: 700;
  margin-right: 2px;
}

.trust-card-sub {
  font-family: 'Inter', var(--font-body);
  font-size: 0.84rem;
  color: rgba(243, 244, 246, 0.82);
  font-weight: 400;
  line-height: 1.4;
  margin-top: 0.2rem;
  letter-spacing: 0.01em;
}

/* ---------- Feature Strip (4-Column Bar) ---------- */
.feature-strip {
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  padding: 0.5rem 0;
}

.strip-item:not(:last-child) {
  border-right: 1px solid var(--color-border);
}

.strip-icon {
  font-size: 1.2rem;
}

/* ---------- Section Standard ---------- */
.section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  margin-top: 0.5rem;
  max-width: 540px;
}

/* ---------- Appliance Cards Grid ---------- */
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.header-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}

.appliances-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.appliance-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  overflow: hidden;
  text-decoration: none;
}

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

.card-num {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.card-body {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.card-img-wrapper {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-wrapper img {
  max-height: 115px;
  max-width: 105px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.06));
  transition: transform 0.3s ease;
}

.appliance-card:hover .card-img-wrapper img {
  transform: scale(1.04);
}

.card-info h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.common-issues-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
  display: block;
}

.symptom-list {
  list-style: none;
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

.symptom-list li {
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.symptom-list li::before {
  content: "•";
  color: var(--color-text-muted);
}

.card-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 0.5rem;
  transition: gap 0.2s ease;
}

.appliance-card:hover .card-action-link {
  gap: 0.6rem;
}

/* Bottom Bar */
/* White Highlighted Bottom More Bar */
.bottom-more-bar {
  margin-top: 3rem;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 60%, #F0F7FF 100%);
  border: 2px solid rgba(14, 116, 144, 0.2);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 12px 36px rgba(14, 116, 144, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-more-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.bottom-more-bar:hover {
  border-color: var(--color-primary);
  box-shadow: 0 16px 40px rgba(14, 116, 144, 0.14);
  transform: translateY(-3px);
}

.bottom-more-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 2;
}

.bottom-more-img-wrapper {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.bottom-more-bar:hover .bottom-more-img-wrapper {
  transform: scale(1.05);
}

.bottom-more-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.bottom-more-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.bottom-more-badge {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bottom-more-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.3;
  margin: 0;
}

.bottom-more-sub {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
}

.bottom-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0369A1 100%);
  border: none;
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: var(--text-sm);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(14, 116, 144, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  flex-shrink: 0;
}

.bottom-more-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 28px rgba(14, 116, 144, 0.4);
  background: linear-gradient(135deg, var(--color-accent) 0%, #EA580C 100%);
  color: #FFFFFF;
}

/* ---------- Diagnostic & How It Works Section ---------- */
.process-section {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 4.5rem 0;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.diagnostic-box {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.diagnostic-box h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.price-tag {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.diagnostic-sub {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.process-steps-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.steps-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
}

/* Connecting track with laser beam & node glow points */
.steps-connecting-line {
  position: absolute;
  top: 50%;
  left: 14%;
  right: 14%;
  height: 3px;
  background: #E2E8F0;
  border-radius: 4px;
  z-index: 1;
  transform: translateY(-50%);
  overflow: visible;
}

.steps-progress-beam {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--color-primary) 20%, 
    #0284C7 50%, 
    #10B981 80%, 
    transparent 100%
  );
  background-size: 200% 100%;
  animation: laserStream 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(14, 116, 144, 0.4);
}

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

/* Node glow dots at step intervals */
.steps-node-dot {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--color-primary);
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 0 6px rgba(14, 116, 144, 0.4);
}

.steps-node-dot.dot-1 { left: 0%; animation: nodePulse1 6s infinite; }
.steps-node-dot.dot-2 { left: 50%; animation: nodePulse2 6s infinite; }
.steps-node-dot.dot-3 { left: 100%; animation: nodePulse3 6s infinite; }

@keyframes nodePulse1 {
  0%, 30% { transform: translate(-50%, -50%) scale(1.4); border-color: var(--color-primary); background: var(--color-primary); box-shadow: 0 0 12px var(--color-primary); }
  35%, 100% { transform: translate(-50%, -50%) scale(1); border-color: #CBD5E1; background: #FFFFFF; box-shadow: none; }
}

@keyframes nodePulse2 {
  0%, 30% { transform: translate(-50%, -50%) scale(1); border-color: #CBD5E1; background: #FFFFFF; box-shadow: none; }
  33%, 63% { transform: translate(-50%, -50%) scale(1.4); border-color: var(--color-accent); background: var(--color-accent); box-shadow: 0 0 12px var(--color-accent); }
  68%, 100% { transform: translate(-50%, -50%) scale(1); border-color: #CBD5E1; background: #FFFFFF; box-shadow: none; }
}

@keyframes nodePulse3 {
  0%, 63% { transform: translate(-50%, -50%) scale(1); border-color: #CBD5E1; background: #FFFFFF; box-shadow: none; }
  66%, 96% { transform: translate(-50%, -50%) scale(1.4); border-color: #10B981; background: #10B981; box-shadow: 0 0 12px #10B981; }
  100% { transform: translate(-50%, -50%) scale(1); border-color: #CBD5E1; background: #FFFFFF; box-shadow: none; }
}

/* Step cards with sequential highlight glow cycle */
.step-card {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
}

/* Accent border bar at top of card */
.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease, transform 0.3s ease;
  transform: scaleX(0);
  transform-origin: left;
}

.step-card:hover::before,
.step-card-featured::before {
  transform: scaleX(1);
}

.step-card-1::before { background: var(--color-primary); }
.step-card-2::before { background: var(--color-accent); }
.step-card-3::before { background: #10B981; }

.step-card-1 { animation: stepGlow1 6s infinite ease-in-out; }
.step-card-2 { animation: stepGlow2 6s infinite ease-in-out; }
.step-card-3 { animation: stepGlow3 6s infinite ease-in-out; }

@keyframes stepGlow1 {
  0%, 30% {
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(14, 116, 144, 0.18);
    transform: translateY(-3px);
  }
  35%, 100% {
    border-color: var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transform: translateY(0);
  }
}

@keyframes stepGlow2 {
  0%, 30% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transform: translateY(0);
  }
  33%, 63% {
    border-color: var(--color-accent);
    box-shadow: 0 10px 28px rgba(238, 89, 59, 0.2);
    transform: translateY(-4px);
  }
  68%, 100% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transform: translateY(0);
  }
}

@keyframes stepGlow3 {
  0%, 63% {
    border-color: var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transform: translateY(0);
  }
  66%, 96% {
    border-color: #10B981;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
    transform: translateY(-3px);
  }
  100% {
    border-color: var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transform: translateY(0);
  }
}

.step-card:hover {
  animation: none !important;
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 16px 32px rgba(14, 116, 144, 0.15) !important;
  border-color: var(--color-primary) !important;
}

.step-card-featured {
  background: linear-gradient(135deg, #FFFFFF 0%, #F0F7FF 100%);
  border: 2px solid var(--color-primary);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 1rem;
}

.step-number-badge {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--color-primary);
  background: rgba(14, 116, 144, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.step-card-1 .step-number-badge { color: var(--color-primary); background: rgba(14, 116, 144, 0.1); }
.step-card-2 .step-number-badge { color: var(--color-accent); background: rgba(238, 89, 59, 0.1); }
.step-card-3 .step-number-badge { color: #059669; background: rgba(16, 185, 129, 0.1); }

.step-icon {
  font-size: 1.6rem;
  line-height: 1;
  background: #F8FAFC;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
  transition: transform 0.3s ease, background 0.3s ease;
}

/* Micro-animations on icons */
.step-card-1:hover .step-icon {
  transform: rotate(-12deg) scale(1.15);
  background: #E0F2FE;
}

.step-card-2:hover .step-icon {
  transform: scale(1.15);
  background: #FFEDD5;
}

.step-card-3:hover .step-icon {
  transform: scale(1.2) rotate(10deg);
  background: #D1FAE5;
}

.step-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.45;
}

.process-guarantee-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #ECFDF5 0%, #F0FDF4 50%, #D1FAE5 100%);
  border: 1.5px solid #34D399;
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.4rem;
  margin-top: 0.75rem;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.16);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.process-guarantee-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.25);
}

.shield-icon {
  font-size: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #A7F3D0;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
  animation: shieldPulse 2.5s infinite ease-in-out;
}

.guarantee-text {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: #065F46;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.guarantee-text strong {
  font-weight: 800;
  color: #047857;
  display: inline;
}

@keyframes shieldPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 3px 10px rgba(16, 185, 129, 0.2); }
  50% { transform: scale(1.15); box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4); }
}

/* ---------- Good Service Details & Why Us Collage ---------- */
.details-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.why-us-collage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 175px 175px 175px;
  gap: 1rem;
}

.collage-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  background: var(--color-bg-secondary);
  transition: all 0.3s ease;
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

/* Hover Zoom Effect */
.collage-item:hover img {
  transform: scale(1.12);
  filter: brightness(1.04);
}

.collage-item:hover {
  border-color: var(--color-primary);
  box-shadow: 0 12px 28px -6px rgba(238, 89, 59, 0.25);
  z-index: 5;
}

.collage-item-tall {
  grid-row: span 2;
}

.collage-item-wide {
  grid-column: span 2;
}

/* Floating overlay caption */
.collage-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 0.85rem;
  background: linear-gradient(to top, rgba(15, 17, 23, 0.85) 0%, transparent 100%);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
}

.collage-item:hover .collage-caption {
  opacity: 1;
  transform: translateY(0);
}

.details-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 1.4rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.detail-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: transparent;
  transition: background 0.3s ease;
}

.detail-item:nth-child(1):hover::before { background: var(--color-accent); }
.detail-item:nth-child(2):hover::before { background: var(--color-primary); }
.detail-item:nth-child(3):hover::before { background: #10B981; }
.detail-item:nth-child(4):hover::before { background: #8B5CF6; }

.detail-item:hover {
  transform: translateX(4px);
  border-color: rgba(14, 116, 144, 0.3);
  box-shadow: 0 10px 24px rgba(14, 116, 144, 0.1);
}

.detail-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border: 1px solid #BAE6FD;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(14, 116, 144, 0.08);
  transition: transform 0.3s ease, background 0.3s ease;
}

.detail-item:hover .detail-icon {
  transform: scale(1.1) rotate(-4deg);
  background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
}

.detail-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.detail-content h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.01em;
}

.detail-content p {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: #334155;
  line-height: 1.5;
  margin: 0;
}

.detail-content p strong {
  font-weight: 700;
  color: #0F172A;
}
/* ---------- Testimonials Carousel Section ---------- */
.reviews-section {
  padding: 4.5rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.reviews-carousel-wrapper {
  overflow: visible;
  position: relative;
  width: 100%;
  padding: 1.5rem 0;
}

.reviews-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 1.75rem;
  width: max-content;
  animation: reviewsRotate 45s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

.reviews-carousel-track:hover {
  animation-play-state: paused;
}

@keyframes reviewsRotate {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.875rem));
  }
}

.review-card {
  flex: 0 0 380px;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
}

.review-card:hover {
  transform: scale(1.06) translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 20px 45px -10px rgba(238, 89, 59, 0.22);
  z-index: 20;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.review-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.review-service-tag {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  background: rgba(238, 89, 59, 0.08);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  color: var(--color-primary);
  border: 1px solid rgba(238, 89, 59, 0.15);
}

.review-quote {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

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

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

.review-location {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* ---------- Local Service Section ---------- */
.local-service-section {
  padding: 4rem 0;
  background: var(--color-bg);
}

.zip-check-card-full {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.zip-check-card-full h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.zip-check-card-full p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.zip-check-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 460px;
}

.zip-check-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  background: #FFFFFF;
}

.zip-check-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* ---------- Local Service Areas Grid & Badges ---------- */
.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.area-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

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

.area-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.area-icon {
  font-size: 1.2rem;
}

.area-card-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
}

.area-county-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
}

.area-desc {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.area-zips {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border-light);
  padding-top: 0.75rem;
}

.zip-badges-section {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.zip-badges-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 1rem;
}

.zip-badges-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.zip-badge {
  padding: 0.35rem 0.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all 0.2s ease;
}

.zip-badge:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ---------- Brand Carousel (Infinite Rotating Colorful Marquee) ---------- */
.brand-carousel-section {
  padding: 2.5rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.brand-carousel-wrapper,
.brands-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.brand-carousel-track,
.brands-marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marqueeRotate 35s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

.brand-carousel-track:hover,
.brands-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeRotate {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 1rem));
  }
}

.brand-carousel-item {
  flex: 0 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  overflow: hidden;
  transition: all 0.2s ease;
}

.brand-carousel-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.brand-carousel-item img {
  max-height: 36px;
  max-width: 125px;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
  transition: transform 0.2s ease;
}

.brand-carousel-item:hover img {
  transform: scale(1.05);
}

/* Fine tuning for specific brand logos */
.brand-carousel-item img[src*="kenmore"],
.brand-carousel-item img[src*="speedqueen"] {
  max-width: 138px;
  max-height: 48px;
}

/* ---------- Contact & Booking Form ---------- */
.contact-section {
  background: var(--color-bg-secondary);
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.form-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

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

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

.form-group label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #FFFFFF;
}

/* ---------- SMS Consent Checkbox ---------- */
.sms-consent-group {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.sms-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 11px;
  color: var(--color-text-secondary);
  line-height: 1.55;
  font-weight: 400;
  cursor: pointer;
  background: var(--color-bg);
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.sms-consent-label a {
  color: var(--color-primary);
  text-decoration: underline;
}
.sms-consent-label a:hover {
  text-decoration: none;
}

.sms-consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--color-primary);
}

/* ---------- Footer ---------- */
.footer {
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  padding: 3rem 0;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-text);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .hero-trust-cards {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 1rem auto 0;
  }
}

@media (max-width: 1024px) {
  .zip-check-card-full {
    flex-direction: column;
    align-items: flex-start;
  }

  .zip-check-form {
    min-width: 100%;
    width: 100%;
  }

  .hero-grid,
  .hero:not(.hero-home) .container {
    grid-template-columns: 1fr;
  }

  .hero:not(.hero-home) .hero-bg {
    grid-column: 1;
    grid-row: 2;
    height: 280px !important;
  }

  .hero:not(.hero-home) .hero-content {
    grid-column: 1;
    grid-row: 1;
  }
  
  .appliances-grid,
  .service-areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid,
  .details-grid,
  .testimonial-zip-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .strip-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 640px) {
  .why-us-collage-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .collage-item-tall {
    grid-row: auto;
  }
  .collage-item {
    height: 200px;
  }

  :root {
    --nav-height: 66px;
  }

  .navbar .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .nav-brand {
    gap: 0.4rem;
    flex-shrink: 0;
  }

  .brand-logo {
    height: 36px;
  }

  .brand-name {
    font-size: 1.25rem;
    line-height: 1;
  }

  .brand-subtitle {
    display: none; /* Hide subtitle on mobile viewports so logo text and phone button never collide */
  }

  .phone-link {
    font-size: 0.8rem;
    padding: 0.42rem 0.75rem;
    border-radius: 9999px;
    gap: 0.3rem;
    box-shadow: 0 3px 10px rgba(238, 89, 59, 0.3);
  }

  .nav-actions .btn {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: var(--text-3xl);
  }

  .appliances-grid,
  .service-areas-grid,
  .strip-grid {
    grid-template-columns: 1fr;
  }

  .strip-item {
    border-right: none !important;
  }

  .bottom-more-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.75rem 1.25rem;
    gap: 1.25rem;
  }

  .bottom-more-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .bottom-more-btn {
    width: 100%;
    justify-content: center;
  }

  .steps-wrapper {
    flex-direction: column;
    gap: 1.5rem;
  }

  .steps-line {
    display: none;
  }

  .zip-check-card-full {
    padding: 1.5rem 1.25rem;
    align-items: stretch;
    text-align: center;
    gap: 1.25rem;
  }

  .zip-check-form {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 0.75rem;
  }

  .zip-check-input {
    width: 100%;
    text-align: center;
  }

  .zip-check-form .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 2rem auto;
    gap: 0.85rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.9rem 1.25rem;
    font-size: var(--text-base);
  }

  .map-modal-actions {
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
  }

  .map-modal-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.88rem;
  }
}

@media (max-width: 400px) {
  .brand-name {
    font-size: 1.15rem;
  }

  .brand-subtitle {
    font-size: 0.56rem;
    letter-spacing: 0.02em;
  }

  .phone-link {
    font-size: 0.78rem;
  }
}

/* Aspect Ratio & CLS Optimization */
.card-img-wrapper img,
.why-us-grid img,
.gallery-grid img {
  aspect-ratio: 1 / 1;
}

.brand-carousel-item img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

/* FAQ Accordion Styling */
.faq-section {
  background: var(--color-bg);
  padding: 5rem 0;
}

.faq-accordion {
  max-width: 820px;
  margin: 2rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: all 0.25s ease;
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(238, 89, 59, 0.1);
}

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

.faq-icon {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 1.5rem 1.35rem 1.5rem;
}

.faq-answer p {
  color: var(--color-text-secondary);
  line-height: 1.65;
  font-size: 0.95rem;
  margin: 0;
}

/* Centered Success Modal */
.success-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem;
}

.success-modal.active {
  opacity: 1;
  visibility: visible;
}

.success-modal-content {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 3rem 2.25rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  transform: scale(0.85) translateY(20px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--color-border);
}

.success-modal.active .success-modal-content {
  transform: scale(1) translateY(0);
}

.success-icon-wrapper {
  width: 84px;
  height: 84px;
  background: #10B981;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
  animation: popSuccess 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-checkmark {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1;
}

.success-modal-content h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}

.success-modal-content p {
  font-size: 0.98rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

@keyframes popSuccess {
  0% {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
  }
  70% {
    transform: scale(1.15) rotate(10deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}
