:root {
	--primary-color: #f90402;
	--secondary-color: #977e41;
	--primary-hover: #C70302;
	--primary60: #f90402;
	--primary70: #C70302;
	--secondary60: #977e41;
	--primary-h: 0;
	--primary-s: 98%;
	--primary-l: 49%;
	--secondary-h: 43;
	--secondary-s: 40%;
	--secondary-l: 42%;
}

/* ANC Heating & Air Conditioning — Careers Page
   Accent: #f90402 (ANC red) | Accent dark: #c50302 | Accent soft: #feeae9 | Dark: #977e41 (navy) */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #2b2820;
  background: #ffffff;
  line-height: 1.6;
  font-size: 17px;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Safety net for ATS-injected alignment overrides */
.hero .container,
section .container {
  text-align: center;
}

/* ===== Topbar ===== */

.topbar {
  background: #ffffff;
  border-bottom: 1px solid #e9e5dc;
  padding: 16px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  text-align: left;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: #f90402;
  letter-spacing: 0.5px;
}

.logo span {
  color: #2b2820;
  font-weight: 700;
  font-size: 16px;
  margin-left: 6px;
}

.topbar-links a {
  color: #2b2820;
  text-decoration: none;
  font-weight: 600;
  margin-left: 22px;
  font-size: 15px;
}

.topbar-links a:hover {
  color: #f90402;
}

.topbar-links .phone-link {
  color: #c50302;
}

/* ===== Hero ===== */

.hero {
  padding: 88px 0 96px;
  background: #ffffff;
}

.badge {
  display: inline-block;
  background: #feeae9;
  color: #c50302;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.location-label {
  display: block;
  text-align: center !important;
  margin: 0 auto 14px auto !important;
  color: #6b6455;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 {
  display: block;
  text-align: center !important;
  margin: 0 auto 20px auto !important;
  max-width: 760px;
  font-size: 52px;
  line-height: 1.12;
  font-weight: 800;
  color: #977e41;
}

.hero h1 .accent {
  color: #f90402;
}

.hero-subhead {
  display: block;
  text-align: center !important;
  margin: 0 auto 34px auto !important;
  max-width: 620px;
  font-size: 19px;
  color: #3a362d;
}

/* ===== Buttons ===== */

.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  background: #f90402;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  padding: 15px 38px;
  border-radius: 8px;
  letter-spacing: 0.3px;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #c50302;
  color: #ffffff !important;
}

.btn:active {
  background: #a80202;
  color: #ffffff !important;
}

/* ===== Sections ===== */

section {
  padding: 80px 0;
}

.section-alt {
  background: #f8f6f1;
}

.section-label {
  display: block;
  text-align: center !important;
  margin: 0 auto 10px auto !important;
  color: #c50302;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title {
  display: block;
  text-align: center !important;
  margin: 0 auto 18px auto !important;
  max-width: 700px;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
  color: #977e41;
}

.section-subtitle {
  display: block;
  text-align: center !important;
  margin: 0 auto 48px auto !important;
  max-width: 720px;
  font-size: 17px;
  color: #3a362d;
}

/* ===== Values grid (2x2) ===== */

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  text-align: left;
}

.value-item {
  background: #ffffff;
  border: 1px solid #e9e5dc;
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.value-item:hover {
  border-color: #f90402;
  box-shadow: 0 6px 18px rgba(34, 30, 21, 0.10);
}

.value-item h3 {
  font-size: 19px;
  font-weight: 800;
  color: #977e41;
  margin-bottom: 10px;
}

.value-item p {
  font-size: 15.5px;
  color: #3a362d;
}

/* ===== Perks (numbered) ===== */

.perks {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: left;
}

.perk {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid #e9e5dc;
}

.perk:last-child {
  border-bottom: none;
}

.perk-number {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #feeae9;
  color: #f90402;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.perk-content h3 {
  font-size: 20px;
  font-weight: 800;
  color: #977e41;
  margin-bottom: 6px;
}

.perk-content p {
  font-size: 16px;
  color: #3a362d;
}

/* ===== CTA ===== */

.cta {
  background: #221e15;
  padding: 84px 0;
}

.cta h2 {
  display: block;
  text-align: center !important;
  margin: 0 auto 14px auto !important;
  max-width: 700px;
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
}

.cta p {
  display: block;
  text-align: center !important;
  margin: 0 auto 32px auto !important;
  max-width: 560px;
  font-size: 18px;
  color: #d8d2c4;
}

/* ===== Footer ===== */

footer {
  background: #181510;
  padding: 44px 0;
  text-align: center;
}

footer p {
  color: #a89f8d;
  font-size: 14.5px;
  margin-bottom: 6px;
}

.footer-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
}

footer a {
  color: #a89f8d;
  text-decoration: none;
}

footer a:hover {
  color: #f90402;
}

.footer-tagline {
  margin-top: 8px;
  font-style: italic;
}

/* ===== Responsive ===== */

@media (max-width: 720px) {
  .hero h1 {
    font-size: 36px;
  }

  .section-title {
    font-size: 28px;
  }

  .cta h2 {
    font-size: 30px;
  }

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

  section {
    padding: 60px 0;
  }

  .hero {
    padding: 64px 0 72px;
  }
}
