/* ==========================================================================
   Sony Television Repair & Doorstep Service - High-Performance Design System
   Optimized for Indian Audience & Core Web Vitals (95+ Mobile Lighthouse)
   Pill-Shaped Modern Buttons • Clean Human Aesthetic • WCAG AAA Contrast
   ========================================================================== */

:root {
  /* Warm, High-Trust Natural Color Palette */
  --bg-white: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-surface: #f1f5f9;
  --border-light: #e5e7eb;
  --border-medium: #cbd5e1;
  --border-dark: #111827;

  /* Typography Colors - High Contrast WCAG AAA */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-white: #ffffff;

  /* Brand Accents */
  --sony-black: #000000;
  --brand-navy: #0f172a;
  --sony-cobalt: #0284c7;
  
  /* Primary Action Call Green (Warm, Trusted WhatsApp / Google Call Green) */
  --call-green: #15803d; /* High Contrast Primary Green */
  --call-green-hover: #166534;
  --call-green-dark: #14532d; /* 9.5:1 Contrast Ratio against Light Green */
  --call-green-light: #f0fdf4;
  --call-green-border: #bbf7d0;
  --call-green-shadow: rgba(21, 128, 61, 0.32);
  
  --status-green: #15803d;
  --star-amber: #d97706; /* High Contrast Golden Amber */

  /* UI Tokens - Modern Pill & Smooth Card Radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px; /* Pill Shape */
  
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 2px 10px -2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 12px 28px -4px rgba(15, 23, 42, 0.09), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-pill: 0 4px 14px -1px rgba(21, 128, 61, 0.35), 0 2px 5px -1px rgba(21, 128, 61, 0.2);

  --container-max: 1100px;
  --touch-target: 48px;
}

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

html {
  /* Fast system fallback stack to prevent render blocking */
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-white);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-white);
  color: var(--text-primary);
  overflow-x: hidden;
  padding-bottom: 74px; /* Space for mobile floating call bar */
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

@media (min-width: 768px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ==========================================================================
   Clean Minimal White Topbar (Right-Aligned Compact Pill Call CTA)
   ========================================================================== */
.site-topbar {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  position: relative;
  z-index: 20;
}

.topbar-container {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Clean minimal right alignment */
}

.btn-topbar-call {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: var(--call-green);
  color: #ffffff !important;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: var(--radius-pill); /* Pill Shape */
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.3);
  transition: all 0.15s ease;
  line-height: 1;
}

.btn-topbar-call:hover,
.btn-topbar-call:active {
  background-color: var(--call-green-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.4);
}

.btn-topbar-call svg {
  flex-shrink: 0;
}

/* ==========================================================================
   Hero Section - Clean Human White with Centered Sony Logo
   ========================================================================== */
.hero-section {
  background: #ffffff;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--border-light);
}

.hero-header-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding-top: 28px;
  margin: 0 auto 16px auto;
}

.hero-sony-logo {
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 150px;
  width: 44%;
  height: auto;
  margin-bottom: 12px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .hero-header-brand {
    padding-top: 38px;
  }
  .hero-sony-logo {
    max-width: 175px;
  }
}

.hero-category-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--call-green-dark); /* High contrast */
  background: var(--call-green-light);
  border: 1px solid var(--call-green-border);
  padding: 5px 16px;
  border-radius: var(--radius-pill); /* Pill Shape */
  margin: 0 auto;
}

.status-dot-active {
  width: 7px;
  height: 7px;
  background-color: var(--call-green);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.2);
}

/* Standard Mobile Typography (Clear, Natural, High Trust) */
.hero-heading {
  font-size: clamp(1.48rem, 5.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.25;
  margin: 0 auto 12px auto;
  max-width: 680px;
}

.hero-description {
  font-size: clamp(0.92rem, 2.4vw, 1.05rem);
  color: var(--text-secondary);
  text-align: center;
  max-width: 620px;
  margin: 0 auto 20px auto;
  line-height: 1.55;
}

/* Mobile-Standard Ergonomic Trust Strip (2x2 Grid) */
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

@media (min-width: 768px) {
  .trust-strip-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

.trust-cell {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-subtle);
  transition: all 0.15s ease;
}

.trust-cell:hover {
  border-color: var(--call-green-border);
  box-shadow: var(--shadow-card);
}

.trust-cell-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--call-green);
}

