/* ============================================================
   GREEN LABEL SERVICES — HOME PAGE STYLESHEET
   home.css
   ============================================================ */


/* ─── SECTION SHARED PATTERNS ──────────────────────────────── */

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--light {
  background: #f5f7f5;
}

.section--dark {
  background: var(--color-dark);
}

.section--green-tint {
  background: var(--color-primary-light);
}

.section__header {
  text-align:    center;
  max-width:     640px;
  margin:        0 auto clamp(2.5rem, 5vw, 4rem);
}

.section__header--left {
  text-align:  left;
  margin-left: 0;
}

.section-eyebrow {
  display:        inline-flex;
  align-items:    center;
  gap:            0.625rem;
  font-size:      0.7rem;
  font-weight:    700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color:          var(--color-primary);
  margin-bottom:  0.875rem;
}

.section-eyebrow--dim {
  color: rgba(255, 255, 255, 0.45);
}

.eyebrow-line {
  display:      block;
  width:        28px;
  height:       2px;
  background:   var(--color-primary);
  border-radius: 1px;
  flex-shrink:  0;
}

.eyebrow-line--dim { background: rgba(255, 255, 255, 0.3); }

.section__heading {
  font-size:   clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 800;
  line-height: 1.18;
  color:       var(--color-text);
  margin-bottom: 1rem;
}

.section__heading--light { color: var(--color-white); }

.section__subtext {
  font-size:   1.0625rem;
  line-height: 1.75;
  color:       var(--color-text-muted);
  font-weight: 400;
}

.section__subtext--light { color: rgba(255, 255, 255, 0.58); }

.section__cta {
  margin-top:  2.5rem;
  text-align:  center;
}


/* ─── HERO SLIDER ───────────────────────────────────────────── */

.hero {
  position:   relative;
  width:      100%;
  height:     100svh;
  min-height: 580px;
  max-height: 960px;
  overflow:   hidden;
  outline:    none;
}

