/* ============================================
   FLOATEX SOLAR — home.css
   All sections specific to index.html
============================================ */

/* ============================================
   9. HERO SECTION
============================================ */

/* body.is-scrolling {
  pointer-events: none !important;
} */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: var(--z-below);
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Hardware acceleration to prevent stutters on scroll up */
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(3, 14, 35, 0.88) 0%,
      rgba(5, 22, 55, 0.6) 28%,
      rgba(7, 38, 80, 0.3) 58%,
      rgba(8, 50, 90, 0.1) 85%,
      rgba(10, 60, 100, 0.02) 100%),
    linear-gradient(105deg,
      rgba(4, 20, 50, 0.45) 0%,
      rgba(4, 20, 50, 0.12) 45%,
      rgba(4, 20, 50, 0) 70%);
}

.hero__content {
  position: relative;
  z-index: var(--z-raised);
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  padding-left: clamp(2.5rem, 7vw, 6rem);
  padding-right: clamp(2.5rem, 7vw, 6rem);
  padding-bottom: clamp(2rem, 3.5vw, 3.5rem);
  padding-top: clamp(5rem, 8vw, 6.5rem);
}

.hero__left {
  /* border: 1px solid red; */
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: clamp(400px, 55vw, 700px);
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: var(--fw-semibold);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--color-light);
  display: flex;
  flex-direction: column;
  gap: 0.06em;
}

.hero__title::after {
  content: '';
  display: block;
  width: 3.5rem;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  margin-top: var(--space-sm);
}

.hero__title-line {
  display: block;
}

.hero__title-script {
  font-style: normal;
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-primary);
  text-underline-offset: 7px;
  text-decoration-thickness: 2px;
}

.hero__title-inline {
  color: var(--color-light);
}

.hero__stat-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  max-width: 480px;
}

.hero__stat-desc strong {
  color: var(--color-light);
  font-weight: var(--fw-semibold);
}

.hero__btns {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
  margin-top: 70px;
  /* border: 1px solid red; */
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-primary);
  color: var(--color-light);
  font-size: var(--text-md);
  font-weight: var(--fw-semibold);
  padding: var(--space-sm) var(--space-xl);
  border-radius: var(--radius-sm);
  width: fit-content;
  border: 2px solid var(--color-primary);
  transition:
    background var(--ease-base),
    color var(--ease-base),
    transform var(--ease-bounce),
    box-shadow var(--ease-base),
    border-color var(--ease-base);
}

.hero__cta:hover {
  background: var(--color-primary-dark);
  background-color: transparent;
  /* color: var(--color-dark); */
  color: var(--color-light);
  border: 2px solid var(--color-light);
}

.hero__cta:active {
  transform: translateY(0);
}

.hero__cta-icon {
  display: flex;
  align-items: center;
  transition: transform var(--ease-base);
}

.hero__cta:hover .hero__cta-icon {
  transform: translateX(5px);
}

.hero__cta--outline {
  background: transparent;
  color: var(--color-light);
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.hero__cta--outline:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* Stats bar */
.hero__statsbar {
  position: relative;
  z-index: var(--z-raised);
  width: 100%;
  background: rgba(3, 14, 35, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: stretch;
}

.hero__statsbar-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: clamp(0.8rem, 1.5vw, 1.25rem) clamp(1rem, 2.5vw, 2rem);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.hero__statsbar-item:last-child {
  border-right: none;
}

.hero__statsbar-icon {
  font-size: 1.2rem;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__statsbar-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero__statsbar-val {
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: var(--fw-bold);
  color: var(--color-light);
  line-height: 1.2;
}

.hero__statsbar-label {
  font-size: clamp(0.62rem, 0.9vw, 0.7rem);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ============================================
   10. SOLUTIONS SECTION
============================================ */

.solutions {
  background: #ffffff;
  padding-block: clamp(3rem, 5vw, 5rem);

}

.solutions__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
  /* max-width: var(--container-max); */
  margin: 0 auto;
  width: 100%;
  /* border: 1px solid red; */
  padding-left: clamp(2.5rem, 7vw, 6rem);
  padding-right: clamp(2.5rem, 7vw, 6rem);
}

/* ---- Left — Text ---- */
.solutions__left {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.solutions__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--fw-bold);
  line-height: 1.19;
  /* letter-spacing: -0.025em; */
  color: var(--color-text-dark);
}

.solutions__title-accent {
  color: var(--color-primary);
}

.solutions__title-plain {
  color: var(--color-text-dark);
}

.solutions__desc {
  font-size: var(--text-md);
  color: #555;
  line-height: 1.75;
  max-width: 82ch;
}

.solutions__desc a {
  color: var(--color-primary);
}


/* CTA button — yellow pill matching design */
.solutions__cta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.7rem 2.2rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.1rem;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  transition:
    background var(--ease-base),
    transform var(--ease-bounce),
    box-shadow var(--ease-base);
}

.solutions__cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(252, 175, 23, 0.35);
}

