/* ═══════════════════════════════════════════
   PFIESTER HEATING & AIR — Design System
   Navy + Gold | Mobile-First | Conversion-Optimized
   ═══════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color:#1a1a2e; line-height:1.6; -webkit-font-smoothing:antialiased; }

/* ── VARIABLES ── */
:root {
  --navy: #0f1d36;
  --navy-light: #1a3a5c;
  --gold: #ffd700;
  --gold-dark: #e6c200;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f0f0f0;
  --gray-200: #e0e0e0;
  --gray-500: #888;
  --gray-700: #555;
  --red: #c0392b;
  --green: #27ae60;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 8px;
  --max-width: 1100px;
  --transition: 0.2s ease;
}

/* ── UTILITY ── */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.container { max-width:var(--max-width); margin:0 auto; padding:0 20px; }
.text-center { text-align:center; }
.text-gold { color:var(--gold); }
.bg-navy { background:var(--navy); color:var(--white); }
.bg-light { background:var(--gray-50); }
.section { padding:60px 0; }
.section-sm { padding:36px 0; }
.section-title { font-size:clamp(24px,4vw,32px); font-weight:800; color:var(--navy); margin-bottom:8px; }
.section-subtitle { font-size:16px; color:var(--gray-500); max-width:600px; margin:0 auto 32px; }

/* ── TOP BAR ── */
.emergency-bar { background:var(--navy); color:var(--white); text-align:center; padding:8px 16px; font-size:13px; font-weight:500; letter-spacing:0.5px; }
.emergency-bar a { color:var(--gold); text-decoration:none; font-weight:700; }
.emergency-bar a:hover { text-decoration:underline; }

/* ── HEADER ── */
.site-header { background:var(--white); border-bottom:1px solid var(--gray-200); position:sticky; top:0; z-index:100; }
.header-inner { display:flex; align-items:center; justify-content:space-between; padding:12px 0; max-width:var(--max-width); margin:0 auto; padding-left:20px; padding-right:20px; }
.header-logo img { height:60px; width:auto; }
.header-phone { display:flex; align-items:center; gap:8px; font-size:22px; font-weight:800; color:var(--navy); text-decoration:none; white-space:nowrap; }
.header-phone:hover { color:var(--navy-light); }
.header-phone .icon { font-size:20px; }

