/* ==========================================================================
   M&M HVAC Heating and Cooling Solutions
   Stylesheet - v1.0
   ========================================================================== */

/* Reset & base */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: light only;
  background: #fff;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1d1d1f;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Force light mode - prevents iOS Safari from auto-darkening backgrounds.
   Important: do NOT override sections that are intentionally dark (navy hero,
   areas section, CTA, footer) - they're styled to look right with white text. */
@media (prefers-color-scheme: dark) {
  html, body {
    background: #fff !important;
    color: #1d1d1f !important;
  }
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Color tokens */
:root {
  --navy: #0a2540;
  --navy-dark: #061a30;
  --navy-light: #1a3a5c;
  --orange: #ff6b1a;
  --orange-dark: #e55a0e;
  --emergency: #d92020;
  --emergency-dark: #b81818;
  --gray-50: #fafafa;
  --gray-100: #f5f5f7;
  --gray-200: #e8e8ed;
  --gray-400: #86868b;
  --gray-600: #515154;
  --gray-900: #1d1d1f;
  --green: #16a34a;
  --max-width: 1200px;
}

/* ==========================================================================
   Top bar (above header) - emergency strip
   ========================================================================== */
.topbar {
  background: var(--navy-dark);
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
  text-align: center;
}
.topbar-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar-item { display: flex; align-items: center; gap: 6px; }
.dot-green { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }

/* ==========================================================================
   Header - sticky with logo + phone
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--gray-200);
}
.header-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--navy);
  flex-shrink: 0;
}
.logo img { width: 48px; height: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .brand { font-size: 17px; letter-spacing: -0.01em; }
.logo-text .tagline { font-size: 11px; color: var(--gray-600); font-weight: 400; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 14px;
  color: var(--gray-900);
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--orange); }
.nav a.active { color: var(--orange); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.header-cta:hover { background: var(--orange-dark); transform: translateY(-1px); }
.header-cta svg { width: 16px; height: 16px; }

.menu-toggle { display: none; }

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    width: 40px; height: 40px; align-items: center;
  }
  .menu-toggle span { width: 22px; height: 2px; background: var(--navy); display: block; transition: all 0.2s; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--gray-200);
    padding: 20px; gap: 20px;
  }
  .header-cta { padding: 9px 14px; font-size: 13px; }
  .logo-text .tagline { display: none; }
  .logo-text .brand { font-size: 15px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  padding: 80px 20px 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  background: linear-gradient(135deg, transparent, rgba(255,107,26,0.08));
  pointer-events: none;
}
.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 20px;
}
.hero-text h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.hero-text h1 .highlight { color: var(--orange); }
.hero-text .lede {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,107,26,0.4); }
.btn-primary svg { width: 18px; height: 18px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.15s ease;
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); }

.hero-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.hero-image img { width: 100%; height: auto; display: block; }
.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  color: var(--navy);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 860px) {
  .hero { padding: 50px 20px 60px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-text .lede { font-size: 17px; }
  .btn-primary, .btn-secondary { padding: 14px 22px; font-size: 15px; flex: 1; justify-content: center; }
}

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-strip {
  background: var(--gray-100);
  padding: 32px 20px;
  border-bottom: 1px solid var(--gray-200);
}
.trust-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.trust-item { text-align: center; }
.trust-item .number {
  font-size: 32px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.trust-item .label {
  font-size: 13px;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.stars { color: var(--orange); font-size: 20px; letter-spacing: 2px; }

@media (max-width: 720px) {
  .trust-content { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .trust-item .number { font-size: 26px; }
}

/* ==========================================================================
   Certifications section
   ========================================================================== */
.certs-section { background: var(--gray-100); padding: 70px 20px; }
.certs-content { max-width: var(--max-width); margin: 0 auto; }
.certs-header { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.certs-header .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 12px;
}
.certs-header h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 14px;
}
.certs-header p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.55;
}
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.cert-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: all 0.2s ease;
}
.cert-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,37,64,0.08);
  border-color: var(--orange);
}
.cert-item-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--gray-100);
}
.cert-item-image img { width: 100%; height: auto; display: block; }
.cert-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}
.cert-item p {
  font-size: 12px;
  color: var(--gray-600);
}

