/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --color-primary:   #1B4332;
  --color-accent:    #6BAF3C;
  --color-white:     #FFFFFF;
  --color-text:      #333333;
  --color-text-light:#666666;
  --color-bg-light:  #F0F7EC;
  --color-border:    #E0E0E0;
  --font-heading:    'helvetica-w01-bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body:       'helvetica-w01-roman', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --container-width: 1200px;
  --header-height:   73px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html   { scroll-behavior: smooth; }
#hris, #timekeeping, #payroll, #salary-disbursement { scroll-margin-top: var(--header-height); }
body   { font-family: var(--font-body); color: var(--color-text); line-height: 1.6; }
img    { max-width: 100%; height: auto; display: block; }
a      { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section       { padding: 80px 0; }
.section--dark  { background: var(--color-primary); color: var(--color-white); }
.section--light { background: var(--color-bg-light); }
.section--gray  { background: #F8F8F8; }
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ============================================================
   PLACEHOLDER IMAGE
   ============================================================ */
.placeholder-img {
  background: #D1D5DB;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  font-size: 13px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 { font-size: 48px; font-weight: 400; font-family: var(--font-heading); line-height: 1.2; }
h2 { font-size: 36px; font-weight: 400; font-family: var(--font-heading); line-height: 1.3; }
h3 { font-size: 22px; font-weight: 400; font-family: var(--font-heading); }
h4 { font-size: 16px; font-weight: 400; font-family: var(--font-heading); }
p  { font-size: 16px; line-height: 1.7; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: background 0.2s;
}
.btn-primary:hover { background: #5a9e2f; color: var(--color-white); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--color-primary); color: var(--color-white); }

/* ============================================================
   SERVICE TAG (small uppercase label)
   ============================================================ */
.service-tag {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}

/* Breadcrumb pill — used on services sections */
.service-breadcrumb {
  display: inline-flex;
  align-items: center;
  background: rgb(232,244,237);
  border-radius: 15px;
  height: 30px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: rgb(22,92,79);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

/* Breadcrumb pill v2 — "Services | HRIS" style */
.svc-crumb-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgb(232,244,237);
  border-radius: 15px;
  height: 32px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: #115C51;
  margin-bottom: 20px;
}
.svc-crumb-pill__sep { width: 1px; height: 14px; background: #115C51; opacity: 0.35; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: box-shadow 0.2s, background 0.2s;
}
.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.97);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-height);
  gap: 0;
}

/* Reduce left space so logo is closer to the edge */
.site-header .container { padding-left: 8px; }

.site-logo { flex-shrink: 0; }
.site-logo img { height: 44px; width: auto; }

.primary-nav { flex: 1; display: flex; justify-content: center; }
.nav-links {
  display: flex;
  gap: 48px;
}
.nav-links li { position: relative; }
.nav-links li a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 400;
  font-family: var(--font-body);
  color: #8A8A8A;
  transition: color 0.2s;
  padding-bottom: 2px;
  white-space: nowrap;
}
.nav-links li a:hover {
  color: var(--color-accent);
}
.nav-links li.menu-item-has-children > a::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 2px;
}

/* Dropdown submenu (shown once child items exist under a menu item) */
.nav-links .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  padding: 14px 0 8px;
  margin-top: 0;
  z-index: 10;
}
.nav-links li:hover > .sub-menu { display: block; }
.nav-links .sub-menu li { width: 100%; }
.nav-links .sub-menu a {
  padding: 10px 20px;
  color: var(--color-text);
  font-size: 14px;
}
.nav-links .sub-menu a:hover { color: var(--color-accent); background: var(--color-bg-light); }

.ventaja-badge {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 28px;
  margin-right: 24px;
}
.ventaja-badge img { width: 87px; height: 42px; object-fit: contain; }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.btn-outline--sm,
.btn-primary--sm { padding: 8px 18px; font-size: 14px; border-radius: 8px; }
.btn-outline--sm { border: 1.5px solid var(--color-border); color: #448E4A; }
.btn-outline--sm:hover { background: var(--color-bg-light); color: #448E4A; }
.btn-primary--sm { background: #448E4A; }
.btn-primary--sm:hover { background: #367039; }
.header-login { display: inline-flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: transparent;
  border-top: 1px solid var(--color-border);
  padding-top: 60px;
}
/* ── Footer grid ─────────────────────────────────────────── */
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  align-items: start;
}

/* Column 1 — Brand */
.footer-logo-link img { height: 52px; width: auto; display: block; margin-bottom: 16px; }
.footer-copy          { font-size: 13px; color: var(--color-text-light); margin: 0; }

/* Column 2 — Services */
.footer-col h4 {
  font-size: 15px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: var(--color-text);
  margin-bottom: 20px;
}
.footer-nav--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 14px;
  column-gap: 16px;
}
.footer-nav--grid li { list-style: none; }
.footer-nav--grid a  { font-size: 14px; color: var(--color-text-light); transition: color 0.2s; }
.footer-nav--grid a:hover { color: var(--color-accent); }

/* Column 3 — Newsletter + App download */
.footer-right        { display: flex; flex-direction: column; gap: 28px; }
.footer-newsletter h4 { font-size: 15px; font-weight: 400; font-family: var(--font-heading); color: var(--color-text); margin-bottom: 14px; }

/* Pill newsletter form */
.newsletter-pill {
  display: flex;
  align-items: center;
  background: #f0f0f0;
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  gap: 8px;
}
.newsletter-pill input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--color-text);
  outline: none;
  min-width: 0;
}
.newsletter-pill input::placeholder { color: #aaa; }
.newsletter-pill button {
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.newsletter-pill button:hover { background: #5a9e2f; }
.newsletter-msg { font-size: 13px; margin-top: 8px; min-height: 18px; }
.newsletter-msg--ok  { color: #6BAF3C; }
.newsletter-msg--err { color: #e05252; }

/* App download */
.footer-app__heading {
  font-size: 14px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: var(--color-accent);
  margin-bottom: 14px;
}
.footer-app__row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-app__logo   { height: 48px; width: auto; flex-shrink: 0; }
.footer-app__badges { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.footer-app__badges a { display: block; height: 40px; }
.footer-app__badges img { height: 100%; width: auto; display: block; }

/* Bottom legal bar */
.footer-bottom { border-top: 1px solid var(--color-border); padding: 18px 0; }
.footer-legal-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0;
}
.footer-legal-nav li { list-style: none; }
.footer-legal-nav li a {
  font-size: 13px;
  color: var(--color-text-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-legal-nav li a:hover { color: var(--color-accent); }

/* ============================================================
   HOME — HERO
   ============================================================ */
.home-hero {
  position: relative;
  min-height: clamp(600px, 86vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* Slider */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}
.hero-slide--active { opacity: 1; pointer-events: auto; }
/* Per-slide overlay + content */
.hero-slide__overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex; align-items: center;
}
.hero-slide__overlay > .container { width: 100%; }
@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-slide__content {
  color: #fff;
  padding: 120px 0;
  max-width: 860px;
  opacity: 0;
  transform: translateY(26px);
  text-align: center;
  margin: 0 auto;
}
.hero-slide--active .hero-slide__content {
  animation: heroTextIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}
.hero-slide--left .hero-slide__content {
  text-align: left;
  margin: 0;
  max-width: 700px;
}
.hero-slide--left .hero-slide__content h1,
.hero-slide--left .hero-slide__content .hero-heading { font-size: 46px; }
.hero-slide__content h1,
.hero-slide__content .hero-heading {
  font-size: 61px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 20px;
  color: #fff;
  text-align: inherit;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  font-family: var(--font-heading);
}
.hero-slide__subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 540px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}
/* Arrow navigation — left/right edges, vertically centered */
.hero-arrows {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}
.hero-arrow-btn {
  pointer-events: auto;
  width: 56px;
  height: 80px;
  background: transparent;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
  flex-shrink: 0;
}
.hero-arrow-btn:hover {
  background: rgba(255,255,255,0.12);
}
.hero-arrow-btn svg { display: block; flex-shrink: 0; }

@keyframes hero-btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(107,175,60,0.55); }
  55%       { box-shadow: 0 0 0 14px rgba(107,175,60,0); }
}
.btn-hero {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 15px 36px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  font-family: var(--font-heading);
  transition: background 0.2s, transform 0.2s;
  animation: hero-btn-pulse 2.6s ease-in-out infinite;
}
.btn-hero:hover { background: #5a9e2f; color: #fff; transform: translateY(-2px); }

/* ── HOME — FREE TIMEKEEPING PROMO ───────────────────── */
.home-promo { padding: 72px 0; background: #fff; }
.home-promo__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.home-promo__graphic img { width: 100%; max-width: 520px; border-radius: 8px; }
.home-promo__text h2 { color: var(--color-primary); font-size: 32px; margin-bottom: 16px; }
.home-promo__text p  { color: var(--color-text-light); font-size: 15px; line-height: 1.75; margin-bottom: 28px; }

/* ── HOME — ONBOARD EMPLOYEES ─────────────────────────── */
.home-onboard {
  padding: 100px 0;
  text-align: center;
  background-image: url('../images/onboard-bg.jpg');
  background-size: cover;
  background-position: center;
}
.home-onboard__inner {
  max-width: 860px;
  margin: 0 auto;
}
.home-onboard__inner h2 {
  color: rgb(22,92,79);
  font-size: 50px;
  font-weight: 700;
  line-height: 50px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}
.home-onboard__inner p {
  color: var(--color-text);
  font-size: 22px;
  line-height: 1.8;
}

/* ── HOME — FULL CONTROL / APP MOCKUP ─────────────────── */
.home-control { padding: 88px 0; background: #fff; }

/* Header row: "One Wallet" | divider | subtitle */
.control-header {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.control-header__green {
  font-size: 70px;
  font-weight: 400;
  color: rgb(22,92,79);
  font-family: var(--font-body);
  line-height: 1.5em;
  margin: 0;
}
.control-header__divider {
  width: 1px;
  height: 56px;
  background: #ccc;
  flex-shrink: 0;
}
.control-header__dark {
  font-size: 39px;
  font-weight: 400;
  color: #000;
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0;
}

/* Description */
.control-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto 56px;
  text-align: center;
}
.control-desc strong { color: var(--color-text); }

/* Two-column body */
.control-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.control-mockup img {
  width: 100%;
  border-radius: 12px;
}

/* Feature cards */
.control-features__title {
  font-size: 39px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: #000;
  margin-bottom: 20px;
}
.control-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.control-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #f9fafb;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  padding: 18px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.control-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(22,92,79,0.12);
  border-color: rgba(22,92,79,0.2);
}
.control-feature-card img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: contain;
}
.control-card-title {
  font-size: 18px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: #000;
  margin-bottom: 4px;
}
.control-card-desc {
  font-size: 15px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: #000;
  line-height: 1.55;
  margin: 0;
}

/* ── HOME — TWO SOLUTIONS ─────────────────────────────── */
.home-solutions { padding: 88px 0; background: #fff; }

.solutions-header {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.solutions-header__green {
  font-size: 70px;
  font-weight: 400;
  color: rgb(22,92,79);
  font-family: var(--font-body);
  line-height: 1.5em;
  margin: 0;
}
.solutions-header__divider {
  width: 1px;
  height: 56px;
  background: #ccc;
  flex-shrink: 0;
}
.solutions-header__dark {
  font-size: 39px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: #000;
  line-height: 1.2;
  margin: 0;
}
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.solutions-card {
  border-radius: 20px;
  padding: 60px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.solutions-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(22,92,79,0.14);
}
.solutions-card--tubo        { background: #edf7f0; }
.solutions-card--timekeeper  { background: #e7f2fb; }
.solutions-card__logo {
  height: 64px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}
.solutions-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  max-width: 380px;
  margin: 0;
}

/* ── HOME — TIMEKEEPING VIDEO ─────────────────────────── */
.home-video { padding: 80px 0; background: #fff; text-align: center; }
.home-video__heading {
  color: #115C51;
  font-size: 40px;
  font-weight: 400;
  font-family: var(--font-heading);
  margin-bottom: 36px;
}
.home-video__heading-dark { color: #0a0a0a; }
.home-video__wrap {
  max-width: 700px;
  margin: 0 auto;
  border: 2px solid var(--color-primary);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #d0d0d0;
  aspect-ratio: 16 / 9;
}
.home-video__player { width: 100%; height: 100%; display: block; object-fit: cover; }
.home-video__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: 2px solid rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(2px);
  transition: background 0.2s, transform 0.2s;
  padding-left: 3px;
}
.home-video__play-btn:hover {
  background: rgba(255,255,255,0.45);
  transform: translate(-50%, -50%) scale(1.1);
}

/* ── HOME — APP LIFESTYLE BANNER ──────────────────────── */
.home-lifestyle {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.home-lifestyle__img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.home-lifestyle__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 160px;
  pointer-events: none;
}
.home-lifestyle__fade--left {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.85), transparent);
}
.home-lifestyle__fade--right {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,0.85), transparent);
}

/* ── HOME — EVENTS STRIP ──────────────────────────────── */
.home-events { padding: 80px 0 60px; background: #fff; }
.home-events__heading {
  text-align: center;
  color: rgb(22,92,79);
  font-size: 40px;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 36px;
}
/* Event photo grid — auto-scrolling two rows */
.events-grid { width: 100%; overflow: hidden; }
.events-grid__row { overflow: hidden; margin-bottom: 4px; }
.events-grid__row:last-child { margin-bottom: 0; }

.events-grid__track { display: flex; }
.events-grid__track--top { animation: events-top-scroll 50s linear infinite; }
.events-grid__track--bot { animation: events-bot-scroll 38s linear infinite; }
.events-grid__track:hover { animation-play-state: paused; }

@keyframes events-top-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-9 * 33vw)); }
}
@keyframes events-bot-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-8 * 25vw)); }
}

