/* =============================================
   AIR HEAT NORTH TEXAS — styles.css
   Design: Industrial utility meets clean modern
   Palette: Deep navy, fiery amber, clean white
   Fonts: Barlow Condensed (headings) + Lato (body)
   ============================================= */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0d1b2a;
  --navy-mid:  #1a2e45;
  --navy-light:#243b55;
  --amber:     #f5a623;
  --amber-dark:#d4851a;
  --amber-glow:#ffbe4d;
  --white:     #ffffff;
  --off-white: #f5f3ef;
  --gray-100:  #f0ede8;
  --gray-200:  #ddd9d1;
  --gray-400:  #9b9590;
  --gray-600:  #5c5650;
  --text:      #1c1916;
  --text-light:#4a4540;
  --red:       #e03333;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Lato', sans-serif;

  --radius:   6px;
  --radius-lg:12px;
  --shadow:   0 2px 20px rgba(0,0,0,0.12);
  --shadow-lg:0 8px 40px rgba(0,0,0,0.18);
  --transition: 0.22s ease;

  --max-w: 1200px;
  --section-pad: 88px;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); font-weight: 700; }

.accent { color: var(--amber); }

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
  padding: 4px 12px;
  background: rgba(245,166,35,0.12);
  border-left: 3px solid var(--amber);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-header p {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}
.section-header.light h2,
.section-header.light p { color: var(--white); }
.section-header.light .section-label { background: rgba(245,166,35,0.2); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: 18px 36px; font-size: 1.15rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--amber);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--amber-glow);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245,166,35,0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.65);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-emergency {
  background: var(--white);
  color: var(--red);
  font-size: 1.1rem;
  padding: 16px 32px;
  flex-shrink: 0;
}
.btn-emergency:hover {
  background: var(--amber);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13,27,42,0.0);
  backdrop-filter: blur(0px);
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--amber);
}
.logo-sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--amber); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--amber);
  padding: 10px 18px;
  border: 2px solid var(--amber);
  border-radius: var(--radius);
  transition: all var(--transition);
  flex-shrink: 0;
}
.header-cta:hover {
  background: var(--amber);
  color: var(--navy);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,42,0.88) 0%,
    rgba(13,27,42,0.72) 50%,
    rgba(13,27,42,0.45) 100%
  );
}

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

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--amber);
}

.hero-headline {
  color: var(--white);
  max-width: 700px;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.trust-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.badge svg { color: var(--amber); flex-shrink: 0; }

/* ========== EMERGENCY BAND ========== */
.emergency-band {
  background: var(--red);
  padding: 36px 0;
}
.emergency-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.emerg-icon {
  color: var(--white);
  flex-shrink: 0;
  animation: pulse-icon 2s ease-in-out infinite;
}
@keyframes pulse-icon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

.emerg-text { flex: 1; min-width: 200px; }
.emerg-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}
.emerg-text p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }

/* ========== SERVICES ========== */
.services {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  height: 180px;
  overflow: hidden;
}
.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-icon img { transform: scale(1.05); }

.service-card h3 {
  padding: 20px 20px 8px;
  color: var(--navy);
  font-size: 1.2rem;
}
.service-card p {
  padding: 0 20px 24px;
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========== WHY US ========== */
.why-us {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}
.why-us-bg {
  position: absolute;
  inset: 0;
}
.why-us-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.why-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.96) 0%, rgba(13,27,42,0.88) 100%);
}

.why-inner { position: relative; z-index: 2; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: background var(--transition), border-color var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--amber);
}

.why-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3rem;
  color: var(--amber);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 12px;
}

.why-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.why-card p {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ========== REVIEWS ========== */
.reviews {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.overall-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--text-light);
}
.overall-rating .stars {
  font-size: 1.4rem;
  color: var(--amber);
  letter-spacing: 2px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border-left: 4px solid var(--amber);
  position: relative;
  transition: box-shadow var(--transition);
}
.review-card:hover { box-shadow: var(--shadow); }

.review-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--amber);
  opacity: 0.25;
  position: absolute;
  top: -8px;
  left: 16px;
  line-height: 1;
}

.review-stars {
  color: var(--amber);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 16px;
}

.reviewer {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}

/* ========== SERVICE AREA ========== */
.service-area {
  padding: var(--section-pad) 0;
  background: var(--navy);
}
.service-area-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.area-text .section-label { background: rgba(245,166,35,0.15); }
.area-text h2 { color: var(--white); margin-bottom: 16px; }
.area-text p { color: rgba(255,255,255,0.72); margin-bottom: 28px; line-height: 1.7; }

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.area-tags span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  transition: all var(--transition);
}
.area-tags span:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
}

.area-map-placeholder {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.area-map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--amber);
  color: var(--navy);
  padding: 12px 18px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.4;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.map-badge strong { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }

/* ========== ABOUT ========== */
.about {
  padding: var(--section-pad) 0;
  background: var(--gray-100);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(13,27,42,0.4), transparent);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text .section-label { margin-bottom: 16px; }
.about-text h2 { color: var(--navy); margin-bottom: 20px; }
.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.75;
  font-size: 1rem;
}
.about-text .btn { margin-top: 16px; }

/* ========== CONTACT ========== */
.contact {
  padding: var(--section-pad) 0;
  background: var(--navy-mid);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-label { background: rgba(245,166,35,0.15); }
.contact-info h2 { color: var(--white); margin-bottom: 14px; }
.contact-info > p { color: rgba(255,255,255,0.7); margin-bottom: 36px; line-height: 1.65; }

.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item svg {
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-item strong {
  display: block;
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.contact-item span, .contact-item a {
  color: rgba(255,255,255,0.82);
  font-size: 0.97rem;
  line-height: 1.5;
}
.contact-item a:hover { color: var(--amber); }

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amber);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 12px;
}
.form-note a { color: var(--amber-dark); font-weight: 700; }

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  background: #e8f5e9;
  border-radius: var(--radius);
  font-size: 0.93rem;
  color: #2e7d32;
  line-height: 1.5;
}
.form-success a { color: var(--amber-dark); font-weight: 700; }
.form-success.visible { display: block; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--navy);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 240px;
  margin-bottom: 20px;
}
.footer-phone {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--amber);
  letter-spacing: 0.04em;
}
.footer-phone:hover { color: var(--amber-glow); }

.footer-col strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  display: block;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--amber);
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col li {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.5;
}
.footer-col li a { color: rgba(255,255,255,0.6); }
.footer-col li a:hover { color: var(--amber); }

.footer-bottom {
  padding: 20px 24px;
  display: flex;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .service-area-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-img { aspect-ratio: 16/9; max-height: 360px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }

  .main-nav { display: none; flex-direction: column; gap: 0; }
  .main-nav.open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    z-index: 200;
    justify-content: center;
    align-items: center;
    gap: 32px;
  }
  .main-nav.open a {
    font-size: 1.8rem;
    color: var(--white);
  }

  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .trust-badges { gap: 16px; }
  .badge { font-size: 0.82rem; }

  .emergency-inner { flex-direction: column; text-align: center; }

  .why-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-content { padding: 100px 20px 60px; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
}

/* ========== SCROLL ANIMATIONS ========== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ========== STICKY CALL BAR (Mobile) ========== */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--amber);
  padding: 14px 24px;
  text-align: center;
}
.mobile-call-bar a {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 768px) {
  .mobile-call-bar { display: block; }
  body { padding-bottom: 60px; }
}
