/* ================================================================
   Hirshabelle CSC — Home page
   Matches reference design screenshot
   ================================================================ */

/* ——— Variables ——— */
body.csc-page-home {
  padding-top: 0 !important;
  --hm-font: 'Plus Jakarta Sans', var(--csc-font);
  --hm-radius: 10px;
  --hm-surface: #f2f8f4;
  --hm-card: #ffffff;
  --hm-ink: #0a1f10;
  --hm-muted: #3d5e48;
  --hm-border: #c8dfd0;
}
body.csc-page-home .csc-gov-header {
  position: relative;
  top: auto;
  box-shadow: 0 2px 14px rgba(13, 51, 32, 0.1);
}
body.csc-page-home .csc-gov-utility { position: relative; }

.hm {
  font-family: var(--hm-font);
  color: var(--hm-ink);
  overflow-x: hidden;
  font-size: 1.0625rem;
}
.hm .container { max-width: 1260px; }

/* ——— Shared section ——— */
.hm-section        { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.hm-section--alt   { background: var(--hm-surface); }

.hm-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.35rem 1rem;
  margin-bottom: 1.5rem;
}
.hm-section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hm-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--csc-blue);
  margin-bottom: 0.3rem;
}
.hm-label::before {
  content: ''; display: inline-block;
  width: 16px; height: 2px;
  background: var(--csc-blue); border-radius: 2px;
}
.hm-section__title {
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--hm-ink);
  margin: 0;
  letter-spacing: -0.025em;
}
.hm-link-all {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--csc-blue);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.hm-link-all:hover { opacity: 0.75; text-decoration: none; }

/* ——— Buttons ——— */
.hm-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.hm-btn:hover { text-decoration: none; }

.hm-btn--primary {
  background: var(--csc-blue);
  color: #fff;
}
.hm-btn--primary:hover {
  background: var(--csc-blue-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(26, 111, 181, 0.35);
}
.hm-btn--hero-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.hm-btn--hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}
.hm-btn--outline {
  background: transparent;
  color: var(--hm-ink);
  border-color: var(--hm-border);
}
.hm-btn--outline:hover {
  background: var(--hm-ink);
  color: #fff;
  border-color: var(--hm-ink);
}
.hm-btn--white {
  background: #fff;
  color: var(--csc-navy);
  border-color: #fff;
}
.hm-btn--white:hover {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.hm-btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.hm-btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

/* ================================================================
   HERO — Full-bleed photo, dark gradient overlay, text left
   ================================================================ */

/*
 * Owl Carousel sets display:none on .owl-carousel until JS runs.
 * Force the slider visible immediately so the hero never shows as blank.
 * Hide extra slides until Owl takes over; once owl-loaded is added,
 * Owl's own CSS controls layout.
 */
body.csc-page-home .hm-slider {
  display: block !important;
  width: 100%; margin: 0; position: relative; overflow: hidden;
}
/* Before Owl initialises: show only first slide, hide the rest */
body.csc-page-home .hm-slider:not(.owl-loaded) .hm-hero-slide + .hm-hero-slide {
  display: none;
}

.hm-hero-slide {
  position: relative;
  min-height: clamp(420px, 58vh, 540px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ——— RIGHT: photo is absolute full-bleed background layer ——— */
.hm-hero-slide__right {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hm-hero-slide__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

/* Primary dark gradient — strong left, fades to transparent right */
.hm-hero-slide__right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(2,10,28,0.98) 0%,
    rgba(2,12,32,0.95) 22%,
    rgba(2,14,38,0.88) 38%,
    rgba(2,14,38,0.65) 56%,
    rgba(2,14,38,0.2) 75%,
    rgba(2,14,38,0) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Secondary bottom vignette */
.hm-hero-slide__right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(2,12,32,0.55) 0%,
    transparent 40%
  );
  z-index: 1;
  pointer-events: none;
}

/* ——— LEFT: text panel floats over gradient ——— */
.hm-hero-slide__left {
  position: relative;
  z-index: 5;
  width: 100%;
  display: flex;
  align-items: center;
  background: transparent;
  min-height: inherit;
}

/* Gold-green vertical accent bar — tracks content left edge */
.hm-hero-slide__left::before {
  content: '';
  position: absolute;
  top: 15%;
  left: max(3px, calc((100vw - 1260px) / 2 + 3px));
  width: 4px; height: 70%;
  background: linear-gradient(
    180deg,
    var(--csc-gold) 0%,
    var(--csc-blue) 60%,
    transparent 100%
  );
  border-radius: 0 2px 2px 0;
}

.hm-hero-slide__left::after { display: none; }

/* Content block — margin-left aligns left edge with .container on every viewport */
.hm-hero-slide__content {
  position: relative;
  z-index: 2;
  margin-left: max(0.9375rem, calc((100vw - 1260px) / 2 + 15px));
  padding: clamp(2.5rem, 5vw, 4rem) 2rem;
  max-width: 640px;
  flex-shrink: 0;
}

/* Badge */
.hm-hero-slide__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  margin-bottom: 1.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--csc-gold);
  background: rgba(197,147,65,0.12);
  border: 1px solid rgba(197,147,65,0.38);
  border-radius: 4px;
  width: fit-content;
}
.hm-hero-slide__badge i { font-size: 0.6rem; }

