/* =====================================================
   Travis Crawford HVAC — Shared Styles
   Fonts: Exo 2 (headings) + Karla (body)
   Colors: Navy #1C3557 | Orange #F97316 | Light #F8F9FA
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600;700;800;900&family=Karla:wght@400;500;600&display=swap');

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

:root {
  --navy:   #1C3557;
  --navy-dark: #111e30;
  --orange: #F97316;
  --orange-dark: #ea650d;
  --light:  #F8F9FA;
  --mid:    #E5E7EB;
  --text:   #1F2937;
  --muted:  #6B7280;
  --white:  #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Karla', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3, h4, h5 {
  font-family: 'Exo 2', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }

img { max-width: 100%; height: auto; display: block; }

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  background: var(--orange);
  color: var(--white);
  padding: .5rem 1rem;
  font-weight: 700;
  z-index: 9999;
  border-radius: 0 0 4px 0;
}
.skip-link:focus { top: 0; }

/* ---- Top Bar ---- */
.top-bar {
  background: var(--navy-dark);
  color: var(--mid);
  font-size: .82rem;
  font-weight: 600;
  padding: .45rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.top-bar a { color: var(--orange); font-weight: 700; }
.top-bar a:hover { color: var(--white); }
.top-bar .emerg { display: flex; align-items: center; gap: .4rem; }
.top-bar .emerg::before { content: "🔴"; font-size: .7rem; }

/* ---- Navigation ---- */
header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,.10);
  border-bottom: 1px solid rgba(0,0,0,.07);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-wrap { display: flex; align-items: center; gap: .75rem; }
.logo-wrap img { height: 52px; width: auto; }
.logo-fallback {
  font-family: 'Exo 2', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: -.5px;
  line-height: 1.1;
}
.logo-fallback span { color: var(--orange); }

.nav-links { display: flex; align-items: center; gap: .15rem; list-style: none; }
.nav-links a {
  color: var(--navy);
  font-weight: 600;
  font-family: 'Exo 2', sans-serif;
  font-size: .92rem;
  letter-spacing: .3px;
  padding: .45rem .8rem;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); background: rgba(249,115,22,.18); }
.nav-links a.active { color: var(--orange); }

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: .5rem 1.2rem !important;
  border-radius: 6px !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--orange-dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: .35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(17,30,48,.92) 0%, rgba(28,53,87,.7) 60%, transparent 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(249,115,22,.15);
  border: 1px solid var(--orange);
  color: var(--orange);
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  animation: fadeUp .6s ease both;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: .75rem;
  animation: fadeUp .7s ease .1s both;
}
.hero h1 span { color: var(--orange); }
.hero p {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 2rem;
  animation: fadeUp .7s ease .2s both;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp .7s ease .3s both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--orange);
  color: var(--white);
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem 1.8rem;
  border-radius: 8px;
  transition: background .2s, transform .2s, box-shadow .2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,.4);
}
.btn-primary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--white);
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem 1.8rem;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.4);
  transition: border-color .2s, background .2s;
  cursor: pointer;
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
  color: var(--white);
}
.btn-outline:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--orange);
  padding: 1.1rem 1.5rem;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--white);
}
.stat-item .stat-num {
  font-family: 'Exo 2', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  line-height: 1;
}
.stat-item .stat-label {
  font-size: .82rem;
  font-weight: 600;
  opacity: .9;
  line-height: 1.2;
}
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.35); }

/* ---- Section Commons ---- */
.section {
  padding: 5rem 1.5rem;
}
.section-sm { padding: 3.5rem 1.5rem; }
.container { max-width: 1200px; margin: 0 auto; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header .eyebrow {
  display: inline-block;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .6rem;
}
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: .75rem; }
.section-header p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ---- Service Categories ---- */
.service-bg { background: var(--light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  border: 1px solid var(--mid);
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.1); }
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(249,115,22,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.6rem;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: .6rem;
}
.service-card p { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--orange);
  font-weight: 700;
  font-family: 'Exo 2', sans-serif;
  font-size: .88rem;
  margin-top: 1rem;
  transition: gap .2s;
}
.service-card .card-link:hover { gap: .6rem; }

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  border-radius: 12px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--orange);
  color: var(--white);
  font-family: 'Exo 2', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 6px 20px rgba(249,115,22,.35);
}
.about-badge .big { font-size: 2rem; display: block; }
.about-text .eyebrow {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .6rem;
  display: block;
}
.about-text h2 { margin-bottom: 1rem; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.about-text p { color: var(--muted); margin-bottom: 1rem; font-size: 1rem; }
.about-text blockquote {
  border-left: 4px solid var(--orange);
  padding: 1rem 1.25rem;
  background: var(--light);
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text);
  font-size: 1.05rem;
}
.cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.25rem;
}
.cert-badge {
  background: rgba(28,53,87,.07);
  color: var(--navy);
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .5px;
  padding: .35rem .9rem;
  border-radius: 50px;
  border: 1px solid rgba(28,53,87,.2);
}