/* Individual slide */
.hero__slide {
  position:   absolute;
  inset:      0;
  opacity:    0;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

/* Background image with subtle Ken Burns zoom */
.hero__bg {
  position:            absolute;
  inset:               0;
  background-size:     cover;
  background-position: center;
  transform:           scale(1.06);
  transition:          transform 7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change:         transform;
}

.hero__slide.is-active .hero__bg {
  transform: scale(1);
}

/* Directional gradient overlay — dark left, fade right */
.hero__overlay {
  position:   absolute;
  inset:      0;
  background: linear-gradient(
    100deg,
    rgba(5, 10, 5, 0.82) 0%,
    rgba(5, 10, 5, 0.55) 45%,
    rgba(5, 10, 5, 0.25) 75%,
    rgba(5, 10, 5, 0.15) 100%
  );
}

/* Bottom fade for nav dots legibility */
.hero__overlay::after {
  content:    '';
  position:   absolute;
  bottom:     0;
  left:       0;
  right:      0;
  height:     200px;
  background: linear-gradient(to top, rgba(5, 10, 5, 0.5), transparent);
}

/* Slide content wrapper */
.hero__content {
  position:        relative;
  z-index:         2;
  height:          100%;
  display:         flex;
  flex-direction:  column;
  justify-content: center;
  padding:         0 var(--container-pad);
  padding-top:     var(--nav-height);
  max-width:       var(--container-max);
  margin:          0 auto;
}

/* Text animation helpers — reset state */
.hero__eyebrow,
.hero__heading,
.hero__subtext,
.hero__actions {
  opacity:    0;
  transform:  translateY(28px);
  transition: opacity 0.01s, transform 0.01s;
}

/* Staggered animate-in on active slide */
.hero__slide.is-active .hero__eyebrow {
  opacity:    1;
  transform:  translateY(0);
  transition: opacity 0.75s ease 0.45s, transform 0.75s cubic-bezier(0.2, 0, 0.2, 1) 0.45s;
}

.hero__slide.is-active .hero__heading {
  opacity:    1;
  transform:  translateY(0);
  transition: opacity 0.75s ease 0.62s, transform 0.75s cubic-bezier(0.2, 0, 0.2, 1) 0.62s;
}

.hero__slide.is-active .hero__subtext {
  opacity:    1;
  transform:  translateY(0);
  transition: opacity 0.75s ease 0.78s, transform 0.75s cubic-bezier(0.2, 0, 0.2, 1) 0.78s;
}

.hero__slide.is-active .hero__actions {
  opacity:    1;
  transform:  translateY(0);
  transition: opacity 0.75s ease 0.95s, transform 0.75s cubic-bezier(0.2, 0, 0.2, 1) 0.95s;
}

/* Text elements */
.hero__eyebrow {
  display:        inline-flex;
  align-items:    center;
  gap:            0.625rem;
  font-size:      0.75rem;
  font-weight:    700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color:          var(--color-primary);
  margin-bottom:  1.125rem;
}

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

.hero__heading {
  font-size:     clamp(2.125rem, 5.5vw, 4rem);
  font-weight:   800;
  line-height:   1.1;
  color:         var(--color-white);
  max-width:     16ch;
  margin-bottom: 1.25rem;
  text-shadow:   0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__subtext {
  font-size:     clamp(1rem, 1.8vw, 1.175rem);
  font-weight:   400;
  line-height:   1.7;
  color:         rgba(255, 255, 255, 0.82);
  max-width:     46ch;
  margin-bottom: 0;
}

.hero__actions {
  display:     flex;
  align-items: center;
  gap:         1rem;
  margin-top:  2.25rem;
  flex-wrap:   wrap;
}

/* Ghost / outline button variant for hero */
.btn-ghost {
  display:        inline-flex;
  align-items:    center;
  justify-content: center;
  gap:            0.5rem;
  padding:        0.75rem 1.75rem;
  font-family:    var(--font);
  font-weight:    700;
  font-size:      0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color:          var(--color-white);
  border:         2px solid rgba(255, 255, 255, 0.55);
  border-radius:  var(--radius-sm);
  transition:     border-color var(--ease), background var(--ease), color var(--ease), transform var(--ease);
  min-height:     48px;
  white-space:    nowrap;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--color-white);
  background:   rgba(255, 255, 255, 0.12);
  transform:    translateY(-2px);
}

/* ── Slider navigation controls ── */
.hero__controls {
  position:   absolute;
  bottom:     2.5rem;
  left:       0;
  right:      0;
  z-index:    3;
  display:    flex;
  align-items: center;
  justify-content: center;
  gap:        1.5rem;
  padding:    0 var(--container-pad);
}

/* Arrow buttons */
.hero__arrow {
  display:         flex;
  align-items:     center;
  justify-content: center;
  width:           44px;
  height:          44px;
  border:          1px solid rgba(255, 255, 255, 0.35);
  border-radius:   50%;
  color:           rgba(255, 255, 255, 0.8);
  background:      rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  transition:      background var(--ease), border-color var(--ease), color var(--ease), transform var(--ease);
  flex-shrink:     0;
}

.hero__arrow:hover,
.hero__arrow:focus-visible {
  background:    var(--color-primary);
  border-color:  var(--color-primary);
  color:         var(--color-white);
  transform:     scale(1.08);
}

.hero__arrow svg {
  width:  18px;
  height: 18px;
  stroke: currentColor;
  fill:   none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dot indicators */
.hero__dots {
  display: flex;
  gap:     0.5rem;
}

.hero__dot {
  width:         8px;
  height:        8px;
  border-radius: 50%;
  background:    rgba(255, 255, 255, 0.35);
  border:        none;
  cursor:        pointer;
  transition:    background var(--ease), transform var(--ease), width var(--ease);
  padding:       0;
  min-width:     8px;
}

.hero__dot.is-active {
  background:   var(--color-primary);
  width:        24px;
  border-radius: 4px;
}

/* Live region (screen readers) */
.hero__live {
  position: absolute;
  clip:     rect(0, 0, 0, 0);
  width:    1px;
  height:   1px;
  overflow: hidden;
}

/* Scroll cue */
.hero__scroll-cue {
  position: absolute;
  bottom:   2.5rem;
  right:    var(--container-pad);
  z-index:  3;
  display:  flex;
  flex-direction: column;
  align-items:    center;
  gap:      0.5rem;
  color:    rgba(255, 255, 255, 0.45);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero__scroll-line {
  width:           1px;
  height:          48px;
  background:      linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation:       scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1);   }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line { animation: none; }
  .hero__bg          { transition: none; transform: none; }
}


/* ─── STATS BAR ────────────────────────────────────────────── */

.stats-bar {
  background:  var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding:     0;
  position:    relative;
  z-index:     2;
}

.stats-bar__grid {
  display:               grid;
  grid-template-columns: repeat(4, 1fr);
  max-width:             var(--container-max);
  margin:                0 auto;
}

.stats-bar__item {
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  justify-content: center;
  padding:         2.25rem 1rem;
  text-align:      center;
  position:        relative;
}

.stats-bar__item + .stats-bar__item::before {
  content:    '';
  position:   absolute;
  left:       0;
  top:        20%;
  bottom:     20%;
  width:      1px;
  background: var(--color-border);
}

.stats-bar__value {
  font-size:   clamp(2rem, 4vw, 2.875rem);
  font-weight: 800;
  color:       var(--color-primary);
  line-height: 1;
  margin-bottom: 0.375rem;
}

.stats-bar__label {
  font-size:      0.8rem;
  font-weight:    600;
  letter-spacing: 0.04em;
  color:          var(--color-text-muted);
  text-transform: uppercase;
}


/* ─── SERVICES SECTION ─────────────────────────────────────── */

.services-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   1.5rem;
  max-width:             var(--container-max);
  margin:                0 auto;
  padding:               0 var(--container-pad);
}