/* Headline */
.hm-hero-slide__title {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

/* "Civil Service Commission" line — green accent */
.hm-hero-slide__green {
  display: block;
  color: #6ee89a;
}

/* Divider rule — gold + green */
.hm-hero-slide__rule {
  width: 64px; height: 4px;
  background: linear-gradient(90deg, var(--csc-gold) 0%, var(--csc-blue) 100%);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* Description — 2 lines max */
.hm-hero-slide__desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin: 0 0 2rem;
  max-width: 540px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA row */
.hm-hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* OWL nav */
/* Custom slider nav buttons */
.hm-slider-wrap { position: relative; }

.hm-slide-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 20;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
  outline: none;
  padding: 0;
}
.hm-slide-btn:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.55);
  transform: translateY(-50%) scale(1.1);
}
.hm-slide-btn--prev { left: 1.25rem; }
.hm-slide-btn--next { right: 1.25rem; }

/* OWL dots */
body.csc-page-home .hm-slider .owl-dots {
  position: absolute;
  bottom: 1.1rem; left: 50%; transform: translateX(-50%);
  display: flex !important;
  gap: 0.45rem;
  z-index: 10;
}
body.csc-page-home .hm-slider .owl-dot span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35) !important;
  display: block;
  transition: background 0.2s, transform 0.2s;
}
body.csc-page-home .hm-slider .owl-dot.active span {
  background: #fff !important;
  transform: scale(1.3);
}

/* Kill OWL's built-in nav */
body.csc-page-home .hm-slider .owl-nav { display: none !important; }

/* ================================================================
   ABOUT
   ================================================================ */
/* (placeholder — keeps the section comment here) */
.hm-pillar__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hm-ink);
  margin: 0 0 0.4rem;
  line-height: 1.2;
}
.hm-pillar__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--hm-muted);
  margin: 0;
}

/* Safety — hide old span/i if pillar hasn't been updated */
.hm-pillar > i { display: none; }
.hm-pillar > span { display: none; }

/* ================================================================
   ABOUT — redesign: landscape photo, year as bottom overlay,
   clean vertical feature list, gold top accent
   ================================================================ */
.hm-about-section {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background: #fff;
  border-top: 4px solid var(--csc-gold);
  background-image: radial-gradient(circle, rgba(13,83,40,0.055) 1px, transparent 1px);
  background-size: 24px 24px;
  background-color: #fff;
}
.hm-about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.75rem, 3vw, 2.75rem);
  align-items: center;
}

/* ——— Image column ——— */
.hm-about-media {
  position: relative;
}

/* Decorative left-side bar */
.hm-about-media::before {
  content: '';
  position: absolute;
  top: 8%; left: -14px;
  width: 4px; height: 84%;
  background: linear-gradient(180deg, var(--csc-gold) 0%, var(--csc-blue) 55%, transparent 100%);
  border-radius: 2px;
  z-index: 1;
}

