/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
      --blue:       #6B8E23;
      --blue-dark:  #556F1C;
      --orange:     #D4A017;
      --orange-dk:  #B8860B;
      --white:      #ffffff;
      --light-bg:   #f4f8fc;
      --text:       #222222;
      --text-light: #555;
      --radius:     6px;
      --shadow:     0 4px 18px rgba(26,58,92,0.10);
      --transition: 0.25s ease;
    }

/* ============================================================
   UTILITIES
============================================================ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 72px 0; }
.section-pad-sm { padding: 48px 0; }
.text-center { text-align: center; }
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,73,29,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--blue);
  transform: translateY(-2px);
}
.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title--white { color: var(--white); }
.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 40px;
}
.stars { color: var(--orange); letter-spacing: 2px; }

/* ============================================================
   TOP BAR
============================================================ */
.top-bar {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 7px 0;
}
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar a { color: rgba(255,255,255,0.85); transition: color var(--transition); }
.top-bar a:hover { color: var(--orange); }
.top-bar__item { display: flex; align-items: center; gap: 6px; }
.top-bar__item i { color: var(--orange); }
.top-bar__right { display: flex; gap: 20px; }

/* ============================================================
   HEADER / NAV
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--blue);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo__main {
  font-family: 'Oswald', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.3px;
}
.logo__sub {
  font-size: 0.7rem;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: rgba(255,255,255,0.88);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.nav a:hover, .nav a.active {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.header__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.header__cta:hover { background: var(--orange-dk); transform: translateY(-1px); }
.header__cta i { font-size: 1rem; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================================
   PAGE HERO
============================================================ */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.10;
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  padding: 60px 0;
}
.page-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero h1 span { color: var(--orange); }
.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 640px;
}

/* ============================================================
   ARTICLE / CONTENT
============================================================ */
.article-section { background: var(--white); }
.article-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}
.article-body h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--blue);
  margin: 32px 0 14px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue);
  margin: 22px 0 10px;
}
.article-body p {
  color: var(--text-light);
  font-size: 0.97rem;
  margin-bottom: 16px;
  line-height: 1.78;
}
.article-body ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}
.article-body ul li {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 6px;
  line-height: 1.7;
}
.article-body ul li strong { color: var(--blue); }
.article-img {
  border-radius: 10px;
  overflow: hidden;
  margin: 24px 0;
}
.article-img img { width: 100%; height: 260px; object-fit: cover; }