/* ── NAV ── */
.site-nav { border-top:1px solid var(--gray-100); }
.nav-inner { max-width:var(--max-width); margin:0 auto; padding:0 20px; display:flex; gap:4px; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.nav-inner a { display:block; padding:12px 16px; font-size:14px; font-weight:600; color:var(--navy); text-decoration:none; border-bottom:3px solid transparent; white-space:nowrap; transition:border-color var(--transition),color var(--transition); }
.nav-inner a:hover, .nav-inner a.active { color:var(--navy); border-bottom-color:var(--gold); }

/* ── MOBILE NAV TOGGLE ── */
.nav-toggle { display:none; background:none; border:none; font-size:26px; cursor:pointer; color:var(--navy); padding:4px; }

/* ── HERO ── */
.hero { background:linear-gradient(135deg, var(--navy) 0%, #1a3a5c 50%, #1e5a8a 100%); color:var(--white); padding:70px 20px; text-align:center; position:relative; overflow:hidden; }
.hero::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse at 30% 80%, rgba(255,215,0,0.06) 0%, transparent 60%); pointer-events:none; }
.hero-content { position:relative; z-index:1; max-width:750px; margin:0 auto; }
.hero-badge { display:inline-block; background:var(--gold); color:var(--navy); padding:5px 14px; border-radius:20px; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:1px; margin-bottom:16px; }
.hero h1 { font-size:clamp(28px,5vw,44px); font-weight:800; line-height:1.15; margin-bottom:14px; }
.hero h1 span { color:var(--gold); }
.hero p { font-size:clamp(16px,2.5vw,18px); opacity:0.9; margin-bottom:24px; max-width:600px; margin-left:auto; margin-right:auto; }
.hero .btn-cta { display:inline-block; background:var(--gold); color:var(--navy); padding:14px 32px; border-radius:var(--radius); font-size:18px; font-weight:700; text-decoration:none; transition:transform var(--transition),box-shadow var(--transition); }
.hero .btn-cta:hover { transform:scale(1.04); box-shadow:0 4px 20px rgba(255,215,0,0.35); }
.hero-sub { display:block; font-size:13px; opacity:0.65; margin-top:8px; }

/* ── BUTTONS ── */
.btn { display:inline-block; padding:12px 28px; border-radius:var(--radius); font-weight:700; text-decoration:none; cursor:pointer; transition:transform var(--transition),box-shadow var(--transition); font-size:15px; border:none; }
.btn:hover { transform:scale(1.03); }
.btn-gold { background:var(--gold); color:var(--navy); }
.btn-gold:hover { box-shadow:0 4px 16px rgba(255,215,0,0.35); }
.btn-navy { background:var(--navy); color:var(--white); }
.btn-navy:hover { box-shadow:0 4px 16px rgba(15,29,54,0.3); }
.btn-outline { border:2px solid var(--navy); color:var(--navy); background:transparent; }
.btn-outline:hover { background:var(--navy); color:var(--white); }
.btn-lg { padding:16px 36px; font-size:18px; }

/* ── SERVICE CARDS ── */
.services-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(240px,1fr)); gap:20px; }
.service-card { background:var(--white); border:1px solid var(--gray-200); border-radius:var(--radius); padding:28px 24px; text-align:center; transition:transform var(--transition),box-shadow var(--transition); text-decoration:none; color:inherit; display:block; }
.service-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.service-card .icon { font-size:40px; margin-bottom:12px; }
.service-card h3 { font-size:17px; color:var(--navy); margin-bottom:6px; }
.service-card p { font-size:14px; color:var(--gray-500); line-height:1.5; }

/* ── TRUST BADGES ── */
.trust-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(200px,1fr)); gap:16px; }
.trust-card { background:var(--white); padding:24px 20px; border-radius:var(--radius); text-align:center; border:1px solid var(--gray-200); }
.trust-card .icon { font-size:32px; margin-bottom:8px; }
.trust-card h4 { font-size:15px; color:var(--navy); margin-bottom:4px; }
.trust-card p { font-size:13px; color:var(--gray-500); }

/* ── REVIEWS ── */
.reviews-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); gap:20px; }
.review-card { background:var(--white); border:1px solid var(--gray-200); border-radius:var(--radius); padding:24px; }
.review-stars { color:var(--gold); font-size:16px; margin-bottom:8px; }
.review-text { font-size:14px; color:var(--gray-700); margin-bottom:12px; font-style:italic; line-height:1.5; }
.review-author { font-size:13px; font-weight:700; color:var(--navy); }
.review-date { font-size:12px; color:var(--gray-500); }

/* ── PHONE CTA STRIP ── */
.phone-strip { background:var(--navy); color:var(--white); text-align:center; padding:28px 20px; }
.phone-strip h2 { font-size:24px; margin-bottom:8px; }
.phone-strip a { display:inline-block; background:var(--gold); color:var(--navy); padding:14px 32px; border-radius:var(--radius); font-size:20px; font-weight:800; text-decoration:none; margin-top:8px; transition:transform var(--transition); }
.phone-strip a:hover { transform:scale(1.04); }
.phone-strip .sub { font-size:13px; opacity:0.65; margin-top:6px; }

/* ── CHECKLIST (service detail pages) ── */
.checklist { list-style:none; padding:0; display:grid; grid-template-columns:repeat(auto-fit, minmax(300px,1fr)); gap:8px; }
.checklist li { padding:12px 16px 12px 44px; position:relative; font-size:15px; border-bottom:1px solid var(--gray-100); }
.checklist li::before { content:'✓'; position:absolute; left:12px; top:10px; width:24px; height:24px; background:var(--navy); color:var(--gold); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; flex-shrink:0; }

