:root {
  --uicore-primary: #418A71;
  --uicore-secondary: #FFFFFF;
  --uicore-accent: #0E0F0E;
  --uicore-headline: #222222;
  --uicore-body: #94959B;
  --uicore-dark: #418A71;
  --uicore-light: #FDF0D4;
  --uicore-white: #FFFFFF;
  --font-primary: "Space Grotesk", system-ui, sans-serif;
  --nav-h: 72px;
  --radius: 8px;

  /* ---------- MEDIA MANIFEST ----------
     All assets are local. Run `bash download-media.sh` once to
     populate ./assets before opening this file. */
  --media-about: url("about.jpg");
  --media-mission: url("mission.jpg");
  --media-vision: url("vision.jpg");
  --media-quote: url("quote.jpg");

  /* Hero poster: shown until the YouTube frame paints, and permanently
     if the embed is blocked (offline, sandboxed preview, ad blocker). */
  --media-hero-poster: radial-gradient(circle at 50% 45%, #0d3b52 0%, #061420 60%, #03080f 100%);
}

/* ---------- base ---------- */
* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h)
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  color: var(--uicore-body);
  background: var(--uicore-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--uicore-headline)
}

a {
  text-decoration: none
}

img {
  max-width: 100%
}

#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  font-family: "Space Grotesk", system-ui, sans-serif;
  transition: opacity .5s ease, visibility .5s ease;
}

#page-loader.pl-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pl-inner {
  text-align: center;
}

.pl-ring {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.1rem;
  border: 4px solid rgba(65, 138, 113, .18);
  border-top-color: #418A71;
  /* brand green */
  border-radius: 50%;
  animation: pl-spin .9s linear infinite;
}

.pl-brand {
  color: #222222;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .02em;
  margin-bottom: .6rem;
}

.pl-dots {
  display: inline-flex;
  gap: .4rem;
}

.pl-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #418A71;
  display: block;
  animation: pl-dot .9s ease-in-out infinite;
}

.pl-dots span:nth-child(2) {
  animation-delay: .15s;
}

.pl-dots span:nth-child(3) {
  animation-delay: .3s;
}

@keyframes pl-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pl-dot {

  0%,
  100% {
    transform: translateY(0);
    opacity: .4;
  }

  50% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion:reduce) {
  .pl-ring {
    animation-duration: 2s;
  }

  .pl-dots span {
    animation: none;
  }
}

.section {
  padding: 80px 0
}

.section-tight {
  padding: 56px 0
}

.btn-brand {
  --bs-btn-bg: var(--uicore-primary);
  --bs-btn-border-color: var(--uicore-primary);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: #356f5b;
  --bs-btn-hover-border-color: #356f5b;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #2c5c4b;
  --bs-btn-active-border-color: #2c5c4b;
  --bs-btn-focus-shadow-rgb: 65, 138, 113;
  font-weight: 500;
  border-radius: var(--radius);
  padding: .6rem 1.4rem;
  letter-spacing: .2px;
  transition: transform .2s ease, background-color .2s ease;
}

.btn-brand:hover {
  transform: translateY(-2px)
}

:focus-visible {
  outline: 3px solid var(--uicore-primary);
  outline-offset: 3px
}

/* ---------- navbar ---------- */
.navbar {
  background: var(--uicore-white);
  min-height: var(--nav-h);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  transition: box-shadow .25s ease, padding .25s ease;
  padding-block: .5rem;
}

.navbar.scrolled {
  box-shadow: 0 6px 22px rgba(0, 0, 0, .09)
}

.navbar-brand {
  padding-block: 0
}

.navbar-brand img {
  height: 40px;
  width: auto;
  display: block;
  transition: opacity .2s ease
}

.navbar-brand:hover img {
  opacity: .85
}

