/*
Theme Name: Kenmore Appliance Support
Theme URI: https://kenmoreappliancesupport.com
Author: Independent Developer
Description: Custom WordPress theme for Kenmore appliance repair service
Version: 1.1.0
License: Private
Text Domain: kenmore-repair
*/

/* ===================================================
   VARIABLES & DESIGN TOKENS
=================================================== */
:root {
  --blue:          #008cc7;
  --blue-dark:     #0070a0;
  --blue-light:    #e6f4fa;
  --blue-gradient: linear-gradient(135deg, #005f8a 0%, #008cc7 60%, #2aa8de 100%);
  --gray-dark:     #393e43;
  --gray-mid:      #6b7280;
  --gray-light:    #f8f9fb;
  --white:         #ffffff;
  --border:        #e5e7eb;
  --accent-green:  #10b981;

  --shadow:          0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg:       0 8px 32px rgba(0,0,0,0.12);
  --shadow-card:     0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 10px 25px rgba(0,140,199,0.14), 0 4px 10px rgba(0,0,0,0.06);

  --radius:     8px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --radius-2xl: 24px;

  --transition:       0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:  0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font:             'Montserrat', 'Segoe UI', Arial, sans-serif;
  --max-width:        1200px;
}

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

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

body {
  font-family: var(--font);
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }
ul { list-style: none; }

h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-dark);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

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

/* Skip to content (accessibility) */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.6rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-to-content:focus { top: 0; color: var(--white); }

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.section { padding: 6rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-title h2 {
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
}
.section-title p { color: var(--gray-mid); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ===================================================
   BUTTONS
=================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  min-height: 44px; /* touch-friendly */
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,140,199,0.38);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,140,199,0.28);
}
.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1.1rem; border-radius: 10px; }

/* ===================================================
   HEADER & NAV
=================================================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.1); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
}
.site-logo .logo-main {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-dark);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.site-logo .logo-sub {
  font-size: 0.7rem;
  color: var(--gray-mid);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 0.25rem; margin-left: 2rem; }
.main-nav a {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-dark);
  transition: all var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.current { background: var(--blue-light); color: var(--blue); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: 1rem;
}
.nav-phone {
  font-weight: 700;
  color: var(--blue);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--blue-dark); }
.nav-phone svg { width: 16px; height: 16px; fill: var(--blue); flex-shrink: 0; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  border: none;
  background: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===================================================
   FLOATING CALL BUTTON
=================================================== */
.floating-call-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.85rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(0,140,199,0.45);
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.floating-call-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 54px;
  border: 2px solid rgba(19,111,248,0.4);
  animation: pulse-ring 2.5s ease-out infinite;
  pointer-events: none;
}
.floating-call-btn:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,140,199,0.55);
}
.floating-call-btn .call-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  animation: ring 2.5s ease-in-out infinite;
}
/* Tooltip — desktop only */
.floating-call-btn .call-tooltip {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .floating-call-btn .call-tooltip {
    display: block;
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    background: var(--gray-dark);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }
  .floating-call-btn .call-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 1rem;
    border: 5px solid transparent;
    border-top-color: var(--gray-dark);
  }
  .floating-call-btn:hover .call-tooltip { opacity: 1; }
}

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.7; }
  70%  { transform: scale(1.15); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes ring {
  0%,100% { transform: rotate(0); }
  10%      { transform: rotate(-15deg); }
  20%      { transform: rotate(15deg); }
  30%      { transform: rotate(-10deg); }
  40%      { transform: rotate(10deg); }
  50%      { transform: rotate(0); }
}

/* ===================================================
   HERO
=================================================== */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background-image: url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=1400&q=80');
  background-size: cover;
  background-position: center;
  background-color: #1e2830;
  overflow: hidden;
}
/* Dark overlay over photo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 40, 50, 0.66);
  pointer-events: none;
  z-index: 0;
}
/* Blue accent stripe at bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--blue);
  z-index: 2;
}
.hero-wave { display: none; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
  animation: heroFadeUp 0.7s ease both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.35rem 1rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-badge svg { width: 14px; height: 14px; fill: var(--white); flex-shrink: 0; }
.hero h1 {
  color: var(--white);
  font-weight: 800;
  margin-bottom: 1.1rem;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero p {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-actions .btn { white-space: nowrap; }
.hero-trust {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 600;
}
.trust-item svg { width: 16px; height: 16px; fill: #4cd891; flex-shrink: 0; }

/* Inner page hero (smaller) */
.page-hero {
  background: var(--gray-dark);
  background-image: linear-gradient(135deg, #2a3038 0%, #393e43 100%);
  padding: 3.5rem 0 3rem;
  color: var(--white);
  border-bottom: 3px solid var(--blue);
}
.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-hero .breadcrumb { color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.85); }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .lead { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-top: 0.75rem; max-width: 680px; }

