  .extra-offerings {
  display: none;
}

.extra-offerings.show {
  display: contents;
}

/* Force visibility regardless of any scroll-reveal animation classes */
.extra-offerings.show .offering-card {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.btn-view-toggle {
  background: transparent;
  border: 1px solid var(--gold, #c9a227);
  color: var(--gold, #c9a227);
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-view-toggle:hover {
  background: var(--gold, #c9a227);
  color: #fff;
}

.btn-view-toggle i {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.btn-view-toggle.active i {
  transform: rotate(180deg);
}





/* ════════════════════════════════════════════════════════════
   HEMAC CONSULTING — SERVICE PAGE STYLES
   (Hero + Service Content. Nav & Footer styles excluded —
   those already live elsewhere in your stylesheet.)
════════════════════════════════════════════════════════════ */

:root {
  --navy:        #0A192F;
  --navy-dark:   #060f1e;
  --navy-soft:   #0d2040;
  --gold:        #D4AF37;
  --gold-light:  #f0d878;
  --gray-600:    #5b6472;
  --gray-100:    #f6f7f9;
  --r-sm:        6px;
  --r-md:        12px;
  --tr:          0.25s ease;
  --font-main:   'Manrope', sans-serif;
}

body {
  font-family: var(--font-main);
  color: var(--navy);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ════════════════════════════════════════════════════════════
   PAGE HERO
════════════════════════════════════════════════════════════ */
#page-hero {
  position: relative;
  background: var(--navy);
  padding: 160px 0 110px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(212,175,55,0.16), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(212,175,55,0.08), transparent 70%);
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.15) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
  z-index: 0;
}

/* Animated pulse rings — desktop accent, hidden on small screens */
.hero-pulse {
  position: absolute;
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
  width: 280px;
  height: 280px;
  z-index: 0;
}
.pulse-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 50%;
  animation: pulseOut 4.5s ease-out infinite;
}
.pulse-ring:nth-child(2) { animation-delay: 1.1s; }
.pulse-ring:nth-child(3) { animation-delay: 2.2s; }
.pulse-ring:nth-child(4) { animation-delay: 3.3s; }
.pulse-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
}
@keyframes pulseOut {
  0%   { transform: scale(0.3); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse-ring { animation: none; opacity: 0.4; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.breadcrumb-nav a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--tr);
}
.breadcrumb-nav a:hover { color: var(--gold); }
.breadcrumb-nav .sep { color: rgba(255,255,255,0.25); }
.breadcrumb-nav .current { color: var(--gold); }

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 18px;
}
.hero-title .gold {
  color: var(--gold);
}

.hero-label {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.62);
  max-width: 620px;
  margin: 0;
}

@media (max-width: 991px) {
  #page-hero { padding: 130px 0 80px; }
  .hero-pulse { display: none; }
}
@media (max-width: 575px) {
  #page-hero { padding: 110px 0 60px; }
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.4rem); }
}

/* ════════════════════════════════════════════════════════════
   SERVICE SECTION — SHARED SHELL
════════════════════════════════════════════════════════════ */
.service-section {
  padding: 90px 0;
  background: #ffffff;
}
.service-section.dark {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
}

/* ── Header block ── */
.svc-header { margin-bottom: 56px; max-width: 760px; }

.svc-number {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.svc-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 14px;
}
.service-section.dark .svc-title { color: #ffffff; }

.divider-gold {
  width: 54px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 4px 0 20px;
}

.svc-tagline {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--gray-600);
  border-left: 3px solid rgba(212,175,55,0.5);
  padding-left: 16px;
  margin-bottom: 16px;
}
.service-section.dark .svc-tagline {
  color: rgba(255,255,255,0.65);
}

.svc-intro {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 0;
}
.service-section.dark .svc-intro { color: rgba(255,255,255,0.6); }

/* ── Compliance badges ── */
.compliance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 999px;
  padding: 7px 14px;
}
.service-section.dark .badge-pill {
  color: var(--gold);
  background: rgba(212,175,55,0.08);
  border-color: rgba(212,175,55,0.25);
}
.badge-pill i { font-size: 0.85rem; }