.navbar .nav-link {
  color: var(--uicore-accent);
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem 1rem !important;
  position: relative;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .25rem;
  height: 2px;
  background: var(--uicore-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  transform: scaleX(1)
}

.navbar .dropdown-menu {
  background: var(--uicore-primary);
  border: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, .22);
  padding: 1.15rem 0;
  margin-top: 0;
  min-width: 360px;
  animation: ddIn .18s ease;
}

@keyframes ddIn {
  from {
    opacity: 0;
    transform: translateY(6px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.navbar .dropdown-item {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.02rem;
  color: #fff;
  padding: .62rem 1.9rem;
  white-space: normal;
  transition: background-color .18s ease, padding-left .18s ease;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  padding-left: 2.2rem;
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active {
  background: rgba(255, 255, 255, .2);
  color: #fff
}

/* open on hover for desktop, matching the live site */
@media (min-width:992px) {
  .navbar .nav-item.dropdown:hover>.dropdown-menu {
    display: block
  }

  .navbar .dropdown-menu {
    margin-top: .1rem
  }
}

/* on mobile the panel sits inline; soften the corners + inset */
@media (max-width:991.98px) {
  .navbar .dropdown-menu {
    min-width: 0;
    border-radius: 8px;
    margin: .35rem .25rem .25rem;
    padding: .6rem 0;
    box-shadow: none;
  }

  .navbar .dropdown-item {
    padding: .55rem 1.1rem
  }

  .navbar .dropdown-item:hover,
  .navbar .dropdown-item:focus {
    padding-left: 1.3rem
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: clamp(460px, 100vh, 720px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--media-hero-poster) #050b14 center/cover no-repeat;
  text-align: center;
}

.hero__video {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 0;
}

/* keep the 16:9 iframe covering the box on any aspect ratio */
.hero__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  /* 16:9 */
  min-height: 100%;
  min-width: 177.77vh;
  /* 16:9 */
  transform: translate(-50%, -50%);
  border: 0;
}

.hero__video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  border: 0;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 18, .35)
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem
}

.hero h1 {
  color: var(--uicore-white);
  font-weight: 700;
  letter-spacing: .04em;
  font-size: clamp(2.1rem, 6vw, 4.2rem);
  margin: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

.hero__rule {
  width: min(560px, 88%);
  margin: 0 auto 0;
  padding-top: 1rem;
  line-height: 0;
}

.hero__rule svg {
  display: block;
  width: 100%;
  height: clamp(30px, 6.5vw, 60px);
  overflow: visible;
}

.hero__rule svg path {
  fill: var(--uicore-primary);
  /* paint-on wipe from left to right */
  clip-path: inset(0 100% 0 0);
  animation: heroBrush 1s cubic-bezier(.6, .02, .2, 1) .4s forwards;
}

@keyframes heroBrush {
  to {
    clip-path: inset(0 0 0 0)
  }
}

.hero__sub {
  color: var(--uicore-white);
  font-weight: 500;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  margin-bottom: 1.6rem;
}

.hero__rule svg polygon {
  fill: var(--uicore-primary);
  /* paint-on wipe from left to right */
  clip-path: inset(0 100% 0 0);
  animation: heroBrush 1s cubic-bezier(.6, .02, .2, 1) .4s forwards;
}

/* Ensure your keyframes are defined somewhere in your CSS like this: */
@keyframes heroBrush {
  to {
    clip-path: inset(0 0 0 0);
  }
}

/* ---------- service cards ---------- */
.services {
  padding: 56px 0 40px
}

.svc-card {
  position: relative;
  background: var(--uicore-white);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  padding: 56px 24px 24px;
  height: 100%;
  text-align: center;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .13)
}

.svc-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--uicore-primary);
  color: #fff;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1.75rem;
  position: relative;
  z-index: 2;
}

.svc-card__wave {
  position: absolute;
  left: 0;
  right: 0;
  top: 96px;
  width: 100%;
  height: 44px;
  z-index: 1;
  opacity: .85;
}

.svc-card h3 {
  position: relative;
  z-index: 2;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--uicore-headline);
  margin-bottom: 1.4rem;
}

