:root {
	--primary-color: #0A6EFA;
	--primary-hover: #0858C8;
	--secondary-color: #436489;
	--primary60: #0A6EFA;
	--primary70: #0858C8;
	--secondary60: #436489;
	--primary-h: 215;
	--primary-s: 96%;
	--primary-l: 51%;
	--secondary-h: 212;
	--secondary-s: 34%;
	--secondary-l: 40%;
}

/* E.F. Winslow Home Services - Careers Page
   Palette: Navy #0d1834 (dark) / Red #ae902f (accent) / Deep Red #8a7124 (accent dark) / Soft Red #f6f0dc (accent soft)
   NOTE: No CSS custom properties. The Hire Dimensions ATS editor breaks them. All colors are literal hex. */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: #0d1834;
  background: #ffffff;
  line-height: 1.6;
  font-size: 17px;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: #0d1834;
  text-decoration: none;
}

/* TOP BAR */
.topbar {
  background: #ffffff;
  border-bottom: 1px solid #e6eaf0;
  padding: 18px 0;
}

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

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #0d1834;
}

.logo span {
  color: #ae902f;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topnav a {
  font-weight: 600;
  font-size: 15px;
  color: #0d1834;
}

.topnav a:hover {
  color: #ae902f;
}

.topnav .phone {
  color: #ae902f;
  font-weight: 700;
}

/* HERO */
.hero {
  padding: 88px 0 80px;
  background: #ffffff;
}

.hero .container,
section .container {
  text-align: center;
}

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

.hero-location {
  display: block;
  text-align: center !important;
  margin: 0 auto 18px !important;
  color: #5b6b80;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hero h1 {
  display: block;
  text-align: center !important;
  margin: 0 auto 22px !important;
  max-width: 760px;
  font-size: 54px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1px;
  color: #0d1834;
}

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

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

/* BUTTON */
.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  background: #ae902f;
  color: #0d1834 !important;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 38px;
  border-radius: 8px;
  border: 2px solid #ae902f;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:active {
  background: #c4a43a;
  border-color: #c4a43a;
  color: #0d1834 !important;
}

/* SECTIONS */
section {
  padding: 80px 0;
}

.section-alt {
  background: #f5f7fa;
}

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

.section-title {
  display: block;
  text-align: center !important;
  margin: 0 auto 22px !important;
  max-width: 700px;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #0d1834;
}

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

/* VALUES GRID (2x2) */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
}

.value-item {
  background: #ffffff;
  border: 1px solid #e6eaf0;
  border-top: 4px solid #e6eaf0;
  border-radius: 10px;
  padding: 30px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.value-item:hover {
  border-top-color: #ae902f;
  transform: translateY(-3px);
}

.value-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0d1834;
  margin-bottom: 10px;
}

.value-item p {
  font-size: 16px;
  color: #3d4c63;
}

/* PERKS (numbered list) */
.perks {
  max-width: 820px;
  margin: 40px auto 0;
  text-align: left;
}

.perk {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid #e6eaf0;
}

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

.perk-number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f6f0dc;
  color: #ae902f;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.perk-content h3 {
  font-size: 21px;
  font-weight: 700;
  color: #0d1834;
  margin-bottom: 8px;
}

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

/* CTA */
.cta {
  background: #0d1834;
  color: #ffffff;
  padding: 88px 0;
}

.cta h2 {
  display: block;
  text-align: center !important;
  margin: 0 auto 16px !important;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}

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

/* FOOTER */
footer {
  background: #080f22;
  color: #c9d3e0;
  padding: 44px 0;
  text-align: center;
  font-size: 15px;
}

footer .container {
  text-align: center;
}

footer p {
  margin-bottom: 6px;
}

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

footer a {
  color: #c9d3e0;
}

footer a:hover {
  color: #ae902f;
}

.footer-tagline {
  margin-top: 16px;
  font-size: 14px;
  color: #8a99ad;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0 56px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-subhead {
    font-size: 17px;
  }
  section {
    padding: 56px 0;
  }
  .section-title {
    font-size: 30px;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .perk {
    gap: 16px;
  }
  .cta h2 {
    font-size: 30px;
  }
  .topbar-inner {
    justify-content: center;
  }
}