/* Badge-style cert cards (no certificate images, just clean credibility) */
.cert-badge {
  padding: 28px 20px;
}
.cert-badge-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-badge-icon svg { width: 28px; height: 28px; }
.cert-badge h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.cert-badge p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.4;
}

/* ==========================================================================
   Section base
   ========================================================================== */
.section { padding: 90px 20px; }
.section-content { max-width: var(--max-width); margin: 0 auto; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-header .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 18px;
}
.section-header p {
  font-size: 19px;
  color: var(--gray-600);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .section { padding: 60px 20px; }
  .section-header { margin-bottom: 40px; }
  .section-header p { font-size: 17px; }
}

/* ==========================================================================
   Services grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10,37,64,0.12);
  border-color: var(--gray-200);
}
.service-card-image {
  height: 200px;
  overflow: hidden;
  background: var(--gray-100);
}
.service-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-image img { transform: scale(1.05); }
.service-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
}
.service-card-link::after {
  content: '→';
  transition: transform 0.2s ease;
}
.service-card:hover .service-card-link::after { transform: translateX(4px); }

/* ==========================================================================
   Why us / features
   ========================================================================== */
.why-section { background: var(--gray-100); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.why-item { padding: 0; }
.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.why-icon svg { width: 28px; height: 28px; }
.why-item h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.why-item p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ==========================================================================
   Recent work / gallery
   ========================================================================== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.work-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
  cursor: pointer;
}
.work-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.work-item:hover img { transform: scale(1.05); }
.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,37,64,0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: #fff;
}
.work-overlay h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}
.work-overlay p {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
.work-feature {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
@media (max-width: 720px) {
  .work-feature { grid-column: span 1; aspect-ratio: 4/3; }
}

/* ==========================================================================
   Service areas
   ========================================================================== */
.areas-section { background: var(--navy); color: #fff; }
.areas-section .section-header h2 { color: #fff; }
.areas-section .section-header p { color: rgba(255,255,255,0.75); }
.areas-section .section-header .eyebrow { color: var(--orange); }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.area-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.2s ease;
}
.area-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--orange);
  transform: translateY(-2px);
}
.area-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff;
}
.area-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  padding: 28px;
  border-radius: 16px;
}
.review-stars {
  color: var(--orange);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.review-text {
  font-size: 15px;
  color: var(--gray-900);
  line-height: 1.6;
  margin-bottom: 18px;
}
.review-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.review-author span {
  display: block;
  font-weight: 400;
  color: var(--gray-600);
  font-size: 13px;
  margin-top: 2px;
}

/* ==========================================================================
   CTA section
   ========================================================================== */
.cta-section {
  background: var(--navy);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}
.cta-content { max-width: 720px; margin: 0 auto; }
.cta-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.cta-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Contact section / form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.15;
}
.contact-info > p {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 32px;
}
.contact-list { list-style: none; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
}
.contact-list li:last-child { border-bottom: none; }
.contact-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-detail .label {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--gray-600); font-weight: 600; margin-bottom: 4px;
}
.contact-detail .value {
  font-size: 16px; color: var(--navy); font-weight: 500;
}
.contact-detail .value a:hover { color: var(--orange); }

.contact-form {
  background: var(--gray-100);
  padding: 36px;
  border-radius: 20px;
}
.contact-form h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.contact-form .form-subtitle {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  color: var(--navy);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,26,0.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  background: var(--orange);
  color: #fff;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  transition: background 0.15s ease;
}
.form-submit:hover { background: var(--orange-dark); }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 24px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #061a30;
  color: rgba(255,255,255,0.7);
  padding: 60px 20px 30px;
}
.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--orange); }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo .brand { color: #fff; font-size: 19px; }
.footer-brand .logo .tagline { color: rgba(255,255,255,0.6); }
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 360px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
}

/* ==========================================================================
   Page hero (for inner pages)
   ========================================================================== */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 70px 20px 60px;
  text-align: center;
}
.page-hero-content { max-width: 800px; margin: 0 auto; }
.page-hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.page-hero p {
  font-size: 19px;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto;
}