.service-card {
  background:    var(--color-white);
  border:        1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding:       2rem 1.75rem 1.75rem;
  position:      relative;
  overflow:      hidden;
  transition:    transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  display:       flex;
  flex-direction: column;
}

.service-card::before {
  content:    '';
  position:   absolute;
  top:        0;
  left:       0;
  right:      0;
  height:     3px;
  background: var(--color-primary);
  transform:  scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform:    translateY(-5px);
  box-shadow:   var(--shadow-md);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  display:         flex;
  align-items:     center;
  justify-content: center;
  width:           52px;
  height:          52px;
  background:      var(--color-primary-light);
  border-radius:   var(--radius-md);
  margin-bottom:   1.375rem;
  flex-shrink:     0;
  transition:      background var(--ease);
}

.service-card:hover .service-card__icon {
  background: var(--color-primary);
}

.service-card__icon svg {
  width:  26px;
  height: 26px;
  fill:   var(--color-primary);
  transition: fill var(--ease);
}

.service-card:hover .service-card__icon svg {
  fill: var(--color-white);
}

.service-card__icon i {
  font-size:  1.375rem;
  color:      var(--color-primary);
  transition: color var(--ease);
}

.service-card:hover .service-card__icon i {
  color: var(--color-white);
}

.service-card__title {
  font-size:     1.0625rem;
  font-weight:   700;
  color:         var(--color-text);
  margin-bottom: 0.625rem;
  line-height:   1.3;
}

.service-card__text {
  font-size:   0.9rem;
  line-height: 1.7;
  color:       var(--color-text-muted);
  flex-grow:   1;
  margin-bottom: 1.25rem;
}

.service-card__link {
  display:     inline-flex;
  align-items: center;
  gap:         0.375rem;
  font-size:   0.85rem;
  font-weight: 700;
  color:       var(--color-primary);
  letter-spacing: 0.02em;
  margin-top:  auto;
  transition:  gap var(--ease);
}

.service-card__link svg {
  width:      16px;
  height:     16px;
  fill:       none;
  stroke:     currentColor;
  stroke-width: 2.5;
  stroke-linecap:  round;
  stroke-linejoin: round;
  transition: transform var(--ease);
}

.service-card:hover .service-card__link svg,
.service-card__link:hover svg {
  transform: translateX(4px);
}

.service-card__link i {
  font-size:  0.75rem;
  transition: transform var(--ease);
}

.service-card:hover .service-card__link i,
.service-card__link:hover i {
  transform: translateX(4px);
}


/* ─── ABOUT SECTION ─────────────────────────────────────────── */

.about-inner {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   clamp(3rem, 6vw, 6rem);
  align-items:           center;
  max-width:             var(--container-max);
  margin:                0 auto;
  padding:               0 var(--container-pad);
}

.about-content {
  display:        flex;
  flex-direction: column;
}

.about-body {
  font-size:   1.0625rem;
  line-height: 1.8;
  color:       var(--color-text-muted);
  margin-bottom: 1.75rem;
}

.about-checklist {
  display:        flex;
  flex-direction: column;
  gap:            0.75rem;
  margin-bottom:  2rem;
}

.about-checklist__item {
  display:     flex;
  align-items: flex-start;
  gap:         0.75rem;
  font-size:   0.9375rem;
  font-weight: 500;
  color:       var(--color-text);
  line-height: 1.5;
}