.trust-cell-info strong {
  display: block;
  font-size: 0.84rem;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

.trust-cell-info span {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

/* Primary Hero Call Action Buttons in GREEN - PILL TYPE */
.hero-cta-group {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: var(--touch-target);
  padding: 14px 28px;
  border-radius: var(--radius-pill); /* Modern Pill Shape */
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease-in-out;
  text-align: center;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

/* Sony Style Green Call Button - Full Pill */
.btn-primary-call-green {
  background: linear-gradient(135deg, #15803d, #14532d); /* Deep rich green for WCAG AAA contrast */
  color: #ffffff !important;
  border-radius: var(--radius-pill); /* Modern Pill Shape */
  box-shadow: var(--shadow-pill);
  width: 100%;
  max-width: 440px;
  padding: 13px 26px;
}

.btn-primary-call-green:hover {
  background: linear-gradient(135deg, #14532d, #052e16);
  box-shadow: 0 8px 24px -2px rgba(21, 128, 61, 0.45);
  transform: translateY(-2px);
}

.btn-primary-call-green .call-meta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.btn-primary-call-green .call-number {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.15;
  color: #ffffff !important;
}

.btn-primary-call-green .call-subtext {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 1; /* High contrast: 100% opacity */
  color: #ffffff !important;
}

/* Hero Media Display */
.hero-display-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.hero-display-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.hero-display-footer {
  padding: 12px 16px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.hero-display-footer strong {
  color: var(--text-primary);
}

/* ==========================================================================
   Technician Live Dispatch Alert (Clean Minimalist Banner - High Contrast)
   ========================================================================== */
.dispatch-notice-bar {
  background: var(--call-green-light);
  border-top: 1px solid var(--call-green-border);
  border-bottom: 1px solid var(--call-green-border);
  padding: 11px 0;
  font-size: 0.85rem;
  color: var(--call-green-dark);
}

.dispatch-notice-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.dispatch-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--call-green-dark); /* High contrast */
}

.dispatch-right a {
  color: var(--call-green-dark) !important; /* 9.5:1 contrast against #f0fdf4 */
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dispatch-right a:hover {
  color: #052e16 !important;
}

/* ==========================================================================
   Section Layouts & Headers
   ========================================================================== */
.section {
  padding: 38px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 48px 0;
  }
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 26px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--call-green-dark); /* High contrast */
  background: var(--call-green-light);
  border: 1px solid var(--call-green-border);
  padding: 4px 12px;
  border-radius: var(--radius-pill); /* Pill Shape */
  margin-bottom: 8px;
}

.section-main-heading {
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sony-black);
  margin-bottom: 8px;
  line-height: 1.25;
}

.section-lead {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ==========================================================================
   Sony TV Faults & Issues Grid
   ========================================================================== */
.issues-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .issues-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .issues-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fault-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.fault-card:hover {
  transform: translateY(-3px);
  border-color: var(--call-green-border);
  box-shadow: var(--shadow-hover);
}

.fault-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.fault-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--call-green-light);
  border: 1px solid var(--call-green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--call-green);
  flex-shrink: 0;
}

.fault-card-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.fault-code-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--call-green-dark); /* High contrast */
  background: var(--call-green-light);
  border: 1px solid var(--call-green-border);
  padding: 2px 10px;
  border-radius: var(--radius-pill); /* Pill Shape */
  margin-top: 4px;
}

.fault-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

/* Modern Pill Button Inside Fault Cards */
.btn-card-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f0fdf4;
  color: var(--call-green-dark) !important; /* High contrast > 7:1 */
  border: 1px solid #bbf7d0;
  padding: 8px 18px;
  border-radius: var(--radius-pill); /* Pill Shape */
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: auto;
  width: fit-content;
}

.btn-card-pill:hover,
.btn-card-pill:active {
  background: var(--call-green);
  color: #ffffff !important;
  border-color: var(--call-green);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(21, 128, 61, 0.25);
}

/* ==========================================================================
   Sony Series Supported (Clean Pill Badges)
   ========================================================================== */
.series-pill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 22px;
}

.series-badge {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill); /* Pill Shape */
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-subtle);
  transition: all 0.15s ease;
}

.series-badge:hover {
  border-color: var(--call-green-border);
  color: var(--call-green-dark);
}