.solutions__cta:active {
  transform: translateY(0);
}

/* ---- Right — Image + Tags ---- */
.solutions__right {
  position: relative;
}

.solutions__img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: visible;
  /* tags can spill out */
}

.solutions__img {
  width: 100%;
  height: clamp(320px, 42vw, 520px);
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  /* Placeholder bg while image loads */
  background: #e8f0e4;
}

/* ---- Floating tags ---- */
.solutions__tag {
  position: absolute;
  background: rgba(252, 175, 23, 0.88);
  color: #fff;
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-md);
  white-space: nowrap;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  /* Subtle float animation */
  animation: tagFloat 3s ease-in-out infinite;
}

/* Stagger each tag's float so they don't all move together */
.solutions__tag--1 {
  top: 12%;
  left: -1.5rem;
  animation-delay: 0s;
}

.solutions__tag--2 {
  top: 22%;
  right: -1rem;
  animation-delay: 0.6s;
}

.solutions__tag--3 {
  bottom: 22%;
  left: -1.5rem;
  animation-delay: 1.2s;
}

.solutions__tag--4 {
  bottom: 12%;
  right: -1rem;
  animation-delay: 1.8s;
}

@keyframes tagFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .solutions__tag {
    animation: none;
  }
}

/* ============================================
   11. RESPONSIVE
============================================ */