.about-checklist__tick {
  display:         flex;
  align-items:     center;
  justify-content: center;
  width:           22px;
  height:          22px;
  background:      var(--color-primary);
  border-radius:   50%;
  flex-shrink:     0;
  margin-top:      1px;
}

.about-checklist__tick svg {
  width:  12px;
  height: 12px;
  stroke: var(--color-white);
  fill:   none;
  stroke-width:    2.5;
  stroke-linecap:  round;
  stroke-linejoin: round;
}

/* Image panel */
.about-image-wrap {
  position:      relative;
  border-radius: var(--radius-lg);
  overflow:      hidden;
}

.about-image-wrap::before {
  content:  '';
  position: absolute;
  top:      -16px;
  right:    -16px;
  width:    80%;
  height:   80%;
  border:   3px solid var(--color-primary);
  border-radius: var(--radius-lg);
  z-index:  0;
  opacity:  0.35;
}

.about-image {
  position:      relative;
  z-index:       1;
  width:         100%;
  aspect-ratio:  4 / 3;
  object-fit:    cover;
  border-radius: var(--radius-lg);
  display:       block;
}

/* Experience badge */
.about-badge {
  position:        absolute;
  bottom:          -1.25rem;
  left:            -1.25rem;
  z-index:         2;
  background:      var(--color-white);
  border-radius:   var(--radius-md);
  padding:         1rem 1.25rem;
  box-shadow:      var(--shadow-md);
  display:         flex;
  align-items:     center;
  gap:             0.875rem;
  min-width:       180px;
}

.about-badge__value {
  font-size:   2rem;
  font-weight: 800;
  color:       var(--color-primary);
  line-height: 1;
}

.about-badge__label {
  font-size:   0.8rem;
  font-weight: 600;
  color:       var(--color-text-muted);
  line-height: 1.3;
  max-width:   8ch;
}


/* ─── INDUSTRIES SECTION ────────────────────────────────────── */

.industries-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   1px;
  max-width:             var(--container-max);
  margin:                0 auto;
  padding:               0 var(--container-pad);
  background:            rgba(255, 255, 255, 0.07);
  border:                1px solid rgba(255, 255, 255, 0.07);
  border-radius:         var(--radius-md);
  overflow:              hidden;
}

.industry-card {
  display:         flex;
  flex-direction:  column;
  align-items:     flex-start;
  padding:         2rem 1.75rem;
  background:      var(--color-dark-2);
  gap:             1rem;
  transition:      background var(--ease);
  position:        relative;
  overflow:        hidden;
}

.industry-card::after {
  content:    '';
  position:   absolute;
  bottom:     0;
  left:       1.75rem;
  right:      1.75rem;
  height:     1px;
  background: rgba(255, 255, 255, 0.06);
}

.industry-card:hover {
  background: var(--color-dark-3);
}

.industry-card__icon {
  display:         flex;
  align-items:     center;
  justify-content: center;
  width:           48px;
  height:          48px;
  background:      rgba(23, 199, 20, 0.12);
  border-radius:   var(--radius-md);
  flex-shrink:     0;
  transition:      background var(--ease);
}

.industry-card:hover .industry-card__icon {
  background: rgba(23, 199, 20, 0.22);
}

.industry-card__icon svg {
  width:  24px;
  height: 24px;
  fill:   var(--color-primary);
}

.industry-card__name {
  font-size:   1rem;
  font-weight: 700;
  color:       var(--color-white);
  line-height: 1.3;
}

.industry-card__desc {
  font-size:   0.85rem;
  line-height: 1.65;
  color:       rgba(255, 255, 255, 0.5);
  margin-top:  -0.25rem;
}


/* ─── WHY CHOOSE US ─────────────────────────────────────────── */

.features-grid {
  display:               grid;
  grid-template-columns: repeat(4, 1fr);
  gap:                   2rem;
  max-width:             var(--container-max);
  margin:                0 auto;
  padding:               0 var(--container-pad);
}

.feature-card {
  display:        flex;
  flex-direction: column;
  gap:            1rem;
}

.feature-card__icon {
  display:         flex;
  align-items:     center;
  justify-content: center;
  width:           56px;
  height:          56px;
  border-radius:   var(--radius-md);
  background:      var(--color-white);
  box-shadow:      var(--shadow-sm);
  flex-shrink:     0;
}

.feature-card__icon svg {
  width:  28px;
  height: 28px;
  fill:   var(--color-primary);
}