/* ════════════════════════════════════════════════════════════
   OFFERING GRID / CARDS
════════════════════════════════════════════════════════════ */
.offering-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.offering-card {
  background: var(--gray-100);
  border: 1px solid rgba(10,25,47,0.06);
  border-radius: var(--r-md);
  padding: 26px 22px;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.service-section.dark .offering-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.offering-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(10,25,47,0.08);
  border-color: rgba(212,175,55,0.35);
}

.offering-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  background: rgba(212,175,55,0.12);
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.offering-card h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-section.dark .offering-card h4 { color: #ffffff; }

.offering-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--gray-600);
  margin: 0;
}
.service-section.dark .offering-card p {
  color: rgba(255,255,255,0.55);
}

/* Extra (hidden) cards */
.extra-offerings { display: none; }
.extra-offerings.show { display: contents; }
.extra-offerings.show .offering-card {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* View All / View Less toggle */
.btn-view-toggle {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 9px 24px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background var(--tr), color var(--tr);
}
.btn-view-toggle:hover {
  background: var(--gold);
  color: var(--navy);
}
.btn-view-toggle i {
  margin-left: 6px;
  transition: transform var(--tr);
}
.btn-view-toggle.active i { transform: rotate(180deg); }

@media (max-width: 575px) {
  .offering-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   IMPACT BOX
════════════════════════════════════════════════════════════ */
.impact-box {
  background: var(--gray-100);
  border: 1px solid rgba(10,25,47,0.06);
  border-left: 4px solid var(--gold);
  border-radius: var(--r-md);
  padding: 28px 30px;
}
.service-section.dark .impact-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.2);
  border-left: 4px solid var(--gold);
}

.impact-box-label {
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.impact-box p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 14px;
}
.service-section.dark .impact-box p {
  color: rgba(255,255,255,0.65);
}
.impact-box p:last-of-type { margin-bottom: 18px; }

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background var(--tr), transform var(--tr);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.btn-gold.on-dark { color: var(--navy); }

/* ════════════════════════════════════════════════════════════
   VISUAL ACCENT CARD (side column)
════════════════════════════════════════════════════════════ */
.visual-accent-col {
  position: relative;
}

.visual-blob {
  position: absolute;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(212,175,55,0.18), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.visual-card {
  position: relative;
  z-index: 1;
  background: var(--navy);
  color: #ffffff;
  border-radius: var(--r-md);
  padding: 38px 32px;
  border: 1px solid rgba(212,175,55,0.18);
}
.service-section:not(.dark) .visual-card {
  box-shadow: 0 24px 50px rgba(10,25,47,0.18);
}

.visual-card-icon-lg {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  background: rgba(212,175,55,0.12);
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 22px;
}

.visual-card h3 {
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
}

.visual-card > p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

.visual-stat {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.visual-stat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.visual-stat-item i {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.visual-stat-item span {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
}
.visual-stat-item span strong { color: #ffffff; }

@media (max-width: 575px) {
  .visual-card { padding: 30px 24px; }
}

/* ════════════════════════════════════════════════════════════
   SCROLL REVEAL UTILITIES
════════════════════════════════════════════════════════════ */
/* Visible by default — JS only adds the animated entrance on top of this */
.reveal,
.reveal-left,
.reveal-right,
.reveal-l,
.reveal-r {
  opacity: 1;
  transform: none;
}

/* Only elements the observer has explicitly grabbed get the "about to animate" state */
.js-reveal-ready.reveal,
.js-reveal-ready.reveal-left,
.js-reveal-ready.reveal-right,
.js-reveal-ready.reveal-l,
.js-reveal-ready.reveal-r {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-reveal-ready.reveal-left  { transform: translateX(-18px); }
.js-reveal-ready.reveal-right,
.js-reveal-ready.reveal-r     { transform: translateX(18px); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-l, .reveal-r {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
