/* ==========================================================================
   Santee HVAC Pros — Design System & Responsive Stylesheet
   Palette: Primary Blue #2563EB | Dark Navy #172554 | Light Blue #EFF6FF
            Accent Green #10B981 | Body #334155 | Muted #64748B | Border #E2E8F0
   ========================================================================== */

:root {
  --blue-600: #2563EB;
  --blue-700: #1D4ED8;
  --navy-950: #0B1120;
  --navy-900: #0F172A;
  --navy-800: #172554;
  --blue-50: #EFF6FF;
  --blue-100: #DBEAFE;
  --green-500: #10B981;
  --green-50: #ECFDF5;
  --amber-50: #FFFBEB;
  --amber-600: #D97706;
  --white: #FFFFFF;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-700: #334155;
  --slate-900: #0F172A;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 40px rgba(11, 17, 32, 0.22);
  --container-max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-700);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-600);
  text-decoration: none;
}

a:hover {
  color: var(--blue-700);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

/* Top Utility Bar */
.top-bar {
  background-color: var(--navy-900);
  color: var(--slate-200);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--slate-200);
}

.top-bar-phone {
  color: #93C5FD;
  font-weight: 600;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-800);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-link span.brand-accent {
  color: var(--blue-600);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--blue-600);
  background-color: var(--blue-50);
}

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.18s ease;
}

.nav-item:hover .nav-chevron,
.nav-item:focus-within .nav-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 120;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
}

.dropdown-link:hover {
  background-color: var(--blue-50);
  color: var(--blue-600);
}

.dropdown-divider {
  height: 1px;
  background: var(--slate-200);
  margin: 6px 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--blue-600);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease;
  flex-shrink: 0;
}

.header-cta:hover {
  background-color: var(--blue-700);
  color: var(--white);
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--navy-800);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  padding: 16px 20px 24px;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav-group {
  border-bottom: 1px solid var(--slate-100);
  padding: 6px 0;
}

.mobile-nav-link {
  display: block;
  padding: 10px 4px;
  font-weight: 600;
  color: var(--navy-800);
}

.mobile-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-800);
  cursor: pointer;
}

.mobile-sublinks {
  display: none;
  padding: 4px 0 10px 14px;
}

.mobile-sublinks.is-open {
  display: block;
}

.mobile-sublinks a {
  display: block;
  padding: 6px 0;
  font-size: 0.9375rem;
  color: var(--slate-700);
}

@media (max-width: 1024px) {
  .desktop-nav,
  .header-cta-desktop {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  background-color: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  padding: 10px 0;
  font-size: 0.875rem;
  color: var(--slate-500);
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--slate-400);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 56px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(147, 197, 253, 0.35);
  color: #BFDBFE;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
}

.hero-lead {
  margin: 0 0 26px;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #CBD5E1;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--blue-600);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--blue-700);
  color: var(--white);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-outline-dark {
  background-color: var(--white);
  color: var(--navy-800);
  border-color: var(--slate-200);
}

.btn-outline-dark:hover {
  background-color: var(--blue-50);
  border-color: var(--blue-600);
  color: var(--blue-600);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: #93C5FD;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--navy-900);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero {
    padding: 40px 0 48px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Sections & Headings */
.section {
  padding: 64px 0;
}

.section-muted {
  background-color: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

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

.pill-badge {
  display: inline-block;
  background-color: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid var(--blue-100);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-header h2,
.split-text h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 2.6vw, 2.125rem);
  line-height: 1.25;
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--slate-500);
  font-size: 1.03125rem;
}

/* Split Overview Section */
.split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.info-panel {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.info-panel h3 {
  margin: 0 0 14px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy-800);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--slate-700);
}

.check-icon {
  color: var(--green-500);
  flex-shrink: 0;
  margin-top: 3px;
}

@media (max-width: 860px) {
  .split-grid {
    grid-template-columns: 1fr;
  }
}

/* Card Grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

@media (max-width: 640px) {
  .card-grid,
  .card-grid-4,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #BFDBFE;
}

.card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--slate-100);
}

.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-500);
  margin-bottom: 6px;
}

.card-kicker-blue {
  color: var(--blue-600);
}

.card-title {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.3;
}

.card-text {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  color: var(--slate-500);
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-600);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  color: var(--blue-600);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.status-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-500);
  margin-bottom: 10px;
}

.status-badge-active {
  background: var(--green-50);
  color: #047857;
}

/* Editorial / Content Layout */
.content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 960px) {
  .content-shell {
    grid-template-columns: 1fr;
  }
}

.prose h2 {
  margin: 32px 0 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1.3;
}

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

.prose h3 {
  margin: 24px 0 10px;
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--navy-800);
}

.prose p {
  margin: 0 0 16px;
}

.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
}

.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.prose th {
  background: var(--slate-50);
  color: var(--navy-800);
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--slate-200);
}

.prose td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--slate-200);
}

.prose tr:last-child td {
  border-bottom: 0;
}

.callout {
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 24px 0;
  border: 1px solid var(--blue-100);
  background: var(--blue-50);
}

.callout-warning {
  background: var(--amber-50);
  border-color: #FDE68A;
}

.callout-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
}

.callout-warning .callout-title {
  color: #92400E;
}

.sidebar-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 20px;
}

.sidebar-card h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
}

.sidebar-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.9375rem;
}

.toc-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 28px;
}

.toc-box h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
}

.toc-box ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 0.9375rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item[open] {
  border-color: #BFDBFE;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  background: var(--blue-600);
  color: var(--white);
}

.faq-answer {
  padding: 0 22px 18px;
  color: var(--slate-700);
  font-size: 0.95rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  text-align: center;
  padding: 56px 20px;
}

.cta-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--white);
}

.cta-banner p {
  margin: 0 auto 24px;
  max-width: 58ch;
  color: #CBD5E1;
}

/* Footer */
.site-footer {
  background-color: var(--navy-950);
  color: var(--slate-400);
  padding: 56px 0 28px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

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

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-heading {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #93C5FD;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  font-size: 0.8125rem;
  color: var(--slate-400);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-disclosure {
  margin: 0;
  color: var(--slate-200);
}

/* Blog Filters */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-pill {
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-pill.is-active,
.filter-pill:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.875rem;
  color: #CBD5E1;
  margin-bottom: 16px;
}