.feature-card__title {
  font-size:   1rem;
  font-weight: 700;
  color:       var(--color-text);
  line-height: 1.3;
}

.feature-card__text {
  font-size:   0.9rem;
  line-height: 1.7;
  color:       var(--color-text-muted);
  margin-top:  -0.25rem;
}


/* ─── GALLERY SECTION ───────────────────────────────────────── */

.gallery-grid {
  display:               grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows:    repeat(2, 260px);
  gap:                   0.75rem;
  max-width:             var(--container-max);
  margin:                0 auto;
  padding:               0 var(--container-pad);
}

.gallery-item {
  overflow:      hidden;
  border-radius: var(--radius-md);
  position:      relative;
  background:    #111;
}

.gallery-item:nth-child(1) { grid-column: 1 / 5;  grid-row: 1 / 3; }
.gallery-item:nth-child(2) { grid-column: 5 / 8;  grid-row: 1 / 2; }
.gallery-item:nth-child(3) { grid-column: 8 / 13; grid-row: 1 / 2; }
.gallery-item:nth-child(4) { grid-column: 5 / 9;  grid-row: 2 / 3; }
.gallery-item:nth-child(5) { grid-column: 9 / 13; grid-row: 2 / 3; }

.gallery-item__img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-item__img {
  transform: scale(1.05);
}

.gallery-item__overlay {
  position:        absolute;
  inset:           0;
  background:      rgba(5, 10, 5, 0.45);
  opacity:         0;
  transition:      opacity var(--ease);
  display:         flex;
  align-items:     center;
  justify-content: center;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__view {
  display:         flex;
  align-items:     center;
  justify-content: center;
  width:           48px;
  height:          48px;
  background:      var(--color-white);
  border-radius:   50%;
  transform:       scale(0.8);
  transition:      transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover .gallery-item__view {
  transform: scale(1);
}

.gallery-item__view svg {
  width:  20px;
  height: 20px;
  stroke: var(--color-primary);
  fill:   none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-section__footer {
  text-align: center;
  margin-top: 2.5rem;
}

.gallery-empty {
  grid-column: 1 / -1;
  display:     flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap:         0.75rem;
  padding:     3rem 1rem;
  color:       var(--color-text-muted);
  font-size:   0.95rem;
}

.gallery-empty i {
  font-size:   2.5rem;
  opacity:     0.35;
}


/* ─── TESTIMONIALS ──────────────────────────────────────────── */

.testimonials-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   1.5rem;
  max-width:             var(--container-max);
  margin:                0 auto;
  padding:               0 var(--container-pad);
}

.testimonial-card {
  background:    var(--color-white);
  border:        1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding:       2rem;
  display:       flex;
  flex-direction: column;
  gap:           1.25rem;
  position:      relative;
  transition:    box-shadow var(--ease), transform var(--ease);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform:  translateY(-4px);
}

.testimonial-card__quote-mark {
  position:    absolute;
  top:         1.25rem;
  right:       1.5rem;
  font-size:   4rem;
  line-height: 1;
  font-weight: 800;
  color:       var(--color-primary-light);
  font-family: Georgia, serif;
  user-select: none;
  pointer-events: none;
}

.testimonial-card__stars {
  display: flex;
  gap:     3px;
}

.testimonial-card__star {
  width:  16px;
  height: 16px;
  fill:   var(--color-accent);
}

.testimonial-card__text {
  font-size:   0.9375rem;
  line-height: 1.8;
  color:       var(--color-text-muted);
  font-weight: 400;
  flex-grow:   1;
}

.testimonial-card__author {
  display:     flex;
  align-items: center;
  gap:         0.875rem;
  margin-top:  auto;
}

.testimonial-card__avatar {
  width:         44px;
  height:        44px;
  border-radius: 50%;
  background:    var(--color-primary-light);
  display:       flex;
  align-items:   center;
  justify-content: center;
  font-weight:   700;
  font-size:     1rem;
  color:         var(--color-primary-dark);
  flex-shrink:   0;
}

.testimonial-card__name {
  font-weight:   700;
  font-size:     0.9rem;
  color:         var(--color-text);
  margin-bottom: 0.125rem;
}

.testimonial-card__role {
  font-size:   0.8rem;
  color:       var(--color-text-muted);
  font-weight: 500;
}


/* ─── CLIENTS / PARTNERS MARQUEE ───────────────────────────── */

.clients-section {
  padding:        clamp(3rem, 5vw, 5rem) 0;
  background:     var(--color-white);
  border-top:     1px solid var(--color-border);
  border-bottom:  1px solid var(--color-border);
  overflow:       hidden;
}

.clients-section__header {
  text-align:    center;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
  padding:       0 var(--container-pad);
}

.clients-section__heading {
  font-size:   clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 800;
  color:       var(--color-text);
  line-height: 1.2;
  margin-top:  0.5rem;
}

/* ── Scroll viewport ── */
.clients-marquee {
  position:             relative;
  overflow:             hidden;
  /* Edge fade — identical to Stripe's technique */
  -webkit-mask-image:   linear-gradient(
                          to right,
                          transparent 0%,
                          black 10%,
                          black 90%,
                          transparent 100%
                        );
  mask-image:           linear-gradient(
                          to right,
                          transparent 0%,
                          black 10%,
                          black 90%,
                          transparent 100%
                        );
}

/* ── Moving strip ── */
.clients-track {
  display:    flex;
  align-items: flex-start;
  gap:        3.5rem;
  width:      max-content;
  animation:  clientsScroll 38s linear infinite;
  /* Pause on hover — gives users time to read company names */
  will-change: transform;
}

.clients-track:hover {
  animation-play-state: paused;
}

/* ── Individual logo card ── */
.client-item {
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            0.875rem;
  flex-shrink:    0;
  cursor:         default;
}

/* Logo container — fixed height keeps strip perfectly level */
.client-item__logo-wrap {
  width:           140px;
  height:          64px;
  display:         flex;
  align-items:     center;
  justify-content: center;
  padding:         0 0.5rem;
}

.client-item__logo {
  max-width:   100%;
  max-height:  100%;
  object-fit:  contain;
  display:     block;
  /* Greyscale + lower opacity → looks restrained, premium */
  filter:      grayscale(100%) opacity(0.45);
  transition:  filter 0.35s ease;
}

.client-item:hover .client-item__logo {
  filter: grayscale(0%) opacity(1);
}

/* Company name label */
.client-item__name {
  font-size:      0.7rem;
  font-weight:    700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color:          var(--color-text-muted);
  text-align:     center;
  opacity:        0.6;
  transition:     opacity 0.3s ease, color 0.3s ease;
  white-space:    nowrap;
}

.client-item:hover .client-item__name {
  opacity: 1;
  color:   var(--color-primary);
}

/* ── Keyframe ── */
@keyframes clientsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .clients-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    gap: 2rem 3rem;
  }

  /* Hide the duplicate set when there's no animation */
  .client-item[aria-hidden="true"] {
    display: none;
  }
}