/* ==========================================================================
   Comparison Table (Mobile Horizontal Scrollable - High Contrast)
   ========================================================================== */
.table-responsive-frame {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.clean-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
  text-align: left;
}

.clean-compare-table th,
.clean-compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.86rem;
}

.clean-compare-table th {
  background: var(--bg-subtle);
  color: var(--sony-black);
  font-weight: 700;
  font-size: 0.84rem;
}

.clean-compare-table th.col-highlight,
.clean-compare-table td.col-highlight {
  background: #f0fdf4;
  border-left: 2px solid var(--call-green);
  border-right: 2px solid var(--call-green);
  font-weight: 700;
  color: var(--call-green-dark) !important; /* 9.5:1 contrast */
}

/* ==========================================================================
   Service Directory Table (Humanized, High Trust)
   ========================================================================== */
.keyword-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  margin-top: 16px;
}

.keyword-rank-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  text-align: left;
  font-size: 0.84rem;
}

.keyword-rank-table th {
  background: #f8fafc;
  color: var(--sony-black);
  padding: 12px 16px;
  font-weight: 700;
  border-bottom: 2px solid var(--border-light);
  font-size: 0.78rem;
  letter-spacing: 0.3px;
}

.keyword-rank-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.keyword-rank-table tr:hover td {
  background: #fafafa;
}

.keyword-rank-table td strong {
  color: var(--sony-black);
  font-weight: 700;
}

.status-badge-doorstep {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f0fdf4;
  color: var(--call-green-dark); /* High contrast */
  border: 1px solid #bbf7d0;
  padding: 4px 12px;
  border-radius: var(--radius-pill); /* Pill Shape */
  font-size: 0.74rem;
  font-weight: 700;
}

/* ==========================================================================
   4-Step Work Protocol (High Contrast)
   ========================================================================== */
.steps-horizontal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .steps-horizontal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .steps-horizontal-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-box-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  box-shadow: var(--shadow-card);
  transition: all 0.15s ease;
}

.step-box-item:hover {
  border-color: var(--call-green-border);
  transform: translateY(-2px);
}

.step-idx {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--call-green-dark); /* High contrast on white */
  margin-bottom: 6px;
}

.step-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sony-black);
  margin-bottom: 6px;
}

.step-body {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Reviews (Executive Corporate Clean Layout)
   ========================================================================== */
.review-cards-set {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .review-cards-set {
    grid-template-columns: repeat(3, 1fr);
  }
}

.client-review-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all 0.15s ease;
}

.client-review-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.stars-rating-row {
  color: var(--star-amber);
  font-size: 0.95rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.review-quote {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
  flex-grow: 1;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
}

.reviewer-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sony-black);
}

.reviewer-model {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.verified-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--call-green-dark); /* High contrast */
  background: var(--call-green-light);
  border: 1px solid var(--call-green-border);
  padding: 2px 8px;
  border-radius: var(--radius-pill); /* Pill Shape */
}

/* ==========================================================================
   FAQ Clean Corporate Accordion
   ========================================================================== */