.svc-card__link {
  color: var(--uicore-accent);
  font-weight: 500;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.svc-card__link i {
  transition: transform .2s ease;
  color: var(--uicore-primary)
}

.svc-card__link:hover {
  color: var(--uicore-primary)
}

.svc-card__link:hover i {
  transform: translateX(5px)
}

/* ---------- about / mission / vision slider ---------- */
#brandSlider .carousel-item {
  height: min(60vh, 520px)
}

.slide {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 16, .35)
}

.slide--about {
  background-image: var(--media-about)
}

.slide--mission {
  background-image: var(--media-mission)
}

.slide--vision {
  background-image: var(--media-vision)
}

.slide__body {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 1.5rem
}

.slide__title {
  color: #fff;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2rem);
  display: inline-block;
  padding-bottom: .5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, .85);
}

.slide__text {
  color: #fff;
  font-weight: 400;
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  margin-bottom: 1.5rem
}

.slide .btn-outline-light {
  border-radius: 999px;
  padding: .5rem 1.6rem;
  font-weight: 500
}

#brandSlider .carousel-control-prev,
#brandSlider .carousel-control-next {
  width: 6%;
  opacity: .75
}

#brandSlider .carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0
}

/* ---------- why us ---------- */
.why h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-bottom: 1rem
}

.why__quote {
  border-left: 3px solid var(--uicore-primary);
  padding-left: 1rem;
  margin-bottom: 1.75rem;
  font-style: italic;
  color: #6f7076;
}

.why__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem
}

.why__list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .5rem 0;
  color: var(--uicore-accent);
  font-weight: 500;
  font-size: .95rem;
}

.why__list i {
  color: var(--uicore-primary);
  font-size: 1.05rem;
  line-height: 1.4
}

.why__art {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, .12));
}

@media (max-width:767.98px) {
  .why__art {
    max-width: 300px
  }
}

/* ---------- branding video band ---------- */
.band {
  position: relative;
  min-height: clamp(360px, 58vh, 620px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #2b2b2b
}

.band video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, .28)
}

.band__title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: 300;
  text-align: center;
  font-size: clamp(1.9rem, 5vw, 4rem);
  line-height: 1.2;
  padding: 1rem;
  max-width: 1000px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}

/* ---------- clients ---------- */
.clients h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 2.5rem;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)
}

.marquee__track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: slide 32s linear infinite
}

.marquee:hover .marquee__track {
  animation-play-state: paused
}

.marquee img {
  height: 100px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .75;
  transition: filter .3s ease, opacity .3s ease;
}

.marquee img:hover {
  filter: grayscale(0);
  opacity: 1
}

@keyframes slide {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* ---------- contact ---------- */
.contact-panel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .09);
  padding: 2rem;
}

.contact-panel h2 {
  color: var(--uicore-primary);
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 1.5rem
}

.form-label {
  font-size: .85rem;
  color: #6f7076;
  font-weight: 500;
  margin-bottom: .3rem
}

.form-label .req {
  color: #d9534f
}

.form-control {
  border-radius: 4px;
  border: 1px solid #e3e4e8;
  padding: .6rem .8rem;
  font-size: .95rem;
}

.form-control:focus {
  border-color: var(--uicore-primary);
  box-shadow: 0 0 0 .2rem rgba(65, 138, 113, .18)
}

/* .map-wrap{border-radius:var(--radius);overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,.09);height:100%;min-height:340px} */
/* .map-wrap iframe{width:100%;height:100%;min-height:340px;border:0} */

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .09);
  height: 340px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block
}

/* .contact-info{list-style:none;padding:0;margin:1.75rem 0 0}
.contact-info li{display:flex;gap:.8rem;align-items:flex-start;padding:.45rem 0;color:var(--uicore-accent);font-size:.93rem}
.contact-info i{color:var(--uicore-primary);font-size:1.05rem}
.contact-info a{color:inherit}
.contact-info a:hover{color:var(--uicore-primary)} */