/* ---- TC Protection Club ---- */
.protect-bg {
  background: var(--navy);
  color: var(--white);
}
.protect-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.protect-text h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.protect-text h2 span { color: var(--orange); }
.protect-text p { color: rgba(255,255,255,.75); margin-bottom: 1.5rem; font-size: 1.05rem; }
.protect-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.protect-features li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  color: rgba(255,255,255,.85);
  font-size: .92rem;
}
.protect-features li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.protect-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(249,115,22,.4);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
}
.protect-card .shield {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
}
.protect-card h3 { color: var(--white); font-size: 1.4rem; margin-bottom: .5rem; }
.protect-card p { color: rgba(255,255,255,.65); font-size: .92rem; margin-bottom: 1.5rem; }

/* ---- Service Areas ---- */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 2rem;
}
.area-chip {
  background: var(--white);
  border: 2px solid var(--mid);
  color: var(--navy);
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  padding: .5rem 1.2rem;
  border-radius: 50px;
  transition: border-color .2s, background .2s, color .2s;
}
.area-chip:hover {
  border-color: var(--orange);
  background: rgba(249,115,22,.06);
  color: var(--orange);
}

/* ---- Emergency CTA Banner ---- */
.cta-band {
  background: linear-gradient(135deg, var(--orange) 0%, #ef4444 100%);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 1.75rem; }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  color: var(--orange);
  font-family: 'Exo 2', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: .9rem 2rem;
  border-radius: 8px;
  transition: transform .2s, box-shadow .2s;
}
.btn-white:hover {
  color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.btn-white:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

/* ---- Footer ---- */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding: 4rem 1.5rem 2rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand img { height: 50px; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 {
  color: var(--white);
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: .9rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-col .contact-item {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .6rem;
  font-size: .9rem;
}
.footer-col .contact-item .ci-icon { color: var(--orange); font-size: .9rem; flex-shrink: 0; margin-top: .1rem; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: var(--orange); }
.social-links {
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
}
.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  transition: background .2s, color .2s;
}
.social-links a:hover { background: var(--orange); color: var(--white); }

/* ---- Page Hero (interior) ---- */
.page-hero {
  background: var(--navy);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.page-hero .eyebrow {
  display: inline-block;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .6rem;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .5rem; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }

/* ---- Contact Form ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info-block h3 { font-size: 1.3rem; margin-bottom: 1.25rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-bottom: 1.25rem;
}
.contact-detail .cd-icon {
  width: 42px;
  height: 42px;
  background: rgba(249,115,22,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail h4 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .2rem;
}
.contact-detail p, .contact-detail a {
  color: var(--text);
  font-weight: 600;
}
.contact-detail a:hover { color: var(--orange); }
.form-card {
  background: var(--light);
  border-radius: 12px;
  padding: 2rem;
}
.form-card h3 { font-size: 1.3rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .4rem;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--mid);
  border-radius: 8px;
  font-family: 'Karla', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.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(249,115,22,.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---- Services Page ---- */
.services-section { border-bottom: 1px solid var(--mid); }
.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.category-icon {
  width: 56px;
  height: 56px;
  background: rgba(249,115,22,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.category-header h2 { font-size: 1.7rem; }
.services-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
}
.service-item {
  background: var(--light);
  border-radius: 8px;
  padding: .85rem 1.1rem;
  border: 1px solid var(--mid);
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
  transition: border-color .2s, color .2s, background .2s;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.service-item::before { content: '→'; color: var(--orange); font-weight: 800; }
.service-item:hover { border-color: var(--orange); color: var(--navy); background: rgba(249,115,22,.04); }

/* ---- About Page ---- */
.team-section { text-align: center; }
.team-photo-wrap { max-width: 700px; margin: 0 auto 2.5rem; }
.team-photo-wrap img { border-radius: 12px; width: 100%; object-fit: cover; }

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .about-grid,
  .protect-inner,
  .contact-grid { grid-template-columns: 1fr; }
  .about-img-wrap .about-badge { right: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1rem;
    gap: .25rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: .7rem 1rem; font-size: 1rem; }
  .stats-inner { gap: .6rem .75rem; }
  .stat-divider { display: none; }
  .protect-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .services-list-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-inner { padding: 3.5rem 1rem 3rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .services-list-grid { grid-template-columns: 1fr; }
  .top-bar { flex-direction: column; text-align: center; }
}
