/* ===== ALL PRO HEATING & AIR — Design System ===== */
:root {
  --primary: #0E7C7B;
  --primary-dark: #095E5D;
  --primary-light: #B2DFDB;
  --accent: #E85D24;
  --accent-hover: #D14E1A;
  --accent-light: #FFF3ED;
  --dark: #1A2B3C;
  --text: #2D3748;
  --text-light: #718096;
  --bg: #F7FAFA;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(14,124,123,0.08);
  --shadow-md: 0 4px 14px rgba(14,124,123,0.10);
  --shadow-lg: 0 10px 40px rgba(14,124,123,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4 { color: var(--dark); line-height: 1.25; }
h1 { font-size: clamp(2rem,5vw,3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ===== Top Bar ===== */
.top-bar {
  background: var(--dark); color: var(--white); font-size: 0.88rem;
  padding: 0.5rem 1.5rem; display: flex; justify-content: center;
  align-items: center; gap: 2rem; flex-wrap: wrap;
}
.top-bar a { color: var(--white); font-weight: 500; }
.top-bar a:hover { color: var(--accent); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: var(--white);
  box-shadow: var(--shadow-sm); padding: 0.8rem 1.5rem;
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.site-header .logo-link { display: flex; align-items: center; }
.site-header .logo-img { height: 50px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--dark); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.3px; padding: 0.4rem 0; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0;
  height: 2px; background: var(--accent); transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--accent); color: var(--white) !important;
  padding: 0.6rem 1.4rem; border-radius: 30px; font-weight: 700; font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); color: var(--white) !important; }
.nav-cta::after { display: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--dark); margin: 5px 0; border-radius: 2px; transition: var(--transition); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white); padding: 5rem 1.5rem; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px; background: rgba(255,255,255,0.04); border-radius: 50%;
}
.hero .container { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.hero-content { flex: 1 1 400px; min-width: 300px; }
.hero-content h1 { color: var(--white); margin-bottom: 1rem; }
.hero-content p { font-size: 1.2rem; color: rgba(255,255,255,0.9); margin-bottom: 2rem; max-width: 540px; }
.hero-badges { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.hero-badge {
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 30px; padding: 0.4rem 1rem; font-size: 0.88rem; font-weight: 600; color: var(--white);
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image-wrap { flex: 1 1 300px; display: flex; justify-content: center; }
.hero-image-wrap img { max-width: 400px; border-radius: var(--radius-lg); box-shadow: 0 20px 50px rgba(0,0,0,0.2); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 30px; font-weight: 700;
  font-size: 1rem; text-decoration: none; cursor: pointer; border: none;
  transition: all var(--transition);
}
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 4px 14px rgba(232,93,36,0.3); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,93,36,0.4); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.7); }
.btn-outline:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: var(--white); }