.contact-info {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0
}

.contact-info li {
  display: flex;
  gap: .75rem;
  align-items: baseline;
  padding: .5rem 0;
  color: var(--uicore-accent);
  font-size: .93rem;
  line-height: 1.5;
}

.contact-info i {
  color: var(--uicore-primary);
  font-size: 1rem;
  flex: 0 0 20px;
  text-align: center;
  position: relative;
  top: 2px;
}

.contact-info span,
.contact-info a {
  flex: 1;
  min-width: 0;
  word-break: break-word
}

.contact-info a {
  color: inherit
}

.contact-info a:hover {
  color: var(--uicore-primary)
}


.form-note {
  display: none;
  margin-top: 1rem;
  font-size: .9rem
}

/* ---------- quote ---------- */
.quote {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background: var(--media-quote) #1b201e center/cover fixed no-repeat;
}

.quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 18, .55)
}

.quote blockquote {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 900px;
  padding: 0 1rem
}

.quote p {
  color: #fff;
  font-weight: 700;
  font-size: clamp(.85rem, 1.5vw, 1.05rem);
  letter-spacing: .14em;
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.quote cite {
  color: #dcdcdc;
  font-style: normal;
  letter-spacing: .2em;
  font-size: .8rem
}

/* ---------- footer ---------- */
.footer {
  background: #fff;
  padding: 64px 0 0;
  border-top: 1px solid #eee
}

.footer img.logo {
  height: 50px;
  width: auto;
  display: block;
  margin-bottom: 1rem
}

.footer p {
  color: var(--uicore-body);
  font-size: .9rem;
  max-width: 280px
}

.footer h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--uicore-body);
  margin-bottom: 1.25rem
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0
}

.footer ul li {
  margin-bottom: .7rem
}

.footer ul a {
  color: var(--uicore-accent);
  font-size: .92rem
}

.footer ul a:hover {
  color: var(--uicore-primary)
}

.footer .socials {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.25rem
}

.footer .socials a {
  color: var(--uicore-accent);
  font-size: 1.15rem;
  transition: color .2s ease, transform .2s ease;
  display: inline-block
}

.footer .socials a:hover {
  color: var(--uicore-primary);
  transform: translateY(-2px)
}

.footer__bottom {
  margin-top: 56px;
  padding: 1.25rem 0;
  border-top: 1px solid #f0f0f0;
  text-align: center
}

.footer__bottom strong {
  color: var(--uicore-primary);
  font-size: .9rem;
  font-weight: 600
}

#toTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  border: 1px solid #e3e4e8;
  background: #fff;
  color: var(--uicore-accent);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

#toTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

#toTop:hover {
  color: var(--uicore-primary);
  border-color: var(--uicore-primary)
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal.in {
  opacity: 1;
  transform: none
}

@media (max-width:991.98px) {
  .section {
    padding: 56px 0
  }

  .navbar .nav-link::after {
    display: none
  }

  .quote {
    background-attachment: scroll
  }

  .marquee__track {
    gap: 2.5rem
  }
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }

  .hero__rule svg path {
    clip-path: none
  }
}

/* ---------- inner-page banner brush rule ---------- */
.page-banner__rule {
  width: min(440px, 72%);
  margin: .15rem auto 1.15rem;
  line-height: 0;
}

.page-banner__rule svg {
  display: block;
  width: 100%;
  height: clamp(20px, 3.6vw, 40px);
  overflow: visible;
  /* paint-on wipe, matching the hero underline */
  clip-path: inset(0 100% 0 0);
  animation: bannerBrush .9s cubic-bezier(.6, .02, .2, 1) .25s forwards;
}

.page-banner__rule polygon {
  fill: #629f82
}

@keyframes bannerBrush {
  to {
    clip-path: inset(0 0 0 0)
  }
}

