/* ==========================================================
   HRDelivered — Legacy Brands Pages (ABS + ContinuumHR)
   Shared CSS for template-abs.php and template-continuumhr.php
   Prefix: lb-
   Depends on: hrdelivered-global.css (tokens, nav, footer, btn-primary, etc.)
   ========================================================== */

/* ── Shared content width ──────────────────────────────────── */
.pt-hero-inner,
.section-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 768px) {
  .pt-hero-inner,
  .section-inner {
    padding-inline: 2.5rem;
  }
}

/* ── Section base ────────────────────────────────────────────── */
.section {
  padding-block: 4rem;
}

.section--white { background: #ffffff; }
.section--cream { background: var(--color-cream, #F6F3E8); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-navy, #001342);
  margin-bottom: 0.75rem;
}
.section-header p {
  font-size: 1.0625rem;
  color: var(--color-text-muted, #4b5563);
  line-height: 1.65;
}

/* ── Card base ───────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.75rem;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.07); }
.card-icon { margin-bottom: 1rem; }
.card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-navy, #001342);
  margin-bottom: 0.5rem;
}
.card-body {
  font-size: 0.9375rem;
  color: var(--color-text-muted, #4b5563);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.pt-hero {
  background-color: #001342;
  padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--nav-height, 5rem) + 1.5rem);
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Glow orbs */
.pt-hero-glow1 {
  position: absolute;
  top: 4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: rgba(9, 79, 254, 0.25);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.pt-hero-glow2 {
  position: absolute;
  top: 4rem;
  left: 33%;
  transform: translateX(-50%);
  width: 400px;
  height: 300px;
  background: rgba(215, 1, 63, 0.20);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.pt-hero-inner {
  position: relative;
  z-index: 1;
}

.pt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 9999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
}

.pt-hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.lb-accent {
  color: #5b8cff;
}

.pt-hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 2rem;
}
.pt-hero-sub strong { color: #ffffff; font-weight: 600; }

.pt-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

/* Outline white button */
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: rgba(255,255,255,0.9);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   REBRAND / MERGER SECTION (cream bg)
   ══════════════════════════════════════════════════════════════ */
.lb-rebrand-section {
  background: var(--color-cream, #F6F3E8);
  padding-block: 4rem;
  border-bottom: 1px solid #e2dece;
}

.lb-rebrand-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) {
  .lb-rebrand-inner { padding-inline: 2.5rem; }
}

.lb-rebrand-intro {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3rem;
}
.lb-rebrand-intro h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-navy, #001342);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.lb-rebrand-intro p {
  font-size: 1.0625rem;
  color: var(--color-text-muted, #4b5563);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.lb-logo-lockup {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}
.lb-logo-lockup img {
  max-width: 300px;
  height: auto;
  display: block;
}

/* What changed / what stayed split */
.lb-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .lb-two-col { grid-template-columns: 1fr 1fr; }
}

.lb-col-card {
  background: #ffffff;
  border: 1px solid #e2dece;
  border-radius: 12px;
  padding: 2rem;
}
.lb-col-card-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-navy, #001342);
  margin-bottom: 1.25rem;
}
.lb-col-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-col-card-icon--blue { background: #eff4ff; }
.lb-col-card-icon--green { background: #ecfdf5; }

.lb-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lb-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.55;
  padding-block: 0.35rem;
}
.lb-check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-blue, #094ffe);
  margin-top: 0.5rem;
}
.lb-check-list--green li::before {
  background: #059669;
}

/* ══════════════════════════════════════════════════════════════
   SERVICES SECTION (white bg)
   ══════════════════════════════════════════════════════════════ */
.lb-services-section {
  background: #ffffff;
  padding-block: 4rem;
}

.lb-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .lb-services-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .lb-services-grid { grid-template-columns: repeat(4, 1fr); }
}

.lb-service-card {
  display: block;
  text-decoration: none;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.lb-service-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
  border-color: #c7d2fe;
}

.lb-service-icon {
  width: 44px;
  height: 44px;
  background: #eff4ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.lb-service-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-navy, #001342);
  margin-bottom: 0.5rem;
}
.lb-service-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted, #4b5563);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.lb-service-card .card-learn {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-blue, #094ffe);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ══════════════════════════════════════════════════════════════
   BOTTOM CTA (dark navy, mirrors cta-section)
   ══════════════════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  overflow: hidden;
  background: #001342;
  padding-block: 5rem;
  text-align: center;
}
.cta-glow1, .cta-glow2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-glow1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(9,79,254,0.25) 0%, transparent 70%);
  top: -150px; left: -100px;
}
.cta-glow2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(91,140,255,0.18) 0%, transparent 70%);
  bottom: -100px; right: -80px;
}
.cta-inner {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) {
  .cta-inner { padding-inline: 2.5rem; }
}
.cta-inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.cta-inner p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  line-height: 1.65;
}
.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.lb-cta-phone {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
}
.lb-cta-phone a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 500;
}
.lb-cta-phone a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════
   PORTAL LOGIN STRIP
   ══════════════════════════════════════════════════════════════ */
.lb-portal-strip {
  background: var(--color-cream, #F6F3E8);
  border-bottom: 1px solid #e2dece;
  padding-block: calc(1rem + 5px);
}
.lb-portal-strip-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .lb-portal-strip-inner { padding-inline: 2.5rem; }
}
.lb-portal-strip-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}
.lb-portal-strip-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,19,66,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy, #001342);
}
.lb-portal-strip-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.lb-portal-strip-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-navy, #001342);
  opacity: 0.55;
}
.lb-portal-strip p {
  font-size: 0.9375rem;
  color: var(--color-navy, #001342);
  line-height: 1.5;
  margin: 0;
}
.btn-portal-login {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  background: var(--color-crimson, #d7013f);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  flex-shrink: 0;
}
.btn-portal-login:hover {
  background: #b8002f;
  color: #ffffff;
}

@media (max-width: 680px) {
  .lb-portal-strip-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .btn-portal-login {
    text-align: center;
    justify-content: center;
    white-space: normal;
  }
}

/* ══════════════════════════════════════════════════════════════
   TWO-COLUMN SPLIT (pt-split)
   ══════════════════════════════════════════════════════════════ */
.pt-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .pt-split { grid-template-columns: 1fr 1fr; }
  .pt-split--reverse .pt-split-text { order: 2; }
  .pt-split--reverse .pt-split-image { order: 1; }
  .pt-split--40-60 { grid-template-columns: 2fr 3fr; }
}

.pt-split-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-navy, #001342);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.pt-split-text p {
  font-size: 1rem;
  color: var(--color-text-muted, #4b5563);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.pt-split-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

/* ── Legacy CTA section (bottom of ABS / ContinuumHR pages) ── */
.lb-cta-section {
  background: var(--color-navy, #001342);
  padding-block: 5rem;
}
.lb-cta-inner {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  text-align: center;
}
.lb-cta-inner h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.lb-cta-inner p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 2rem;
}
.lb-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