/* Hide desktop nav on mobile, show hamburger */
@media (max-width: 900px) {
  .nav__links {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__inner {
    padding: 0.5rem 0.5rem 0.5rem 1.2rem;
  }
}

@media (max-width: 1024px) {
  .hero__content {
    padding-bottom: 3rem;
    padding-left: clamp(1.5rem, 5vw, 3rem);
    padding-right: clamp(1.5rem, 5vw, 3rem);
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 88svh;
  }

  .hero__content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 6.25rem;
    padding-bottom: 2rem;
  }

  .hero__left {
    gap: var(--space-sm);
  }

  .hero__title {
    font-size: clamp(2.75rem, 12vw, 4.4rem);
    line-height: 0.98;
  }

  .hero__title-script {
    text-underline-offset: 5px;
  }

  .hero__btns {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__btns .hero__cta {
    width: 100%;
    justify-content: space-between;
    padding: 0.95rem 1.25rem;
  }

  .hero__stat-desc {
    max-width: none;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .hero__statsbar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .hero__statsbar-item {
    min-width: 155px;
    flex: 0 0 auto;
  }
}

@media (max-width: 400px) {
  .hero__title {
    font-size: clamp(2.7rem, 8vw, 2.8rem);
  }
}

/* ---- Solutions responsive ---- */

/* Tablet — stack on medium screens */
@media (max-width: 900px) {
  .solutions__inner {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    /* border: 1px solid red; */
    padding-left: clamp(1.5rem, 5vw, 3rem);
    padding-right: clamp(1.5rem, 5vw, 3rem);
  }

  .solutions__right {
    order: -1;
    /* Image on top on tablet */
  }

  .solutions__img {
    height: clamp(280px, 50vw, 420px);
  }

  /* Pull tags a bit closer on tablet */
  .solutions__tag--1,
  .solutions__tag--3 {
    left: 0.5rem;
  }

  .solutions__tag--2,
  .solutions__tag--4 {
    right: 0.5rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .solutions {
    padding-block: clamp(1.5rem, 4vw, 2.5rem);
  }

  .solutions__inner {
    gap: var(--space-2xl);
  }

  .solutions__title {
    font-size: clamp(1.7rem, 6vw, 2.2rem);
  }

  .solutions__img {
    height: clamp(220px, 55vw, 320px);
  }

  /* On very small screens keep tags inside */
  .solutions__tag {
    font-size: 0.72rem;
    padding: 0.3rem 0.7rem;
  }

  .solutions__tag--1 {
    left: 0.5rem;
    top: 8%;
  }

  .solutions__tag--2 {
    right: 0.5rem;
    top: 20%;
  }

  .solutions__tag--3 {
    left: 0.5rem;
    bottom: 20%;
  }

  .solutions__tag--4 {
    right: 0.5rem;
    bottom: 10%;
  }

  .solutions__cta {
    width: 100%;
    justify-content: center;
  }
}

/* ******************************************************** */

/* ============================================
   CLIENTS TICKER
============================================ */
.clients {
  background: #ffffff;

  overflow: hidden;
}

.clients__inner {
  margin-block: 20px;
  display: flex;
  align-items: stretch;
  height: clamp(120px, 18vw, 180px);
}

/* ---- Ticker wrap ---- */
.clients__ticker-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* Soft fade edges */
.clients__ticker-wrap::before,
.clients__ticker-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.clients__ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.clients__ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

/* ---- Ticker animation ---- */
@keyframes clients-ticker {
  from {
    transform: translateX(0);
  }

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

.clients__track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: clients-ticker 24s linear infinite;
  will-change: transform;
}

.clients.is-paused .clients__track {
  animation-play-state: paused;
}

/* ---- Logo item ---- */
.clients__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(2rem, 4vw, 3.5rem);
  height: 100%;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 3px;
  transition: background 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.clients__item:hover {
  background: var(--color-primary);
}

a.clients__item:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.clients__item img {
  height: 120px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  display: block;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

/* .clients__item:hover img,
.clients__item.is-active img {
  transform: translate(-35%, -35%) scale(0.5);
  transform-origin: center center;
  filter: grayscale(0%) opacity(1);
} */

/* ---- Responsive ---- */

/* ******************************************************** */

/* ============================================
   VIDEO SCALE SECTION
============================================ */

.video-scale {
  height: 400vh;
  position: relative;
  background: #060606;
}

.video-scale__wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* Card — always full viewport, no scaling */
.video-scale__card {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.video-scale__canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark overlay with label + caption at the bottom */
.video-scale__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 45%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 2.25rem;
  gap: 0.4rem;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.video-scale__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.video-scale__tag .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 6px rgba(252, 175, 23, 0.8);
}

.video-scale__caption {
  font-size: clamp(1rem, 3vw, 2.35rem);
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

/* ============================================
   REVEAL SECTION
============================================ */
.reveal {
  position: relative;
  width: 100%;
  min-height: 75vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(7rem, 13vw, 11rem) clamp(1.5rem, 8vw, 10rem);

  /* Floating solar bg image */
  background-image: url("../assets/images/engineering-insight.webp");
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  /* Changed from fixed for performance */
}

/* Dark gradient overlay — ensures text is readable */
.reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(4, 4, 4, 0.55) 0%, rgba(4, 4, 4, 0.35) 50%, rgba(4, 4, 4, 0.65) 100%);
  z-index: 0;
  pointer-events: none;
}

/* Grid overlay — 4 vertical + 3 horizontal gold lines */
.reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(252, 175, 23, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(252, 175, 23, 0.22) 1px, transparent 1px);
  background-size: 25% 33.33%;
  z-index: 1;
  pointer-events: none;
}

/* Horizontal rule with centred number */
.reveal__rule {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(600px, 80vw);
  margin-bottom: 2.25rem;
}

.reveal__rule-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(252, 175, 23, 0.5), transparent);
}

.reveal__rule-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  opacity: 0.85;
}

/* Eyebrow */
.reveal__eyebrow {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1.6rem;
}

.reveal__eyebrow .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(252, 175, 23, 0.7);
}

/* Main text */
.reveal-text {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.3;
  word-spacing: 0.18em;
}

.reveal-text span {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: var(--fw-bold);
  line-height: 1.3;
  transition: color 0.3s ease;
}

.char {
  color: rgba(255, 255, 255, 0.18);
  transition: color 0.3s linear;
}

.char.active {
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

/* Bottom tag */
.reveal__bottom-tag {
  position: relative;
  z-index: 2;
  margin-top: 3rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* Responsive */
@media (max-width: 768px) {
  .reveal {
    padding-left: clamp(1.25rem, 5vw, 3rem);
    padding-right: clamp(1.25rem, 5vw, 3rem);
    min-height: auto;
    background-attachment: scroll;
  }

  .reveal-text {
    word-spacing: 0.12em;
  }
}

/* ============================================
   PROCESS / OUR CULTURE SECTION
============================================ */

.process {
  background: #f7f7f5;
  padding-block: clamp(2rem, 3vw, 3.5rem);
}

.process__inner {
  color: var(--color-dark);
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding-left: clamp(2.5rem, 7vw, 6rem);
  padding-right: clamp(2.5rem, 7vw, 6rem);
}

/* ---- Top grid ---- */
.process__inner .top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: start;
}

/* ---- Left: eyebrow sticky ---- */
.process__inner>.top>.left {
  padding-top: 0.4rem;
  position: sticky;
  top: 100px;
  align-self: start;
}

.process__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-dark);
}