.hm-about-media__frame {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 33, 66, 0.18);
  position: relative;
}
.hm-about-media__frame img {
  display: block; width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 20%;
}

/* Bottom overlay — year badge sits ON the photo */
.hm-about-media__card--year {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem 1.5rem 1.25rem;
  background: linear-gradient(to top, rgba(0,30,15,0.94) 55%, rgba(0,30,15,0) 100%);
  border-radius: 0 0 10px 10px;
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  box-shadow: none;
  border: none;
}
.hm-about-media__card-num {
  display: block;
  font-size: 2.6rem; font-weight: 900;
  color: var(--csc-gold); line-height: 1;
  letter-spacing: -0.03em;
}
.hm-about-media__card-label {
  display: block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding-bottom: 0.2rem;
}

/* Seal card — hidden (too cluttered) */
.hm-about-media__card--seal { display: none; }

/* ——— Text column ——— */
.hm-about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--csc-blue);
  margin-bottom: 0.85rem;
}
.hm-about-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--csc-blue);
  border-radius: 2px;
  flex-shrink: 0;
}

.hm-about-title {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800; line-height: 1.18;
  color: var(--hm-ink);
  margin: 0 0 0.8rem;
  letter-spacing: -0.025em;
}
.hm-about-intro {
  font-size: 0.9375rem; line-height: 1.72;
  color: var(--hm-muted);
  margin: 0 0 1.35rem;
}

/* Features — 3-column card grid, column-flex layout (fixes icon stretch bug) */
.hm-about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.hm-about-feat {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 0.95rem;
  background: #fff;
  border: 1px solid var(--hm-border);
  border-top: 3px solid var(--csc-navy);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 8px rgba(13,51,32,0.07);
  transition: border-top-color 0.2s, box-shadow 0.2s;
}
.hm-about-feat:hover {
  border-top-color: var(--csc-blue);
  box-shadow: 0 4px 18px rgba(30,122,68,0.14);
}

.hm-about-feat__icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px;
  background: var(--csc-sky-soft);
  color: var(--csc-navy);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hm-about-feat > div { display: block; }
.hm-about-feat h3 {
  margin: 0 0 0.22rem;
  font-size: 0.875rem; font-weight: 700;
  color: var(--hm-ink); line-height: 1.2;
}
.hm-about-feat p {
  margin: 0;
  font-size: 0.8rem; line-height: 1.5;
  color: var(--hm-muted);
}

.hm-about-actions {
  display: flex; flex-wrap: wrap; gap: 0.65rem;
}
.hm-lead {
  font-size: 1rem; line-height: 1.75;
  color: var(--hm-muted); margin: 0 0 1.25rem;
}

/* ================================================================
   MISSION & VISION — redesign: two bold full-height panels
   ================================================================ */
/* ================================================================
   MISSION & VISION — redesigned
   ================================================================ */
.hm-mv {
  background: linear-gradient(160deg, #020f06 0%, #061a0d 35%, #0d3320 68%, #1a5c38 100%);
  padding: clamp(4rem, 7vw, 6rem) 0;
  position: relative;
  overflow: hidden;
  border-top: none;
}

/* Layer 1 — dot grid + decorative rings */
.hm-mv::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.06) 1.5px, transparent 1.5px),
    radial-gradient(circle 280px at 93% -8%,  transparent 276px, rgba(197,147,65,0.20) 277px, transparent 281px),
    radial-gradient(circle 200px at 93% -8%,  transparent 196px, rgba(197,147,65,0.11) 197px, transparent 201px),
    radial-gradient(circle 340px at 7%  108%, transparent 336px, rgba(40,144,217,0.15) 337px, transparent 341px),
    radial-gradient(circle 240px at 7%  108%, transparent 236px, rgba(40,144,217,0.09) 237px, transparent 241px);
  background-size: 26px 26px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  pointer-events: none;
}

/* Layer 2 — diagonal stripes */
.hm-mv::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 50px,
    rgba(255,255,255,0.016) 50px,
    rgba(255,255,255,0.016) 51px
  );
  pointer-events: none;
}

