/* HVAC in LA — base styles */
:root {
  --orange: #E85C2C;
  --orange-dark: #C84616;
  --orange-soft: #FCEFE6;
  --slate: #0B1220;
  --slate-2: #1E293B;
  --slate-3: #475569;
  --slate-4: #64748B;
  --line: #E7E2D8;
  --bone: #FAF7F2;
  --bone-2: #F2EDE2;
  --white: #FFFFFF;
  --green: #1F8A5B;
  --max: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--slate);
  background: var(--bone);
  font-weight: 400;
  text-wrap: pretty;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4, h5 { font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--slate); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; }
p { color: var(--slate-2); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange-dark);
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px; background: var(--orange);
}

/* Top utility bar */
.topbar {
  background: var(--slate);
  color: #E2E8F0;
  font-size: 0.85rem;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 10px; padding-bottom: 10px;
  flex-wrap: wrap;
}
.topbar a { color: #F1F5F9; }
.topbar strong { color: var(--white); font-weight: 700; }
.topbar .emergency { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.topbar-right { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar-right a:hover { color: var(--orange); text-decoration: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 52px; height: 52px; object-fit: contain;
  display: block;
}
.brand-mark {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--orange); color: var(--white);
  display: grid; place-items: center; font-weight: 800; font-size: 1.05rem;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 14px rgba(232,92,44,.28);
}
.brand-name { font-weight: 800; font-size: 1.05rem; line-height: 1.1; }
.brand-name span { display: block; font-weight: 500; font-size: 0.78rem; color: var(--slate-4); letter-spacing: 0.02em; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--slate-2); font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--orange-dark); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; font-weight: 700;
  font-size: 0.95rem; transition: transform .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--slate); border: 1.5px solid var(--slate); }
.btn-ghost:hover { background: var(--slate); color: var(--white); text-decoration: none; }
.btn-white { background: var(--white); color: var(--slate); }
.btn-white:hover { background: var(--bone-2); text-decoration: none; }
.btn svg { width: 18px; height: 18px; }

@media (max-width: 860px) {
  .nav { display: none; }
}
@media (max-width: 640px) {
  .topbar-right { display: none; }
}
@media (max-width: 500px) {
  /* Icon-only header CTA so logo + button fit on narrow phones */
  .site-header .btn-primary { font-size: 0; gap: 0; padding: 10px 12px; }
  .site-header .btn-primary svg { width: 20px; height: 20px; }
  .brand-name span { display: none; }
  .brand-logo { width: 40px; height: 40px; }
  .site-header .container { gap: 12px; }
}