/* Contact page — tighter spacing */
.page-contact .page-hero { padding: 2.5rem 0 2rem; }
.page-contact .section { padding: 3.5rem 0; }

/* ===================================================
   CARDS & GRIDS
=================================================== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.card-body { padding: 1.5rem; }
.card-icon {
  width: 52px; height: 52px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: background var(--transition);
}
.card-icon svg { width: 28px; height: 28px; fill: var(--blue); }
.card:hover .card-icon { background: var(--blue); }
.card:hover .card-icon svg { fill: var(--white); }

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

/* ── City List (horizontal rows) ── */
.city-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.city-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.75rem;
  text-decoration: none;
  color: var(--dark);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.city-row:last-child { border-bottom: none; }
.city-row--alt { background: #f8fafd; }
.city-row:hover { background: #e8f3ff; }
.city-row-info { display: flex; flex-direction: column; gap: 0.2rem; }
.city-row-name { font-weight: 600; font-size: 1rem; color: var(--dark); }
.city-row-sub { font-size: 0.82rem; color: var(--gray-mid); }
.city-row-btn {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
  padding: 0.4rem 1rem;
  border: 1.5px solid var(--blue);
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.city-row:hover .city-row-btn { background: var(--blue); color: var(--white); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }

/* ===================================================
   SERVICES GRID
=================================================== */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: var(--gray-dark);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}
.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-card-hover);
  color: var(--gray-dark);
  transform: translateY(-4px);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card img {
  width: 80px; height: 80px;
  object-fit: contain;
  margin: 0 auto 1rem;
  border-radius: 8px;
}
.service-card h3 { font-size: 1rem; margin-bottom: 0.4rem; transition: color var(--transition); }
.service-card p { font-size: 0.85rem; color: var(--gray-mid); margin: 0; }
.service-card:hover h3 { color: var(--blue); }

/* ===================================================
   HOW IT WORKS
=================================================== */
.how-it-works { background: var(--gray-light); }
.steps { display: flex; gap: 0; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(16.66% - 1px);
  right: calc(16.66% - 1px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue-light), var(--blue), var(--blue-light));
  z-index: 0;
}
.step {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 4rem; height: 4rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 0 6px var(--blue-light), 0 4px 16px rgba(0,140,199,0.25);
  transition: all var(--transition);
}
.step:hover .step-num {
  transform: scale(1.1);
  box-shadow: 0 0 0 8px var(--blue-light), 0 8px 24px rgba(0,140,199,0.35);
}
.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: var(--gray-mid); }

/* ===================================================
   WHY CHOOSE US — card grid
=================================================== */
.why-us-section { background: var(--blue); }
.why-us-section .section-title h2 { color: var(--white); }

.why-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.why-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.why-card:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.why-card-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.18);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.why-card-icon svg { width: 22px; height: 22px; fill: var(--white); }

.why-card h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.why-card p {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .why-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .why-card-grid { grid-template-columns: 1fr; }
}