/* Section head */
.hm-mv__head {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  margin-bottom: 2.5rem;
  position: relative; z-index: 1;
}
.hm-mv__head-text { /* compat */ }

.hm-mv__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--csc-gold);
  background: rgba(197,147,65,0.14);
  border: 1px solid rgba(197,147,65,0.3);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}
.hm-mv__eyebrow::before {
  content: ''; display: inline-block;
  width: 16px; height: 2px;
  background: var(--csc-gold); border-radius: 2px;
}

.hm-mv__title {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 800; color: #fff;
  margin: 0 0 0.6rem; letter-spacing: -0.025em;
  line-height: 1.15;
}
.hm-mv__head-desc {
  font-size: 0.95rem; line-height: 1.72;
  color: rgba(255,255,255,0.70);
  max-width: 520px; margin: 0 auto;
}

/* Cards grid */
.hm-mv__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem; align-items: stretch;
  position: relative; z-index: 1;
}
.hm-mv__spine { display: none !important; }

/* Card base */
.hm-mv-block {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 20px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hm-mv-block:hover { transform: translateY(-5px); }

/* Corner ring decoration */
.hm-mv-block::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 32px solid rgba(255,255,255,0.05);
  pointer-events: none;
}
.hm-mv-block::after {
  content: '';
  position: absolute;
  right: -88px; top: -88px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 20px solid rgba(255,255,255,0.03);
  pointer-events: none;
}

/* Mission card — dark navy glass */
.hm-mv-block--mission {
  background: rgba(0,14,36,0.62);
  border: 1px solid rgba(197,147,65,0.18);
  border-left: 4px solid var(--csc-gold);
  box-shadow: 0 20px 56px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.06);
}
.hm-mv-block--mission:hover {
  box-shadow: 0 28px 72px rgba(0,0,0,0.44), 0 0 0 1px rgba(197,147,65,0.26);
}
.hm-mv-block--mission::before { border-color: rgba(197,147,65,0.09); }
.hm-mv-block--mission::after  { border-color: rgba(197,147,65,0.05); }

/* Vision card — green glass */
.hm-mv-block--vision {
  background: rgba(30,122,68,0.22);
  border: 1px solid rgba(46,164,85,0.26);
  border-left: 4px solid #2ea455;
  box-shadow: 0 20px 56px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.08);
}
.hm-mv-block--vision:hover {
  box-shadow: 0 28px 72px rgba(0,0,0,0.38), 0 0 0 1px rgba(46,164,85,0.30);
}
.hm-mv-block--vision::before {
  border-color: rgba(46,164,85,0.10);
  right: auto; top: auto; left: -60px; bottom: -60px;
}
.hm-mv-block--vision::after {
  border-color: rgba(40,144,217,0.06);
  right: auto; top: auto; left: -88px; bottom: -88px;
}

/* Label row (icon + heading) */
.hm-mv-block__label {
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 1rem;
}

.hm-mv-block__icon {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px; font-size: 1.15rem; flex-shrink: 0;
}
.hm-mv-block--mission .hm-mv-block__icon {
  background: rgba(197,147,65,0.15);
  border: 1.5px solid rgba(197,147,65,0.38);
  color: var(--csc-gold);
  box-shadow: 0 6px 20px rgba(197,147,65,0.22);
}
.hm-mv-block--vision .hm-mv-block__icon {
  background: rgba(40,144,217,0.18);
  border: 1.5px solid rgba(40,144,217,0.42);
  color: #7dd3f8;
  box-shadow: 0 6px 20px rgba(40,144,217,0.22);
}