@media (prefers-reduced-motion:reduce) {
  .page-banner__rule svg {
    clip-path: none;
    animation: none
  }
}

/* ================= SERVICE INNER PAGES ================= */
/* Hero banner: "Our Services" + brush + service subtitle */
.services-hero {
  position: relative;
  margin-top: var(--nav-h);
  min-height: clamp(360px, 52vh, 540px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #1f2724 url("services-hero.jpg") center/cover no-repeat;
  overflow: hidden;
}

/* the photo, now a real <img> covering the header */
.services-hero__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;   /* was background-position: 0 -190px; adjust here if needed */
  z-index:0;
}

/* gradient overlay for text contrast */
.services-hero__overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(
    180deg,
    rgba(14,15,14,.5) 0%,
    rgba(14,15,14,.5) 50%,
    rgba(14,15,14,.5) 100%
  );
}

/* keep the text/brush above both layers */
.services-hero__inner{
  position:relative;
  z-index:2;
}
.services-hero__title {
  color: #fff;
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1;
  margin: 0;
  letter-spacing: .01em;
}

.services-hero__brush {
  width: min(520px, 80%);
  margin: .1rem auto .9rem;
  line-height: 0
}

.services-hero__brush svg {
  display: block;
  width: 100%;
  height: clamp(26px, 4.4vw, 52px);
  overflow: visible;
  clip-path: inset(0 100% 0 0);
  animation: svcBrush 1s cubic-bezier(.6, .02, .2, 1) .35s forwards;
}

.services-hero__brush polygon {
  fill: #629f82
}

@keyframes svcBrush {
  to {
    clip-path: inset(0 0 0 0)
  }
}

.services-hero__sub {
  color: #fff;
  font-weight: 600;
  font-size: clamp(1.4rem, 3.4vw, 2.6rem);
  margin: 0;
  padding-bottom: .15rem;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}

/* Content block: image left, heading + text + button right */
.service-block {
  padding: 72px 0
}

.service-block__img {
  width: 100%;
  height: auto;
  display: block;
}

.service-block__title {
  color: var(--uicore-primary);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 1.1rem;
}

.service-block__text {
  color: #5b6b7b;
  line-height: 1.85;
  font-size: 1.05rem;
  margin: 0 0 1.75rem;
}

.service-block__btn {
  padding: .85rem 1.9rem;
  font-size: 1.02rem
}

@media (max-width:991.98px) {
  .service-block {
    padding: 48px 0
  }

  .service-block__img {
    margin-bottom: 1.5rem
  }
}

@media (prefers-reduced-motion:reduce) {
  .services-hero__brush svg {
    clip-path: none;
    animation: none
  }
}

/* ================================================================
   FINTECH-HR REPOSITIONING — added components
   ================================================================ */

/* Home hero: longer headline needs a smaller, tighter size */
.hero h1.hero-headline {
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  letter-spacing: .01em;
  line-height: 1.15;
  /* max-width: 16ch; */
  margin: 0 auto;
}

.hero__lead {
  color: #e9eef1;
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 60ch;
  margin: 1.1rem auto 0;
  line-height: 1.6;
}

.hero__tag {
  display: inline-block;
  margin: 0 auto 1.1rem;
  background: rgba(65, 138, 113, .9);
  color: #fff;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 999px;
}

.hero__cta {
  display: flex;
  gap: .9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.6rem
}

.btn-ghost {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, .7);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-color: var(--uicore-primary);
  --bs-btn-hover-border-color: #fff;
  border-radius: 8px;
  font-weight: 500;
  padding: .6rem 1.4rem;
  border-width: 1px;
  border-style: solid;
}

/* Section heading helper */
.sec-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem
}

.sec-head .eyebrow {
  color: var(--uicore-primary);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .82rem;
  margin-bottom: .6rem;
  display: block;
}

.sec-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 .8rem
}

.sec-head p {
  color: #5b6b7b;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0
}

.sec-head--left {
  text-align: left;
  margin-left: 0
}

