/* National Heating & Cooling - Clean Minimalist High-Converting CSS */
:root {
  /* Unified, strictly restricted palette */
  --primary-navy: #0f2438;
  --secondary-slate: #334155;
  --action-green: #16a34a;
  --action-green-hover: #15803d;
  --action-green-light: #f0fdf4;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --border-color: #e2e8f0;
  --border-subtle: #cbd5e1;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 36, 56, 0.08), 0 2px 4px -2px rgba(15, 36, 56, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 36, 56, 0.1), 0 4px 6px -4px rgba(15, 36, 56, 0.05);
  --shadow-green: 0 4px 14px 0 rgba(22, 163, 74, 0.35);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* =========================================
   1. STICKY HEADER & LOGO
   ========================================= */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

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

.brand-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--primary-navy);
  letter-spacing: 0.04em;
}

.brand-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--action-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 9px 16px;
  border-radius: 9999px;
  box-shadow: var(--shadow-green);
  transition: transform 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-cta-btn:hover,
.header-cta-btn:focus-visible {
  background-color: var(--action-green-hover);
  transform: translateY(-1px);
}

.header-cta-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* =========================================
   2. HERO SECTION
   ========================================= */
.hero-section {
  padding: 24px 0 32px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-content {
  text-align: center;
}

.tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-subtle);
  color: var(--primary-navy);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 9999px;
  margin-bottom: 14px;
  border: 1px solid var(--border-color);
}

.hero-title {
  font-size: 1.85rem;
  line-height: 1.22;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: var(--secondary-slate);
  line-height: 1.45;
  margin-bottom: 22px;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.primary-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--action-green);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
  text-align: center;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  animation: pulse-soft 2.5s infinite;
}

.primary-cta-btn:hover,
.primary-cta-btn:focus-visible {
  background-color: var(--action-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.5);
}

.primary-cta-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

.call-number-subtext {
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary-slate);
}

.call-number-subtext a {
  color: var(--action-green);
  text-decoration: underline;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}

.badge-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-navy);
}

.badge-icon {
  width: 18px;
  height: 18px;
  color: var(--action-green);
  flex-shrink: 0;
}

/* Hero Media Image */
.hero-media-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: 0 auto;
}

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

.hero-image-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background-color: rgba(15, 36, 56, 0.88);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-image-badge svg {
  width: 16px;
  height: 16px;
  color: var(--action-green);
  flex-shrink: 0;
}

/* =========================================
   3. SERVICES OFFERED (UNIFIED PALETTE)
   ========================================= */
.services-section {
  padding: 36px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 24px;
}

.section-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

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

.card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

/* Unified clean slate icon container */
.card-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
  color: var(--primary-navy);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--secondary-slate);
  line-height: 1.45;
}

/* Qualification Notice Banner */
.qualification-notice {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-navy);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
}

.notice-icon {
  width: 22px;
  height: 22px;
  color: var(--primary-navy);
  flex-shrink: 0;
  margin-top: 1px;
}

.notice-text {
  font-size: 0.92rem;
  color: var(--primary-navy);
  font-weight: 600;
  line-height: 1.45;
}

/* =========================================
   4. STOCK PHOTO SHOWCASE TILES
   ========================================= */
.visual-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 26px 0;
}

.visual-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.visual-tile img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.visual-tile:hover img {
  transform: scale(1.03);
}

.visual-tile-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 36, 56, 0.9) 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
}

/* =========================================
   5. HOW IT WORKS (3 STEPS)
   ========================================= */
.how-it-works-section {
  padding: 36px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 16px;
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  background-color: var(--primary-navy);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.92rem;
  color: var(--secondary-slate);
  line-height: 1.4;
}

/* =========================================
   6. BOTTOM CONVERSION BANNER
   ========================================= */
.bottom-cta-section {
  padding: 40px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.bottom-cta-box {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px 18px;
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.bottom-cta-box h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.bottom-cta-box p {
  font-size: 0.95rem;
  color: var(--secondary-slate);
  margin-bottom: 18px;
}

/* =========================================
   7. FOOTER & COMPLIANCE
   ========================================= */
.site-footer {
  background-color: #0b1522;
  color: #94a3b8;
  padding: 32px 0 28px 0;
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-disclaimer-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 22px;
  color: #cbd5e1;
}

.footer-disclaimer-card p {
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: justify;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-links a {
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.88rem;
  transition: color 0.15s ease;
}

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

.footer-divider {
  color: #475569;
}

.footer-copy {
  text-align: center;
  color: #64748b;
  font-size: 0.8rem;
}

/* =========================================
   8. LEGAL & SUBPAGE STYLES
   ========================================= */
.legal-page {
  padding: 36px 0 48px 0;
  background-color: #ffffff;
  min-height: 70vh;
}

.legal-article {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #334155;
}

.legal-article h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.legal-article .last-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.legal-article h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-article p {
  margin-bottom: 14px;
  line-height: 1.65;
  font-size: 0.95rem;
}

.legal-article ul {
  margin-left: 20px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.back-to-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--primary-navy);
  font-size: 0.9rem;
}

.back-to-home:hover {
  text-decoration: underline;
}

.contact-box {
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

/* Keyframe animations */
@keyframes pulse-soft {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(22, 163, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

/* =========================================
   9. RESPONSIVE BREAKPOINTS
   ========================================= */
@media (min-width: 640px) {
  .hero-title {
    font-size: 2.35rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .visual-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-badges {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
}

@media (min-width: 860px) {
  .hero-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 32px;
    text-align: left;
  }
  .hero-content {
    text-align: left;
  }
  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }
  .primary-cta-btn {
    margin-left: 0;
  }
  .trust-badges {
    justify-content: flex-start;
  }
  .hero-media-wrapper {
    margin: 0;
  }
  .header-inner {
    padding: 14px 20px;
  }
  .header-cta-btn {
    font-size: 1.05rem;
    padding: 10px 22px;
  }
  .hero-section {
    padding: 44px 0 48px 0;
  }
  .services-section {
    padding: 50px 0;
  }
  .how-it-works-section {
    padding: 50px 0;
  }
}
