/* =============================================
   Mr.Climate HVAC & Plumbing — Design System
   ============================================= */

:root {
  --navy: #0d1b2a;
  --navy-mid: #1b2d42;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --teal: #0d9488;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1100px;
  --radius: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   HERO
   ============================================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transition: transform 8s ease;
}

.hero:hover .hero-bg { transform: scale(1.0); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.82) 0%, rgba(37,99,235,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.95);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  gap: 8px;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-light); border-color: var(--blue-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,99,235,0.35); }

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

.btn-dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-dark:hover { background: var(--navy-mid); border-color: var(--navy-mid); }

/* =============================================
   PROOF BAR
   ============================================= */

.proof-bar {
  background: var(--navy);
  color: var(--white);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}

.proof-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.proof-item { color: rgba(255,255,255,0.85); }
.proof-item strong { color: var(--white); font-weight: 700; }
.proof-sep { color: rgba(255,255,255,0.35); }

/* =============================================
   SERVICES
   ============================================= */

.services-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.services-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: -0.02em;
}

.section-lead {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* =============================================
   PROOF / ABOUT
   ============================================= */

.proof-section {
  padding: 100px 0;
  background: var(--white);
}

.proof-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.proof-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.proof-text p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
}

.proof-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.proof-list li {
  font-size: 0.95rem;
  color: var(--gray-800);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.proof-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--teal);
  border-radius: 50%;
  display: inline-flex;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.proof-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.proof-gallery img {
  border-radius: var(--radius);
  object-fit: cover;
  height: 220px;
  width: 100%;
  box-shadow: var(--shadow);
}

/* =============================================
   REVIEWS
   ============================================= */

.reviews-section {
  padding: 100px 0;
  background: var(--navy);
}

.reviews-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.reviews-section .section-lead {
  color: rgba(255,255,255,0.65);
  margin-bottom: 56px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px 28px;
  backdrop-filter: blur(4px);
}

.stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-card blockquote {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.review-card cite {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-style: normal;
  font-weight: 600;
}

/* =============================================
   LOCATION
   ============================================= */

.location-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.location-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.location-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.service-area-label {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 28px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.contact-row {
  display: flex;
  gap: 16px;
  align-items: baseline;
  font-size: 0.95rem;
}

.contact-label {
  font-weight: 700;
  color: var(--navy);
  min-width: 120px;
  flex-shrink: 0;
}

.contact-row a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.contact-row a:hover { text-decoration: underline; }

.map-embed iframe {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* =============================================
   FAQ
   ============================================= */

.faq-section {
  padding: 100px 0;
  background: var(--white);
}

.faq-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] { border-color: var(--blue); }

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--blue);
  font-weight: 300;
  transition: transform 0.2s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* =============================================
   CTA BANNER
   ============================================= */

.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  background: var(--navy);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-name {
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
}

.footer-meta {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
  .hero-content { padding: 100px 24px 60px; }
  .hero h1 { font-size: 2.4rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .proof-split,
  .location-split { grid-template-columns: 1fr; gap: 40px; }
  .proof-gallery { grid-template-columns: 1fr; }

  .services-section,
  .proof-section,
  .reviews-section,
  .location-section,
  .faq-section,
  .cta-banner { padding: 64px 0; }

  .services-grid,
  .reviews-grid { grid-template-columns: 1fr; }

  .contact-row { flex-direction: column; gap: 4px; }
  .contact-label { min-width: auto; }

  .proof-inner { font-size: 0.8rem; gap: 8px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .proof-inner { flex-direction: column; gap: 4px; }
  .proof-sep { display: none; }
  .proof-item { font-size: 0.85rem; }
}


/* mobile responsiveness guardrails */