.faq-corporate-wrap {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-corporate-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-corporate-item.active {
  border-color: var(--call-green-border);
}

.faq-btn-trigger {
  width: 100%;
  padding: 16px 18px;
  text-align: left;
  background: none;
  border: none;
  color: var(--sony-black);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-plus-icon {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--call-green-dark);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

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

.faq-content-drawer {
  padding: 0 18px 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: none;
}

.faq-corporate-item.active .faq-content-drawer {
  display: block;
}

/* ==========================================================================
   Mid-Page Direct Call Card
   ========================================================================== */
.direct-call-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.direct-call-card h2,
.direct-call-card h3 {
  font-size: clamp(1.2rem, 3.5vw, 1.65rem);
  color: var(--sony-black);
  font-weight: 800;
  margin-bottom: 8px;
}

.direct-call-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

/* ==========================================================================
   Sony Official Corporate Style Footer (WCAG AAA Contrast)
   ========================================================================== */
.sony-corporate-footer {
  background-color: #111827;
  border-top: 1px solid #1f2937;
  padding: 40px 0 20px;
  color: #9ca3af;
  font-size: 0.82rem;
}

.footer-disclaimer-panel {
  background: #1f2937;
  border: 1px solid #374151;
  padding: 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
}

.disclaimer-panel-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.disclaimer-panel-body {
  font-size: 0.82rem;
  color: #d1d5db; /* High contrast > 8:1 against #1f2937 */
  line-height: 1.65;
  margin-bottom: 12px;
}

.credentials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid #374151;
  font-size: 0.8rem;
  color: #9ca3af;
}

.credentials-row strong {
  color: #ffffff;
}

.footer-cols-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

@media (min-width: 640px) {
  .footer-cols-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-cols-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-column-heading,
h3.footer-column-heading,
h4.footer-column-heading {
  font-size: 0.86rem;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-nav-list a {
  color: #9ca3af;
  font-size: 0.82rem;
}

.footer-nav-list a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom-bar {
  border-top: 1px solid #1f2937;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  font-size: 0.78rem;
  color: #9ca3af; /* High contrast against #111827 */
}

@media (min-width: 768px) {
  .footer-bottom-bar {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-legal-links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.footer-legal-links-inline a {
  color: #d1d5db; /* High contrast against #111827 */
}

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

/* ==========================================================================
   Mobile Sticky Bottom Call Action Bar (Mobile Standard Ergonomics - Pill)
   ========================================================================== */
.mobile-fixed-call-bar {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

@media (min-width: 768px) {
  .mobile-fixed-call-bar {
    display: none; /* Only show on mobile devices */
  }
}

.mobile-bar-container {
  max-width: 480px;
  margin: 0 auto;
}

.btn-mobile-call-green {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #15803d, #14532d); /* Deep rich green */
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 800;
  height: 48px;
  border-radius: var(--radius-pill); /* Pill Shape */
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(21, 128, 61, 0.4);
  transition: all 0.15s ease;
  letter-spacing: 0.2px;
}

.btn-mobile-call-green:hover,
.btn-mobile-call-green:active {
  background: #14532d;
  transform: scale(0.99);
}

/* Editorial Subpage Layout */
.page-hero {
  padding: 28px 0 20px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.page-title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--sony-black);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.page-breadcrumbs {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.page-breadcrumbs a {
  color: var(--call-green);
  font-weight: 600;
}

.legal-content-wrap {
  padding: 28px 0 44px;
  max-width: 780px;
  margin: 0 auto;
}

.legal-content-wrap h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--sony-black);
  margin: 24px 0 10px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 6px;
}

.legal-content-wrap h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 18px 0 8px;
}

.legal-content-wrap p,
.legal-content-wrap ul {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.legal-content-wrap ul {
  padding-left: 20px;
}

.legal-content-wrap li {
  margin-bottom: 6px;
}

.legal-callout-box {
  background: var(--call-green-light);
  border-left: 3px solid var(--call-green);
  padding: 14px 16px;
  border-radius: var(--radius-xs);
  margin: 18px 0;
  font-size: 0.88rem;
}

/* Compensate bottom padding for mobile screens so floating bar doesn't obscure content */
@media (max-width: 767px) {
  body {
    padding-bottom: 68px !important;
  }
}

/* ==========================================================================
   Samsung TV Repair Specific Styles & Interactive Estimator
   ========================================================================== */
.hero-samsung-logo {
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 175px;
  width: 48%;
  height: auto;
  margin-bottom: 12px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(20, 40, 160, 0.12));
}

@media (min-width: 768px) {
  .hero-samsung-logo {
    max-width: 215px;
  }
}

/* Samsung Accent Badges */
.badge-samsung-blue {
  background: #eff4ff;
  color: #1428a0;
  border: 1px solid #bfdbfe;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  font-size: 0.74rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Interactive Doorstep Quote & Cost Estimator Card */
.calculator-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .calculator-card {
    padding: 32px 28px;
  }
}

.calculator-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1428a0, #2563eb, #15803d);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 20px 0;
}

@media (min-width: 640px) {
  .calc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.calc-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.calc-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  background-color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}

.calc-select:focus {
  border-color: #1428a0;
  box-shadow: 0 0 0 3px rgba(20, 40, 160, 0.15);
}

.calc-result-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  text-align: center;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.calc-result-header {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.calc-price-display {
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 800;
  color: #15803d;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.calc-price-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.calc-perks-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  font-size: 0.78rem;
  color: #334155;
  margin-bottom: 16px;
}

.calc-perks-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