.hm-mv-block__label h3 {
  margin: 0; font-size: 1.1rem; font-weight: 800;
  letter-spacing: -0.01em; color: #fff;
}
.hm-mv-block--mission .hm-mv-block__label h3 { color: #fff; }
.hm-mv-block--vision  .hm-mv-block__label h3 { color: #fff; }

/* Body text with accent rule */
.hm-mv-block__text {
  margin: 0; font-size: 0.92rem;
  line-height: 1.78;
  padding-top: 0.75rem;
  position: relative;
}
.hm-mv-block__text::before {
  content: '';
  display: block;
  width: 38px; height: 2px;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}
.hm-mv-block--mission .hm-mv-block__text         { color: rgba(255,255,255,0.80); }
.hm-mv-block--mission .hm-mv-block__text::before { background: linear-gradient(90deg, var(--csc-gold), transparent); }
.hm-mv-block--vision  .hm-mv-block__text         { color: rgba(255,255,255,0.80); }
.hm-mv-block--vision  .hm-mv-block__text::before { background: linear-gradient(90deg, #7dd3f8, transparent); }

/* ================================================================
   CORE SERVICES — redesigned bold vertical cards
   ================================================================ */
.hm-services {
  background: var(--hm-surface);
  border-top: 1px solid var(--hm-border);
}

/* Dark header banner */
.hm-services__header {
  background: linear-gradient(110deg, #0a2218 0%, #0d3320 50%, #1a5c38 100%);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  position: relative;
  overflow: hidden;
}
.hm-services__header::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.hm-services__header::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(197,147,65,0.14);
  pointer-events: none;
}
.hm-services__header-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.hm-services__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--csc-gold);
  margin-bottom: 0.85rem;
}
.hm-services__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; line-height: 1.1;
  color: #fff; letter-spacing: -0.025em;
  margin: 0;
}
.hm-services__intro {
  font-size: 1rem; line-height: 1.72;
  color: rgba(255,255,255,0.68);
  margin: 0;
}

/* Cards grid */
.hm-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

/* Individual card */
.hm-svc2 {
  position: relative;
  padding: 2rem 1.75rem 2rem;
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: 0;
  display: flex; flex-direction: column;
  gap: 0.6rem;
  transition: background 0.22s, box-shadow 0.22s, transform 0.22s;
  overflow: hidden;
  cursor: default;
}
/* Gold top strip */
.hm-svc2::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--csc-gold), var(--csc-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.hm-svc2:hover::before { transform: scaleX(1); }
.hm-svc2:hover {
  background: var(--csc-navy);
  box-shadow: 0 16px 48px rgba(13,51,32,0.18);
  transform: translateY(-3px);
  z-index: 1;
}
/* Round all corners of first and last */
.hm-svc2:first-child { border-radius: 12px 0 0 12px; }
.hm-svc2:last-child  { border-radius: 0 12px 12px 0; }
.hm-svc2:nth-child(3){ border-radius: 0 12px 12px 0; }
.hm-svc2:nth-child(4){ border-radius: 12px 0 0 12px; }

/* Number watermark */
.hm-svc2__num {
  position: absolute;
  top: 1rem; right: 1.25rem;
  font-size: 2.4rem; font-weight: 900;
  color: rgba(13,51,32,0.06);
  line-height: 1; letter-spacing: -0.05em;
  transition: color 0.22s;
  pointer-events: none;
}
.hm-svc2:hover .hm-svc2__num { color: rgba(255,255,255,0.07); }

/* Icon */
.hm-svc2__icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--csc-navy), var(--csc-green));
  display: flex; align-items: center; justify-content: center;
  color: var(--csc-gold); font-size: 1.15rem;
  flex-shrink: 0;
  transition: background 0.22s, transform 0.22s;
  margin-bottom: 0.35rem;
}
.hm-svc2:hover .hm-svc2__icon-wrap {
  background: linear-gradient(135deg, rgba(197,147,65,0.25), rgba(197,147,65,0.12));
  color: var(--csc-gold);
  transform: scale(1.08);
}

.hm-svc2__title {
  font-size: 1rem; font-weight: 800;
  color: var(--hm-ink); line-height: 1.25;
  margin: 0;
  transition: color 0.22s;
}
.hm-svc2:hover .hm-svc2__title { color: #fff; }

.hm-svc2__desc {
  font-size: 0.875rem; line-height: 1.65;
  color: var(--hm-muted); margin: 0; flex: 1;
  transition: color 0.22s;
}
.hm-svc2:hover .hm-svc2__desc { color: rgba(255,255,255,0.65); }

.hm-svc2__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(13,51,32,0.07);
  color: var(--csc-green); font-size: 0.72rem;
  transition: background 0.22s, color 0.22s, transform 0.22s;
  align-self: flex-start;
  margin-top: 0.25rem;
}
.hm-svc2:hover .hm-svc2__arrow {
  background: var(--csc-gold);
  color: var(--csc-navy);
  transform: translateX(3px);
}