/* ===================================================
   CITY ARCHIVE — image cards
=================================================== */
.city-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.city-archive-card {
  text-decoration: none;
  color: var(--dark);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.city-archive-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.city-archive-img { overflow: hidden; height: 180px; }
.city-archive-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.city-archive-card:hover .city-archive-img img { transform: scale(1.05); }
.city-archive-body { padding: 1.25rem 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.city-archive-body h3 { font-size: 1rem; font-weight: 700; margin: 0; }
.city-archive-body p { font-size: 0.85rem; color: var(--gray-mid); margin: 0; flex: 1; }
.city-archive-cta { font-size: 0.83rem; font-weight: 600; color: var(--blue); margin-top: 0.5rem; }

@media (max-width: 768px) { .city-archive-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .city-archive-grid { grid-template-columns: 1fr; } }

/* ===================================================
   CITY PAGE — appliance photo cards
=================================================== */
.appliance-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.appliance-photo-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--dark);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
}
.appliance-photo-card:hover {
  box-shadow: 0 8px 28px rgba(0,82,165,0.13);
  transform: translateY(-4px);
}
.apc-img {
  height: 130px;
  overflow: hidden;
  flex-shrink: 0;
}
.apc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.appliance-photo-card:hover .apc-img img { transform: scale(1.07); }
.apc-body {
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.apc-body h3 {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.apc-cta {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: auto;
}
.appliance-photo-card:hover .apc-cta { text-decoration: underline; }

@media (max-width: 1024px) { .appliance-photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .appliance-photo-grid { grid-template-columns: repeat(2, 1fr); } }
.why-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  border-top: 3px solid transparent;
}
.why-item:hover { box-shadow: var(--shadow-card-hover); border-top-color: var(--blue); transform: translateY(-3px); }
.why-icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-icon svg { width: 24px; height: 24px; fill: var(--blue); }
.why-item h4 { margin-bottom: 0.3rem; }
.why-item p { font-size: 0.88rem; color: var(--gray-mid); margin: 0; }

/* ===================================================
   FAQ ACCORDION
=================================================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-card); }
.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 1.1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  color: var(--gray-dark);
  transition: background var(--transition);
  min-height: 48px;
}
.faq-question:hover { background: var(--blue-light); }
.faq-question.active { background: var(--blue-light); color: var(--blue); }
.faq-chevron {
  width: 20px; height: 20px;
  fill: currentColor;
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-question.active .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--gray-light);
}
.faq-answer.open { max-height: 600px; }
.faq-answer-inner { padding: 1.1rem 1.5rem; color: var(--gray-dark); line-height: 1.75; }

/* ===================================================
   ERROR CODE PAGES
=================================================== */
.error-code-header {
  background: var(--gray-dark);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.error-code-header::before {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.error-code-badge {
  background: var(--blue);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.error-severity {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
}
.severity-high   { background: #fee2e2; color: #dc2626; }
.severity-medium { background: #fef3c7; color: #d97706; }
.severity-low    { background: #dcfce7; color: #16a34a; }

/* ── Error Code Table Design ── */
.error-codes-table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.error-codes-grid-head {
  display: grid;
  grid-template-columns: 90px 1fr 100px 28px;
  gap: 1rem;
  padding: 0.65rem 1.5rem;
  background: #f4f7fb;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-mid);
  border-bottom: 1px solid var(--border);
}
.error-codes-grid { display: flex; flex-direction: column; }
.error-code-card {
  display: grid;
  grid-template-columns: 90px 1fr 100px 28px;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.5rem;
  text-decoration: none;
  color: var(--dark);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.error-code-card:last-child { border-bottom: none; }
.error-code-card:hover { background: #f0f6ff; }
.ec-badge {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
}
.ec-badge.severity-high   { background: #fff0f0; color: #c53030; }
.ec-badge.severity-medium { background: #fffbeb; color: #b7791f; }
.ec-badge.severity-low    { background: #f0fff4; color: #276749; }
.ec-desc { line-height: 1.35; }
.ec-desc strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--dark); }
.ec-desc small  { display: block; font-size: 0.77rem; color: var(--gray-mid); margin-top: 0.1rem; }
.ec-sev {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 20px;
  text-align: center;
  white-space: nowrap;
}
.ec-sev.severity-high   { background: #fff0f0; color: #c53030; }
.ec-sev.severity-medium { background: #fffbeb; color: #b7791f; }
.ec-sev.severity-low    { background: #f0fff4; color: #276749; }
.ec-arrow { color: var(--gray-mid); font-size: 1rem; text-align: right; transition: color 0.15s, transform 0.15s; display: inline-block; }
.error-code-card:hover .ec-arrow { color: var(--blue); transform: translateX(3px); }

/* Appliance type tabs */
.appliance-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.appliance-tab {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius) var(--radius) 0 0;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid transparent;
  border-bottom: none;
  background: transparent;
  color: var(--gray-mid);
  transition: all var(--transition);
  text-decoration: none;
  margin-bottom: -2px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.appliance-tab:hover { background: var(--blue-light); color: var(--blue); }
.appliance-tab.active {
  background: var(--white);
  border-color: var(--border);
  border-bottom-color: var(--white);
  color: var(--blue);
  font-weight: 700;
}

/* ===================================================
   CITY PAGES
=================================================== */
.zip-codes-block {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.zip-codes-block h4 { margin-bottom: 0.75rem; }
.zip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.zip-tag {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  font-size: 0.82rem;
  font-family: monospace;
  color: var(--gray-dark);
}
.suburb-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: all var(--transition);
}
.suburb-card:hover { box-shadow: var(--shadow-card); border-color: var(--blue-light); }
.suburb-card h4 { margin-bottom: 0.4rem; color: var(--blue); }
.suburb-card p { font-size: 0.9rem; color: var(--gray-mid); margin: 0; }

/* ===================================================
   APPOINTMENT FORM SECTION
=================================================== */
.appointment-section {
  background: linear-gradient(135deg, var(--blue-light) 0%, rgba(230,244,250,0.6) 100%);
  border: 1px solid rgba(0,140,199,0.12);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  margin: 3rem 0;
  text-align: center;
}
.appointment-section h2 {
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.appointment-section > p {
  color: var(--gray-mid);
  margin-bottom: 2rem;
}
.appointment-section iframe {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* ===================================================
   GUIDES
=================================================== */
.guide-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
  color: var(--gray-dark);
  box-shadow: var(--shadow-card);
}
.guide-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); color: var(--gray-dark); }
.guide-card-img {
  height: 180px;
  background: var(--blue-gradient);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.guide-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background var(--transition);
}
.guide-card:hover .guide-card-img::after { background: rgba(0,0,0,0.08); }
.guide-card-img svg { width: 64px; height: 64px; fill: rgba(255,255,255,0.7); position: relative; z-index: 1; }
.guide-card-body { padding: 1.25rem; }
.guide-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.guide-card h3 { font-size: 1rem; margin-bottom: 0.4rem; transition: color var(--transition); }
.guide-card:hover h3 { color: var(--blue); }
.guide-card p { font-size: 0.85rem; color: var(--gray-mid); margin: 0; }

/* ===================================================
   BLOG CATEGORY CHIPS (archive + taxonomy filter row)
=================================================== */
.blog-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.blog-category-chip {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--dark);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.blog-category-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}
.blog-category-chip.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* ===================================================
   STATS BAR
=================================================== */
.stats-bar {
  background: linear-gradient(135deg, #005f8a 0%, #008cc7 60%, #2aa8de 100%);
  color: var(--white);
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.stats-inner {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
}
.stat-item {
  text-align: center;
  flex: 0 0 auto;
  padding: 0 2rem;
  border-right: 1px solid rgba(255,255,255,0.22);
}
.stat-item:last-child {
  border-right: none;
}
.stat-num {
  font-size: clamp(1rem, 1.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  will-change: contents;
}
.stat-label { font-size: 0.85rem; opacity: 0.88; margin-top: 0.35rem; }

/* ===================================================
   RECALLS PAGE
=================================================== */
.recall-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow var(--transition);
}
.recall-card:hover { box-shadow: var(--shadow-card); }
.recall-badge {
  background: #fee2e2;
  color: #dc2626;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  white-space: nowrap;
  text-transform: uppercase;
}
.recall-card h4 { margin-bottom: 0.25rem; }
.recall-card p { font-size: 0.88rem; color: var(--gray-mid); margin: 0; }

/* ===================================================
   CONTENT LAYOUT
=================================================== */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 80px;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
}
.sidebar-card-header {
  background: var(--blue);
  color: var(--white);
  padding: 1rem 1.25rem;
  font-weight: 700;
}
.sidebar-card-body { padding: 1.25rem; }
.sidebar-links { display: flex; flex-direction: column; gap: 0.5rem; }
.sidebar-links a {
  font-size: 0.9rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--gray-dark);
  transition: all var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.sidebar-links a:last-child { border-bottom: none; }
.sidebar-links a:hover { color: var(--blue); padding-left: 0.5rem; }

/* Content typography */
.entry-content h2 { margin: 2rem 0 0.75rem; padding-top: 0.5rem; border-top: 2px solid var(--blue-light); }
.entry-content h3 { margin: 1.5rem 0 0.6rem; color: var(--blue); }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content li { margin-bottom: 0.4rem; }
.entry-content ul li { list-style: disc; }
.entry-content ol li { list-style: decimal; }
.entry-content strong { color: var(--gray-dark); }
.entry-content blockquote {
  border-left: 4px solid var(--blue);
  padding: 0.75rem 1.25rem;
  background: var(--blue-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.entry-content th { background: var(--blue); color: var(--white); padding: 0.75rem 1rem; text-align: left; }
.entry-content td { padding: 0.6rem 1rem; border-bottom: 1px solid var(--border); }
.entry-content tr:nth-child(even) td { background: var(--gray-light); }

/* Checklist */
.checklist { padding-left: 0 !important; }
.checklist li {
  list-style: none !important;
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.6rem;
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}

/* ===================================================
   FOOTER
=================================================== */
#site-footer {
  background: #1e2428;
  color: rgba(255,255,255,0.8);
  margin-top: 4rem;
  border-top: 3px solid var(--blue);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.9fr 1fr;
  gap: 2rem;
  padding: 3.5rem 0 2.5rem;
}
.footer-brand .logo-main { color: var(--white); font-size: 1.2rem; margin-bottom: 0.75rem; font-weight: 800; }
.footer-brand p { font-size: 0.88rem; line-height: 1.75; color: rgba(255,255,255,0.7); margin-bottom: 1rem; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  transition: all var(--transition);
}
.footer-col a:hover { color: var(--white); padding-left: 0.3rem; }
.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.6rem;
}
.footer-contact svg { width: 16px; height: 16px; fill: var(--blue); flex-shrink: 0; margin-top: 2px; }

/* Social media icons */
.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
  padding: 0;
}
.footer-social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,140,199,0.4);
  padding-left: 0;
}
.footer-social svg {
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,0.8);
  transition: fill var(--transition);
}
.footer-social a:hover svg { fill: var(--white); }

.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
}
.footer-disclaimer p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin: 0; }
.footer-policies { display: flex; gap: 1.25rem; }
.footer-policies a { font-size: 0.8rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-policies a:hover { color: var(--white); }

/* Scroll to top */
.scroll-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  flex-shrink: 0;
}
.scroll-to-top:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}
.scroll-to-top svg { width: 16px; height: 16px; fill: currentColor; }

/* ===================================================
   ALERTS & NOTICES
=================================================== */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.alert-info    { background: var(--blue-light); color: #1e40af; }
.alert-warning { background: #fef3c7; color: #92400e; }
.alert-success { background: #dcfce7; color: #15803d; }

/* ===================================================
   BREADCRUMB
=================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb span { color: rgba(255,255,255,0.5); }
.breadcrumb .current { color: var(--white); }

/* ===================================================
   PAGINATION
=================================================== */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
/* WordPress wraps page-numbers in .nav-links — needs flex to go horizontal */
.pagination .nav-links,
.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}
.pagination a, .pagination span,
.page-numbers {
  min-width: 40px; height: 40px;
  padding: 0 0.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--gray-dark);
  transition: all var(--transition);
  text-decoration: none;
}
.pagination a:hover, .pagination .current,
.page-numbers:hover, .page-numbers.current {
  background: var(--blue); color: var(--white); border-color: var(--blue);
}
.page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

/* ===================================================
   SCROLL REVEAL ANIMATIONS
=================================================== */
.kas-js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.kas-js .reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .kas-js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-content { animation: none; }
  .hero { animation: none; }
}

/* ===================================================
   UTILITIES
=================================================== */
.text-blue   { color: var(--blue); }
.text-green  { color: var(--accent-green); }
.text-center { text-align: center; }
.text-sm     { font-size: 0.875rem; }
.text-lg     { font-size: 1.125rem; }
.fw-bold     { font-weight: 700; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mb-3  { margin-bottom: 1.5rem; }
.bg-light { background: var(--gray-light); }
.rounded  { border-radius: var(--radius); }
.d-flex   { display: flex; }
.gap-1    { gap: 0.5rem; }
.gap-2    { gap: 1rem; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 0.75rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    animation: slideDown 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0.25rem;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  #site-header { position: relative; }
  .site-logo .logo-main { font-size: 1.05rem; white-space: nowrap; }
  .site-logo .logo-sub  { display: none; }
  .hero { min-height: 480px; }
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; gap: 1rem; }
  .steps { flex-direction: column; }
  .steps::before { display: none; }
  .stats-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 1rem; }
  .stat-item:last-child { border-bottom: none; }
  .stat-item::after { display: none; }
  .stat-num { font-size: 1.5rem; white-space: normal; }
  /* last odd item spans full width and centers */
  .stats-inner .stat-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: none;
  }
  .footer-main { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 0 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .error-codes-grid-head { display: none; }
  .error-code-card { grid-template-columns: 72px 1fr 80px 20px; padding: 0.85rem 1rem; gap: 0.6rem; }
  .city-row { padding: 1rem 1.25rem; }
  .floating-call-btn .call-text { display: none; }
  .floating-call-btn { padding: 0.85rem; border-radius: 50%; width: 56px; height: 56px; justify-content: center; }
  .floating-call-btn::before { border-radius: 50%; inset: -6px; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 2rem 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-lg { width: 100%; justify-content: center; }
  .grid-4 { grid-template-columns: 1fr; }
  .appointment-section { padding: 2rem 1rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* ===================================================
   ERROR CODE LIBRARY — Dark Section
=================================================== */
.error-codes-dark-section {
  background: #1a2332;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.section-title--light h2 { color: #fff; }
.section-title--light p  { color: rgba(255,255,255,0.72); }

.error-code-cards-grid { gap: 1.25rem; }

.ec-feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  border-top: 4px solid #FF6B35;
  display: block;
  text-decoration: none;
  color: var(--dark);
  transition: transform .25s, box-shadow .25s;
}
.ec-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,82,165,0.18);
  color: var(--dark);
}
.ec-card-bar {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: #FF6B35;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.ec-feature-card:hover .ec-card-bar { transform: scaleX(1); }
.ec-card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,107,53,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: background .25s;
}
.ec-feature-card:hover .ec-card-icon { background: rgba(255,107,53,0.28); }
.ec-feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .35rem; }
.ec-feature-card p  { font-size: 0.85rem; color: var(--gray-mid); margin: 0 0 .75rem; }
.ec-card-cta        { font-size: 0.82rem; color: #FF6B35; font-weight: 600; }

.btn-accent { background: #FF6B35; color: #fff !important; border: none; }
.btn-accent:hover { background: #e55a25; }

/* ===================================================
   CITIES — Photo Card Grid
=================================================== */
.city-photo-section { background: var(--gray-light); }

.section-title--accented {
  border-left: 4px solid var(--blue);
  padding-left: 1.25rem;
  text-align: left;
}
.section-title--accented h2 { text-align: left; }
.section-title--accented p  { text-align: left; }

.city-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 768px) {
  .city-photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .city-photo-grid { grid-template-columns: 1fr; }
}

.city-photo-card {
  display: block;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}
.city-photo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,82,165,0.15);
}
.cpc-img {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.cpc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s;
  display: block;
}
.city-photo-card:hover .cpc-img img { transform: scale(1.06); }

.cpc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,82,165,0);
  display: flex;
  align-items: flex-end;
  padding: .75rem 1rem;
  transition: background .3s;
}
.city-photo-card:hover .cpc-overlay { background: rgba(0,82,165,0.45); }

.cpc-cta {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}
.city-photo-card:hover .cpc-cta { opacity: 1; transform: translateY(0); }

.cpc-body { padding: .9rem 1rem; color: var(--dark); }
.cpc-body h3 { font-size: .92rem; font-weight: 700; margin-bottom: .25rem; }
.cpc-body p  { font-size: .8rem; color: var(--gray-mid); margin: 0; }

/* Footer contact list — icon + text rows */
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.35rem 0;
}
.footer-contact-list li svg { flex-shrink: 0; margin-top: 2px; }
.footer-contact-list a { color: rgba(255,255,255,0.7); }
.footer-contact-list a:hover { color: #fff; }
.footer-contact-list span { color: rgba(255,255,255,0.7); font-size: 0.88rem; }

/* ===================================================
   SERVICE CARD — numbered badge (Design Decision 3)
=================================================== */
.service-card::before {
  content: attr(data-num);
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 0.68rem;
  font-weight: 800;
  color: rgba(0,140,199,0.35);
  letter-spacing: 0.05em;
  line-height: 1;
  pointer-events: none;
}
.service-card:hover::before { color: rgba(0,140,199,0.6); }

/* ===================================================
   GUIDE CARD — meta row with reading time (DD4)
=================================================== */
.guide-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.guide-read-time {
  font-size: 0.75rem;
  color: var(--gray-mid);
  font-weight: 500;
}

/* ===================================================
   RELATED SERVICES ROW (Design Decision 5)
=================================================== */
.related-services-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.related-service-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  color: var(--dark);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition);
}
.related-service-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
  transform: translateY(-2px);
}
.related-service-chip svg { flex-shrink: 0; }