.process__eyebrow .dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ---- Right: headline + body ---- */
.process__inner .top .right h2 {
  font-size: clamp(2.8rem, 3.5vw, 5rem);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
}

.process__inner .top .right>p {
  font-size: var(--text-xl);
  color: var(--color-dark);
  width: 80%;
}

.process__inner .top .right p+p {
  margin-top: 1rem;
}

.process__inner .top .right p span {
  color: var(--color-primary);
  font-weight: var(--fw-medium);
}

/* ---- Inline image pill inside h2 ---- */
.img-pill {
  display: inline-block;
  width: clamp(120px, 14vw, 200px);
  height: clamp(50px, 5.5vw, 80px);
  border-radius: 999px;
  overflow: hidden;
  vertical-align: middle;
  margin: 0 0.3em;
  position: relative;
  top: -4px;
}

.img-pill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Process list ---- */
.process__inner .top .right .process__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: 5vw;
}

.process__inner .top .right .process__list .each__process {
  border-top: 1px solid var(--color-text-muted);
  padding-block: clamp(1rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: flex-start;
}

.process__inner .top .right .process__list .each__process:hover .each__process-title {
  color: var(--color-primary);
}

.each__process .left .each__process-title {
  font-size: var(--text-xl);
  font-weight: var(--fw-regular);
  color: var(--color-dark);
  margin-bottom: var(--space-2xl);
  transition: color 0.3s ease;
}

.each__process .left p {
  color: var(--color-text-dark);
  font-size: var(--text-md);
}

.each__process .right .each__process-image {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: var(--radius-md);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.process__inner .top .right .process__list .each__process:hover .each__process-image {
  clip-path: inset(0 0 0 0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .process__inner .top .right>p {
    width: 100%;
  }

  .each__process {
    display: flex;
    flex-direction: column;
  }

  .each__process .left {
    width: 100%;
  }

  .each__process .right {
    display: none;
  }
}

@media (max-width: 768px) {
  .process__inner .top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* eyebrow flows normally on mobile, no sticky */
  .process__inner>.top>.left {
    position: static;
  }

  .process__inner .top .right h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .process__inner .top .right>p {
    width: 100%;
  }

  .process__inner .top .right .process__list {
    margin-top: 2rem;
  }

  .img-pill {
    width: clamp(90px, 20vw, 140px);
    height: clamp(38px, 8vw, 55px);
  }
}

/* ============================================
   CULTURE SECTION
============================================ */
.culture {
  background: #f7f7f5;
  /* Section needs to be tall to give scroll enough room for the animation */
  min-height: 300vh;
}

.culture__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  /* Height required for sticky positioning to work */
  height: 300vh;
  padding-left: clamp(2.5rem, 7vw, 6rem);
  padding-right: clamp(2.5rem, 7vw, 6rem);
}

/* ---- Left: sticky ---- */
.culture__left {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* padding: clamp(3rem, 6vw, 7rem) clamp(2rem, 4vw, 5rem); */
}

.culture__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 2rem;
}

.culture__eyebrow .dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 2px;
}

.culture__heading {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.culture__para {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  color: #555;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.culture__para span {
  color: var(--color-primary);
  font-weight: 500;
}

.culture__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.culture__bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(0.88rem, 1.1vw, 0.95rem);
  font-weight: 500;
  color: var(--color-dark);
}

.culture__bullets li::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 999px;
  flex-shrink: 0;
}

/* ---- Right: sticky image ---- */
.culture__right {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 3rem 3rem 1.5rem;
}

.culture__img-wrap {
  position: relative;
  width: 100%;
  height: 80%;
  /* border-radius: var(--radius-lg); */
  overflow: hidden;
  /* outline: 2px solid blue; */
}

.culture__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* border: 2px solid red; */
}

/* Bottom: grayscale */
.culture__img--bw {
  filter: grayscale(100%) contrast(1.1) brightness(1.05);
  z-index: 1;
}

