/* ================================================================
   KITCHENAID-REFRIGERATOR-REPAIR.CSS — page-specific styles for
   KitchenAid Refrigerator Repair service page.
   Unified sitewide brand palette, typography, and responsive spacing
   matching the homepage design system. Loads after base.css.
   ================================================================ */

/* ============ HERO BREADCRUMB ============ */
.hero-breadcrumb {
  position: relative;
  z-index: 1;
  min-height: 28px;
  display: flex;
  align-items: center;
  margin: 0 0 0.5rem;
}
.hero-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  line-height: 1.3;
  padding: 0;
  margin: 0;
  list-style: none;
}
.hero-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.15s ease;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 2px;
}
.hero-breadcrumb a:hover,
.hero-breadcrumb a:focus-visible {
  color: #ffffff;
  text-decoration-color: #ffffff;
}
.hero-breadcrumb li[aria-current] span {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}
.hero-breadcrumb .sep {
  color: rgba(255, 255, 255, 0.45);
}

/* ============ SERVICE HERO ============ */
.svc-hero {
  background: var(--grad-navy);
  padding: clamp(1.25rem, 2.5vw, 2rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  overflow: hidden;
  position: relative;
}
.svc-hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 10, 0.22) 0%, rgba(255, 90, 10, 0) 70%);
  pointer-events: none;
}
.svc-hero-texture {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}
.svc-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: center;
}
.svc-hero h1,
.svc-hero h1#hero-title {
  color: #ffffff !important;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-top: 0.5rem;
  margin-bottom: 0.85rem;
  word-break: break-word;
}
.svc-hero h1 span {
  color: var(--accent) !important;
}
.svc-hero p.lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 62ch;
  margin-bottom: 1.4rem;
}
.svc-hero p.lead strong {
  color: #ffffff;
  font-weight: 700;
}
.svc-hero .btn-row {
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.svc-hero-visual {
  position: relative;
  width: 100%;
}

@media (max-width: 960px) {
  .svc-hero-grid {
    grid-template-columns: 1fr;
  }
  .svc-hero-visual {
    max-width: 100%;
    margin-top: 0.75rem;
  }
}
@media (max-width: 480px) {
  .svc-hero {
    padding: 1.25rem 0 2.25rem;
  }
  .svc-hero .btn-row .btn,
  .svc-hero .btn-row a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ============ EMERGENCY TRIAGE BANNER ============ */
.triage-banner {
  background: #ffffff;
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: clamp(1.15rem, 2.2vw, 1.65rem);
  box-shadow: 0 16px 40px rgba(4, 28, 64, 0.22);
}
.triage-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.triage-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 90, 10, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.triage-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.triage-head h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  line-height: 1.3;
}
.triage-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.triage-item {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-dark);
  padding: 0.7rem 0.85rem;
  background: var(--light-bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
}
.triage-item strong {
  color: var(--primary);
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

/* ============ SECTION HEADER UTILITIES ============ */
.s-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(2rem, 3.5vw, 3rem);
}
.s-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--eyebrow, 0.74rem);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 0.85rem;
}
.s-head h2 {
  font-size: var(--h2, clamp(1.65rem, 2.8vw, 2.25rem));
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  word-break: break-word;
}
.s-head h2 .hl {
  color: var(--accent-text);
}
.s-head p,
.s-lead {
  font-size: var(--lead, 1.03rem);
  color: var(--slate);
  line-height: 1.65;
  margin: 0;
}

/* ============ LOCAL ENVIRONMENT MATRIX ============ */
.local-env {
  padding: var(--sec-pad, clamp(3rem, 5.5vw, 4.5rem)) 0;
  background: #ffffff;
}
.env-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}
.env-card {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--card-border, #e2e8f0);
  border-radius: 12px;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.05));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.env-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(4, 28, 64, 0.09);
}
.env-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 90, 10, 0.1);
  color: var(--accent-text);
  margin-bottom: 0.85rem;
}
.env-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 0.65rem;
}
.env-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--slate);
  margin: 0;
}
@media (max-width: 900px) {
  .env-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ PROBLEMS / DIAGNOSES LIST ============ */
.problems-svc {
  padding: var(--sec-pad, clamp(3rem, 5.5vw, 4.5rem)) 0;
  background: var(--light-bg);
}
.plist {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}
.plist-item {
  background: #ffffff;
  border: 1px solid var(--card-border, #e2e8f0);
  border-radius: 12px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.04));
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.plist-item:hover {
  border-color: rgba(255, 90, 10, 0.4);
  transform: translateY(-2px);
}
.plist-index {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.plist-body {
  display: flex;
  flex-direction: column;
}
.plist-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}
.plist-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}
.plist-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(4, 28, 64, 0.06);
  color: var(--primary);
}
.plist-desc {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 0.9rem;
}
.plist-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.plist-steps li {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--slate);
  position: relative;
  padding-left: 1.25rem;
}
.plist-steps li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}
@media (max-width: 600px) {
  .plist-item {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .plist-index {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* ============ DIAGNOSTIC CODE TABLE ============ */
.code-table-sec {
  padding: var(--sec-pad, clamp(3rem, 5.5vw, 4.5rem)) 0;
  background: #ffffff;
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--card-border, #e2e8f0);
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.04));
  -webkit-overflow-scrolling: touch;
}
.diag-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}
.diag-table th {
  background: var(--primary);
  color: #ffffff;
  padding: 1rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.diag-table td {
  padding: 1rem 1.15rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-dark);
  border-bottom: 1px solid #edf2f7;
  vertical-align: middle;
}
.diag-table tr:nth-child(even) td {
  background: #f8fafc;
}
.diag-table tr:hover td {
  background: #f1f5f9;
}
.code-pill {
  display: inline-block;
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(255, 90, 10, 0.12);
  color: var(--accent-text);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
}
.diag-circuit {
  font-weight: 600;
  color: var(--primary);
}
.table-scroll-hint {
  display: none;
  font-size: 0.8rem;
  color: var(--slate);
  text-align: center;
  margin-top: 0.65rem;
}
@media (max-width: 768px) {
  .table-scroll-hint {
    display: block;
  }
}

