:root {
	--primary-color: #5a1b86;
	--secondary-color: #996db4;
	--primary-hover: #48166B;
	--primary60: #5a1b86;
	--primary70: #48166B;
	--secondary60: #996db4;
}

/* Brian & Sons Careers Page — Hire Dimensions ATS
   Accent: #7d3f98 (purple) | Accent dark: #5e2d77 | Accent soft: #f3ecf8 | Dark: #2e1a47
   No CSS custom properties — literal hex only (ATS editor mangles double hyphens). */

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

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

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

/* ============ TOP BAR ============ */

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

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

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

.logo span {
  color: #7d3f98;
}

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

.topnav a:hover {
  color: #7d3f98;
}

.topnav .phone-link {
  color: #5e2d77;
}

/* ============ HERO ============ */

.hero {
  padding: 78px 0 84px;
  background: #ffffff;
}

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

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

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

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

.hero h1 .accent {
  color: #7d3f98;
}

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

/* ============ BUTTON ============ */

.btn {
  display: inline-block;
  background: #7d3f98;
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  padding: 15px 40px;
  border-radius: 8px;
  letter-spacing: 0.4px;
}

.btn:link,
.btn:visited {
  color: #ffffff !important;
}

.btn:hover,
.btn:active {
  background: #5e2d77;
  color: #ffffff !important;
}

/* ============ SECTIONS ============ */

section {
  padding: 72px 0;
}

.section-alt {
  background: #f8f6fb;
}

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

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

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

/* ============ VALUES GRID (2x2) ============ */

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

.value-item {
  background: #ffffff;
  border: 1px solid #e9e2f1;
  border-radius: 10px;
  padding: 28px 26px;
}

.value-item:hover {
  border-color: #7d3f98;
}

.value-item h3 {
  font-size: 20px;
  font-weight: 800;
  color: #2e1a47;
  margin-bottom: 10px;
}

.value-item p {
  font-size: 16px;
  color: #4a3d5c;
}

/* ============ PERKS (numbered) ============ */

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

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

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

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

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

.perk-content p {
  font-size: 16px;
  color: #4a3d5c;
}

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

.cta {
  background: #2e1a47;
  padding: 80px 0;
}

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

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

/* ============ FOOTER ============ */

footer {
  background: #2e1a47;
  border-top: 1px solid #45306b;
  padding: 40px 0;
  text-align: center;
}

footer .container {
  text-align: center;
}

footer p {
  color: #cfc3de;
  font-size: 15px;
  margin-bottom: 6px;
}

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

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

footer a:hover {
  color: #7d3f98;
}

.tagline {
  margin-top: 12px;
  font-style: italic;
  font-size: 14px;
  color: #a08fbd;
}

/* ============ 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;
  }
  .hero {
    padding: 54px 0 60px;
  }
  section {
    padding: 54px 0;
  }
}