/* ================================================================
   STATISTICS — gradient bg, minimal icon, oversized numbers
   ================================================================ */
.hm-stats {
  background: linear-gradient(130deg, #061a0d 0%, #0d3320 45%, #1a5c38 100%);
  padding: clamp(2.5rem, 4.5vw, 3.5rem) 0;
  position: relative; overflow: hidden;
}
.hm-stats::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hm-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0; text-align: center;
  position: relative; z-index: 1;
}
.hm-stat {
  padding: 1rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
}
.hm-stat:last-child { border-right: none; }

.hm-stat__icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--csc-gold);
  font-size: 0.95rem;
  background: rgba(197,147,65,0.15);
  margin-bottom: 0.5rem;
}
.hm-stat__num {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 900;
  color: #fff;
  line-height: 1; letter-spacing: -0.03em;
}
.hm-stat__label {
  display: block;
  font-size: 0.8rem; font-weight: 500;
  color: rgba(255,255,255,0.7);
  line-height: 1.35; max-width: 130px; margin: 0 auto;
}

/* ================================================================
   NEWS — magazine-style cards
   ================================================================ */
.hm-news {
  background-color: var(--hm-surface);
  background-image: radial-gradient(circle, rgba(13,83,40,0.055) 1px, transparent 1px);
  background-size: 24px 24px;
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--hm-border);
}

/* 3 equal columns */
.hm-news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

/* ── Shared card base ── */
.hm-nc {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit;
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s;
}
.hm-nc:hover {
  box-shadow: 0 10px 36px rgba(13,51,32,0.13);
  transform: translateY(-4px);
  color: inherit;
}