/* ============ VALUE MATRIX: REPAIR VS REPLACE ============ */
.value-matrix-sec {
  padding: var(--sec-pad, clamp(3rem, 5.5vw, 4.5rem)) 0;
  background: var(--light-bg);
}
.comp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: 2rem;
}
.comp-card {
  background: #ffffff;
  border-radius: 14px;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.05));
  display: flex;
  flex-direction: column;
}
.comp-card--repair {
  border: 2px solid var(--accent);
}
.comp-card--replace {
  border: 1px solid #cbd5e1;
}
.comp-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.comp-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--accent-text);
  margin-bottom: 1.25rem;
  display: block;
}
.comp-card--replace .comp-price {
  color: #64748b;
}
.comp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.comp-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-dark);
}
.comp-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.comp-list--good svg {
  stroke: #16a34a;
}
.comp-list--bad svg {
  stroke: #dc2626;
}
.signs-decision {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--card-border, #e2e8f0);
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.04));
}
.signs-decision-icon {
  width: 44px;
  height: 44px;
  background: rgba(4, 28, 64, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.signs-decision-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
}
.signs-decision-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.signs-decision-body p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 0.75rem;
}
.signs-decision-note {
  background: #f8fafc;
  border-left: 3px solid var(--primary);
  padding: 0.6rem 0.85rem;
  border-radius: 0 6px 6px 0;
}
.signs-decision-note p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--primary);
}
@media (max-width: 800px) {
  .comp-grid {
    grid-template-columns: 1fr;
  }
  .signs-decision {
    flex-direction: column;
  }
}

/* ============ STEP-BY-STEP WORKFLOW ============ */
.workflow-sec {
  padding: var(--sec-pad, clamp(3rem, 5.5vw, 4.5rem)) 0;
  background: #ffffff;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.step-card {
  background: var(--light-bg);
  border: 1px solid var(--card-border, #e2e8f0);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
  line-height: 1;
}
.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.step-card p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
}
@media (max-width: 960px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ MODELS SERVICED ============ */
.models-sec {
  padding: var(--sec-pad, clamp(3rem, 5.5vw, 4.5rem)) 0;
  background: var(--light-bg);
}
.models-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 1.5rem;
}
.model-card {
  background: #ffffff;
  border: 1px solid var(--card-border, #e2e8f0);
  border-radius: 12px;
  padding: 1.35rem 1.15rem;
  text-align: center;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.04));
  transition: transform 0.2s ease;
}
.model-card:hover {
  transform: translateY(-3px);
}
.model-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 90, 10, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
}
.model-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
}
.model-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.model-card p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
}
@media (max-width: 900px) {
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 550px) {
  .models-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ SERVICE COVERAGE / ZIP CODES ============ */
.areas-svc {
  padding: var(--sec-pad, clamp(3rem, 5.5vw, 4.5rem)) 0;
  background: #ffffff;
}
.zip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.zip-pill {
  background: var(--light-bg);
  border: 1px solid var(--card-border, #e2e8f0);
  padding: 0.65rem 0.95rem;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
}

/* ============ FAQ ACCORDION ============ */
.faq-svc {
  padding: var(--sec-pad, clamp(3rem, 5.5vw, 4.5rem)) 0;
  background: var(--light-bg);
}

/* ============ FINAL CTA SECTION ============ */
.final-svc {
  padding: var(--sec-pad, clamp(3rem, 5.5vw, 4.5rem)) 0;
  background: var(--primary);
  color: #ffffff;
}
.s-head--dark h2 {
  color: #ffffff !important;
}
.s-head--dark p {
  color: rgba(255, 255, 255, 0.85);
}
.final-actions {
  display: flex;
  justify-content: center;
  margin: 1.75rem 0 2rem;
}
.final-svc-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.final-svc-trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.final-svc-trust svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.5;
}