/* ─── CTA BANNER ────────────────────────────────────────────── */

.cta-banner {
  background:  var(--color-dark);
  padding:     clamp(5.5rem, 11vw, 9rem) 0;
  position:    relative;
  overflow:    hidden;
  isolation:   isolate;
}

/* Atmospheric green glow — emanates from below-center */
.cta-banner::before {
  content:   '';
  position:  absolute;
  bottom:    -30%;
  left:      50%;
  transform: translateX(-50%);
  width:     140%;
  height:    80%;
  background: radial-gradient(
    ellipse at center bottom,
    rgba(23, 199, 20, 0.16) 0%,
    rgba(23, 199, 20, 0.06) 40%,
    transparent 70%
  );
  pointer-events: none;
  animation: ctaGlowPulse 5s ease-in-out infinite;
}

/* Subtle grid texture */
.cta-banner::after {
  content:  '';
  position: absolute;
  inset:    0;
  background-image:
    linear-gradient(rgba(23, 199, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 199, 20, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events:  none;
  z-index: 0;
}

@keyframes ctaGlowPulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scaleY(1);   }
  50%       { opacity: 1;   transform: translateX(-50%) scaleY(1.12); }
}

/* ── Floating particles ── */
.cta-banner__particles {
  position:       absolute;
  inset:          0;
  pointer-events: none;
  z-index:        1;
}

.cta-particle {
  position:      absolute;
  border-radius: 50%;
  background:    var(--color-primary);
  opacity:       0;
  animation:     ctaFloat linear infinite;
}

