/* ==========================================================
   HRDelivered — Payroll & Tax Service Page
   Depends on: hrdelivered-global.css (tokens, nav, footer, btn-primary, etc.)
   ========================================================== */

/* ── Shared content width (mirrors homepage) ──────────────── */
.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;
  }
}
/* ── Centered hero override ─────────────────────────────── */
.pt-hero-inner--centered {
  display: block !important;
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
  padding-bottom: 0;
}
.pt-hero-inner--centered .pt-hero-btns { justify-content: center; }
.pt-hero-inner--centered .pt-hero-sub  { max-width: 640px; margin-inline: auto; }

/* ── Badge update ───────────────────────────────────────── */
.pt-hero-badge {
  background: rgba(91,140,255,0.15) !important;
  border: 1px solid rgba(91,140,255,0.40) !important;
  padding: 0.5rem 1rem !important;
  margin-bottom: 2rem !important;
}

/* ── Hero h1 centered ───────────────────────────────────── */
.pt-hero-inner h1,
.pt-hero-text h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem) !important;
  letter-spacing: -0.03em !important;
  color: #ffffff !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
}

/* ── Hero sub centered ──────────────────────────────────── */
.pt-hero-sub {
  font-size: 1.125rem !important;
  color: rgba(255,255,255,0.75) !important;
  max-width: 560px;
  margin-bottom: 2.5rem !important;
}

/* ══════════════════════════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════════════════════════ */
.stats {
  background-color: var(--color-cream);
  border-top: 1px solid rgba(0,19,66,0.10);
  border-bottom: 1px solid rgba(0,19,66,0.10);
  padding-block: 1rem;
}
.stats-grid {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) { .stats-grid { padding-inline: 2.5rem; } }
.stat-item {
  padding: 1.6rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(0,19,66,0.10);
}
@media (min-width: 961px) { .stat-item { padding: 1.6rem 2rem; } }
.stat-item--last,
.stat-item:last-child { border-right: none; }
@media (max-width: 960px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(0,19,66,0.10); }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-top: 1px solid rgba(0,19,66,0.10); }
}
.stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.875rem;
  color: rgba(0,19,66,0.55);
  margin-top: 0.25rem;
}

/* ── Section base (reuse from homepage) ─────────────────────
   These are already in hrdelivered-homepage.css; duplicating
   here so this page is self-contained. Specificity is the same. */
.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 grid (reuse .card from homepage) ──────────────────── */
.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: 6rem;
  position: relative;
  overflow: hidden;
}

/* Glow orbs — identical positioning to homepage hero */
.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;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .pt-hero-inner {
    grid-template-columns: 1fr 460px;
    gap: 3rem;
  }
}

.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;
}

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

.pt-hero-h1-accent { color: var(--color-blue-light, #5b8cff); }

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

/* Outline white button (for dark backgrounds) */
.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;
}

.pt-hero-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* ══════════════════════════════════════════════════════════════
   FEATURES 4-UP (Services overview)
   ══════════════════════════════════════════════════════════════ */
.pt-features-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .pt-features-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .pt-features-4 { grid-template-columns: repeat(4, 1fr); }
}

.pt-feature-tile {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.75rem;
}
.pt-feature-icon {
  width: 44px;
  height: 44px;
  background: #eff4ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.pt-feature-tile h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-navy, #001342);
  margin-bottom: 0.5rem;
}
.pt-feature-tile p {
  font-size: 0.9375rem;
  color: var(--color-text-muted, #4b5563);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   TWO-COLUMN SPLIT (text + image)
   ══════════════════════════════════════════════════════════════ */
.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-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-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.pt-bullet-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;
}
.pt-bullet-list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-blue, #094ffe);
  margin-top: 0.5rem;
}

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

/* ══════════════════════════════════════════════════════════════
   COST SAVINGS CALLOUT BAR
   ══════════════════════════════════════════════════════════════ */
.pt-callout-section {
  background: #F6F3E8;
  border-bottom: 1px solid #e2dece;
  padding-block: 2rem;
}
.pt-callout-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .pt-callout-inner { padding-inline: 2.5rem; }
}
@media (min-width: 900px) {
  .pt-callout-inner { flex-wrap: nowrap; }
}