/* ==========================================================================
   Service detail (services.html)
   ========================================================================== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-text h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.15;
}
.service-detail-text > p {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 24px;
}
.service-detail-text ul {
  list-style: none;
  margin-bottom: 28px;
}
.service-detail-text ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 15px;
  color: var(--gray-900);
}
.service-detail-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px; height: 20px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.service-detail-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
}
.service-detail-image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .service-detail { grid-template-columns: 1fr; gap: 32px; margin-bottom: 60px; }
  .service-detail.reverse { direction: ltr; }
}

/* ==========================================================================
   About page
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.about-text h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.15;
}
.about-text p {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 18px;
}
.about-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 50px;
}
.value-item { text-align: center; }
.value-number {
  font-size: 48px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.value-item h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.value-item p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
}

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

/* ==========================================================================
   Service area cards (service-areas.html)
   ========================================================================== */
.area-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.area-detail-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.2s ease;
}
.area-detail-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,37,64,0.08);
}
.area-detail-card .area-icon {
  width: 44px; height: 44px;
  background: var(--gray-100);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  margin-bottom: 18px;
}
.area-detail-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.area-detail-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 16px;
}
.area-detail-card .area-meta {
  font-size: 13px;
  color: var(--orange);
  font-weight: 600;
}

/* ==========================================================================
   Utility
   ========================================================================== */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* ==========================================================================
   Emergency CTA bar - bilingual 24/7 buttons (above hero on every page)
   ========================================================================== */
.emergency-bar {
  background: #fff;
  padding: 18px 16px 16px;
  border-bottom: 1px solid var(--gray-200);
}
.emergency-bar-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-emergency {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--emergency);
  color: #fff;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-align: left;
  flex: 1;
  min-width: 280px;
  max-width: 420px;
  box-shadow: 0 2px 8px rgba(217,32,32,0.25);
  transition: all 0.15s ease;
}
.btn-emergency:hover {
  background: var(--emergency-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217,32,32,0.35);
}
.btn-emergency.btn-emergency-es {
  background: var(--navy);
  box-shadow: 0 2px 8px rgba(10,37,64,0.25);
}
.btn-emergency.btn-emergency-es:hover {
  background: var(--navy-dark);
  box-shadow: 0 6px 16px rgba(10,37,64,0.35);
}
.btn-emergency svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn-emergency-text { display: flex; flex-direction: column; line-height: 1.2; }
.btn-emergency-label { font-size: 12px; font-weight: 600; opacity: 0.92; letter-spacing: 0.02em; }
.btn-emergency-main { font-size: 17px; font-weight: 700; }

/* Trust microcopy under emergency bar */
.emergency-trust {
  margin-top: 14px;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
  color: var(--gray-600);
}
.emergency-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.emergency-trust svg { width: 14px; height: 14px; color: var(--green); flex-shrink: 0; }

/* Mobile sticky bottom emergency bar */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: #fff;
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
}
.mobile-sticky-cta-inner {
  display: flex;
  gap: 8px;
  max-width: 600px;
  margin: 0 auto;
}
.mobile-sticky-cta a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}
.mobile-sticky-cta .sticky-en { background: var(--emergency); color: #fff; }
.mobile-sticky-cta .sticky-es { background: var(--navy); color: #fff; }
.mobile-sticky-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Estimate button - large CTA used on contact + bottom of CTAs */
.btn-estimate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  padding: 18px 36px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 2px 8px rgba(255,107,26,0.3);
  transition: all 0.15s ease;
}
.btn-estimate:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255,107,26,0.45);
}
.btn-estimate svg { width: 20px; height: 20px; }

/* Mobile responsive overrides for emergency CTAs */
@media (max-width: 720px) {
  .mobile-sticky-cta { display: block; }
  body { padding-bottom: 76px; }
  .btn-emergency { min-width: 100%; max-width: 100%; padding: 14px 20px; font-size: 15px; }
  .emergency-bar-content { flex-direction: column; }
  .emergency-trust { gap: 8px 14px; }
  .btn-estimate { width: 100%; padding: 16px 24px; font-size: 16px; }
}
