
:root {
  --navy: #0f2a44;
  --navy-light: #173a5c;
  --yellow: #f2b705;
  --yellow-dark: #d9a300;
  --text: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --bg: #f8fafc;
  --white: #ffffff;
  --shadow: 0 14px 35px rgba(15, 42, 68, 0.08);
  --radius: 18px;
  --container: 1180px;
}

/* RESET */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  text-decoration: none;
}

.container {
  width: min(92%, var(--container));
  margin: auto;
}

.section {
  padding: 84px 0;
}

.light-section {
  background: #ffffff;
}

.surface {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

/* SECTION HEADINGS */

.section-head {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-head h2,
.problem-box h2,
.contact-details h2,
.about-text h2,
.about-story-text h2,
.about-dark-content h2,
.about-cta h2,
.about-hero-copy h1,
.safety-content h2,
.service-detail-content h2,
.services-seo-box h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.section-head p,
.problem-box p,
.access-card p,
.card p,
.contact-details p,
.about-text p,
.image-card-content p,
.about-story-text p,
.about-dark-content p,
.about-cta p,
.about-hero-copy p,
.about-icon-card p,
.process-card p,
.safety-content p,
.service-detail-content p,
.services-seo-box p {
  color: var(--muted);
  font-size: 16px;
}

/* NAVBAR */

.navbar {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 124px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: auto;
  height: 104px;
  max-width: 300px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  transition: 0.25s ease;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff !important;
}

.nav-cta:hover {
  background: var(--navy-light);
}

/* SERVICES DROPDOWN */

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
}

.dropdown-toggle::after {
  content: "▾";
  font-size: 10px;
  margin-left: 5px;
  color: var(--yellow-dark);
}

.dropdown-menu {
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 205px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 42, 68, 0.12);
  padding: 8px;
  display: none;
  z-index: 999;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 26px;
  left: -18px;
  right: -18px;
  height: 22px;
}

.dropdown-menu a {
  display: block;
  margin: 0;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.25;
}

.dropdown-menu a:hover {
  background: #f8fafc;
  color: var(--navy);
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.active-link {
  color: var(--yellow-dark) !important;
}

/* HOMEPAGE HERO */

.hero {
  padding: 78px 0 68px;
}

.hero-card {
  background: linear-gradient(
    135deg,
    rgba(15, 42, 68, 0.98),
    rgba(18, 51, 80, 0.96)
  );
  color: white;
  text-align: center;
  border-radius: 28px;
  padding: 82px 44px;
  box-shadow: 0 28px 70px rgba(15, 42, 68, 0.22);
}

.hero-tag {
  display: inline-block;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 880px;
  margin: 0 auto 20px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.hero h2 {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
  font-weight: 400;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-card .hero-actions,
.about-cta .hero-actions {
  justify-content: center;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--yellow);
  color: #111827;
}

.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(217, 163, 0, 0.28);
}

.btn-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.38);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-light {
  background: #ffffff;
  color: var(--navy);
  border-color: var(--line);
}

.btn-light:hover {
  border-color: var(--yellow);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

/* HOMEPAGE ABOUT */

.about-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 34px;
  align-items: center;
  padding: 24px;
}

.about-text {
  padding: 24px 18px 24px 10px;
}

.about-text h2 {
  margin-bottom: 18px;
}

.about-text p {
  margin-bottom: 28px;
}

.about-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  filter: saturate(0.94) contrast(1.04);
}

/* STATS */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.stat strong {
  display: block;
  color: var(--navy);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

/* GRIDS */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* CARDS */

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: 0.28s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--yellow);
  box-shadow: 0 20px 40px rgba(15, 42, 68, 0.11);
}

.card span {
  display: inline-block;
  color: var(--yellow-dark);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

/* IMAGE SECTION */

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.image-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.28s ease;
}

.image-card:hover {
  transform: translateY(-6px);
  border-color: var(--yellow);
  box-shadow: 0 20px 40px rgba(15, 42, 68, 0.11);
}