.cta-particle--1 {
  width: 4px; height: 4px;
  left: 12%; bottom: -8px;
  animation-duration: 9s; animation-delay: 0s;
  opacity: 0.45;
}
.cta-particle--2 {
  width: 3px; height: 3px;
  left: 28%; bottom: -8px;
  animation-duration: 12s; animation-delay: 1.5s;
  opacity: 0.3;
}
.cta-particle--3 {
  width: 5px; height: 5px;
  left: 46%; bottom: -8px;
  animation-duration: 10s; animation-delay: 3s;
  opacity: 0.35;
}
.cta-particle--4 {
  width: 3px; height: 3px;
  left: 63%; bottom: -8px;
  animation-duration: 8s; animation-delay: 0.75s;
  opacity: 0.4;
}
.cta-particle--5 {
  width: 4px; height: 4px;
  left: 78%; bottom: -8px;
  animation-duration: 11s; animation-delay: 2s;
  opacity: 0.25;
}
.cta-particle--6 {
  width: 3px; height: 3px;
  left: 90%; bottom: -8px;
  animation-duration: 7s; animation-delay: 4s;
  opacity: 0.35;
}

@keyframes ctaFloat {
  0%   { transform: translateY(0)     scale(1);    opacity: 0;    }
  10%  { opacity: var(--op, 0.4); }
  90%  { opacity: var(--op, 0.4); }
  100% { transform: translateY(-500px) scale(0.6); opacity: 0;    }
}

/* ── Decorative corner accents ── */
.cta-banner__corner {
  position:      absolute;
  width:         120px;
  height:        120px;
  pointer-events: none;
  z-index:       1;
}

.cta-banner__corner--tl {
  top:    0;
  left:   0;
  border-top:  2px solid rgba(23, 199, 20, 0.2);
  border-left: 2px solid rgba(23, 199, 20, 0.2);
}

.cta-banner__corner--br {
  bottom: 0;
  right:  0;
  border-bottom: 2px solid rgba(23, 199, 20, 0.2);
  border-right:  2px solid rgba(23, 199, 20, 0.2);
}

/* ── Inner content — centered column ── */
.cta-banner__inner {
  position:       relative;
  z-index:        2;
  display:        flex;
  flex-direction: column;
  align-items:    center;
  text-align:     center;
  gap:            0;
  max-width:      760px;
  margin:         0 auto;
  padding:        0 var(--container-pad);
}

/* Entrance animation (JS adds .is-visible class) */
.cta-banner__eyebrow,
.cta-banner__heading,
.cta-banner__sub,
.cta-banner__btn,
.cta-banner__trust {
  opacity:   0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0, 0.2, 1);
}

.cta-banner.is-visible .cta-banner__eyebrow { opacity: 1; transform: none; transition-delay: 0s;     }
.cta-banner.is-visible .cta-banner__heading { opacity: 1; transform: none; transition-delay: 0.12s;  }
.cta-banner.is-visible .cta-banner__sub     { opacity: 1; transform: none; transition-delay: 0.24s;  }
.cta-banner.is-visible .cta-banner__btn     { opacity: 1; transform: none; transition-delay: 0.38s;  }
.cta-banner.is-visible .cta-banner__trust   { opacity: 1; transform: none; transition-delay: 0.52s;  }

/* ── Eyebrow ── */
.cta-banner__eyebrow {
  display:     flex;
  align-items: center;
  gap:         0.875rem;
  margin-bottom: 1.75rem;
}

.cta-banner__eyebrow-text {
  font-size:      0.68rem;
  font-weight:    800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color:          var(--color-primary);
  white-space:    nowrap;
}

.cta-banner__eyebrow-line {
  display:   block;
  width:     40px;
  height:    1px;
  background: linear-gradient(90deg, transparent, var(--color-primary));
  flex-shrink: 0;
}

.cta-banner__eyebrow-line:last-child {
  background: linear-gradient(90deg, var(--color-primary), transparent);
}

/* ── Heading ── */
.cta-banner__heading {
  font-size:     clamp(2rem, 5vw, 3.25rem);
  font-weight:   800;
  color:         var(--color-white);
  line-height:   1.13;
  letter-spacing: -0.02em;
  margin-bottom: 1.375rem;
}

.cta-banner__heading-em {
  font-style: normal;
  color:      var(--color-primary);
  position:   relative;
}

/* Underline accent on the em phrase */
.cta-banner__heading-em::after {
  content:    '';
  position:   absolute;
  bottom:     -4px;
  left:       0;
  right:      0;
  height:     2px;
  background: var(--color-primary);
  border-radius: 1px;
  opacity:    0.5;
}