/* Sidebar */
.sidebar { position: sticky; top: 100px; }
.sidebar-card {
  background: var(--light-bg);
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 24px;
  border-left: 4px solid var(--orange);
}
.sidebar-card h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}
.sidebar-card ul li {
  font-size: 0.88rem;
  color: var(--text-light);
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-card ul li:last-child { border-bottom: none; }
.sidebar-card ul li i { color: var(--orange); font-size: 0.8rem; }
.sidebar-cta {
  background: var(--blue);
  border-radius: 10px;
  padding: 28px;
  text-align: center;
  margin-bottom: 24px;
}
.sidebar-cta h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.sidebar-cta p { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.sidebar-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.sidebar-cta a:hover { background: var(--orange-dk); }

/* ============================================================
   TESTIMONIALS (mini)
============================================================ */
.testimonials-mini {
  background: var(--light-bg);
  padding: 48px 0;
}
.testimonials-mini__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testi-mini {
  background: var(--white);
  border-radius: 10px;
  padding: 24px 28px;
  box-shadow: var(--shadow);
}
.testi-mini .stars { margin-bottom: 8px; font-size: 0.9rem; }
.testi-mini blockquote {
  font-size: 0.92rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 12px;
}
.testi-mini blockquote::before { content: '\201C'; color: var(--orange); font-size: 1.2rem; }
.testi-mini__author {
  font-size: 0.82rem;
  color: var(--blue);
  font-weight: 600;
}
.testi-mini__author span { color: var(--text-light); font-weight: 400; }

/* ============================================================
   FAQ SECTION — ACCORDION STYLES
   Standalone stylesheet, uses the same CSS variables (--blue,
   --blue-dark, --orange, --orange-dk, --white, --light-bg,
   --text, --text-light, --radius, --shadow, --transition)
   already defined in :root on the main page.
============================================================ */

.faq-section {
  background: var(--light-bg);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}

.faq-item:hover {
  box-shadow: 0 8px 26px rgba(26,58,92,0.14);
}

.faq-item.active {
  border-color: var(--orange);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 20px 24px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue);
  transition: color var(--transition), background var(--transition);
}

.faq-question:hover {
  color: var(--orange-dk);
}

.faq-item.active .faq-question {
  color: var(--orange-dk);
  background: rgba(212,160,23,0.06);
}

.faq-question span {
  flex: 1;
}

.faq-icon {
  flex-shrink: 0;
  font-size: 0.9rem;
  color: var(--orange);
  transition: transform var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding var(--transition);
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  padding: 0 24px 22px;
}

.faq-answer p {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.75;
  margin: 0;
}

/* ============================================================
   HVAC FAQ ACCORDION STYLES
   Used on: HVAC Repair Phoenix AZ service page
   Link this file in <head> after ../style.css
============================================================ */

.hvac-faq-section { 
  margin-top: 32px; 
}

.hvac-faq-section .section-label { 
  margin-bottom: 10px; 
}

.hvac-faq-list { 
  margin-top: 20px; 
}

.hvac-faq-item {
  background: var(--white, #ffffff);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius, 6px);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow, 0 4px 18px rgba(26,58,92,0.10));
}

.hvac-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  background: var(--white, #ffffff);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue, #6B8E23);
}

.hvac-faq-question:hover {
  background: var(--light-bg, #f4f8fc);
}

.hvac-faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--light-bg, #f4f8fc);
  color: var(--orange, #D4A017);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.hvac-faq-item.active .hvac-faq-icon {
  background: var(--orange, #D4A017);
  color: var(--white, #ffffff);
  transform: rotate(45deg);
}

.hvac-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 22px;
}

.hvac-faq-item.active .hvac-faq-answer {
  max-height: 400px;
  padding: 0 22px 20px;
}

.hvac-faq-answer p {
  color: var(--text-light, #555);
  font-size: 0.93rem;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  .faq-question {
    padding: 16px 18px;
    font-size: 0.92rem;
  }
  .faq-answer {
    padding: 0 18px;
  }
  .faq-item.active .faq-answer {
    padding: 0 18px 18px;
  }
}


/* ============================================================
   EMERGENCY CTA
============================================================ */
.emergency-cta {
  background: linear-gradient(135deg, var(--orange) 0%, #c73a12 100%);
  padding: 64px 0;
}
.emergency-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.emergency-cta h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.emergency-cta p { color: rgba(255,255,255,0.85); font-size: 1rem; max-width: 580px; }
.emergency-cta__actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }
.btn-white {
  background: var(--white);
  color: var(--orange);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
}
.btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }
.btn-white-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
}
.btn-white-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: var(--blue-dark); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1.3fr 1.6fr;
  gap: 40px;
}
.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.footer-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-logo span { color: var(--orange); }
.footer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 10px 14px;
}
.footer-rating i { color: #4285F4; font-size: 1.1rem; }
.footer-rating .stars { font-size: 0.85rem; }
.footer-rating p { font-size: 0.78rem; color: rgba(255,255,255,0.6); line-height: 1.3; }
.footer-rating strong { color: var(--white); font-size: 0.85rem; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--orange); }
.footer-links a i { color: var(--orange); font-size: 0.75rem; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-contact-item i {
  color: var(--orange);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact-item span {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}
.footer-contact-item a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-contact-item a:hover { color: var(--orange); }
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition);
}
.social-links a:hover { background: var(--orange); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px;
  padding: 20px 0;
}
.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--orange); }

/* ============================================================
   MOBILE NAV OVERLAY
============================================================ */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--blue-dark);
  padding: 16px 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .article-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .testimonials-mini__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .top-bar__right { display: none; }
  .nav { display: none; }
  .nav-toggle { display: block; }
  .header__cta span { display: none; }
  .header__cta { padding: 10px 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .emergency-cta__inner { flex-direction: column; text-align: center; }
  .emergency-cta__actions { width: 100%; justify-content: center; }
  .page-hero { min-height: 280px; }
}
@media (max-width: 480px) {
  .page-hero__inner { padding: 40px 0; }
  .emergency-cta__actions .btn { width: 100%; text-align: center; }
}