.events-grid__track--top .events-grid__cell {
  flex: 0 0 33vw;
  width: 33vw;
  height: 300px;
  overflow: hidden;
}
.events-grid__track--bot .events-grid__cell {
  flex: 0 0 25vw;
  width: 25vw;
  height: 230px;
  overflow: hidden;
}
.events-grid__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── HOME — OUR CLIENTS ───────────────────────────────── */
.home-clients { padding: 80px 0 60px; background: #fff; text-align: center; }
.home-clients h2 {
  color: rgb(22,92,79);
  font-size: 54px;
  font-weight: 400;
  font-family: var(--font-heading);
  margin-bottom: 56px;
}
.clients-group__heading { display: none; }
.clients-group__quote {
  color: var(--color-text-light, #666);
  font-size: 15px;
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 28px;
  text-align: center;
  font-style: italic;
}
.clients-carousel { position: relative; padding-bottom: 16px; }
.clients-carousel__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
}
.clients-carousel__dot {
  flex: 1;
  padding: 14px 20px;
  border-radius: 6px;
  background: var(--color-accent);
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.25s;
  white-space: nowrap;
  text-align: center;
  line-height: 1.4;
}
.clients-carousel__dot:hover {
  background: rgb(22,92,79);
}
.clients-carousel__dot.is-active {
  background: rgb(22,92,79);
  color: #fff;
}
.clients-carousel__track { display: grid; width: 100%; }
.clients-carousel__slide {
  grid-area: 1 / 1;
  display: block;
  padding: 0 0 8px;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
  text-align: center;
}
.clients-carousel__slide.is-active { opacity: 1; pointer-events: auto; }
.clients-slide-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 56px;
  padding: 24px 0 8px;
}
.clients-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.clients-logo img {
  height: 150px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: grayscale(0.15);
  transition: filter 0.2s, transform 0.2s;
}
.clients-logo img:hover { filter: none; transform: scale(1.06); }

/* ── HOME — CONTACT FORM ──────────────────────────────── */
.home-contact { padding: 0; background: #fff; overflow: hidden; scroll-margin-top: var(--header-height); }
.home-contact__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 560px;
}