/* Top: color — revealed bottom to top on scroll */
.culture__img--color {
  z-index: 2;
  clip-path: inset(100% 0 0 0);
  will-change: clip-path;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .culture {
    min-height: auto;
  }

  .culture__inner {
    grid-template-columns: 1fr;
    height: auto;
  }

  .culture__left {
    position: static;
    height: auto;
    padding: 3rem 1.5rem;
  }

  .culture__right {
    position: relative;
    height: 60vw;
    min-height: 280px;
  }

  .culture__img--color {
    clip-path: inset(0 0 0 0) !important;
  }
}

/* ============================================
   MAGAZINE SECTION
============================================ */
.magazine {
  background: #fff;
  padding-block: clamp(2rem, 3vw, 3.5rem);
}

.magazine__inner {
  padding-left: clamp(2.5rem, 7vw, 6rem);
  padding-right: clamp(2.5rem, 7vw, 6rem);
}

/* ---- Header ---- */
.magazine__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.magazine__header-left .culture__eyebrow {
  color: #000;
  margin-bottom: 1.5rem;
}

.magazine__header-left .culture__eyebrow .dot {
  background: var(--color-primary);
}

.magazine__title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.magazine__title span {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.magazine__title span::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
}

.magazine__desc {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  color: var(--color-dark-2);
  line-height: 1.8;
  align-self: center;
}

/* ---- Cards Grid ---- */
.magazine__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.magazine__card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: transform 0.3s var(--ease-base), box-shadow 0.3s var(--ease-base);
}



/* ---- Card image ---- */
.magazine__card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.magazine__card-img {
  width: 100%;
  border-radius: var(--radius-lg);
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-base);
}

.magazine__card .magazine__card-img:hover .magazine__card-img {
  transform: scale(1.05);
}

.magazine__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}

/* ---- Card body ---- */
.magazine__card-body {
  padding-block: clamp(1.2rem, 2vw, 1.8rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.magazine__read-time {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.magazine__card-title {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.magazine__card-desc {
  font-size: clamp(0.82rem, 1vw, 0.9rem);
  color: #666;
  line-height: 1.75;
  margin-top: auto;
}

/* ---- Clamp title & excerpt inside magazine grid ---- */
.magazine__grid .news-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.magazine__grid .news-card__excerpt {
  -webkit-line-clamp: 3;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .magazine__header {
    grid-template-columns: 1fr;
  }

  .magazine__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .magazine__grid {
    grid-template-columns: 1fr;
  }

  .magazine__inner {
    padding-left: clamp(1.5rem, 5vw, 3rem);
    padding-right: clamp(1.5rem, 5vw, 3rem);
  }
}

/* ============================================
   CTA BANNER — sticky, magazine scrolls over
============================================ */

/* CTA sticks while magazine slides over it */
.cta-banner {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 0;
}

/* Magazine slides over the CTA */
.magazine {
  position: relative;
  z-index: 2;
  border-radius: 20px 20px 0 0;
}

/* ---- Background ---- */
.cta-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-banner__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
  will-change: transform;
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.65) 100%);
}

/* ---- Content ---- */
.cta-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem clamp(1.5rem, 6vw, 4rem);
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.cta-banner__content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-banner__eyebrow {
  color: rgba(255, 255, 255, 0.75) !important;
  justify-content: center;
  margin-bottom: 1.5rem !important;
}

.cta-banner__title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.cta-banner__desc {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* ---- Buttons ---- */
.cta-banner__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.cta-banner__btn--primary {
  background: #25d366;
  color: #fff;
}

.cta-banner__btn--primary:hover {
  background: #1ebe5d;
}

.cta-banner__btn--secondary {
  background: var(--color-primary);
  color: var(--color-light);
}

.cta-banner__btn--secondary:hover {
  background: #e89e00;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .cta-banner__btns {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-banner__btn {
    justify-content: center;
  }

  .cta-banner__desc br {
    display: none;
  }
}


/* ============================================
   PROJECTS SECTION
============================================ */
.projects {
  background: #f7f7f5;
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.projects__inner {
  /* max-width: 1280px; */
  margin: 0 auto;
  padding: 0 clamp(2.5rem, 7vw, 6rem);
  /* padding: 0 clamp(1.25rem, 5vw, 4rem); */
}

.projects__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.projects__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  line-height: 1.15;
  margin-top: 0.75rem;
}

.projects__desc {
  max-width: 400px;
  font-size: var(--text-md);
  color: #666;
  line-height: 1.7;
  flex-shrink: 0;
}

/* Bento grid */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 340px 280px;
  gap: 1rem;
}

.projects__card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.projects__card--tall {
  grid-row: span 2;
}