/* ===== Section ===== */
.section { padding: 5rem 1.5rem; }
.section-light { background: var(--white); }
.section-gray { background: var(--gray-50); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { color: var(--text-light); font-size: 1.1rem; margin-top: 0.75rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== Service Cards ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card .icon {
  width: 56px; height: 56px; background: var(--accent-light);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem;
}
.service-card .icon svg { width: 28px; height: 28px; color: var(--accent); }
.service-card h3 { margin-bottom: 0.8rem; color: var(--dark); }
.service-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.6; }
.service-card ul { list-style: none; padding: 0; margin: 0; }
.service-card ul li { padding: 0.4rem 0; padding-left: 1.4rem; position: relative; color: var(--text); font-size: 0.95rem; }
.service-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ===== Trust Bar ===== */
.trust-bar { background: var(--white); padding: 3rem 1.5rem; border-bottom: 1px solid var(--gray-200); }
.trust-bar .container { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; }
.trust-item { text-align: center; }
.trust-item .number { font-size: 2.2rem; font-weight: 800; color: var(--primary); }
.trust-item .label { font-size: 0.9rem; color: var(--text-light); margin-top: 0.2rem; }

/* ===== Features Grid ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.feature-item { text-align: center; padding: 2rem 1.5rem; }
.feature-item .icon-circle {
  width: 72px; height: 72px; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem;
}
.feature-item .icon-circle svg { width: 32px; height: 32px; color: var(--white); }
.feature-item h3 { margin-bottom: 0.6rem; }
.feature-item p { color: var(--text-light); font-size: 0.95rem; }

/* ===== About ===== */
.about-content { display: flex; gap: 3rem; align-items: center; flex-wrap: wrap; }
.about-text { flex: 2 1 400px; }
.about-text p { margin-bottom: 1.2rem; font-size: 1.05rem; line-height: 1.7; }
.about-image { flex: 1 1 280px; display: flex; justify-content: center; }
.about-image img { max-width: 300px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.credentials-list { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.credential { background: var(--primary-light); color: var(--primary-dark); padding: 0.5rem 1.2rem; border-radius: 30px; font-size: 0.88rem; font-weight: 600; }

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.faq-item { background: var(--white); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--gray-200); }
.faq-item h4 { color: var(--primary); margin-bottom: 0.6rem; }
.faq-item p { color: var(--text-light); font-size: 0.95rem; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info-card { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }
.contact-info-card h3 { margin-bottom: 1.5rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-detail .detail-icon {
  width: 40px; height: 40px; background: var(--accent-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-detail .detail-icon svg { width: 20px; height: 20px; color: var(--accent); }
.contact-detail .detail-text strong { display: block; color: var(--dark); margin-bottom: 0.2rem; }
.contact-detail .detail-text span, .contact-detail .detail-text a { color: var(--text-light); font-size: 0.95rem; }
.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); height: 100%; min-height: 350px; }
.map-container iframe { width: 100%; height: 100%; min-height: 350px; border: none; }

/* ===== Contact Form ===== */
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }
.contact-form h3 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--dark); margin-bottom: 0.4rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--gray-200);
  border-radius: 8px; font-size: 1rem; font-family: inherit; color: var(--text);
  background: var(--gray-50); transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ===== CTA Banner ===== */
.cta-banner { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); padding: 4rem 1.5rem; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary { font-size: 1.1rem; padding: 1rem 2.5rem; }

/* ===== Footer ===== */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 3rem 1.5rem 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
.footer-brand .logo-img { height: 42px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.footer-col h4 { color: var(--white); margin-bottom: 1rem; font-size: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1rem; }
.footer-social a {
  width: 36px; height: 36px; background: rgba(255,255,255,0.1);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--accent); }
.footer-social a svg { width: 18px; height: 18px; color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ===== Brands Bar ===== */
.brands-bar { display: flex; justify-content: center; align-items: center; gap: 2rem; flex-wrap: wrap; padding: 1.5rem; background: var(--gray-100); border-radius: var(--radius); margin-top: 2rem; }
.brands-bar span { font-weight: 700; color: var(--dark); }

/* ===== Hours Card ===== */
.hours-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }
.hours-card h3 { margin-bottom: 1rem; }
.hours-list { list-style: none; }
.hours-list li { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid var(--gray-100); font-size: 0.95rem; }
.hours-list li:last-child { border: none; }
.hours-list .day { font-weight: 600; color: var(--dark); }
.hours-list .time { color: var(--text-light); }
.emergency-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--accent-light); color: var(--accent); padding: 0.6rem 1.2rem; border-radius: 30px; font-weight: 700; font-size: 0.9rem; margin-top: 1rem; }

/* ===== Service Detail Lists ===== */
.service-detail-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.service-detail-list li { padding: 0.5rem 0; padding-left: 1.6rem; position: relative; font-size: 0.98rem; color: var(--text); }
.service-detail-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero .container { flex-direction: column; text-align: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-image-wrap img { max-width: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-content { flex-direction: column; text-align: center; }
  .about-image { order: -1; }
}
@media (max-width: 650px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.active {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); padding: 1rem; box-shadow: var(--shadow-md); gap: 0.5rem;
  }
  .nav-links.active a { padding: 0.8rem 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar .container { gap: 1.5rem; }
  .section { padding: 3rem 1rem; }
  .service-detail-list { grid-template-columns: 1fr; }
}