/* Service cards: make whole card a link target, icon tint per card */
.svc-card h3 {
  min-height: auto
}

.svc-card__desc {
  color: #6b7a86;
  font-size: .92rem;
  line-height: 1.6;
  margin: .2rem 0 1.1rem
}

/* Feature list (two-column checklist) */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .7rem
}

.feature-list.cols-2 {
  grid-template-columns: 1fr
}

@media(min-width:768px) {
  .feature-list.cols-2 {
    grid-template-columns: 1fr 1fr;
    gap: .7rem 2rem
  }
}

.feature-list li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  color: #3a4650;
  font-size: .98rem;
  line-height: 1.5
}

.feature-list i {
  color: var(--uicore-primary);
  font-size: 1.05rem;
  margin-top: .15rem;
  flex: 0 0 auto
}

/* Chips / pills for industries */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center
}

.chips--left {
  justify-content: flex-start
}

.chip {
  background: #eef4f1;
  color: #2f5c4b;
  border: 1px solid #d9e6df;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
}

/* Info / benefit cards grid */
.info-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(6, 1fr);
}

.info-card {
  grid-column: span 2;
  /* 3 per row */
  background: #fff;
  border: 1px solid #eaeef0;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}

/* center the last two cards: 4th starts at column 2, 5th follows at column 4 */
.info-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.info-card:nth-child(5) {
  grid-column: 4 / span 2;
}


/* 6-card section: plain 3-per-row, cancel the 5-card centering */
.section-why .info-card:nth-child(4),
.section-why .info-card:nth-child(5) {
  grid-column: span 2;
}


/* tablet: 2 per row, last one centered */
@media (max-width: 991.98px) {
  .info-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .info-card {
    grid-column: span 2;
  }

  /* 2 per row */
  .info-card:nth-child(4) {
    grid-column: 3 / span 2;
  }

  /* row 2, right slot */
  .info-card:nth-child(5) {
    grid-column: 2 / span 2;
  }

  /* row 3, centered */

  .section-why .info-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .section-why .info-card,
  .section-why .info-card:nth-child(4),
  .section-why .info-card:nth-child(5) {
    grid-column: span 2;
    /* 2 per row, no centering */
  }
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .09)
}

.info-card__ic {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(65, 138, 113, .12);
  color: var(--uicore-primary);
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.info-card h3 {
  font-size: 1.12rem;
  margin: 0 0 .55rem
}

.info-card p {
  color: #6b7a86;
  font-size: .94rem;
  line-height: 1.6;
  margin: 0
}

/* Role columns (industry focus) */
.role-col {
  background: #f7f9f8;
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
  border: 1px solid #eaeef0
}

.role-col h3 {
  font-size: 1.1rem;
  color: var(--uicore-primary);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .6rem
}

.role-col ul {
  list-style: none;
  padding: 0;
  margin: 0
}

.role-col li {
  padding: .4rem 0;
  color: #3a4650;
  font-size: .96rem;
  border-bottom: 1px dashed #e2e8e5
}

.role-col li:last-child {
  border-bottom: 0
}

/* Process / workflow steps */
.flow {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  counter-reset: step
}

.flow__step {
  position: relative;
  background: #fff;
  border: 1px solid #eaeef0;
  border-radius: 12px;
  padding: 1.5rem 1.25rem 1.25rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .04)
}

.flow__step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 1.25rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--uicore-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .95rem;
}

.flow__step h4 {
  font-size: 1rem;
  margin: .6rem 0 .4rem
}

.flow__step p {
  color: #6b7a86;
  font-size: .9rem;
  line-height: 1.55;
  margin: 0
}

/* CTA band */
.cta-band {
  background: var(--uicore-primary);
  color: #fff;
  padding: 64px 0;
  text-align: center
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 0 0 .8rem
}

.cta-band p {
  color: rgba(255, 255, 255, .92);
  max-width: 620px;
  margin: 0 auto 1.6rem;
  font-size: 1.05rem;
  line-height: 1.6
}