.pt-callout-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(0, 19, 66, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy, #001342);
}
.pt-callout-body { flex: 1; min-width: 220px; }
.pt-callout-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.25rem;
}
.pt-callout-text {
  font-size: 1rem;
  color: var(--color-navy, #001342);
  line-height: 1.6;
}
.pt-callout-text strong { color: var(--color-navy, #001342); font-weight: 700; }

/* Red CTA button override for callout */
.pt-callout-btn {
  background: var(--color-crimson, #d7013f) !important;
  border-color: var(--color-crimson, #d7013f) !important;
  white-space: nowrap;
  flex-shrink: 0;
}
.pt-callout-btn:hover {
  background: #b5012f !important;
  border-color: #b5012f !important;
}

/* ══════════════════════════════════════════════════════════════
   FEATURES 6-UP (Confidence section)
   ══════════════════════════════════════════════════════════════ */
.pt-grid-2-plus-img {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .pt-grid-2-plus-img {
    grid-template-columns: 1fr 360px;
  }
}

.pt-features-6 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .pt-features-6 { grid-template-columns: 1fr 1fr; }
}

.pt-feature-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
  transition: box-shadow 0.2s;
}
.pt-feature-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.pt-feature-card-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: #eff4ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pt-feature-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy, #001342);
  margin-bottom: 0.3rem;
}
.pt-feature-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted, #4b5563);
  line-height: 1.55;
}

.pt-confidence-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* ══════════════════════════════════════════════════════════════
   TAX SOLUTIONS GRID (8 cards, 4 cols)
   ══════════════════════════════════════════════════════════════ */
.pt-tax-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .pt-tax-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .pt-tax-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ══════════════════════════════════════════════════════════════
   MID-PAGE CTA
   ══════════════════════════════════════════════════════════════ */
.pt-mid-cta {
  background: var(--color-cream, #F6F3E8);
  border-top: 1px solid #e2dece;
  border-bottom: 1px solid #e2dece;
  padding-block: 4rem;
  text-align: center;
}
.pt-mid-cta-inner {
  max-width: 680px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) {
  .pt-mid-cta-inner { padding-inline: 2.5rem; }
}
.pt-mid-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-navy, #001342);
  margin-bottom: 0.75rem;
}
.pt-mid-cta p {
  font-size: 1.0625rem;
  color: var(--color-text-muted, #4b5563);
  margin-bottom: 2rem;
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════════════════════════════ */
.pt-faq {
  max-width: 820px;
  margin-inline: auto;
}

.pt-faq-item {
  border-bottom: 1px solid #e5e7eb;
}
.pt-faq-item:first-child {
  border-top: 1px solid #e5e7eb;
}

.pt-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: none;
  border: none;
  padding-block: 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy, #001342);
  cursor: pointer;
  line-height: 1.4;
  transition: color 0.15s;
}
.pt-faq-q:hover { color: var(--color-blue, #094ffe); }

.pt-faq-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.pt-faq-item.is-open .pt-faq-chevron {
  transform: rotate(180deg);
}

.pt-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.pt-faq-a p {
  font-size: 0.9375rem;
  color: var(--color-text-muted, #4b5563);
  line-height: 1.7;
  padding-bottom: 1.25rem;
}

/* ══════════════════════════════════════════════════════════════
   BOTTOM CTA (mirrors homepage 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;
}

/* ══ HRIS — SPECIFIC STYLES ═════════════════════════════════════════ */

.hris-hero-h1-accent { color: var(--color-blue-light, #5b8cff); }

/* HRIS section subtitle */
.hris-section-subtitle {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy, #001342);
  text-align: center;
  margin-top: -1.5rem;
  margin-bottom: 0.5rem;
}

/* HRIS tools grid */
.hris-tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .hris-tools-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .hris-tools-grid { grid-template-columns: repeat(3, 1fr); }
}

a.hris-tool-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.2s, transform 0.15s;
}
a.hris-tool-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

.card-learn {
  display: inline-block;
  margin-top: 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-blue, #094ffe);
}

/* ══════════════════════════════════════════════════════════
   HRIS TOOL CARDS (ind-card style)
   ══════════════════════════════════════════════════════════ */
.ind-card--hris-tt  .ind-card-bar { background: linear-gradient(90deg, #094ffe, #5b8cff); }
.ind-card--hris-lms .ind-card-bar { background: linear-gradient(90deg, #10b981, #34d399); }
.ind-card--hris-ats .ind-card-bar { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.ind-card--hris-eap .ind-card-bar { background: linear-gradient(90deg, #d7013f, #f43f5e); }
.ind-card--hris-pm  .ind-card-bar { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.ind-card--hris-ee  .ind-card-bar { background: linear-gradient(90deg, #0ea5e9, #38bdf8); }

.ind-card--hris-tt  .ind-card-icon { background: rgba(9,79,254,0.10);   color: #094ffe; }
.ind-card--hris-lms .ind-card-icon { background: rgba(16,185,129,0.10); color: #10b981; }
.ind-card--hris-ats .ind-card-icon { background: rgba(245,158,11,0.10); color: #f59e0b; }
.ind-card--hris-eap .ind-card-icon { background: rgba(215,1,63,0.10);   color: #d7013f; }
.ind-card--hris-pm  .ind-card-icon { background: rgba(139,92,246,0.10); color: #8b5cf6; }
.ind-card--hris-ee  .ind-card-icon { background: rgba(14,165,233,0.10); color: #0ea5e9; }

/* ══════════════════════════════════════════════════════════
   IND-CARD GRID (copied from industries styles)
   ══════════════════════════════════════════════════════════ */
.ind-section-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}
.ind-section-intro p {
  color: #4b5563;
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0.75rem 0 0;
}
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.ind-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.ind-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(9,79,254,0.10);
  border-color: rgba(9,79,254,0.25);
}
.ind-card-bar { height: 4px; background: linear-gradient(90deg, #094ffe, #5b8cff); }
.ind-card-body {
  flex: 1;
  padding: 1.5rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
}
.ind-card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.ind-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #001342;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}
.ind-card-desc {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
  flex: 1;
  margin: 0;
}
.ind-card-footer {
  padding: 0.85rem 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #094ffe;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 1rem;
  transition: gap 0.18s ease;
}
.ind-card:hover .ind-card-footer { gap: 0.55rem; }
.ind-card-footer svg { transition: transform 0.18s ease; }
.ind-card:hover .ind-card-footer svg { transform: translateX(3px); }
@media (max-width: 960px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ind-grid { grid-template-columns: 1fr; } }