/* ── SERVICE AREA ── */
.area-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(140px,1fr)); gap:4px; }
.area-grid span { padding:8px 12px; font-size:14px; color:var(--gray-700); background:var(--gray-50); border-radius:4px; text-align:center; }

/* ── CONTACT FORM ── */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
.contact-form { display:flex; flex-direction:column; gap:16px; }
.contact-form input, .contact-form select, .contact-form textarea { width:100%; padding:12px 16px; border:1px solid var(--gray-200); border-radius:var(--radius); font-size:15px; font-family:inherit; transition:border-color var(--transition); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline:none; border-color:var(--navy); box-shadow:0 0 0 3px rgba(15,29,54,0.1); }
.contact-form textarea { resize:vertical; min-height:120px; }
.contact-form button { width:100%; }
.contact-info { display:flex; flex-direction:column; gap:20px; }
.contact-info-item { display:flex; align-items:flex-start; gap:12px; }
.contact-info-item .icon { font-size:24px; min-width:32px; text-align:center; }
.contact-info-item h4 { font-size:15px; color:var(--navy); margin-bottom:2px; }
.contact-info-item p, .contact-info-item a { font-size:14px; color:var(--gray-700); text-decoration:none; }

/* ── FINANCING ── */
.financing-banner { background:var(--white); border:2px solid var(--gold); border-radius:var(--radius); padding:24px; text-align:center; max-width:500px; margin:0 auto; }
.financing-banner img { max-width:100%; height:auto; }

/* ── FAQ ── */
.faq-item { border-bottom:1px solid var(--gray-200); padding:16px 0; }
.faq-item summary { font-weight:700; color:var(--navy); cursor:pointer; font-size:16px; list-style:none; display:flex; justify-content:space-between; align-items:center; }
.faq-item summary::after { content:'+'; font-size:20px; color:var(--gold); transition:transform var(--transition); }
.faq-item[open] summary::after { content:'−'; transform:rotate(180deg); }
.faq-item p { padding-top:10px; font-size:14px; color:var(--gray-700); }

/* ── PAGE HERO (inner pages) ── */
.page-hero { background:linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%); color:var(--white); padding:48px 20px; text-align:center; }
.page-hero h1 { font-size:clamp(26px,4vw,36px); font-weight:800; margin-bottom:8px; }
.page-hero h1 span { color:var(--gold); }
.page-hero p { font-size:16px; opacity:0.85; max-width:500px; margin:0 auto; }

/* ── FOOTER ── */
.site-footer { background:var(--navy); color:rgba(255,255,255,0.75); padding:48px 20px 24px; }
.footer-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(200px,1fr)); gap:32px; max-width:var(--max-width); margin:0 auto 32px; }
.footer-col h4 { color:var(--white); font-size:15px; margin-bottom:12px; }
.footer-col a { display:block; color:rgba(255,255,255,0.65); text-decoration:none; font-size:14px; padding:3px 0; transition:color var(--transition); }
.footer-col a:hover { color:var(--gold); }
.footer-col p { font-size:13px; line-height:1.6; }
.footer-bottom { max-width:var(--max-width); margin:0 auto; border-top:1px solid rgba(255,255,255,0.1); padding-top:20px; text-align:center; font-size:12px; }

/* ── SCHEMA HIDDEN ── */
.schema-hidden { display:none; }

/* ── RESPONSIVE ── */
@media (max-width:768px) {
  .header-logo img { height:44px; }
  .header-phone { font-size:18px; }
  .nav-inner { gap:0; }
  .nav-inner a { padding:10px 12px; font-size:13px; }
  .hero { padding:48px 16px; }
  .section { padding:40px 0; }
  .contact-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}

@media (max-width:480px) {
  .header-phone { font-size:16px; }
  .services-grid { grid-template-columns:1fr; }
  .trust-grid { grid-template-columns:1fr 1fr; }
  .checklist { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(20px); }
  to { opacity:1; transform:translateY(0); }
}
.animate-in { animation:fadeInUp 0.5s ease forwards; }