.projects__card--wide {
  grid-column: span 2;
}

.projects__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.projects__card:hover .projects__card-img {
  transform: scale(1.06);
}

.projects__card-body {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  gap: 0.3rem;
}

.projects__card-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(252, 175, 23, 0.12);
  border: 1px solid rgba(252, 175, 23, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.3rem;
}

.projects__card-title {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: var(--fw-semibold);
  color: #fff;
  line-height: 1.3;
}

.projects__card-meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* CTA card */
.projects__card--cta {
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.projects__card--cta:hover {
  background: #e09a0f;
  transform: scale(1.02);
}

.projects__card-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  padding: 2rem;
}

.projects__card-cta-label {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: var(--fw-bold);
  color: var(--color-light);
  line-height: 1.2;
}

.projects__card-cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-light);
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.projects__card--cta:hover .projects__card-cta-arrow {
  transform: translate(3px, -3px);
}

.projects__card-cta-count {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-light);
}

@media (max-width: 1280px) {
  .projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(270px, 30vw);
  }

  .projects__card,
  .projects__card--tall,
  .projects__card--wide {
    height: auto;
    min-height: 270px;
  }

  .projects__card--tall {
    grid-row: span 1;
  }

  .projects__card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .projects {
    padding: clamp(4rem, 8vw, 5.5rem) 0;
  }

  .projects__inner {
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  }

  .projects__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .projects__desc {
    max-width: 100%;
  }

  .projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(260px, 30vw);
  }

  .projects__card,
  .projects__card--tall {
    grid-row: span 1;
    height: auto;
    min-height: 260px;
  }

  .projects__card--wide {
    grid-column: span 2;
    height: auto;
    min-height: 260px;
  }

  .projects__card-body {
    padding: 1.25rem;
  }
}

@media (max-width: 580px) {
  .projects {
    padding: 3.5rem 0;
  }

  .projects__inner {
    padding: 0 1rem;
  }

  .projects__title {
    font-size: clamp(1.75rem, 9vw, 2.25rem);
  }

  .projects__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(230px, auto);
    gap: 0.85rem;
  }

  .projects__card,
  .projects__card--tall,
  .projects__card--wide {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 230px;
    height: auto;
    aspect-ratio: 1.25 / 1;
  }

  .projects__card--cta {
    aspect-ratio: auto;
    min-height: 190px;
  }

  .projects__card-body,
  .projects__card-cta-inner {
    padding: 1rem;
  }
}

/* ============================================
   STATS SECTION
============================================ */
.stats {
  background: #fff;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid #ebebea;
  border-bottom: 1px solid #ebebea;
}

.stats__inner {
  padding: 0 clamp(2.5rem, 7vw, 6rem);
}

/* ---- Top row ---- */
.stats__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stats__top-left {
  max-width: 560px;
}

.stats__heading {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.65rem;
}

.stats__sub {
  font-size: var(--text-md);
  color: #666;
  line-height: 1.7;
}

.stats__top-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.stats__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.stats__btn--outline {
  border: 1.5px solid #d0d0cc;
  color: var(--color-dark);
  background: transparent;
}

.stats__btn--outline:hover {
  border-color: var(--color-dark);
}

.stats__btn--solid {
  background: var(--color-primary);
  color: #fff;
}

.stats__btn--solid:hover {
  background: #222;
}