/* Green gradient panel */
.home-contact__panel {
  background: linear-gradient(90deg, #428E4D 25.26%, #88BD55 78.42%) !important;
  background-attachment: scroll !important;
  transform: none !important;
  padding: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.home-contact__panel h2 {
  color: #fff;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
  font-family: var(--font-heading);
}

/* Form */
.home-contact__form { display: flex; flex-direction: column; gap: 14px; padding: 56px 80px 56px 64px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field label {
  font-size: 13px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: var(--color-primary);
}
.form-req { color: var(--color-accent); }

.home-contact__form input,
.home-contact__form select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--color-primary);
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-body);
  background: #f5faf7;
  color: #333;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.home-contact__form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231B4332' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-color: #f5faf7;
  padding-right: 36px;
}
.home-contact__form input:focus,
.home-contact__form select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(107,175,60,0.12);
}
.home-contact__form input::placeholder { color: #aaa; }
.home-contact__form select option { color: #333; background: #fff; }

.btn-contact-send {
  width: 100%;
  padding: 13px;
  background: var(--color-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  font-family: var(--font-heading);
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.btn-contact-send:hover  { background: #5a9c32; transform: translateY(-1px); }
.btn-contact-send:active { transform: none; }
.contact-msg { font-size: 14px; margin: 4px 0 0; min-height: 20px; }
.contact-msg--ok  { color: #2e7d32; }
.contact-msg--err { color: #c62828; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-anim] {
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-anim="slide-up"]    { transform: translateY(36px); }
[data-anim="slide-left"]  { transform: translateX(-36px); }
[data-anim="slide-right"] { transform: translateX(36px); }
[data-anim="fade-in"]     { transform: none; }
[data-anim="scale-up"]    { transform: scale(0.86) translateY(18px); }

[data-anim].anim-done {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   SERVICES
   ============================================================ */
/* ── Services Hero ───────────────────────────────────── */
.services-hero {
  background: linear-gradient(135deg, #dce8f8 0%, #f0f8ea 100%);
  padding: 80px 0 96px;
  text-align: center;
  min-height: 730px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.services-hero > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.services-hero__title {
  font-size: 44px;
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1.35;
  margin: 0 auto 56px;
  max-width: 900px;
}
.services-hero__title .title-green { color: rgb(22,92,79); white-space: nowrap; }
.services-hero__title .title-black { color: #000; }

/* ── Chevron pipeline ─────────────────────────────────── */
.svc-pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* All steps share the chevron shape */
.svc-step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 104px;
  min-width: 180px;
  padding: 0 40px 0 56px;
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  font-family: var(--font-heading);
  line-height: 1.3;
  clip-path: polygon(0% 0%, calc(100% - 28px) 0%, 100% 50%, calc(100% - 28px) 100%, 0% 100%, 28px 50%);
}
/* First step has no left notch */
.svc-step:first-child {
  padding-left: 32px;
  clip-path: polygon(0% 0%, calc(100% - 28px) 0%, 100% 50%, calc(100% - 28px) 100%, 0% 100%);
}

/* HRIS — outlined: green border via background, white inner via ::after */
.svc-step--outline {
  background: rgb(136,189,85);
  color: rgb(136,189,85);
}
.svc-step--outline::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: #fff;
  clip-path: polygon(0% 0%, calc(100% - 25px) 0%, 100% 50%, calc(100% - 25px) 100%, 0% 100%);
}
.svc-step--outline span { position: relative; z-index: 1; }

/* Filled steps */
.svc-step--1 { background: #6BAF3C; color: #fff; }
.svc-step--2 { background: #4a9a2f; color: #fff; }
.svc-step--3 { background: #2b6e45; color: #fff; }
.svc-step--4 { background: #1B4332; color: #fff; }

.services-section         { padding: 80px 0; }
.services-section--alt    { background: var(--color-bg-light); }
.services-section--gray   { background: #f7f7f7; }
.services-section h2      { color: var(--color-primary); margin-bottom: 16px; }
.services-section > .container > p { color: var(--color-text-light); max-width: 620px; }

/* Image layout helpers */
.svc-img-wrap        { display: flex; align-items: center; justify-content: flex-end; }
.svc-img-wrap img    { max-width: 100%; height: auto; border-radius: 8px; }
.svc-img-wrap .placeholder-img { width: 100%; }
.svc-grid--img-right { align-items: center; }
.svc-grid--img-left  { align-items: center; }

/* ── HRIS / General section headings (H3 style) ───────── */
.svc-section-heading {
  font-size: 40px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #000;
  line-height: 1.15;
  margin-bottom: 16px;
}
.svc-section-heading .c-green { color: rgb(22,92,79); }
.svc-section-heading .c-black { color: #000; }

.svc-section-body {
  font-size: 18px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: #494949;
  line-height: 1.6;
  max-width: 620px;
}
.svc-section-body .c-gray   { color: rgb(164,164,164); }
.svc-section-body .c-dark   { color: rgb(128,128,128); }

/* ── HRIS Painpoints ──────────────────────────────────── */
.hris-painpoints-heading {
  font-size: 34px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: #000;
  line-height: 1.2;
  margin-bottom: 16px;
}
.painpoints               { margin-top: 32px; }
.painpoint-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}
.painpoint-item:last-child { border-bottom: none; }
.painpoint-check { width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; margin-top: 2px; }
.painpoint-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 3px;
}
.painpoint-item p {
  font-size: 18px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: #000;
  margin: 0;
  line-height: 1.5;
}

/* ── HRIS: Why it matters ─────────────────────────────── */
.hris-why {
  position: relative;
  background-image: url('../images/hris-why-bg.png?v=2'), linear-gradient(180deg, #ffffff 0%, #EAF7ED 100%);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  text-align: center;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hris-why .container { position: relative; z-index: 1; }
.hris-why__label { font-size: 16px; font-weight: 500; color: #115C51; margin-bottom: 12px; }
.hris-why__heading { font-size: 40px; font-weight: 700; color: #0a0a0a; line-height: 1.25; margin-bottom: 16px; }
.hris-why__desc { font-size: 18px; color: var(--color-text-light); max-width: 620px; margin: 0 auto 48px; }
.hris-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.hris-why__card {
  background: var(--color-white);
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  padding: 24px;
}
.hris-why__card-head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.hris-why__icon {
  flex-shrink: 0;
  width: 44px; height: 46px;
  border-radius: 7px;
  background: #E2EDEA;
  display: flex; align-items: center; justify-content: center;
}
.hris-why__icon svg, .hris-why__icon img { width: 24px; height: 24px; object-fit: contain; }
.hris-why__card h4 { font-size: 20px; font-weight: 500; color: #000; margin: 0; }
.hris-why__card p { font-size: 14px; color: var(--color-text-light); line-height: 1.5; margin: 0 0 0 62px; }

@media (max-width: 900px) {
  .hris-why__grid { grid-template-columns: 1fr; }
  .hris-why__heading { font-size: 28px; }
}

/* Feature cards — 4-col when 4 items */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 28px 20px;
}
.feature-card__icon { width: 52px; height: 52px; object-fit: contain; margin-bottom: 16px; display: block; }
.feature-card h3 { font-size: 16px; color: var(--color-primary); margin-bottom: 10px; }
.feature-card p  { font-size: 14px; color: var(--color-text-light); }

/* ── Timekeeping redesigned section ───────────────────── */
.tk-section {
  padding: 80px 0 96px;
  background: #fff;
}
.tk-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}
.tk-top .svc-img-wrap { transform: translateX(40px); }
.tk-top .btn-primary { background: #448E4A; }
.tk-top .btn-primary:hover { background: #367039; }
@media (min-width: 769px) {
  .tk-top .svc-img-wrap {
    width: 756px;
    height: 531px;
    aspect-ratio: 84 / 59;
    overflow: hidden;
    flex-shrink: 0;
  }
  .tk-top .svc-img-wrap img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
  }
}
/* Two P tags for the timekeeping solution heading */
.tk-title-line {
  font-size: 40px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #000;
  line-height: 1.1;
  display: block;
  margin: 0 0 4px;
}
.tk-title-line--green { color: #115C51; white-space: nowrap; }
.tk-subtitle {
  font-size: 18px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: #494949;
  line-height: 1.44;
  max-width: 582px;
  margin: 16px 0 24px;
}
.tk-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0 0 60px;
}
.tk-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.tk-feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tk-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--color-white);
  border: 1px solid #E6E6E6;
  border-radius: 16px;
  padding: 18px 20px;
}
.tk-feature-icon {
  width: 49px;
  height: 49px;
  flex-shrink: 0;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
  background: #E2EDEA;
  border-radius: 7px;
}
.tk-feature-icon--svg { display: flex; align-items: center; justify-content: center; }
.tk-feature-icon--svg svg { width: 20px; height: 20px; }
.tk-feature-title {
  font-size: 18px;
  font-weight: 500;
  font-family: var(--font-body);
  color: #0a0a0a;
  margin: 0 0 4px;
}
.tk-feature-desc {
  font-size: 14px;
  font-weight: 400;
  font-family: var(--font-body);
  color: #8A8A8A;
  margin: 0;
  line-height: 1.4;
}
.tk-callout {
  position: sticky;
  top: 100px;
}
.tk-callout p {
  font-size: 35px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #111;
  line-height: 1.2;
  margin: 0;
}
.tk-callout__green { color: #115C51; }

/* ── Three solutions (Timekeeping) ────────────────────── */
.tk-solutions__heading { text-align: center; font-size: 40px; font-weight: 700; color: #0a0a0a; margin-bottom: 12px; }
.tk-solutions__heading .c-green { color: #115C51; }
.tk-solutions__sub { text-align: center; font-size: 18px; color: #494949; max-width: 700px; margin: 0 auto 40px; }
.tk-solutions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tk-solutions__card {
  background: var(--color-white);
  border: 1px solid #E6E6E6;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: left;
  overflow: hidden;
}
.tk-solutions__img { margin-bottom: 20px; }
.tk-solutions__img .placeholder-img { width: 100%; }
.tk-solutions__img img { width: 100%; height: auto; border-radius: 8px; display: block; }
/* First card's mockup bleeds to the card's left edge, matching Figma. */
.tk-solutions__img--bleed { margin-left: -24px; margin-right: -16px; }
.tk-solutions__img--bleed img { width: calc(100% + 40px); }
.tk-solutions__card h4 { font-size: 23px; color: #404040; margin-bottom: 10px; line-height: 1.3; }
.tk-solutions__card h4 .c-green { color: #115C51; }
.tk-solutions__card p { font-size: 15px; color: #8A8A8A; line-height: 1.53; }

/* ── Timekeeping features + callout wave section ──────── */
.tk-features { position: relative; padding: 80px 0 140px; background: #EAF7ED; overflow: hidden; }
.tk-features__wave { position: absolute; bottom: 0; left: 0; width: 100%; line-height: 0; z-index: 0; }
.tk-features__wave svg { display: block; width: 100%; height: 120px; }
.tk-features__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }

/* ── Timekeeping in Detail ─────────────────────────────── */
.tk-detail { text-align: center; }

/* ── Pay Salary — Seamless Payouts heading ─────────────── */
.pay-salary-heading {
  font-size: 44px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #000;
  line-height: 1.15;
  margin-bottom: 16px;
  white-space: nowrap;
}
.pay-salary-heading .c-green { color: rgb(22,92,79); }

.pay-salary-body {
  font-size: 20px;
  font-weight: 400;
  font-family: var(--font-heading);
  line-height: 1.6;
  max-width: 620px;
}
.pay-salary-body .c-light  { color: rgb(164,164,164); }
.pay-salary-body .c-medium { color: rgb(128,128,128); }

/* ── How It Works section ──────────────────────────────── */
.service-tag--outline {
  background: rgba(255,255,255,0.85);
  color: var(--color-primary);
  border: 1px solid rgba(27,67,50,0.25);
}
.hiw-section {
  padding: 80px 0 96px;
  background-image: url('../images/how_it_works_bg.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
}
.hiw-title {
  font-size: 55px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #000;
  margin: 14px 0 18px;
  line-height: 1.1;
}
.hiw-subtitle {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: rgb(22,92,79);
  margin: 0 auto 52px;
  max-width: 800px;
  line-height: 1.6;
  text-align: center;
}
.hiw-pipeline {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
}
.hiw-step {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  background: var(--color-primary);
  min-width: 210px;
  padding: 22px 50px 22px 56px;
  clip-path: polygon(0% 0%, calc(100% - 28px) 0%, 100% 50%, calc(100% - 28px) 100%, 0% 100%, 28px 50%);
}
.hiw-step--first {
  padding-left: 34px;
  clip-path: polygon(0% 0%, calc(100% - 28px) 0%, 100% 50%, calc(100% - 28px) 100%, 0% 100%);
}
.hiw-step__num {
  position: absolute;
  top: 14px;
  right: 38px;
  font-size: 12px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}
.hiw-step__title {
  font-size: 25px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.3;
  text-align: left;
}
.hiw-step__desc {
  font-size: 17px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: var(--color-accent);
  margin: 0;
  text-align: left;
}

/* ── ATM Card section ──────────────────────────────────── */
.atm-card-section { padding: 80px 0; background: #fff; }
.atm-card-section p  { color: var(--color-text-light); max-width: 620px; }

/* ATM / Payroll / Pay Salary heading style */
.svc-large-heading {
  font-size: 55px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #000;
  line-height: 1.15;
  margin-bottom: 16px;
}
.svc-large-heading .c-green { color: rgb(22,92,79); }
.svc-large-heading--70      { font-size: 70px; }
.atm-card-section .svc-large-heading { font-size: 44px; white-space: nowrap; }

.svc-body-text {
  font-size: 20px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: rgb(164,164,164);
  line-height: 1.6;
  max-width: 560px;
}

/* Breadcrumb overrides for sections that had old service-tag styling */
.hris-section .service-tag,
.atm-card-section .service-tag,
.pay-salary-section .service-tag,
.payroll-section .service-tag {
  background: none;
  color: #165C4F;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1em;
  text-transform: none;
  padding: 0;
  border-radius: 0;
}

.hris-hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 117px;
  height: 39px;
  padding: 0;
  background: #448E4A;
  font-size: 14px;
  white-space: nowrap;
}
.hris-hero__cta:hover { background: #3a7a40; }

/* HRIS hero photo: Figma has it running larger than the text column and
   bleeding past the container's right edge, not evenly split/contained. */
.hris-hero__img-wrap { position: relative; }
.hris-hero__img-wrap::before {
  content: "";
  position: absolute;
  left: 0; top: -3%;
  width: 29%; height: 104%;
  background: linear-gradient(75deg, #fff 21.6%, rgba(255,255,255,0) 66.5%);
  pointer-events: none;
  z-index: 1;
}
.hris-section .svc-section-heading { font-size: 40px; }
.hris-section .svc-section-body { font-size: 18px; }
@media (min-width: 769px) {
  .hris-section .svc-img-wrap {
    justify-content: flex-start;
    overflow: visible;
    min-width: 0;
  }
  .hris-section .svc-img-wrap img {
    max-width: none;
    width: 787px;
    margin-left: 50px;
  }
}

/* ── Payroll Painpoints section ────────────────────────── */
.ppp-section {
  padding: 80px 0;
  background: #f7f7f7;
}
.ppp-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
.ppp-title-col {
  position: sticky;
  top: 100px;
}
.ppp-title {
  font-size: 34px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: #000;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
}
.ppp-list {
  border-top: 1px solid #ddd;
}
.ppp-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid #ddd;
}
.ppp-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 1px;
}
.ppp-item p {
  font-size: 18px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: #000;
  line-height: 1.55;
  margin: 0;
}

/* ── Pay Government section ────────────────────────────── */
.service-tag--mint {
  background: #d6ede3;
  color: var(--color-primary);
  border-radius: 999px;
  padding: 6px 18px;
}
.gov-section {
  padding: 100px 0 110px;
  background: #fff;
  text-align: center;
}
.gov-title-line {
  font-size: 60px;
  font-weight: 700;
  font-family: var(--font-body);
  color: #000;
  line-height: 1.15;
  display: block;
  margin: 24px auto 0;
  max-width: 760px;
}
.gov-title-line--green { color: rgb(22,92,79); margin-top: 0; margin-bottom: 32px; }
.gov-subtitle {
  font-size: 17px;
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.gov-available {
  font-size: 20px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: #000;
  margin: 0;
}

/* ============================================================
   ABOUT US
   ============================================================ */

/* ── About Us: Ventaja Band ─────────────────────────────── */
.about-ventaja {
  position: relative;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 460px;
  display: flex;
  align-items: center;
}
.about-ventaja__overlay {
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.88);
  display: flex; align-items: center;
  width: 100%;
}
.about-ventaja__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 72px 0;
}
.about-ventaja__brand      { flex-shrink: 0; }
.about-ventaja__logo       { width: 220px; height: auto; }
.about-ventaja__text h2    { color: #1B2D5E; font-size: 36px; font-weight: 400; margin-bottom: 16px; line-height: 1.25; }
.about-ventaja__text p     { color: #555; font-size: 17px; line-height: 1.7; max-width: 480px; margin: 0; }

/* ── About Us: Team ─────────────────────────────────────── */
.about-team   { background: #fff; padding: 80px 0 0; }
.team-heading { text-align: center; font-size: 50px; font-weight: 700; font-family: var(--font-body); color: rgb(22,92,79); letter-spacing: 0.05em; margin-bottom: 52px; }

/* CEO row */
.team-row-ceo { display: flex; justify-content: center; margin-bottom: 48px; }
.team-row-ceo .team-member { text-align: center; }
.team-member__photo--lg { width: 190px !important; height: 190px !important; }

/* 3-col grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 720px;
  margin: 0 auto;
}

/* Photo circle */
.team-member__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 10px;
  border: 4px solid #165C4F;
  box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.2);
  background: #fff;
  flex-shrink: 0;
}
.team-member__photo .placeholder-img,
.team-member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Expandable card */
.team-card {
  background: #fff;
  border: 1px solid #e4ede8;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
  text-align: center;
}
.team-card--expandable {
  cursor: pointer;
  user-select: none;
}
.team-card--expandable:hover,
.team-card--expandable:focus {
  border-color: var(--color-accent);
  box-shadow: 0 8px 28px rgba(107,175,60,0.18);
  transform: translateY(-4px);
  outline: none;
}
.team-card--expandable:hover .team-member__photo img {
  transform: scale(1.07);
}
.team-member__photo img {
  transition: transform 0.35s ease;
}

/* Card top */
.team-card__top {
  padding: 20px 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-card__name      { font-size: 13px; font-weight: 400; color: #1a1a1a; margin-bottom: 4px; line-height: 1.3; font-family: var(--font-heading); }
.team-card__role      { font-size: 11px; color: #777; line-height: 1.4; margin: 0; }
.team-member__name    { font-size: 22px; font-weight: 400; font-family: var(--font-heading); color: #1a1a1a; margin-bottom: 4px; line-height: 1.3; }

/* ── Team member modal ───────────────────────────────── */
@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modal-slide-up {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.team-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: modal-fade-in 0.2s ease;
}
.team-modal-overlay.is-open { display: flex; }

.team-modal {
  background: #fff;
  border-radius: 10px;
  max-width: 780px;
  width: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
  max-height: 90vh;
  animation: modal-slide-up 0.25s ease;
}

.team-modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #555;
  padding: 4px 6px;
  z-index: 1;
}
.team-modal__close:hover { color: #111; }

.team-modal__photo {
  width: 220px;
  flex-shrink: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 40px 32px;
}
.team-modal__photo img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.team-modal__info {
  flex: 1;
  padding: 40px 48px 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.team-modal__info p#team-modal-name {
  font-size: 24px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: #111;
  margin: 0 0 6px;
  padding-right: 32px;
}
.team-modal__info > p {
  font-size: 14px;
  color: #777;
  margin: 0 0 20px;
}
.team-modal__divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 0 0 0;
}
.team-modal__row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  font-size: 15px;
}
.team-modal__label {
  font-weight: 400;
  font-family: var(--font-heading);
  color: #111;
  min-width: 54px;
}
.team-modal__value {
  color: #333;
  text-decoration: none;
}
.team-modal__value:hover { text-decoration: underline; }

/* CEO row — plain card, no border */
.team-row-ceo .team-card {
  border: none;
  box-shadow: none;
  background: transparent;
}
.team-row-ceo .team-card__top { padding-bottom: 0; }

/* Green wave */
.about-wave     { margin-top: 64px; line-height: 0; }
.about-wave svg { display: block; width: 100%; height: 150px; }

/* ============================================================
   FAQs
   ============================================================ */
.faqs-hero {
  background: var(--color-bg-light);
  padding: 64px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.faqs-hero h1   { color: var(--color-primary); margin: 12px 0 14px; }
.faqs-hero__sub { color: var(--color-text-light); font-size: 16px; margin: 0; }

.faqs-body { padding: 56px 0 90px; }

/* Tabs */
.faq-tabs {
  display: flex;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 36px;
  gap: 0;
}
.faq-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: var(--color-text-light);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.faq-tab:hover  { color: var(--color-primary); }
.faq-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
  font-weight: 400;
}

.faq-panel        { display: none; }
.faq-panel.active { display: block; }

/* Accordion */
details.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
}
details.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 400;
  font-family: var(--font-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  -webkit-appearance: none;
  color: var(--color-text);
  transition: background 0.15s;
}
details.faq-item summary:hover { background: var(--color-bg-light); }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  margin-left: 16px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s;
}
details.faq-item[open] summary::after { transform: rotate(180deg); }
details.faq-item[open] summary { color: var(--color-primary); font-weight: 400; }
.faq-answer { padding: 4px 20px 20px; font-size: 15px; color: var(--color-text-light); line-height: 1.75; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-hero { padding: 80px 0 64px; }

/* Plain label replacing the green pill badge */
.pricing-label {
  display: inline-flex;
  align-items: center;
  background: rgb(232,244,237);
  border-radius: 15px;
  height: 30px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 400;
  font-family: var(--font-heading);
  color: rgb(22,92,79);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.pricing-hero h1 {
  font-size: 45px;
  font-weight: 700;
  font-family: var(--font-body);
  margin-bottom: 12px;
  max-width: 680px;
  line-height: 1.2;
  white-space: nowrap;
}
.pricing-hero h1 .c-black { color: #000; }
.pricing-hero h1 .c-green { color: rgb(22,92,79); }

.pricing-hero__sub {
  font-size: 20px;
  font-weight: 400;
  font-family: var(--font-body);
  max-width: 560px;
  margin-top: 8px;
  line-height: 1.6;
  white-space: nowrap;
}
.pricing-hero__sub .c-default { color: rgb(64,64,64); }
.pricing-hero__sub .c-green   { color: rgb(22,92,79); font-weight: 700; }

/* Pricing section headings — now P tags */
.pricing-section-label {
  font-size: 34px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: rgb(22,92,79);
  margin-bottom: 28px;
}

/* Image-based pricing sections */
.pricing-section        { padding: 72px 0 80px; }
.pricing-section--alt   { background: var(--color-bg-light); }
.pricing-img-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  background: #fff;
  margin-bottom: 24px;
}
.pricing-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.pricing-img-wrap--detail {
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}

/* HTML Pricing Tables */
.pricing-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  background: #fff;
  margin-bottom: 24px;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-heading);
  font-size: 15px;
}
.pricing-table thead tr:first-child th {
  background: #fff;
  color: rgb(22,92,79);
  font-weight: 700;
  font-size: 16px;
  padding: 22px 20px 10px;
  text-align: center;
  border: 1px solid #e0e0e0;
}
.pricing-table__subhead th {
  background: #fff;
  color: rgb(22,92,79);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px 18px;
  text-align: center;
  border: 1px solid #e0e0e0;
}
.pricing-table tbody td {
  padding: 18px 20px;
  text-align: center;
  border: 1px solid #e0e0e0;
  color: #222;
  font-size: 15px;
}
.pricing-table tbody tr:nth-child(even) { background: #fafafa; }
.pricing-table__switch td {
  background: #d6edda;
  color: rgb(22,92,79);
  font-weight: 700;
  font-size: 15px;
}
.pricing-cta { margin-top: 32px; }

/* No sign-up fees banner — plain white section */
.pricing-banner {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background-size: cover;
  background-position: center;
}
.pricing-banner__overlay {
  position: absolute; inset: 0;
  background: rgba(27, 67, 50, 0.78);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 24px;
}
.pricing-banner__text   { text-align: center; color: var(--color-white); max-width: 560px; }
.pricing-banner__text h2 { margin-bottom: 10px; font-size: 32px; }
.pricing-banner__text p  { font-size: 17px; opacity: 0.9; }

/* Billing */
.pricing-billing { padding: 80px 0; background: #fff; }

.billing-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}
.billing-img-col img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.billing-content h2 {
  color: var(--color-primary);
  font-size: 32px;
  margin: 0 0 16px;
}
.billing-divider {
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  margin: 0 0 28px;
  border: none;
}
.billing-content p {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  .control-body          { grid-template-columns: 1fr; gap: 40px; }
  .control-header__green { font-size: 48px; }
  .control-header__dark  { font-size: 28px; }
  .home-contact__inner   { grid-template-columns: 1fr; }
  .home-contact__panel   { min-height: 200px; padding: 48px 40px; }
  .home-contact__panel h2 { font-size: 36px; }
  .home-contact__form    { padding: 40px 32px; }
  .home-promo__inner     { grid-template-columns: 1fr; gap: 36px; }
  .solutions-grid        { grid-template-columns: 1fr; gap: 20px; }
  .solutions-header__green { font-size: 48px; }
  .solutions-header__dark  { font-size: 28px; }
  .about-ventaja__inner  { flex-direction: column; gap: 24px; text-align: center; }

  /* Pricing */
  .billing-grid            { grid-template-columns: 1fr; gap: 32px; }
  .billing-img-col         { display: none; }
  .pricing-hero h1         { font-size: 34px; }
  .pricing-section-label   { font-size: 26px; }
  .pricing-banner__text h2 { font-size: 26px; }

  /* Services — timekeeping */
  .tk-top    { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
  .tk-features__inner { grid-template-columns: 1fr; gap: 32px; }
  .tk-solutions__grid { grid-template-columns: 1fr; }
  .tk-title-line { font-size: 36px; }
  .tk-callout { position: static; }
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .svc-gov-screens { grid-template-columns: repeat(2, 1fr); }

  /* Services — payroll pain points */
  .ppp-grid      { grid-template-columns: 1fr; gap: 32px; }
  .ppp-title-col { position: static; }
  .ppp-title     { font-size: 28px; }

  /* Services — how it works pipeline */
  .hiw-title    { font-size: 40px; }
  .hiw-subtitle { font-size: 20px; margin-bottom: 36px; }
  .hiw-pipeline { flex-wrap: wrap; gap: 6px; }
  .hiw-step     { min-width: 150px; padding: 18px 38px 18px 44px; }

  /* Services — section headings */
  .svc-section-heading { font-size: 40px; }
  .pay-salary-heading  { font-size: 40px; }
  .svc-large-heading   { font-size: 40px; }
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }

  .grid-2col     { grid-template-columns: 1fr; }
  .grid-3col     { grid-template-columns: 1fr; }
  .feature-cards   { grid-template-columns: repeat(2, 1fr); }
  .svc-gov-screens { grid-template-columns: repeat(2, 1fr); }
  .clients-grid  { grid-template-columns: repeat(3, 1fr); }
  .footer-inner  { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Mobile nav */
  .nav-toggle  { display: flex; }
  .primary-nav { flex: none; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 8px;
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--color-white);
    padding: 16px 24px 24px;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-toggle     { order: -1; margin-left: 0; margin-right: 12px; }
  .site-logo      { order: 0; }
  .ventaja-badge  { margin-left: auto; margin-right: 8px; }
  .header-actions .btn-outline--sm { display: none; }
  .header-login { font-size: 0; padding: 8px; }

  /* Home */
  .hero-slide__content h1,
  .hero-slide__content .hero-heading       { font-size: 30px; }
  .hero-slide__content          { padding: 70px 0; }
  .hero-slide__subtitle         { font-size: 15px; }
  .home-hero                    { min-height: 480px; }
  .events-grid__track--top .events-grid__cell { height: 200px; }
  .events-grid__track--bot .events-grid__cell { height: 160px; }
  .clients-slide-logos { gap: 20px 32px; }
  .svc-pipeline          { flex-wrap: wrap; gap: 8px; }
  .svc-step              { min-width: 100px; font-size: 14px; height: 60px; padding: 0 28px 0 36px; }
  .svc-step:first-child  { padding-left: 20px; }
  .services-hero__title  { font-size: 28px; }
  .faq-tabs              { overflow-x: auto; }
  .faq-tab               { padding: 12px 18px; font-size: 14px; white-space: nowrap; }

  /* Team grid — 2 columns on tablet */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 500px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
  /* Header */
  .site-header .container { padding: 0 16px; }
  .ventaja-badge img       { width: 80px; }

  /* Typography */
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }

  /* Home hero */
  .home-hero                { min-height: 380px; }
  .hero-slide__content      { padding: 50px 0; text-align: center; }
  .hero-slide__content h1,
  .hero-slide__content .hero-heading   { font-size: 24px; line-height: 1.3; }
  .hero-slide__subtitle     { font-size: 14px; margin-bottom: 24px; }
  .btn-hero                 { font-size: 14px; padding: 12px 20px; }

  /* Home sections */
  .home-promo            { padding: 48px 0; }
  .home-promo__text h2   { font-size: 22px; }
  .home-onboard          { padding: 64px 0; }
  .home-onboard__inner h2 { font-size: 32px; line-height: 1.2; }
  .home-onboard__inner p  { font-size: 18px; }
  .home-control          { padding: 56px 0; }
  .control-body          { grid-template-columns: 1fr; gap: 32px; }
  .control-header        { gap: 16px; }
  .control-header__green { font-size: 38px; }
  .control-header__divider { height: 40px; }
  .control-header__dark  { font-size: 22px; }
  .control-features__title { font-size: 26px; }
  .home-solutions        { padding: 56px 0; }
  .solutions-grid        { grid-template-columns: 1fr; gap: 16px; }
  .solutions-card        { padding: 40px 28px; gap: 24px; }
  .solutions-header__green { font-size: 38px; }
  .solutions-header__divider { height: 36px; }
  .solutions-header__dark  { font-size: 22px; }
  .home-lifestyle__img   { height: 220px; }
  .home-lifestyle__fade  { width: 60px; }
  .events-grid__track--top .events-grid__cell { height: 140px; }
  .events-grid__track--bot .events-grid__cell { height: 110px; }
  .clients-slide-logos { gap: 16px 24px; }
  .clients-logo img { height: 90px; max-width: 180px; }
  .clients-carousel__tabs { flex-wrap: wrap; justify-content: center; }
  .clients-carousel__dot { flex: 0 0 calc(50% - 4px); font-size: 13px; padding: 10px 12px; }
  .clients-group__heading { font-size: 36px; }
  .form-row-2            { grid-template-columns: 1fr; }
  .home-contact__panel   { min-height: 140px; padding: 32px 24px; }
  .home-contact__form    { padding: 32px 24px; }
  .home-contact__panel h2 { font-size: 30px; }
  .home-clients h2       { font-size: 36px; }
  .home-events__heading  { font-size: 28px; }
  .home-video__heading   { font-size: 28px; margin-bottom: 24px; }

  /* Footer */
  .footer-inner          { grid-template-columns: 1fr; gap: 28px; }
  .footer-nav--grid      { grid-template-columns: 1fr 1fr; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }
  .footer-legal-nav      { flex-wrap: wrap; justify-content: center; gap: 8px 16px; }

  /* About — ventaja band */
  .about-ventaja          { min-height: 320px; }
  .about-ventaja__inner  { flex-direction: column; gap: 28px; text-align: center; padding: 48px 0; }
  .about-ventaja__logo   { width: 160px; }
  .about-ventaja__text h2 { font-size: 24px; }
  .about-ventaja__text p  { font-size: 15px; }

  /* About — team grid */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 100%;
  }
  .team-member__photo     { width: 110px; height: 110px; }
  .team-member__photo--lg { width: 140px !important; height: 140px !important; }
  .team-card__name        { font-size: 12px; }
  .team-card__role        { font-size: 10px; }
  .team-heading { font-size: 24px; margin-bottom: 36px; }
  .team-row-ceo { margin-bottom: 32px; }

  .team-modal { flex-direction: column; max-height: 92vh; overflow-y: auto; }
  .team-modal__photo { width: 100%; padding: 28px 0 0; justify-content: center; }
  .team-modal__info { padding: 20px 24px 28px; }

  /* Misc */
  .section                { padding: 56px 0; }
  .clients-grid           { grid-template-columns: repeat(2, 1fr); }

  /* Pricing mobile */
  .pricing-hero           { padding: 48px 0 36px; }
  .pricing-hero h1        { font-size: 28px; }
  .pricing-section-label  { font-size: 20px; margin-bottom: 20px; }
  .pricing-banner__text h2 { font-size: 22px; }
  .pricing-banner__text p  { font-size: 15px; }
  .pricing-section        { padding: 48px 0 56px; }
  .pricing-billing        { padding: 48px 0; }
  .billing-content h2     { font-size: 24px; }

  /* Services mobile */
  .services-section       { padding: 48px 0; }
  .services-hero          { padding: 48px 0 64px; min-height: 0; }
  .services-hero__title   { font-size: 22px; margin-bottom: 36px; }
  .svc-section-heading    { font-size: 32px; }
  .svc-section-body       { font-size: 16px; }
  .pay-salary-heading     { font-size: 32px; }
  .svc-large-heading      { font-size: 32px; }
  .tk-section             { padding: 48px 0 64px; }
  .tk-title-line          { font-size: 28px; }
  .tk-callout p           { font-size: 22px; }
  .feature-cards          { grid-template-columns: 1fr 1fr; gap: 16px; }
  .svc-gov-screens        { grid-template-columns: 1fr; }
  .hris-painpoints-heading { font-size: 26px; }
  .painpoint-item p       { font-size: 15px; }

  /* Services — payroll pain points mobile */
  .ppp-section  { padding: 48px 0; }
  .ppp-title    { font-size: 22px; }
  .ppp-item p   { font-size: 15px; }

  /* Services — how it works mobile */
  .hiw-section   { padding: 48px 0 64px; }
  .hiw-title     { font-size: 28px; }
  .hiw-subtitle  { font-size: 18px; margin-bottom: 28px; }
  .hiw-pipeline  { flex-direction: column; align-items: stretch; gap: 4px; }
  .hiw-step,
  .hiw-step--first {
    min-width: unset;
    clip-path: none;
    border-radius: 10px;
    padding: 16px 20px 16px 20px;
    align-items: flex-start;
  }
  .hiw-step__num   { position: static; display: block; margin-bottom: 4px; }
  .hiw-step__title { font-size: 18px; }
  .hiw-step__desc  { font-size: 14px; }

  /* Gov section */
  .gov-title-line { font-size: 38px; }
  .gov-available  { font-size: 16px; }

  /* FAQs */
  .faqs-hero    { padding: 40px 0 36px; }
  .faqs-body    { padding: 40px 0 64px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 380px)
   ============================================================ */
@media (max-width: 380px) {
  .team-grid                { grid-template-columns: 1fr; max-width: 240px; }
  .hero-slide__content h1,
  .hero-slide__content .hero-heading   { font-size: 21px; }
  .home-contact__panel h2   { font-size: 24px; }
  .home-contact__form       { padding: 28px 16px; }
  .home-contact__panel      { padding: 28px 16px; }
  .hiw-title                { font-size: 22px; }
  .tk-title-line            { font-size: 22px; }
  .control-header__green,
  .solutions-header__green  { font-size: 30px; }
  .control-header__dark,
  .solutions-header__dark   { font-size: 16px; }
  .control-header__divider,
  .solutions-header__divider { height: 30px; }
  .solutions-card           { padding: 28px 20px; }
  .pricing-hero h1          { font-size: 24px; }
  .footer-app__row          { flex-wrap: wrap; }
  .container                { padding: 0 16px; }
}

/* ============================================================
   PREVENT HORIZONTAL OVERFLOW FROM nowrap RULES
   ============================================================ */
body { overflow-x: hidden; }

@media (max-width: 768px) {
  .pricing-hero h1          { white-space: normal; }
  .pricing-hero__sub        { white-space: normal; }
  .tk-title-line--green     { white-space: normal; }
  .services-hero__title .title-green { white-space: normal; }
  .atm-card-section .svc-large-heading { white-space: normal; }
  .ppp-title                { white-space: normal; }
  .pay-salary-heading       { white-space: normal; }
  .tk-top .svc-img-wrap     { transform: none; }
}

@media (max-width: 600px) {
  .hero-slide--left .hero-slide__content { text-align: center; margin: 0 auto; }
  .gov-title-line           { font-size: 28px; }
  .clients-logo img         { height: 70px; max-width: 140px; }
}

/* ============================================================
   HOMEPAGE v2 — HERO
   ============================================================ */
/* Full-bleed decorative background, matching the Figma frame's own 1512:606
   ratio exactly (background-size:100% 100% needs no cropping since the ratio
   matches) so the real, editable text and photo overlay it in the same
   relative spots the original composite had them. */
.hero-v2 {
  position: relative;
  aspect-ratio: 1512 / 606;
  overflow: hidden;
  background-image: url('../images/hero-bg.jpg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.hero-v2__inner { position: absolute; inset: 0; }

.hero-v2__content { position: absolute; left: 8%; top: 18%; width: 32%; }
.hero-v2__content h1 { font-size: clamp(16px, 2.5vw, 40px); margin-bottom: 1.1em; color: var(--color-primary); line-height: 1.25; }
.hero-v2__subheading { font-size: clamp(10px, 1.15vw, 18px); color: var(--color-text); margin-bottom: 0.5em; }
.hero-v2__small      { font-size: clamp(9px, 0.9vw, 14px); color: var(--color-text-light); margin-bottom: 1.4em; }
.hero-v2__ctas { display: flex; gap: 1em; flex-wrap: wrap; }
.hero-v2__ctas .btn-primary,
.hero-v2__ctas .btn-outline { font-size: clamp(9px, 1vw, 16px); padding: 0.7em 1.6em; white-space: nowrap; }
.hero-v2__ctas .btn-primary { background: #448E4A; }
.hero-v2__ctas .btn-primary:hover { background: #367039; }

.hero-v2__visual { position: absolute; left: 45%; top: 0; width: 55%; height: 100%; }
.hero-v2__visual img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }

@media (max-width: 768px) {
  .hero-v2 { aspect-ratio: auto; background: linear-gradient(180deg, #eefaf0 0%, #ffffff 60%); }
  .hero-v2__inner { position: static; padding: 40px 24px; }
  .hero-v2__content,
  .hero-v2__visual { position: static; width: auto; height: auto; left: auto; top: auto; }
  .hero-v2__content h1 { font-size: 28px; }
  .hero-v2__subheading { font-size: 16px; }
  .hero-v2__small      { font-size: 13px; }
  .hero-v2__ctas .btn-primary,
  .hero-v2__ctas .btn-outline { font-size: 15px; padding: 12px 24px; }
  .hero-v2__visual { margin-top: 24px; }
  .hero-v2__visual img { height: auto; max-height: 360px; object-position: bottom center; }
}

/* ============================================================
   HOMEPAGE v2 — TRUSTED BY
   ============================================================ */
.trusted-by { padding: 28px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.trusted-by__inner { display: flex; align-items: center; gap: 24px; }
.trusted-by__label { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.trusted-by__title { font-size: 15px; font-weight: 700; color: #0a0a0a; margin: 0; white-space: nowrap; }
.trusted-by__sub { font-size: 13px; color: var(--color-text-light); max-width: 300px; margin: 0; }
.trusted-by__divider { width: 1px; height: 32px; background: var(--color-border); flex-shrink: 0; }
.trusted-by__logos {
  position: relative;
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent);
          mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent);
}
.trusted-by__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: trusted-by-scroll 32s linear infinite;
}
.trusted-by__logo-item { display: flex; align-items: center; flex-shrink: 0; }
.trusted-by__logo-item img { height: 32px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(100%); opacity: 0.7; }

@keyframes trusted-by-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .trusted-by__inner { flex-wrap: wrap; }
  .trusted-by__logos { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .trusted-by__track { animation: none; }
}

/* ============================================================
   HOMEPAGE v2 — SEAMLESS SALARY PAYOUTS
   ============================================================ */
.salary-flow__label   { font-size: 14px; font-weight: 700; color: #1a6157; margin-bottom: 10px; }
.salary-flow__heading { font-size: 28px; font-weight: 700; color: #1a1a1a; max-width: 720px; margin-bottom: 10px; }
.salary-flow__desc    { font-size: 14px; line-height: 1.6; color: var(--color-text-light); max-width: 720px; margin-bottom: 32px; }

.salary-flow__steps { display: flex; align-items: stretch; margin-bottom: 24px; }
.salary-flow__step {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px 12px;
}
.salary-flow__step p { font-size: 14px; font-weight: 700; color: #1a6157; }
.salary-flow__icon { width: 56px; height: 56px; }
.salary-flow__icon img { width: 100%; height: 100%; object-fit: contain; }
.salary-flow__connector { flex: 0 0 24px; height: 1px; background: var(--color-border); align-self: center; }

.salary-flow__rate { font-size: 14px; line-height: 1.6; color: var(--color-text-light); max-width: 640px; margin-bottom: 20px; }
.salary-flow__rate strong { color: #1a1a1a; font-weight: 700; }
.salary-flow__cta { font-size: 14px; padding: 10px 22px; background: #448E4A; }
.salary-flow__cta:hover { background: #367039; }

/* ============================================================
   HOMEPAGE v2 — WHY TUBO
   ============================================================ */
.why-tubo { background: #F1F8F4; }
.why-tubo__heading {
  text-align: center;
  margin-bottom: 40px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 35px;
  line-height: 26px;
  letter-spacing: 0;
  color: #0a0a0a;
}
.why-tubo__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-tubo__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-white);
  border-radius: 14px;
  padding: 32px 28px;
  border: 1px solid var(--color-border);
}
.why-tubo__icon { width: 62px; height: 66px; margin-bottom: 20px; border-radius: 10px; }
.why-tubo__icon img { width: 62px; height: 66px; display: block; }
.why-tubo__card h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 35px;
  line-height: 1.15;
  letter-spacing: 0;
  color: #115C51;
  margin-bottom: 16px;
}
.why-tubo__sub {
  display: inline-block;
  background: #e8f5ec;
  color: #1a6157;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.why-tubo__desc { font-size: 15px; color: var(--color-text-light); line-height: 1.6; margin-bottom: 20px; }
.why-tubo__footer {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}
.why-tubo__cta { font-size: 14px; font-weight: 700; color: var(--color-accent); }

/* ============================================================
   HOMEPAGE v2 — CHECK LIST (shared: Why Tubo + Our Services)
   ============================================================ */
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-light);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.15em;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23115C51'/%3E%3Cpath d='M6 10.3l2.4 2.4L14 7.4' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.check-list--sm li { font-size: 13px; margin-bottom: 8px; }

/* ============================================================
   HOMEPAGE v2 — OUR SERVICES
   ============================================================ */
.our-services__heading { text-align: center; margin-bottom: 40px; color: var(--color-primary); }
.our-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  border-color: #115C51;
  box-shadow: 0 8px 24px rgba(17, 92, 81, 0.12);
}
.service-card__header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.service-card__icon { flex-shrink: 0; width: 44px; height: 46px; }
.service-card__icon img { width: 44px; height: 46px; object-fit: contain; }
.service-card__icon .placeholder-img { width: 44px; height: 46px; font-size: 8px; }
.service-card__heading h4 { color: var(--color-primary); margin-bottom: 2px; }
.service-card__sub { font-size: 13px; color: var(--color-text-light); }
.svc-card-desc { font-size: 14px; color: var(--color-text-light); line-height: 1.5; margin-bottom: 20px; }
.service-card .check-list { margin-bottom: 20px; }
.service-card .check-list li { margin-bottom: 16px; }
.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.service-card__link { font-size: 14px; font-weight: 700; color: #115C51; }
.service-card__badge {
  display: inline-block;
  background: var(--color-bg-light);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ============================================================
   HOMEPAGE v2 — SIGN-UP CTA BANNER
   ============================================================ */
.signup-banner__wrap { position: relative; border: 2px solid #E6E6E6; border-radius: 28px; overflow: hidden; }
.signup-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.signup-banner__content {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  padding: 48px 64px;
  max-width: 640px;
}
.signup-banner__logo { height: 42px; width: auto; margin-bottom: 20px; }
.signup-banner__heading { margin: 0 0 16px; }
.signup-banner__heading-line1 { display: block; font-size: 35px; font-weight: 500; line-height: 1.2; color: #0a0a0a; }
.signup-banner__heading-line2 { display: block; font-size: 40px; font-weight: 700; line-height: 1.2; color: #115C51; }
.signup-banner__sub { max-width: 460px; font-size: 20px; line-height: 1.35; color: #8A8A8A; margin: 0 0 24px; }
.signup-banner__guy { position: absolute; right: 40px; bottom: 0; width: 480px; max-width: 42%; height: auto; z-index: 1; pointer-events: none; }

/* ============================================================
   HOMEPAGE v2 — REAL PEOPLE
   ============================================================ */
.real-people h2 { text-align: center; color: #0a0a0a; }
.real-people__sub { text-align: center; max-width: 620px; margin: 12px auto 0; font-size: 15px; color: var(--color-text-light); }
.real-people__carousel {
  position: relative;
  max-width: var(--container-width);
  margin: 40px auto 0;
  padding: 0 56px;
}
.real-people__viewport { overflow: hidden; }
.real-people__track {
  display: flex;
  gap: 12px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.real-people__slide {
  flex: 0 0 calc((100% - 24px) / 3);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.real-people__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.real-people__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}
.real-people__arrow:hover { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }
.real-people__arrow--prev { left: 0; }
.real-people__arrow--next { right: 0; }
.real-people__dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.real-people__dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.real-people__dots button.is-active { background: var(--color-primary); transform: scale(1.25); }

/* ============================================================
   HOMEPAGE v2 — RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .why-tubo__grid,
  .our-services__grid { grid-template-columns: 1fr; }
  .real-people__slide { flex: 0 0 calc((100% - 12px) / 2); }
  .real-people__carousel { padding: 0 48px; }
  .salary-flow__steps { flex-wrap: wrap; }
  .salary-flow__connector { display: none; }
  .salary-flow__step { flex: 1 1 calc(50% - 8px); }
  .signup-banner__content { padding: 28px 24px; }
  .signup-banner__logo { height: 32px; }
  .signup-banner__heading-line1 { font-size: 22px; }
  .signup-banner__heading-line2 { font-size: 26px; }
  .signup-banner__sub { font-size: 15px; }
  .signup-banner__guy { display: none; }
}

@media (max-width: 600px) {
  .real-people__slide { flex: 0 0 100%; }
  .real-people__carousel { padding: 0 40px; }
  .real-people__arrow { width: 32px; height: 32px; }
}

/* ============================================================
   FOOTER v2 — single row: brand column + link columns
   ============================================================ */
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 0;
}
.footer-col { flex: 0 0 auto; }
.footer-col--brand { flex: 1 1 220px; max-width: 260px; }
.footer-col--newsletter { flex: 1 1 240px; max-width: 300px; }

.footer-col h4 {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: #0a0a0a;
  padding-bottom: 8px;
  margin-bottom: 16px;
  border-bottom: 2px solid #115C51;
}
.footer-col h4 a { color: #0a0a0a; }
.footer-col h4 a:hover { color: var(--color-accent); }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { font-size: 14px; color: var(--color-text-light); transition: color 0.2s; }
.footer-nav a:hover { color: var(--color-accent); }

.footer-col--brand .footer-logo-link { display: inline-block; margin-bottom: 12px; }
.footer-col--brand .footer-logo-link img { height: 30px; width: auto; }
.footer-col--brand .footer-copy { margin-bottom: 16px; }
.footer-col--brand .footer-app__badges { flex-direction: row; gap: 10px; }
.footer-col--brand .footer-app__badges a { height: 28px; width: auto; }

.footer-newsletter__sub { font-size: 13px; color: var(--color-text-light); margin-bottom: 16px; }
.newsletter-form--stacked { display: flex; flex-direction: column; gap: 12px; }
.newsletter-form__input {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--color-text);
}
.newsletter-form__submit { width: 100%; text-align: center; background: #115C51; }
.newsletter-form__submit:hover { background: #0d4a41; }

@media (max-width: 900px) {
  .footer-columns { gap: 24px 32px; }
  .footer-col--brand { flex-basis: 100%; }
}

/* ============================================================
   SERVICES — PAYROLL PAGE
   ============================================================ */
.payroll-hero__callout { font-size: 18px; color: #494949; line-height: 1.44; margin: 16px 0 24px; }
.payroll-hero__callout strong { color: #000; font-weight: 500; }
.payroll-hero .btn-primary { background: #448E4A; border-radius: 11px; }
.payroll-hero .btn-primary:hover { background: #367039; }
.payroll-hero .svc-crumb-pill { background: var(--color-white); }
.payroll-hero .grid-2col { grid-template-columns: 0.85fr 1.15fr; }
.payroll-hero .svc-img-wrap { margin-top: 70px; }

.payroll-hero__frame .payroll-banner__inner { margin-top: 40px; }
.payroll-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: #115C51;
  border-radius: 11px;
  padding: 20px 40px;
}
.payroll-banner__text { font-size: 25px; font-weight: 500; color: var(--color-white); }
.payroll-banner__highlight { color: #9EED4E; }
.payroll-banner__cycles { font-size: 20px; font-weight: 500; color: var(--color-white); }
.payroll-banner__cycles span { margin: 0 8px; color: #9EED4E; }

.payroll-connected { background: linear-gradient(180deg, #D6FFE0 -117.99%, #FFF 74.5%); }
.payroll-connected__heading {
  text-align: left;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}
.payroll-connected__heading-main { font-size: 35px; font-weight: 700; color: #0a0a0a; }
.payroll-connected__heading-sub { font-size: 25px; font-weight: 700; color: #115C51; }
.payroll-connected__divider { width: 1px; height: 24px; background: var(--color-border); }
.payroll-connected__desc { text-align: left; font-size: 18px; color: #494949; max-width: 750px; margin: 0 0 48px; }
.payroll-connected__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.payroll-connected__card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-white);
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  padding: 20px;
}
.payroll-connected__icon {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.payroll-connected__icon svg, .payroll-connected__icon img { width: auto; height: auto; max-width: 41px; max-height: 41px; object-fit: contain; }
.payroll-connected__card h4 { font-size: 18px; color: #115C51; margin-bottom: 4px; }
.payroll-connected__card p { font-size: 14px; color: #8A8A8A; line-height: 1.43; }

/* Composite scene sized to the Figma frame (1512×779) so the background
   wave art and the foreground illustration's built-in swirls line up
   exactly like the original design — text/image are positioned in % of
   that same box. See .hero-v2 above for the same technique. */
.payroll-biometric { padding: 0; overflow: hidden; }
.payroll-biometric__scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1512 / 779;
  background-image: url('../images/payroll-biometric-bg.png'), linear-gradient(180deg, #ffffff 0%, #EAF7ED 100%);
  background-size: 100% 100%, cover;
  background-repeat: no-repeat, no-repeat;
}
.payroll-biometric__heading {
  position: absolute;
  left: 0; right: 0; top: 10.65%;
  width: max-content;
  margin: 0 auto;
  font-size: clamp(22px, 2.9vw, 40px);
  font-weight: 700;
  color: #115C51;
  white-space: nowrap;
}
.payroll-biometric__desc {
  position: absolute;
  left: 0; right: 0; top: 17.46%;
  width: min(725px, 60vw);
  margin: 0 auto;
  font-size: clamp(13px, 1.3vw, 18px);
  line-height: 1.44;
  color: var(--color-text-light);
  text-align: center;
}
.payroll-biometric__img {
  position: absolute;
  left: 24%; top: 26.19%;
  width: 52.05%; height: 60.72%;
}
.payroll-biometric__img img { width: 100%; height: 100%; object-fit: contain; display: block; }

@media (max-width: 768px) {
  .payroll-biometric__scene {
    aspect-ratio: auto;
    background-image: linear-gradient(180deg, #ffffff 0%, #EAF7ED 100%);
    padding: 48px 24px;
    text-align: center;
  }
  .payroll-biometric__heading,
  .payroll-biometric__desc,
  .payroll-biometric__img {
    position: static;
    transform: none;
    left: auto; right: auto; top: auto; width: auto; height: auto;
    margin: 0;
  }
  .payroll-biometric__heading { font-size: 28px; }
  .payroll-biometric__desc { font-size: 15px; max-width: 480px; margin: 12px auto 24px; }
  .payroll-biometric__img img { width: 100%; height: auto; }
}

@media (max-width: 900px) {
  .payroll-connected__grid { grid-template-columns: 1fr; }
  .payroll-hero__frame .payroll-banner__inner { margin-top: 28px; }
  .payroll-banner__inner { flex-direction: column; align-items: flex-start; padding: 24px; }
  .payroll-banner__text { font-size: 20px; }
  .payroll-banner__cycles { font-size: 16px; }
}

/* ============================================================
   SERVICES — SALARY DISBURSEMENT PAGE
   ============================================================ */
.pay-hero { text-align: left; }
.pay-hero__note { font-size: 15px; color: #000; margin: 16px 0 24px; }
@media (min-width: 769px) {
  .pay-hero .svc-img-wrap {
    width: 687px;
    height: 360px;
    aspect-ratio: 229 / 120;
    flex-shrink: 0;
  }
  .pay-hero .svc-img-wrap img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
  }
}

.pay-hiw__heading { text-align: center; font-size: 32px; font-weight: 700; color: #115C51; margin-bottom: 12px; }
.pay-hiw__sub { text-align: center; font-size: 15px; color: var(--color-text-light); max-width: 640px; margin: 0 auto 40px; }
.pay-hiw__pipeline { display: flex; align-items: stretch; gap: 4px; }
.pay-hiw__step {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #1B4332;
  color: var(--color-white);
  padding: 24px 32px 24px 44px;
  min-height: 100px;
  clip-path: polygon(0% 0%, calc(100% - 20px) 0%, 100% 50%, calc(100% - 20px) 100%, 0% 100%, 20px 50%);
}
.pay-hiw__step:first-child {
  padding-left: 24px;
  clip-path: polygon(0% 0%, calc(100% - 20px) 0%, 100% 50%, calc(100% - 20px) 100%, 0% 100%);
}
.pay-hiw__num { position: absolute; top: 10px; right: 24px; font-size: 11px; opacity: 0.6; }
.pay-hiw__title { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.pay-hiw__desc { font-size: 13px; opacity: 0.8; }

.pay-account__heading { font-size: 30px; font-weight: 700; color: #0a0a0a; line-height: 1.35; margin-bottom: 16px; }
.pay-account__heading .c-green { color: #115C51; }
.pay-account__desc { font-size: 15px; color: var(--color-text-light); line-height: 1.6; }
.pay-account__img .placeholder-img { border-radius: 14px; background: #E2EDEA; }
.pay-account__img {
  background: #E2EDEA;
  border-radius: 14px;
  position: relative;
  min-height: 223px;
  overflow: visible;
}
.pay-account__img img {
  border-radius: 0;
  position: absolute;
  left: 6%;
  top: -24.7%;
  width: 78%;
  max-width: 460px;
  height: auto;
}
.pay-account__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.pay-account__card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px;
}
.pay-account__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #E2EDEA;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.pay-account__icon svg, .pay-account__icon img { width: 20px; height: 20px; object-fit: contain; }
.pay-account__card h4 { font-size: 15px; color: var(--color-primary); margin-bottom: 4px; }
.pay-account__card p { font-size: 13px; color: var(--color-text-light); line-height: 1.5; }

.pay-ewallet__img img { max-width: 100%; height: auto; border-radius: 14px; display: block; margin: 0 auto; }
.pay-ewallet__heading { font-size: 30px; font-weight: 700; color: #0a0a0a; line-height: 1.3; margin-bottom: 16px; }
.pay-ewallet__heading .c-green { color: #115C51; }
.pay-ewallet__badge {
  display: inline-block;
  background: #115C51;
  color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.pay-ewallet__badge span { color: #9FE870; }
.pay-ewallet__q { font-size: 15px; font-weight: 400; color: #000; margin-bottom: 16px; line-height: 1.6; }
.pay-ewallet__body { font-size: 15px; color: var(--color-text-light); line-height: 1.6; }
.pay-ewallet__body strong { color: #000; }

.pay-atm__heading { font-size: 30px; font-weight: 700; color: #0a0a0a; margin-bottom: 16px; }
.pay-atm__heading .c-green { color: #115C51; }
.pay-atm__desc { font-size: 15px; color: var(--color-text-light); line-height: 1.6; }
.pay-atm__card-wrap { display: flex; align-items: center; justify-content: center; }
.pay-atm-card__img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 20px;
  display: block;
  box-shadow: 0 20px 40px rgba(230,73,31,0.25);
}

.pay-gov__heading { font-size: 30px; font-weight: 700; color: #0a0a0a; margin: 12px 0 16px; }
.pay-gov__heading .c-green { color: #115C51; }
.pay-gov__desc { font-size: 15px; color: var(--color-text-light); line-height: 1.6; margin-bottom: 16px; }
.pay-gov__note { font-size: 14px; color: var(--color-text-light); }
.pay-gov__note strong { color: #000; }
.pay-gov__grid { grid-template-columns: 1.35fr 1fr; align-items: start; }
.pay-gov__diagram { display: flex; flex-direction: column; align-items: center; gap: 0; margin-left: auto; }
.pay-gov__node {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  border: 1.5px solid #115C51;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #115C51;
  text-align: center;
  white-space: nowrap;
}
.pay-gov__node-icon { width: 28px; height: 22px; object-fit: contain; vertical-align: middle; }
.pay-gov__lines { width: 2px; height: 32px; background: #115C51; opacity: 0.3; }
.pay-gov__branches { display: flex; gap: 24px; margin-top: 8px; position: relative; }
.pay-gov__branches::before {
  content: "";
  position: absolute;
  top: -8px; left: 15%;
  width: 70%; height: 2px;
  background: #115C51;
  opacity: 0.3;
}

@media (max-width: 900px) {
  .pay-hiw__pipeline { flex-direction: column; }
  .pay-hiw__step { clip-path: none !important; padding: 20px 24px; }
  .pay-account__grid { grid-template-columns: 1fr; }
  .pay-account__img { min-height: 0; padding: 24px; display: flex; align-items: center; justify-content: center; }
  .pay-account__img img { position: static; width: 100%; max-width: 320px; left: auto; top: auto; }
  .pay-gov__grid { grid-template-columns: 1fr; }
  .pay-gov__diagram { margin-left: 0; }
  .pay-gov__branches { flex-wrap: wrap; justify-content: center; }
}

/* ============================================================
   SERVICES — SALARY ADVANCE PAGE
   ============================================================ */
.salary-adv__heading { font-size: 34px; font-weight: 700; line-height: 1.3; margin: 16px 0 20px; }
.salary-adv__heading .c-green { color: #115C51; }
.salary-adv__heading .c-black { color: #0a0a0a; }
.salary-adv__note { font-size: 15px; color: #000; margin-bottom: 16px; }
.salary-adv__body { font-size: 15px; color: var(--color-text-light); line-height: 1.6; margin-bottom: 16px; }
.salary-adv__unlock { font-size: 15px; font-weight: 700; color: #115C51; }

.salary-adv__mock { display: flex; justify-content: center; }
.adv-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 418px;
  height: 570px;
  max-width: 100%;
  background: var(--color-white);
  border-radius: 35px;
  padding: 32px;
  box-shadow: 0px 4px 23.9px 0px #0000001F;
}
.adv-card__top { display: flex; align-items: center; gap: 12px; }
.adv-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #1a1a1a;
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}
.adv-card__who { flex: 1; }
.adv-card__name { font-size: 15px; font-weight: 700; color: #0a0a0a; }
.adv-card__verified { font-size: 12px; color: var(--color-text-light); }
.adv-card__active {
  font-size: 12px;
  font-weight: 600;
  color: #115C51;
  background: #E2EDEA;
  padding: 4px 10px;
  border-radius: 999px;
}
.adv-card__earned {
  background: #F7F9F8;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}
.adv-card__label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-light); margin-bottom: 6px; }
.adv-card__amount { font-size: 30px; font-weight: 700; color: #0a0a0a; margin-bottom: 16px; }
.adv-card__progress-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--color-text-light); margin-bottom: 6px; text-align: left; }
.adv-card__available { font-weight: 700; color: #115C51; }
.adv-card__bar { height: 6px; border-radius: 999px; background: var(--color-border); overflow: hidden; }
.adv-card__bar-fill { width: 68%; height: 100%; background: #115C51; border-radius: 999px; }
.adv-card__btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #115C51;
  border-radius: 16px;
  padding: 16px 28px;
  box-shadow: 0px 10px 20px 0px rgba(17,92,81,0.25);
}
.adv-card__btn:hover { background: #0d4a41; }

/* ============================================================
   DEMO PAGE
   ============================================================ */
.demo-hero { padding: 60px 0 0; }
.demo-hero__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.demo-hero__pill {
  display: inline-block;
  background: #E2EDEA;
  color: #115C51;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.demo-hero__heading { font-size: clamp(20px, 3.4vw, 36px); font-weight: 700; color: #0a0a0a; line-height: 1.3; white-space: nowrap; }
.demo-hero__heading .c-green { color: #115C51; }
.demo-hero__img img { width: 100%; height: auto; display: block; object-fit: cover; }

.demo-sessions { padding: 60px 0; }
.demo-sessions__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.demo-session-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px;
}
.demo-session-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E2EDEA;
  color: #115C51;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.demo-session-card__meta span { opacity: 0.4; }
.demo-session-card h3 { font-size: 19px; color: #0a0a0a; margin-bottom: 8px; }
.demo-session-card__desc { font-size: 14px; color: var(--color-text-light); line-height: 1.6; }

.demo-reserve { position: relative; background: #115C51; padding: 100px 0; overflow: hidden; }
.demo-reserve__wave { position: absolute; bottom: 0; left: 0; width: 100%; line-height: 0; }
.demo-reserve__wave svg { display: block; width: 100%; height: 100px; }
.demo-reserve__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.demo-reserve__content h2 { font-size: 34px; font-weight: 700; color: var(--color-white); line-height: 1.3; margin-bottom: 12px; }
.demo-reserve__content p { font-size: 16px; color: rgba(255,255,255,0.75); }

.demo-reserve__form-wrap { display: flex; justify-content: center; }
.demo-form-card {
  width: 460px;
  height: 426px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: 20px;
  padding: 28px 32px;
  overflow: hidden;
}
.demo-form-card .demo-form:not([hidden]) { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.demo-form-card .demo-success:not([hidden]) { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.demo-form-card [hidden] { display: none; }
.demo-form label { display: block; font-size: 13px; font-weight: 700; color: #0a0a0a; margin-bottom: 4px; }
.demo-form input[type="text"],
.demo-form input[type="email"] {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  margin-bottom: 12px;
}
.demo-form__group-label { margin-bottom: 6px; }
.demo-form__radios { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.demo-form__radio { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 400; color: var(--color-text); cursor: pointer; }
.demo-form__radio input { width: 16px; height: 16px; accent-color: #115C51; }
.demo-form__submit { display: block; width: 100%; text-align: center; background: #115C51; padding: 10px 28px; }
.demo-form__submit:hover { background: #0d4a41; }
.demo-form .demo-msg { margin-top: 6px; }
.demo-msg { font-size: 13px; margin-top: 12px; min-height: 18px; }
.demo-msg--ok  { color: #6BAF3C; }
.demo-msg--err { color: #e05252; }

.demo-success { text-align: center; padding: 12px 0; }
.demo-success svg { margin: 0 auto 16px; }
.demo-success h3 { font-size: 20px; font-weight: 700; color: #115C51; margin-bottom: 10px; }
.demo-success p { font-size: 14px; color: var(--color-text-light); line-height: 1.6; }

@media (max-width: 900px) {
  .demo-hero__inner,
  .demo-reserve__inner { grid-template-columns: 1fr; }
  .demo-sessions__grid { grid-template-columns: 1fr; }
  .demo-hero__img { order: -1; }
}

/* ============================================================
   PRICING v2
   ============================================================ */
.pr-hero__heading { text-align: center; font-size: 42px; font-weight: 700; color: #0a0a0a; line-height: 1.3; margin-bottom: 16px; }
.pr-hero__heading .c-green { color: #115C51; }
.pr-hero__sub { text-align: center; font-size: 16px; color: var(--color-text-light); margin-bottom: 48px; }

.pr-hero__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pr-tier-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pr-tier-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(17, 92, 81, 0.12);
  border-color: rgba(17, 92, 81, 0.2);
}
.pr-tier-card__plan { font-size: 35px; font-weight: 600; color: #1A6B3A; margin-bottom: 14px; }
.pr-tier-card__badge { display: block; text-align: center; background: #E8F4ED; color: #115C51; font-size: 14px; font-weight: 500; border-radius: 32px; padding: 6px 0; margin-bottom: 14px; }
.pr-tier-card__desc { font-size: 16px; color: #454545; line-height: 1.5; }
.pr-tier-card__hr { border: none; border-top: 1px solid var(--color-border); margin: 20px 0; }
.pr-tier-card .check-list li { font-size: 15px; color: #8A8A8A; }
.pr-tier-card__cta { display: block; text-align: center; margin-top: 24px; }
.pr-badge {
  display: inline-block;
  background: #F0F0F0;
  color: var(--color-text-light);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 6px;
}
.pr-badge--lg { font-size: 13px; padding: 6px 16px; background: #E2EDEA; color: #115C51; margin-left: 0; margin-bottom: 12px; }
.pr-vat-note { text-align: left; font-size: 13px; font-style: italic; color: var(--color-text-light); margin-top: 24px; }

.pr-detailed { padding-top: 60px; padding-bottom: 24px; }
.pr-detailed__heading { font-size: 26px; font-weight: 700; color: #115C51; margin-bottom: 6px; }
.pr-detailed__sub { font-size: 14px; color: var(--color-text-light); margin-bottom: 28px; }

.pr-table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: 12px; }
.pr-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.pr-table th {
  background: #115C51;
  color: var(--color-white);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: left;
  padding: 14px 20px;
  font-weight: 700;
}
.pr-table th span { display: block; text-transform: none; font-weight: 400; opacity: 0.8; font-size: 11px; letter-spacing: 0; margin-top: 2px; }
.pr-table td { padding: 16px 20px; font-size: 14px; border-top: 1px solid var(--color-border); }
.pr-table tbody tr:nth-child(even) { background: #FAFAFA; }
.pr-detailed .pr-table td:first-child { font-weight: 700; color: #0a0a0a; }
.pr-table__rate { color: #115C51; }
.pr-table__free { color: #115C51; font-weight: 700; }
.pr-table__total { font-weight: 700; color: #115C51; }
.pr-table__strike { color: var(--color-text-light); text-decoration: line-through; }
.pr-table__discount { color: #C97B2E; font-weight: 700; }

.pr-callout {
  background: #E2EDEA;
  color: #115C51;
  font-size: 14px;
  font-weight: 600;
  padding: 16px 20px;
  border-radius: 10px;
  margin-top: 20px;
}

.pr-detailed__cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: stretch; }
.pr-custom { display: flex; flex-direction: column; justify-content: space-between; background: var(--color-white); border: 1px solid var(--color-border); border-radius: 12px; padding: 24px; }
.pr-custom h3 { font-size: 18px; color: #0a0a0a; margin-bottom: 16px; }
.pr-custom__box {
  background: #F7F9F8;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 12px;
}
.pr-custom__box strong { color: #115C51; }
.pr-custom__example { font-size: 13px; color: #115C51; font-weight: 600; line-height: 1.6; }

.pr-calc { padding: 60px 0; }
.pr-calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.pr-calc__card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: 14px; padding: 28px; }
.pr-calc__estimate { background: #F8F8F8; border-color: #CFE6DC; }
.pr-calc__card h4 { font-size: 16px; color: #0a0a0a; margin-bottom: 16px; }
.pr-calc__toggle { display: flex; background: #F0F0F0; border-radius: 10px; padding: 4px; margin-bottom: 20px; }
.pr-calc__toggle-btn { flex: 1; background: none; border: none; padding: 10px; border-radius: 8px; font-size: 14px; font-weight: 700; color: var(--color-text-light); cursor: pointer; }
.pr-calc__toggle-btn.is-active { background: #115C51; color: var(--color-white); }
.pr-calc label { display: block; font-size: 13px; font-weight: 700; color: #0a0a0a; margin-bottom: 6px; }
.pr-required { color: #e53935; }
.pr-calc input[type="number"] {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  margin-bottom: 20px;
}
.pr-calc input[type="number"].pr-calc__input--error {
  border-color: #e53935;
  margin-bottom: 6px;
}
.pr-calc__error { color: #e53935; font-size: 13px; margin: 0 0 14px; }
.pr-calc__group-label { margin-bottom: 10px; }
.pr-calc__checkbox { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 400; color: var(--color-text); margin-bottom: 10px; cursor: pointer; }
.pr-calc__checkbox input { width: 16px; height: 16px; accent-color: #115C51; }
.pr-calc__checkbox--muted { color: var(--color-text-light); }
.pr-calc__checkbox--muted span { font-size: 12px; }
.pr-calc__btn { width: 100%; text-align: center; margin-top: 8px; background: #1A6B3A; }
.pr-calc__btn:hover { background: #155a30; }

.pr-calc__estimate-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.pr-calc__estimate-icon { width: 40px; height: 40px; border-radius: 10px; background: #E2EDEA; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pr-calc__estimate-icon svg { width: 20px; height: 20px; }
.pr-calc__estimate-head p { font-size: 13px; color: var(--color-text-light); margin: 0; }
.pr-calc__line { display: flex; justify-content: space-between; font-size: 14px; color: var(--color-text); padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.pr-calc__line[hidden] { display: none; }
.pr-calc__total-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F7F9F8;
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 700;
  color: #0a0a0a;
}
.pr-calc__total-box span:last-child { color: #115C51; font-size: 22px; }
.pr-calc__effective { font-size: 13px; color: var(--color-text-light); margin-top: 10px; }

.pr-calc__vat-note { font-size: 12px; color: var(--color-text-light); margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--color-border); }
.pr-calc__onboarding-note { font-size: 12px; font-style: italic; color: var(--color-text-light); margin-top: 6px; }
.pr-calc__onboarding-note a { color: #115C51; font-weight: 600; text-decoration: underline; }

.pr-fees__head { text-align: center; max-width: 480px; margin: 0 auto 32px; }
.pr-fees__title { font-size: 13px; font-weight: 700; color: #0a0a0a; margin-bottom: 2px; }
.pr-fees__note { font-size: 12px; color: var(--color-text-light); }
.pr-fees__price { font-weight: 700; color: #115C51; }

@media (max-width: 900px) {
  .pr-hero__grid,
  .pr-calc__grid { grid-template-columns: 1fr; }
  .pr-detailed__cols { grid-template-columns: 1fr; }
  .pr-hero__heading { font-size: 30px; }
}