.cta-band .btn {
  background: #fff;
  color: var(--uicore-primary);
  font-weight: 600;
  border: 0;
  padding: .8rem 1.9rem
}

.cta-band .btn:hover {
  background: #eef5f2
}

/* Service detail: sub-section blocks */
.svc-detail {
  padding: 64px 0
}

.svc-detail h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--uicore-headline);
  margin: 0 0 1rem
}

.svc-detail h3 {
  font-size: 1.2rem;
  color: var(--uicore-primary);
  margin: 2rem 0 .8rem
}

.svc-detail p {
  color: #5b6b7b;
  line-height: 1.8;
  font-size: 1.02rem
}

.svc-detail .callout {
  background: #eef4f1;
  border-left: 4px solid var(--uicore-primary);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  color: #2f5c4b;
  font-weight: 600;
  margin: 1.5rem 0;
}

.svc-aside {
  background: #f7f9f8;
  border: 1px solid #eaeef0;
  border-radius: 12px;
  padding: 1.75rem;
  /* position: sticky; */
  top: calc(var(--nav-h) + 16px)
}

.svc-aside h3 {
  margin: 0 0 .5rem;
  font-size: 1.1rem
}

.svc-aside p {
  font-size: .94rem;
  color: #6b7a86;
  margin: 0 0 1rem
}

@media (max-width:991.98px) {
  .svc-aside {
    position: static;
    margin-top: 2rem
  }

  .svc-detail {
    padding: 44px 0
  }
}

/* ================================================================
   INNER-PAGE LAYOUT REFRESH + IMAGE PLACEHOLDERS
   ================================================================ */

/* Media placeholder: shows a styled hint until a real image is added.
   Drop an <img> inside with a valid src and it covers the hint.
   If the src is missing/broken, onerror removes the <img> so the hint shows. */
.media-ph {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #eaf2ee 0%, #d3e3db 100%);
  border: 1px solid #dbe6e0;
  min-height: 340px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.media-ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.media-ph__hint {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #5f7d6f;
  padding: 1.5rem;
}

.media-ph__hint i {
  font-size: 2.6rem;
  display: block;
  margin-bottom: .6rem;
  opacity: .65;
}

.media-ph__hint span {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.media-ph__hint code {
  display: inline-block;
  margin-top: .5rem;
  font-size: .72rem;
  color: #4d6b5d;
  background: rgba(255, 255, 255, .55);
  padding: .15rem .5rem;
  border-radius: 6px;
}

.media-ph--tall {
  min-height: 420px;
}

.media-ph--wide {
  min-height: 300px;
}

.media-ph--soft {
  border-radius: 14px;
}

.media-ph::after {
  /* subtle brand box motif */
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 130px;
  height: 130px;
  border-radius: 20px;
  background: rgba(65, 138, 113, .08);
  transform: rotate(18deg);
  z-index: 0;
}

/* Service intro split (image + lead text) */
.svc-intro {
  padding: 64px 0 8px;
}

.svc-intro .eyebrow {
  color: var(--uicore-primary);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .82rem;
  display: block;
  margin-bottom: .5rem;
}

.svc-intro h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  margin: 0 0 1rem;
  line-height: 1.15;
}

.svc-intro p {
  color: #5b6b7b;
  line-height: 1.8;
  font-size: 1.06rem;
  margin: 0 0 1.5rem;
}

/* aside figure spacing */
.svc-aside+.media-ph {
  margin-top: 1.25rem;
}

/* generic left-aligned section head used on inner pages */
.sec-head--left {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

@media (max-width:991.98px) {
  .svc-intro {
    padding: 44px 0 4px;
  }

  .media-ph {
    min-height: 260px;
  }

  .media-ph--tall {
    min-height: 300px;
  }

  .svc-intro .media-ph {
    margin-bottom: 1.5rem;
  }
}