/* ── Standard equal card ── */
.hm-nc--std .hm-nc__img {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, var(--csc-navy) 0%, #1a5c38 100%);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.hm-nc--std .hm-nc__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,30,15,0.55) 0%, transparent 65%);
}
.hm-nc__img-ph {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.18);
}
.hm-nc__cat-badge {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  z-index: 1;
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--csc-blue);
  color: #fff;
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
}
.hm-nc--std .hm-nc__body {
  padding: 1.25rem 1.35rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hm-nc--std .hm-nc__title {
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0.3rem 0 0.5rem;
  color: var(--hm-ink);
  letter-spacing: -0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hm-nc--std .hm-nc__excerpt {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--hm-muted);
  margin: 0 0 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Shared body elements ── */
.hm-nc__date {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--csc-blue);
}
.hm-nc__date i { font-size: 0.65rem; }
.hm-nc__more {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.82rem; font-weight: 700;
  color: var(--csc-blue);
  margin-top: auto;
  transition: gap 0.2s;
}
.hm-nc:hover .hm-nc__more { gap: 0.55rem; }
.hm-nc__more i { font-size: 0.6rem; }

/* Empty state */
.hm-news__empty {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 3rem 2rem;
  background: #fff;
  border: 1.5px dashed var(--hm-border);
  border-radius: 14px; text-align: center;
}
.hm-news__empty i { font-size: 2.5rem; color: #c8d8e8; margin-bottom: 0.75rem; display: block; }
.hm-news__empty p { font-size: 0.875rem; color: var(--hm-muted); margin: 0; }
.hm-news__empty p a { color: var(--csc-blue); font-weight: 600; }

/* ================================================================
   QUICK ACCESS — icon-box cards with arrow, green hover
   ================================================================ */
/* ================================================================
   QUICK ACCESS — redesigned bold cards
   ================================================================ */
.hm-quick {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background: linear-gradient(180deg, #f0f8f4 0%, #e6f4ee 100%);
  border-top: 1px solid #c8dfd0;
  position: relative;
  overflow: hidden;
}
.hm-quick::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(30,122,68,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.hm-quick__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative; z-index: 1;
}
.hm-quick-card {
  display: flex; flex-direction: column;
  padding: 2rem 1.6rem 1.75rem;
  background: #fff;
  border: 1.5px solid #d8ece2;
  border-radius: 14px;
  text-decoration: none; color: inherit;
  transition: transform 0.25s cubic-bezier(.22,.68,0,1.2), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(13,51,32,0.05);
}
/* top accent stripe */
.hm-quick-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #155c32, #2ea455);
  opacity: 0;
  transition: opacity 0.25s;
}
/* arrow badge */
.hm-quick-card::after {
  content: '\f061';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute; bottom: 1.15rem; right: 1.15rem;
  font-size: 0.7rem;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(30,122,68,0.1);
  color: #1e7a44;
  opacity: 0.6;
  transition: opacity 0.25s, transform 0.25s, background 0.25s, color 0.25s;
}
.hm-quick-card:hover {
  border-color: #1e7a44;
  box-shadow: 0 8px 32px rgba(13,51,32,0.14);
  transform: translateY(-5px);
  background: linear-gradient(160deg, #0d3320 0%, #1e7a44 100%);
  text-decoration: none; color: inherit;
}
.hm-quick-card:hover::before { opacity: 1; }
.hm-quick-card:hover::after {
  opacity: 1; transform: translateX(3px);
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.hm-quick-card__icon {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(30,122,68,0.1) 0%, rgba(46,164,85,0.14) 100%);
  border: 1.5px solid rgba(30,122,68,0.18);
  font-size: 1.35rem;
  color: #1e7a44;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
/* legacy <i> tag support (no wrapper div) */
.hm-quick-card > i {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(30,122,68,0.1) 0%, rgba(46,164,85,0.14) 100%);
  border: 1.5px solid rgba(30,122,68,0.18);
  font-size: 1.35rem;
  color: #1e7a44;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.hm-quick-card:hover .hm-quick-card__icon,
.hm-quick-card:hover > i {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.hm-quick-card h3 {
  margin: 0 0 0.4rem; font-size: 1rem; font-weight: 700; line-height: 1.25;
  color: #0a1f10; transition: color 0.25s;
}
.hm-quick-card:hover h3 { color: #fff; }
.hm-quick-card p {
  margin: 0; font-size: 0.8rem; line-height: 1.55;
  color: #4a6458; transition: color 0.25s;
  flex: 1;
}
.hm-quick-card:hover p { color: rgba(255,255,255,0.78); }

/* ================================================================
   CTA — redesigned split layout
   ================================================================ */
.hm-cta2 {
  background: linear-gradient(135deg, #061a0d 0%, #0d3320 40%, #1e5c38 75%, #1a5c38 100%);
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative; overflow: hidden;
  border-top: 3px solid var(--csc-gold);
}
.hm-cta2__bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px),
    repeating-linear-gradient(-55deg, transparent, transparent 40px, rgba(197,147,65,0.018) 40px, rgba(197,147,65,0.018) 41px);
  background-size: 24px 24px, auto;
  pointer-events: none;
}
.hm-cta2__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem 3rem;
  align-items: center;
}
/* Left — text */
.hm-cta2__left { display: flex; flex-direction: column; gap: 1.25rem; }
.hm-cta2__eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--csc-gold);
  padding: 0.35rem 0.85rem;
  background: rgba(197,147,65,0.12);
  border: 1px solid rgba(197,147,65,0.28);
  border-radius: 4px;
  width: fit-content;
}
.hm-cta2__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800; line-height: 1.12;
  color: #fff; letter-spacing: -0.025em; margin: 0;
}
.hm-cta2__contacts {
  display: flex; flex-direction: column; gap: 0.6rem;
}
.hm-cta2__contact-item {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.9rem; color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.15s;
}
.hm-cta2__contact-item:hover { color: #fff; }
.hm-cta2__contact-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; color: var(--csc-gold);
}

/* Centre — decorative */
.hm-cta2__deco {
  position: relative;
  width: 100px; height: 100px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.hm-cta2__deco-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(197,147,65,0.35);
  animation: ctaRingSpin 18s linear infinite;
}
.hm-cta2__deco-ring::before {
  content: '';
  position: absolute; inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(197,147,65,0.18);
}
.hm-cta2__deco-icon {
  font-size: 2.2rem; color: rgba(197,147,65,0.55);
  position: relative; z-index: 1;
}
@keyframes ctaRingSpin { to { transform: rotate(360deg); } }

/* Right — buttons */
.hm-cta2__right {
  display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start;
}
.hm-cta2__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.75rem;
  font-size: 0.9rem; font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  width: 100%;
}
.hm-cta2__btn--primary {
  background: var(--csc-gold);
  color: var(--csc-navy);
  border: 2px solid var(--csc-gold);
}
.hm-cta2__btn--primary:hover {
  background: #d4a24d; border-color: #d4a24d;
  color: var(--csc-navy); text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197,147,65,0.35);
}
.hm-cta2__btn--outline {
  background: transparent;
  color: rgba(255,255,255,0.88);
  border: 2px solid rgba(255,255,255,0.25);
}
.hm-cta2__btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: #fff; text-decoration: none;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 991px) {
  /* Hero — tablet: full-bleed still works, shrink height, text full-width */
  .hm-hero-slide { min-height: clamp(380px, 55vh, 480px); }
  .hm-hero-slide__right { position: absolute; inset: 0; height: 100%; }
  .hm-hero-slide__content { margin-left: 1.25rem; max-width: calc(100% - 2.5rem); }

  .hm-about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hm-about-media { max-width: 480px; margin: 0 auto; }
  .hm-about-media::before { display: none; }

  .hm-mv__wrap { grid-template-columns: 1fr; gap: 1rem; }

  .hm-services__header-inner { grid-template-columns: 1fr; }
  .hm-services__grid { grid-template-columns: repeat(2, 1fr); }
  .hm-svc2:first-child,.hm-svc2:nth-child(3),.hm-svc2:nth-child(4),.hm-svc2:last-child { border-radius: 0; }

  .hm-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .hm-stat {
    padding: 1.5rem 1.25rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .hm-stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.1); }
  .hm-stat:nth-child(3),
  .hm-stat:nth-child(4) { border-bottom: none; }

  .hm-news__grid { grid-template-columns: 1fr 1fr; }
  .hm-news__grid .hm-nc:first-child { grid-column: 1 / -1; }
  .hm-quick__grid { grid-template-columns: repeat(2, 1fr); }

  .hm-cta2__inner { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .hm-cta2__deco { display: none; }
  .hm-cta2__eyebrow { margin: 0 auto; }
  .hm-cta2__contacts { align-items: center; }
  .hm-cta2__right { align-items: center; }

  .csc-footer__grid { grid-template-columns: 1fr 1fr; }
  .csc-footer__brand { grid-column: 1 / -1; border-left: none !important; padding-left: 0 !important; margin-left: 0 !important; }
}

