/* ==========================================================================
   ApplianceCare Connect - Custom Stylesheet
   Fonts: 'Outfit' (Headings) & 'Plus Jakarta Sans' (Body)
   ========================================================================== */

:root {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-light: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-dark-card: #1e293b;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --text-light-muted: #cbd5e1;

  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-soft: #e0f2fe;

  --accent: #ea580c;
  --accent-hover: #c2410c;

  --border: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.14);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.65;
  font-size: 16px;
  padding-bottom: 64px; /* space for mobile call bar */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Icons */
.icon-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon-xs { width: 16px; height: 16px; }
.icon-sm { width: 20px; height: 20px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }

/* Top Notice */
.top-notice {
  background-color: var(--bg-dark);
  color: var(--text-light-muted);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

.top-notice-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-notice-inner span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-notice-link {
  color: #38bdf8;
  font-weight: 600;
}

.top-notice-link:hover {
  color: #7dd3fc;
}

/* Header */
.site-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), #0369a1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.main-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 920px) {
  .main-nav {
    display: flex;
  }
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

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

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

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1.08rem;
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background: radial-gradient(circle at top right, #e0f2fe 0%, #f8fafc 55%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.badge {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary-hover);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 1.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

.highlight-item .icon-svg {
  color: var(--primary);
}

/* Hero Card & Hero CTA Card */
.hero-card {
  background: var(--bg-surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.hero-card-header h2 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.hero-card-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

/* Hero CTA Card Variant */
.hero-cta-card {
  text-align: left;
}

.hero-cta-card .hero-card-header {
  margin-bottom: 1.25rem;
}

.hero-cta-card .card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fef3c7;
  color: #92400e;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.hero-cta-card .card-badge .icon-svg {
  color: #d97706;
}

.hero-cta-card h2 {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.hero-cta-card .hero-card-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.hero-cta-action {
  margin: 1.25rem 0;
}

.hero-cta-btn {
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.95rem 1.5rem;
  box-shadow: 0 8px 20px -4px rgba(234, 88, 12, 0.4);
}

.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(234, 88, 12, 0.5);
}

.hero-cta-subtext {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.55rem;
}

.hero-cta-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
}

.hero-cta-features .cta-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.4;
}

.hero-cta-features .cta-feature-item .icon-svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-cta-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.lead-form .form-group {
  margin-bottom: 1rem;
}

.lead-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.lead-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #fff;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-consent {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
  line-height: 1.45;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-dark {
  background-color: var(--bg-dark);
}

.text-light h2,
.text-light h3 {
  color: var(--text-light);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

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

.eyebrow-light {
  color: #38bdf8;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Service Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.service-card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.card-list-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.card-list {
  list-style: disc;
  padding-left: 1.15rem;
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-list li {
  margin-bottom: 0.3rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card-call {
  color: var(--accent);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.35;
  margin-bottom: 0.5rem;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Prep Section */
.prep-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .prep-grid {
    grid-template-columns: 1.3fr 0.7fr;
  }
}

.prep-lead {
  color: var(--text-light-muted);
  margin: 0.85rem 0 1.5rem;
}

.prep-checklist {
  list-style: none;
  display: grid;
  gap: 1rem;
  color: var(--text-light-muted);
}

.prep-checklist.dark-text {
  color: var(--text-muted);
}

.prep-checklist li {
  padding-left: 1.5rem;
  position: relative;
}

.prep-checklist li::before {
  content: "•";
  color: #38bdf8;
  font-weight: bold;
  font-size: 1.3rem;
  position: absolute;
  left: 0;
  top: -2px;
}

.prep-checklist strong {
  color: #ffffff;
}

.prep-checklist.dark-text strong {
  color: var(--text-main);
}

.prep-cta-box {
  background: var(--bg-dark-card);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid #334155;
  text-align: center;
}

.prep-cta-box h3 {
  font-size: 1.4rem;
  margin-bottom: 0.65rem;
}

.prep-cta-box p {
  color: var(--text-light-muted);
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
}

.prep-note {
  font-size: 0.8rem !important;
  margin-top: 0.85rem;
  margin-bottom: 0 !important;
}

/* FAQ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
}

.faq-item h3 {
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Page Hero */
.page-hero {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 3.5rem 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--text-light);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--text-light-muted);
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.08rem;
}

.page-hero a {
  color: #38bdf8;
  font-weight: 700;
}

/* Services Detailed Page */
.appliance-detail-list {
  display: grid;
  gap: 2.25rem;
}

.appliance-detail-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.detail-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.detail-title-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.detail-title-group .card-icon-wrap {
  margin-bottom: 0;
}

.detail-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.detail-body {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 1.75rem;
}

.detail-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .detail-columns {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.detail-box {
  background: var(--bg-light);
  padding: 1.4rem;
  border-radius: var(--radius-md);
}

.detail-box h3 {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.detail-bullet-list {
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.detail-bullet-list li {
  margin-bottom: 0.45rem;
}

.detail-tag-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  font-size: 0.92rem;
}

.detail-tag-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-weight: 500;
}

.detail-tag-list .icon-svg {
  color: var(--primary);
}

/* Symptom Table */
.table-responsive {
  overflow-x: auto;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.symptom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
}

.symptom-table th,
.symptom-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.symptom-table th {
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: 600;
}

.symptom-table tr:last-child td {
  border-bottom: none;
}

/* Prose & Contact */
.prose-container {
  max-width: 820px;
  background: var(--bg-surface);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.prose-container h2 {
  font-size: 1.45rem;
  margin: 1.75rem 0 0.75rem;
}

.prose-container h2:first-child {
  margin-top: 0;
}

.prose-container p,
.prose-container ul {
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

.prose-container ul {
  padding-left: 1.4rem;
}

.prose-container li {
  margin-bottom: 0.5rem;
}

.notice-callout {
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.notice-callout p {
  color: var(--text-main);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.inline-cta {
  margin-top: 2rem;
  padding: 1.75rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.inline-cta p {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

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

.contact-info-box {
  background: var(--bg-surface);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.contact-info-box h2 {
  margin-bottom: 0.65rem;
}

.contact-big-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent);
  margin: 1rem 0;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

.contact-info-box h3 {
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light-muted);
  padding: 4rem 0 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-desc {
  margin: 1rem 0;
  max-width: 360px;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #38bdf8;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
}

.footer-heading {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-light-muted);
}

.footer-links a:hover {
  color: #fff;
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.55;
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #38bdf8;
}

/* Mobile Sticky Call Bar */
.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  z-index: 999;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #ffffff;
  padding: 0.95rem 1rem;
  font-family: var(--font-heading);
  font-size: 1rem;
}

.mobile-call-btn:hover {
  color: #ffffff;
}

@media (min-width: 768px) {
  .mobile-call-bar {
    display: none;
  }
}
