/* ============================================================
   hrdelivered-industries.css
   Industries parent / hub page
   Depends on: hrdelivered-global.css (tokens, nav, footer, buttons)
   ============================================================ */

/* ── 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: #4b5563;
  line-height: 1.65;
}

/* ── Hero ────────────────────────────────────────────────── */
.pt-hero {
  background-color: #001342;
  padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--nav-height, 5rem) + 3rem);
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}
.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(91,140,255,0.15);
  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: #fff;
  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-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.pt-hero-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* ── Two-column 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-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: #4b5563;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.pt-split-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

/* ── 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: #4b5563;
  line-height: 1.7;
  padding-bottom: 1.25rem;
}
.pt-faq-a a { color: var(--color-blue, #094ffe); }

/* ── Centered hero overrides ─────────────────────────────── */
.ind-hero {
  text-align: center;
  padding-bottom: 6rem;
}

/* ── Hero fade-up animations (matches homepage) ──────────── */
@keyframes hrdFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ind-hero .pt-hero-badge {
  animation: hrdFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0s;
}
.ind-hero-inner h1 {
  animation: hrdFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.12s;
}
.ind-hero-inner .ind-hero-sub {
  animation: hrdFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.26s;
}
.ind-hero-inner .ind-hero-btns {
  animation: hrdFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.4s;
}
@media (prefers-reduced-motion: reduce) {
  .ind-hero .pt-hero-badge,
  .ind-hero-inner h1,
  .ind-hero-inner .ind-hero-sub,
  .ind-hero-inner .ind-hero-btns { animation: none; }
}

.ind-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) {
  .ind-hero-inner { padding-inline: 2.5rem; }
}

/* h1 — matches homepage size, weight, color, spacing */
.ind-hero-inner h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.ind-hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.70);
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.ind-hero-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
@media (max-width: 640px) {
  .ind-hero-btns { flex-direction: column; align-items: center; }
}

/* ── Hero h1 accent ──────────────────────────────────────── */
.ind-hero-h1-accent {
  background: linear-gradient(90deg, #5b8cff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Stats bar ───────────────────────────────────────────── */
.ind-stats {
  background: var(--color-cream, #F6F3E8);
  border-bottom: 1px solid #e2dece;
}
.ind-stats-grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.ind-stat-item {
  padding: 1.6rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(0,0,0,0.06);
}
.ind-stat-item:last-child { border-right: none; }
.ind-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #001342;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.ind-stat-label {
  font-size: 0.8125rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* ── Section intro ───────────────────────────────────────── */
.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-not-listed {
  margin-top: 2rem;
  font-size: 0.9375rem;
  color: #6b7280;
  text-align: center;
}
.ind-not-listed a {
  color: #094ffe;
  text-decoration: none;
  font-weight: 500;
}
.ind-not-listed a:hover { text-decoration: underline; }

/* ── Industry card grid ──────────────────────────────────── */
.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);
}

/* Colored top bar */
.ind-card-bar {
  height: 4px;
  background: linear-gradient(90deg, #094ffe, #5b8cff);
}
.ind-card--education .ind-card-bar   { background: linear-gradient(90deg, #0ea5e9, #38bdf8); }
.ind-card--healthcare .ind-card-bar  { background: linear-gradient(90deg, #10b981, #34d399); }
.ind-card--construction .ind-card-bar{ background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.ind-card--hospitality .ind-card-bar { background: linear-gradient(90deg, #d7013f, #f43f5e); }
.ind-card--retail .ind-card-bar      { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.ind-card--financial .ind-card-bar   { background: linear-gradient(90deg, #094ffe, #5b8cff); }

.ind-card-body {
  flex: 1;
  padding: 1.5rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
}

/* Icon */
.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--education   .ind-card-icon { background: rgba(14,165,233,0.10); color: #0ea5e9; }
.ind-card--healthcare  .ind-card-icon { background: rgba(16,185,129,0.10); color: #10b981; }
.ind-card--construction .ind-card-icon{ background: rgba(245,158,11,0.10);  color: #f59e0b; }
.ind-card--hospitality .ind-card-icon { background: rgba(215,1,63,0.10);   color: #d7013f; }
.ind-card--retail      .ind-card-icon { background: rgba(139,92,246,0.10); color: #8b5cf6; }
.ind-card--financial   .ind-card-icon { background: rgba(9,79,254,0.10);   color: #094ffe; }

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

/* ── Value prop split (reuses global pt-split) ───────────── */
.ind-value-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.ind-value-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.5;
}

/* ── Green checkmark bullets (matches About page) ─────────── */
.ind-green-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
}
.ind-green-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: #374151;
  background: none !important;
  line-height: 1.55;
  margin-bottom: 0.35rem;
}
.ind-green-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%2322c55e'/%3E%3Cpolyline points='5.5,10.5 8.5,13.5 14.5,7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ── CTA banner ──────────────────────────────────────────── */
.ind-cta-section {
  background: #001342;
  position: relative;
  overflow: hidden;
}
.ind-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 10% 50%, rgba(9,79,254,0.25) 0%, transparent 65%),
              radial-gradient(ellipse 40% 80% at 90% 50%, rgba(215,1,63,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.ind-cta-inner {
  position: relative;
  max-width: 740px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  text-align: center;
}
.ind-cta-inner h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.ind-cta-inner p {
  color: rgba(240,242,255,0.72);
  font-size: 1.0625rem;
  margin: 0 0 2rem;
  line-height: 1.65;
}
.ind-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ── FAQ (reuses global pt-faq styles, just positioning) ─── */
.ind-faq-wrap {
  max-width: 760px;
  margin: 0 auto;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .ind-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ind-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ind-stat-item:nth-child(2) { border-right: none; }
  .ind-stat-item:nth-child(3) { border-right: 1px solid rgba(0,0,0,0.06); }
  .ind-stat-item:nth-child(3),
  .ind-stat-item:nth-child(4) { border-top: 1px solid rgba(0,0,0,0.06); }
}
@media (max-width: 600px) {
  .ind-grid {
    grid-template-columns: 1fr;
  }
  .ind-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