@media (max-width: 575px) {
  /* Hero — mobile */
  .hm-hero-slide { min-height: clamp(400px, 70vh, 520px); }
  .hm-hero-slide__title { font-size: clamp(1.65rem, 7vw, 2.2rem); }
  .hm-hero-slide__content { margin-left: 0.9375rem; max-width: calc(100% - 1.875rem); padding: 2rem 1.25rem; }
  .hm-hero-slide__left::before { display: none; }
  .hm-hero-slide__desc { font-size: 0.875rem; max-width: 100%; }
  .hm-hero-slide__actions { flex-direction: column; align-items: flex-start; }

  .hm-slide-btn { width: 36px; height: 36px; font-size: 0.8rem; }
  .hm-slide-btn--prev { left: 0.5rem; }
  .hm-slide-btn--next { right: 0.5rem; }

  .hm-about-intro { padding-left: 0.75rem; }
  .hm-services__grid { grid-template-columns: 1fr; }
  .hm-svc2 { border-radius: 0 !important; }
  .hm-quick__grid    { grid-template-columns: 1fr 1fr; }
  .hm-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .hm-stat { padding: 1.25rem 0.75rem; }
  .csc-footer__grid { grid-template-columns: 1fr; }
  .csc-footer__bottom-inner { flex-direction: column; text-align: center; gap: 0.5rem; }
}