.image-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(1.04);
}

.image-card-content {
  padding: 22px;
}

.image-card-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

/* PROBLEM / SOLUTION */

.problem-box {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 42px;
  align-items: center;
  padding: 52px;
}

.problem-box p {
  margin: 16px 0 26px;
}

.checklist {
  display: grid;
  gap: 14px;
}

.check {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: 14px;
  padding: 16px 18px;
  color: #1f2937;
  font-size: 15px;
  font-weight: 500;
}

.check strong {
  color: var(--navy);
}

/* QUOTE */

.quote-section {
  background: var(--navy);
  color: white;
  text-align: center;
}

.quote-section p {
  max-width: 900px;
  margin: auto;
  font-size: clamp(23px, 3vw, 36px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.03em;
}

/* ACCESS */

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.access-card {
  position: relative;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 38px;
  box-shadow: var(--shadow);
  transition: 0.28s ease;
}

.access-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--yellow);
}

.access-card:hover {
  transform: translateY(-5px);
  border-color: var(--yellow);
}

.access-card span {
  display: inline-block;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.access-card h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.access-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* CONTACT */

.contact-box {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: center;
  padding: 48px;
}

.contact-brand {
  border-right: 1px solid var(--line);
  padding-right: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-logo-img {
  width: 320px;
  height: auto;
  object-fit: contain;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  color: var(--navy);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  transition: 0.25s ease;
}

.social-links a:hover {
  border-color: var(--yellow);
  background: #fff8d7;
}

.contact-details p {
  margin-bottom: 8px;
}

.contact-details a {
  color: var(--navy);
  font-weight: 600;
}

/* FOOTER */

footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 22px 16px;
  font-size: 14px;
}

/* ABOUT PAGE */

.about-page-hero {
  padding: 72px 0 68px;
}

.about-hero-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 36px;
  padding: 32px;
}

.about-hero-copy {
  padding: 32px 10px 32px 22px;
}

.about-hero-copy h1 {
  color: var(--navy);
  font-size: clamp(38px, 5vw, 62px);
  max-width: 760px;
  margin-bottom: 20px;
}

.about-hero-copy p {
  max-width: 650px;
  font-size: 18px;
  color: var(--muted);
}

.about-hero-copy .hero-actions {
  justify-content: flex-start;
}

.about-hero-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  filter: saturate(0.94) contrast(1.04);
}

.about-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.about-icon-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 26px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: 0.28s ease;
}

.about-icon-card:hover {
  transform: translateY(-6px);
  border-color: var(--yellow);
}

.about-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 30px;
  font-weight: 700;
}

.about-icon-card h3 {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 8px;
}

.about-story-wrap,
.safety-wrap,
.service-detail-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 42px;
  align-items: center;
  padding: 52px;
}

.about-story-text {
  padding: 20px;
}

.about-story-text h2,
.safety-content h2,
.service-detail-content h2 {
  margin-bottom: 18px;
}