/* ── Sub-copy ── */
.cta-banner__sub {
  font-size:   clamp(1rem, 1.6vw, 1.125rem);
  color:       rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  max-width:   52ch;
  margin-bottom: 2.75rem;
}

/* ── CTA Button ── */
.cta-banner__btn {
  position:        relative;
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  gap:             0.75rem;
  padding:         1rem 2.75rem;
  font-family:     var(--font);
  font-weight:     800;
  font-size:       1rem;
  letter-spacing:  0.04em;
  text-transform:  uppercase;
  background:      var(--color-primary);
  color:           var(--color-dark);
  border-radius:   var(--radius-sm);
  overflow:        hidden;
  cursor:          pointer;
  min-height:      60px;
  white-space:     nowrap;
  transition:      transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                   box-shadow 0.3s ease,
                   background 0.2s ease;
  box-shadow:      0 0 0 rgba(23, 199, 20, 0);
  margin-bottom:   2rem;
}

.cta-banner__btn:hover,
.cta-banner__btn:focus-visible {
  transform:  translateY(-4px) scale(1.02);
  box-shadow: 0 16px 48px rgba(23, 199, 20, 0.35),
              0 4px  16px rgba(23, 199, 20, 0.25);
  background: #1de31a;
}

.cta-banner__btn:active {
  transform: translateY(-1px) scale(0.99);
}

/* Shine sweep on hover */
.cta-banner__btn-shine {
  position:   absolute;
  inset:      0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%
  );
  transform:  translateX(-100%) skewX(-15deg);
  transition: transform 0s;
}

.cta-banner__btn:hover .cta-banner__btn-shine {
  transform:  translateX(200%) skewX(-15deg);
  transition: transform 0.55s ease;
}

/* Animated arrow icon */
.cta-banner__btn-arrow {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size:  0.85rem;
}

.cta-banner__btn:hover .cta-banner__btn-arrow {
  transform: translateX(5px);
}

/* ── Trust strip ── */
.cta-banner__trust {
  display:     flex;
  align-items: center;
  flex-wrap:   wrap;
  justify-content: center;
  gap:         0.5rem 1.75rem;
  list-style:  none;
  padding:     0;
}

.cta-banner__trust li {
  display:     flex;
  align-items: center;
  gap:         0.4rem;
  font-size:   0.8125rem;
  font-weight: 600;
  color:       rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
}

.cta-banner__trust i {
  color:     var(--color-primary);
  font-size: 0.75rem;
  opacity:   0.8;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .cta-banner__corner {
    width:  70px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  .cta-banner__btn {
    width:   100%;
    padding: 1rem 1.5rem;
  }

  .cta-banner__trust {
    gap: 0.5rem 1rem;
  }

  .cta-banner__heading-em::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-banner::before,
  .cta-particle             { animation: none; }
  .cta-banner__btn-shine    { display: none; }
  .cta-banner__eyebrow,
  .cta-banner__heading,
  .cta-banner__sub,
  .cta-banner__btn,
  .cta-banner__trust        { opacity: 1; transform: none; transition: none; }
}


/* ─── RESPONSIVE ────────────────────────────────────────────── */

/* Large tablet / small desktop (≤ 1024px) */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) {
    grid-column: auto;
    grid-row:    auto;
    height:      240px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablet (≤ 768px) */
@media (max-width: 768px) {
  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar__item:nth-child(3)::before {
    display: none;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-wrap::before {
    display: none;
  }

  .about-badge {
    bottom: 1rem;
    left:   1rem;
  }

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

  .cta-banner__inner {
    flex-direction: column;
    text-align:     center;
    align-items:    center;
  }

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

  .hero__scroll-cue {
    display: none;
  }
}

/* Mobile (≤ 600px) */
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 220px !important;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero__controls {
    gap: 1rem;
    bottom: 1.75rem;
  }

  .hero__actions {
    flex-direction:  column;
    align-items:     flex-start;
    gap:             0.75rem;
  }

  .hero__actions .btn-ghost,
  .hero__actions .btn-accent {
    width:    100%;
    max-width: 280px;
    justify-content: center;
  }

  .about-badge {
    position: relative;
    bottom:   auto;
    left:     auto;
    margin-top: 1.5rem;
    align-self: flex-start;
  }
}

/* Very small (≤ 420px) */
@media (max-width: 420px) {
  .stats-bar__grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-bar__item + .stats-bar__item::before {
    display: none;
  }
}