/* ============================================
   VIDEO MODAL
============================================ */
.vmodal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.vmodal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Frosted backdrop */
.vmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Modal card */
.vmodal__container {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  background: #111;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(252, 175, 23, 0.06);
  transform: translateY(28px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.vmodal.is-open .vmodal__container {
  transform: translateY(0) scale(1);
}

/* Header bar */
.vmodal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.vmodal__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.vmodal__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* Close button */
.vmodal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.vmodal__close:hover {
  background: rgba(252, 175, 23, 0.12);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: rotate(90deg);
}

/* Video wrapper — 16:9 */
.vmodal__video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: pointer;
}

.vmodal__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Play hint overlay (hidden once video starts) */
.vmodal__play-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.vmodal__play-hint.is-hidden {
  opacity: 0;
}

/* Footer */
.vmodal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.vmodal__caption {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.vmodal__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.vmodal__cta:hover {
  gap: 0.65rem;
}

/* ---- Divider ---- */
.stats__divider {
  border-top: 1px solid #ebebea;
  margin-bottom: 2.5rem;
}

/* ---- Stats grid ---- */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.stats__item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stats__number {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stats__unit {
  font-size: 0.55em;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0;
}

.stats__label {
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 0.25rem;
}

.stats__desc {
  font-size: var(--text-md);
  color: #888;
  line-height: 1.65;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .stats__top {
    flex-direction: column;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* ============================================
   SERVICES SECTION
============================================ */
.services {
  background: #f7f8fa;
  padding: clamp(5rem, 10vw, 8rem) 0;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.services__inner {
  /* max-width: 100%; */
  margin: 0 auto;
  padding: 0 clamp(2.5rem, 7vw, 6rem);
}

/* ---- Header ---- */
.services__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(3rem, 5vw, 4.5rem);
}

.services__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.services__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-dark);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

.services__sub {
  font-size: var(--text-md);
  color: rgba(10, 10, 10, 0.55);
  line-height: 1.6;
}

/* ---- Grid ---- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Last 2 cards span 2 columns each */
.svc-card:nth-child(9),
.svc-card:nth-child(10) {
  grid-column: span 2;
}

/* ---- Card ---- */
.svc-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  opacity: 0;
  transform: translateY(28px);
  cursor: pointer;
  min-height: 170px;
}

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

/* ---- Card body (left text side) ---- */
.svc-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.35rem 1.25rem 1.35rem 1.35rem;
}

/* Number — solid yellow circle badge */
.svc-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  align-self: flex-start;
  margin-bottom: 0.15rem;
}

/* Icon — no circle border, just yellow SVG */
.svc-card__icon-wrap {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-card__icon-wrap svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-primary);
  stroke-width: 1.5;
}

.svc-card__title {
  font-size: clamp(0.8rem, 1.1vw, 0.9rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
  margin-top: 0.2rem;
}

.svc-card__desc {
  font-size: 0.75rem;
  color: rgba(10, 10, 10, 0.5);
  line-height: 1.6;
  flex: 1;
}

/* ---- Card image (right side) ---- */
.svc-card__img-wrap {
  width: 42%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

/* Yellow blob behind image */
.svc-card__img-wrap::before {
  content: '';
  position: absolute;
  right: -5%;
  top: 10%;
  width: 80%;
  height: 80%;
  background: rgba(252, 175, 23, 0.18);
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  z-index: 0;
}

/* White wave separator on left edge */
.svc-card__img-wrap::after {
  content: '';
  position: absolute;
  top: -8%;
  left: -16px;
  width: 32px;
  height: 116%;
  background: #fff;
  border-radius: 0 50% 50% 0;
  z-index: 2;
}

.svc-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

/* ---- Features bar ---- */
.services__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.75rem 2rem;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.services__feat {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.services__feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.services__feat-icon svg {
  width: 22px;
  height: 22px;
}

.services__feat-icon--yellow {
  background: rgba(252, 175, 23, 0.15);
}

.services__feat-icon--green {
  background: rgba(34, 197, 94, 0.15);
}

.services__feat-icon--blue {
  background: rgba(59, 130, 246, 0.15);
}

.services__feat-icon--indigo {
  background: rgba(99, 102, 241, 0.15);
}

.services__feat-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
}

.services__feat-desc {
  display: block;
  font-size: 0.72rem;
  color: rgba(10, 10, 10, 0.5);
  line-height: 1.5;
  margin-top: 0.15rem;
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .svc-card__img-wrap {
    width: 38%;
  }
}

@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-card:nth-child(9),
  .svc-card:nth-child(10) {
    grid-column: span 1;
  }

  .services__features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

  .svc-card:nth-child(9),
  .svc-card:nth-child(10) {
    grid-column: span 1;
  }

  .svc-card__img-wrap {
    width: 40%;
  }

  .services__features {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1.25rem;
  }
}

@media (max-width: 400px) {
  .services__features {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SERVICES V2 — RADIAL / SPOKE DESIGN
============================================ */
.services-v2 {
  background: #f7f8fa;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.services-v2__inner {
  margin: 0 auto;
  padding: 0 clamp(2.5rem, 7vw, 6rem);
}

.services-v2__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(3rem, 5vw, 4rem);
}

.services-v2__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* ---- 3-column radial layout ---- */
.svc-radial {
  display: grid;
  grid-template-columns: 1fr 440px 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: top;
  position: relative;
  z-index: 5;
  /* Ensure it stays above following sections */
}

/* ---- Left / Right item columns ---- */
.svc-radial__col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  /* Use a consistent gap instead of fixed height */
  min-height: 440px;
  /* Align with the center ring height */
  justify-content: center;
  /* Center items vertically relative to the ring */
}

/* ---- Single item ---- */
.svc-radial__item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  opacity: 0;
  transform: translateY(20px);
  cursor: pointer;
}