.about-story-text p,
.safety-content p,
.service-detail-content p {
  margin-bottom: 18px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.about-story-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  filter: saturate(0.94) contrast(1.04);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.impact-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.impact-card strong {
  display: block;
  color: var(--yellow-dark);
  font-size: 44px;
  line-height: 1;
  font-weight: 600;
  margin-bottom: 12px;
}

.impact-card span {
  color: var(--muted);
  font-size: 15px;
}

.about-dark-section {
  background: var(--navy);
  padding: 96px 0;
  color: white;
}

.about-dark-content {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.light-eyebrow {
  color: var(--yellow);
}

.about-dark-content h2 {
  color: #ffffff;
  margin-bottom: 22px;
  font-size: clamp(32px, 4vw, 48px);
}

.about-dark-content p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
  font-size: 17px;
}

.safety-list,
.service-detail-list {
  display: grid;
  gap: 14px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: 0.28s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: var(--yellow);
}

.process-card span {
  display: inline-block;
  color: var(--yellow-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.process-card h3 {
  color: var(--navy);
  font-size: 24px;
  margin-bottom: 10px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.support-grid div {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 16px 18px;
  text-align: center;
  color: var(--navy);
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(15, 42, 68, 0.05);
}

.about-cta {
  text-align: center;
  padding: 62px 44px;
}

.about-cta h2 {
  max-width: 840px;
  margin: 0 auto 16px;
}

.about-cta p {
  max-width: 760px;
  margin: 0 auto;
}

/* SERVICES PAGE */

.services-hero {
  padding: 72px 0 48px;
}

.services-hero-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 36px;
  padding: 32px;
}

.services-hero-copy {
  padding: 32px 10px 32px 22px;
}

.services-hero-copy h1 {
  color: var(--navy);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.035em;
  max-width: 760px;
  margin-bottom: 20px;
}

.services-hero-copy p {
  max-width: 650px;
  font-size: 18px;
  color: var(--muted);
}

.services-hero-copy .hero-actions {
  justify-content: flex-start;
}

.services-hero-visual img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  filter: saturate(0.95) contrast(1.03);
}

.services-main-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-main-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: 0.28s ease;
}

.service-main-card:hover {
  transform: translateY(-6px);
  border-color: var(--yellow);
  box-shadow: 0 20px 40px rgba(15, 42, 68, 0.11);
}

.service-main-card span {
  display: inline-block;
  color: var(--yellow-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.service-main-card h3 {
  color: var(--navy);
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.service-main-card p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 22px;
}

.service-main-card a {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 3px;
}

.minimal-service-detail {
  padding: 48px;
}

.services-seo-box {
  padding: 52px;
  text-align: center;
}

.services-seo-box h2 {
  max-width: 850px;
  margin: 0 auto 18px;
  color: var(--navy);
}

.services-seo-box p {
  max-width: 850px;
  margin: 0 auto 18px;
  color: var(--muted);
}

/* RESPONSIVE TABLET */

@media (max-width: 1050px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .image-grid,
  .about-wrap,
  .problem-box,
  .access-grid,
  .contact-box,
  .about-story-wrap,
  .about-hero-split,
  .safety-wrap,
  .services-hero-split,
  .service-detail-wrap {
    grid-template-columns: 1fr 1fr;
  }

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

  .about-icon-grid,
  .impact-grid,
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid,
  .services-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-brand {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 28px;
  }
}

/* RESPONSIVE MOBILE */

@media (max-width: 760px) {
  .section {
    padding: 68px 0;
  }

  .nav-wrap {
    min-height: auto;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
    text-align: center;
  }

  .brand {
    justify-content: center;
    width: 100%;
  }

  .brand img {
    height: 96px;
    max-width: 330px;
    margin: 0 auto;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 14px;
  }

  .nav-dropdown {
    width: 100%;
    justify-content: center;
    flex-direction: column;
    padding: 0;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 10px;
    display: none;
  }

  .nav-dropdown:hover .dropdown-menu {
    display: block;
  }

  .hero {
    padding: 46px 0 56px;
  }

  .hero-card {
    padding: 62px 24px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero h2 br {
    display: none;
  }

  .grid-4,
  .grid-3,
  .image-grid,
  .about-wrap,
  .problem-box,
  .access-grid,
  .contact-box,
  .about-story-wrap,
  .about-icon-grid,
  .impact-grid,
  .process-grid,
  .support-grid,
  .about-hero-split,
  .safety-wrap,
  .services-hero-split,
  .service-detail-wrap,
  .services-main-grid {
    grid-template-columns: 1fr;
  }

  .about-page-hero,
  .services-hero {
    padding: 46px 0 56px;
  }

  .about-hero-split,
  .services-hero-split {
    padding: 24px;
  }

  .about-hero-copy,
  .services-hero-copy {
    padding: 22px 4px;
    text-align: center;
  }

  .about-hero-copy h1,
  .services-hero-copy h1 {
    font-size: 38px;
  }

  .about-hero-copy .hero-actions,
  .services-hero-copy .hero-actions {
    justify-content: center;
  }

  .about-hero-visual img,
  .services-hero-visual img {
    height: 330px;
  }

  .about-image img {
    height: 300px;
  }

  .about-story-image img {
    height: 330px;
  }

  .image-card img {
    height: 230px;
  }

  .problem-box,
  .contact-box,
  .access-card,
  .about-cta,
  .safety-wrap,
  .service-detail-wrap,
  .services-seo-box,
  .minimal-service-detail {
    padding: 30px 24px;
  }

  .contact-brand {
    text-align: center;
    align-items: center;
    padding-right: 0;
  }

  .contact-logo-img {
    width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .social-links {
    justify-content: center;
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .access-actions,
  .about-actions {
    flex-direction: column;
  }
}

/* PAYROLL FEATURE SECTION */

.payroll-feature-band {
  background: var(--navy);
  color: #ffffff;
}

.payroll-dark-head h2 {
  color: #ffffff;
}

.payroll-dark-head p {
  color: rgba(255, 255, 255, 0.76);
}

.payroll-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.payroll-feature-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  padding: 32px 28px;
  transition: 0.28s ease;
}

.payroll-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 183, 5, 0.7);
  background: rgba(255, 255, 255, 0.09);
}

.payroll-feature-card span {
  display: inline-block;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.payroll-feature-card h3 {
  color: #ffffff;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.payroll-feature-card p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
}

@media (max-width: 1050px) {
  .payroll-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .payroll-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   UNIFIED INNER-PAGE TYPOGRAPHY

   Corrects excessive font size and weight.
   Keeps the original About-style visual tone.
   Homepage hero styling remains unchanged.
=========================================== */

/* Inner-page hero headings */

html body .about-hero-copy h1,
html body .services-hero .services-hero-copy h1 {
  font-size: clamp(34px, 3.3vw, 46px) !important;
  line-height: 1.14 !important;
  font-weight: 600 !important;
  letter-spacing: -0.025em !important;
}

/* Section headings */

html body .section-head h2,
html body .services-seo-box h2,
html body .industry-system-copy h2,
html body .industry-close-card h2,
html body .compliance-cert-copy h2,
html body .compliance-close-card h2,
html body .consulting-focus-panel h2,
html body .consulting-close-card h2,
html body .payroll-dark-head h2,
html body .training-copy h2 {
  font-size: clamp(30px, 3.5vw, 44px) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
}

/* Service and industry card headings */

html body .service-main-card h3,
html body .service-card h3,
html body .industry-card h3,
html body .industry-director-card h3,
html body .industry-system-card h3,
html body .payroll-feature-card h3,
html body .pillar-card h3,
html body .compliance-flow-card h3,
html body .cert-mini-card h3,
html body .minimal-insight-card h3,
html body .consulting-flow-card h3,
html body .staffing-flow-card h3 {
  font-size: clamp(20px, 2vw, 24px) !important;
  line-height: 1.22 !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
}

/* Paragraph typography */

html body .services-hero-copy p {
  font-size: 17px !important;
  line-height: 1.7 !important;
}

html body .section-head p {
  font-size: 16px !important;
  line-height: 1.7 !important;
}

/* Unified mobile font sizes */

@media (max-width: 760px) {
  html body .about-hero-copy h1,
  html body .services-hero .services-hero-copy h1 {
    font-size: 34px !important;
  }

  html body .section-head h2,
  html body .services-seo-box h2,
  html body .industry-system-copy h2,
  html body .industry-close-card h2,
  html body .compliance-cert-copy h2,
  html body .compliance-close-card h2,
  html body .consulting-focus-panel h2,
  html body .consulting-close-card h2,
  html body .payroll-dark-head h2,
  html body .training-copy h2 {
    font-size: 30px !important;
  }

  html body .services-hero-copy p,
  html body .section-head p {
    font-size: 16px !important;
  }
}
header img[src*="logo"],
.navbar-brand img,
.site-logo img,
.logo img {
  width: 180px !important;
  height: auto !important;
}