/* Left column: icon RIGHT, text right-aligned */
.svc-radial__col--left .svc-radial__item {
  flex-direction: row-reverse;
  text-align: right;
}

/* ---- Item icon badge ---- */
.svc-radial__item-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid rgba(252, 175, 23, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-radial__item-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-primary);
  stroke-width: 1.5;
}

/* ---- Item text ---- */
.svc-radial__item-text {
  flex: 1;
  min-width: 0;
}

.svc-radial__item-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.svc-radial__col--left .svc-radial__item-head {
  flex-direction: row-reverse;
}

.svc-radial__item-num {
  font-size: var(--text-md);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.svc-radial__item-title {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
}

.svc-radial__item-desc {
  font-size: var(--text-sm);
  color: rgba(10, 10, 10, 0.5);
  line-height: 1.55;
}

/* ---- Center column ---- */
.svc-radial__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 10;
}

/* ---- Dashed ring wrapper ---- */
.svc-radial__ring-wrap {
  position: relative;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 2px dashed rgba(252, 175, 23, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- Dots on ring ---- */
.svc-radial__dot {
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 50%;
  left: calc(50% + cos(var(--a)) * 219px - 5px);
  top: calc(50% + sin(var(--a)) * 219px - 5px);
  z-index: 3;
  box-shadow: 0 0 0 4px rgba(252, 175, 23, 0.18);
}

/* ---- Inner image circle ---- */
.svc-radial__img-wrap {
  width: 390px;
  height: 390px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f0;
  /* Neutral light grey instead of blue */
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.svc-radial__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.05);
  /* Start slightly larger for a subtle zoom effect */
}

.svc-radial__img--active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* ---- Caption below ring ---- */
.svc-radial__caption {
  text-align: center;
}

.svc-radial__caption-main {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.3;
}

.svc-radial__caption-accent {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.3;
}

.svc-radial__caption-sub {
  font-size: 0.75rem;
  color: rgba(10, 10, 10, 0.5);
  margin-top: 0.5rem;
  max-width: 260px;
  margin-inline: auto;
  line-height: 1.55;
}

/* ---- Stats bar ---- */
.svc-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 2.5rem;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.svc-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 0.75rem;
  gap: 0.4rem;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.svc-stats__item:last-child {
  border-right: none;
}

.svc-stats__icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--color-primary);
  stroke-width: 1.5;
}

.svc-stats__val {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.1;
}

.svc-stats__label {
  font-size: 0.68rem;
  color: rgba(10, 10, 10, 0.5);
  line-height: 1.4;
  max-width: 110px;
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .svc-radial {
    grid-template-columns: 1fr 380px 1fr;
  }

  .svc-radial__ring-wrap {
    width: 380px;
    height: 380px;
  }

  .svc-radial__img-wrap {
    width: 336px;
    height: 336px;
  }

  .svc-radial__dot {
    left: calc(50% + cos(var(--a)) * 189px - 5px);
    top: calc(50% + sin(var(--a)) * 189px - 5px);
  }

  .svc-radial__col {
    height: 380px;
  }
}

@media (max-width: 1280px) {
  .services-v2__inner {
    padding: 0 clamp(1.5rem, 5vw, 3rem);
  }

  .services-v2__header {
    margin-bottom: 2rem;
  }

  .svc-radial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 5vw, 3rem);
  }

  .svc-radial__col--left {
    order: 1;
  }

  .svc-radial__center {
    display: none;
  }

  .svc-radial__col--right {
    order: 2;
  }

  .svc-radial__col {
    height: auto;
    min-height: 0;
    gap: 0.85rem;
  }

  .svc-radial__item {
    width: 100%;
  }

  .svc-radial__col--left .svc-radial__item {
    flex-direction: row;
    text-align: left;
  }

  .svc-radial__col--left .svc-radial__item-head {
    flex-direction: row;
  }

  .svc-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .svc-radial {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .svc-radial__item {
    max-width: 680px;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .svc-radial__ring-wrap {
    width: 300px;
    height: 300px;
  }

  .svc-radial__img-wrap {
    width: 266px;
    height: 266px;
  }

  .svc-radial__dot {
    left: calc(50% + cos(var(--a)) * 149px - 5px);
    top: calc(50% + sin(var(--a)) * 149px - 5px);
  }

  .svc-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}