/* ============================================
   LeftClick AI — Pixel-Perfect Reproduction
   ============================================ */

:root {
  --white: #fff;
  --black: #000;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6, p, blockquote {
  margin: 0;
  padding: 0;
  font-weight: inherit;
}

/* ============================================
   BODY
   ============================================ */
.leftclick-body {
  color: var(--black);
  background-color: #f7f7f8;
  font-family: Dmsans, Arial, sans-serif;
  font-size: 1.25vw;
  font-weight: 400;
  line-height: 130%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   SECTION BASE
   ============================================ */
.leftclick-section {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
  position: relative;
}

.leftclick-section.header-wrap {
  background-color: #f7f7f8;
  padding-top: 0.85em;
  padding-bottom: 0.85em;
}

.leftclick-section.hero-wrap {
  justify-content: flex-end;
  min-height: calc(100svh - 7.75em);
  padding-top: 5em;
  padding-bottom: 2.5em;
}

/* ============================================
   SOCIAL PROOF MARQUEE
   ============================================ */
.marquee-section {
  padding: 1.5em 0;
  background-color: #eeeff1;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  gap: 0;
  flex-direction: row;
  align-items: center;
}

.common-wrap.marquee-label-wrap {
  flex-shrink: 0;
  width: auto;
  max-width: none;
  padding-right: 0;
  z-index: auto;
}

.marquee-label {
  font-family: 'Dmsans', sans-serif;
  font-size: 0.55em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  padding-right: 2em;
}

.marquee-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 3em;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-item {
  font-family: 'Dmsans', sans-serif;
  font-size: 0.88em;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.leftclick-section.about-section {
  padding-top: 5em;
  padding-bottom: 5em;
}

.leftclick-section.case-studies-section {
  background-color: #e2e4e8;
  padding-top: 5em;
  padding-bottom: 4.75em;
}

.leftclick-section.about-us-section {
  padding-top: 5em;
  padding-bottom: 5em;
}

.leftclick-section.services-section {
  padding-top: 5em;
}

.leftclick-section.reviews-section {
  background: linear-gradient(135deg, #e2e4e8 0%, #d8dbe2 50%, #e2e4e8 100%);
  padding-top: 5em;
  padding-bottom: 5em;
  position: relative;
  overflow: hidden;
}

.leftclick-section.reviews-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.leftclick-section.footer-section {
  background-color: var(--black);
  color: var(--white);
  padding-top: 5em;
  padding-bottom: 5em;
}

/* ============================================
   COMMON WRAP (container)
   ============================================ */
.common-wrap {
  z-index: 10;
  width: 100%;
  max-width: 100%;
  padding-left: 5em;
  padding-right: 5em;
  position: relative;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.h1 {
  color: var(--black);
  letter-spacing: -5px;
  font-size: 5em;
  font-weight: 400;
  line-height: 100%;
}

.h2 {
  color: var(--black);
  letter-spacing: -4px;
  width: 70%;
  font-size: 3em;
  font-weight: 400;
  line-height: 100%;
}

.h3 {
  color: var(--black);
  letter-spacing: -0.02em;
  font-size: 1.75em;
  font-weight: 500;
  line-height: 110%;
}

.h5 {
  color: var(--black);
  font-family: Dmsans, Arial, sans-serif;
  font-size: 1.5em;
}

.h5.team-content-heading {
  margin-bottom: .35em;
  font-weight: 500;
}

.p {
  color: var(--black);
  font-size: 1em;
  line-height: 130%;
}

.lead-text {
  font-size: 1.2em;
  line-height: 130%;
}

.lead-text.max-800 {
  max-width: 71.4286%;
  font-weight: 400;
}

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

.full-width {
  width: 100%;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  gap: 1em;
  background-color: var(--black);
  color: var(--white);
  border-radius: 2em;
  align-items: center;
  padding: .2em .25em .2em 1em;
  font-size: 1em;
  display: inline-flex;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.85;
}

.btn.btn-light {
  background-color: var(--white);
  color: var(--black);
}

.btn-text-wrap {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
  overflow: hidden;
}

.btn-text-hover {
  transform-style: preserve-3d;
  position: absolute;
  transform: translate3d(0, 100%, 0);
}

.btn:hover .btn-text-hover {
  transform: translate3d(0, 0, 0);
  transition: transform 0.3s ease;
}

.btn:hover .btn-text {
  transform: translate3d(0, -100%, 0);
  transition: transform 0.3s ease;
}

.btn-text {
  transition: transform 0.3s ease;
}

.btn-icon-box {
  background-color: var(--white);
  border-radius: 100%;
  justify-content: center;
  align-items: center;
  width: 2.25em;
  height: 2.25em;
  display: flex;
  position: relative;
  overflow: hidden;
}

.btn-icon-box.dark-bg {
  background-color: var(--black);
  color: var(--white);
}

.btn-icon {
  width: 1em;
}

.btn-icon-hover {
  width: 1em;
  position: absolute;
  transform: translate(-200%);
}

.btn:hover .btn-icon-hover {
  transform: translate(0);
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translate(200%);
  transition: transform 0.3s ease;
}

/* ============================================
   HEADER
   ============================================ */
.header-inner {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  display: flex;
}

.main-logo {
  width: 5.5em;
  display: flex;
}

.header-btn {
  display: flex;
  font-size: 0.8em;
}

.nav-wrap {
  gap: 1.5em;
  display: flex;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  width: 48px;
  height: 48px;
}

.menu-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--black);
  border-radius: 1px;
}

.nav-link {
  padding: 0;
  font-size: 0.7em;
  color: var(--black);
  transition: opacity 0.2s;
}

.nav-link:hover {
  opacity: 0.6;
}

/* ============================================
   HERO
   ============================================ */
.section-bg {
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  inset: 0% auto auto 0%;
}

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

.hero-bg-img {
  opacity: 1;
}

/* Desktop: hide static image, show Spline */
.desk-opacity {
  opacity: 0;
}

.absolute-full {
  background-color: transparent;
  position: absolute;
  inset: 0%;
  overflow: hidden;
}

.absolute-full spline-viewer {
  width: 100%;
  height: 100%;
  display: block;
}

/* Mobile: show static image, hide Spline */
@media screen and (max-width: 991px) {
  .desk-opacity {
    z-index: 5;
    opacity: 1;
    position: relative;
  }

  .absolute-full.img-cover {
    display: none;
  }
}

.hero-inner {
  z-index: 1;
  flex-flow: column;
  width: 100%;
  display: flex;
  position: relative;
}

.hero-title {
  width: 100%;
  margin-bottom: .75em;
}

.hero-btn {
  width: 100%;
  font-size: 1vw;
}

/* ============================================
   SUPER HEADLINE (numbered pill badges)
   ============================================ */
.super-headline {
  gap: 1em;
  background-color: #e2e4e8;
  border-radius: 6.25em;
  align-items: center;
  width: max-content;
  padding: .25em 1em .25em .25em;
  font-size: 1vw;
  display: inline-flex;
}

.super-headline.bg-light {
  background-color: var(--white);
}

.super-headline-num {
  background-color: var(--black);
  color: var(--white);
  border-radius: 100%;
  justify-content: center;
  align-items: center;
  width: 2em;
  height: 2em;
  display: flex;
}

/* ============================================
   TITILE WRAP
   ============================================ */
.titile-wrap {
  gap: 1.35em;
  flex-flow: column;
  width: 100%;
  display: flex;
}

/* ============================================
   ABOUT / INTRO SECTION
   ============================================ */
.about-inner {
  flex-flow: column;
  width: 100%;
  display: flex;
}

.about-wrap {
  gap: 1.5em;
  flex-flow: column;
  width: 100%;
  margin-top: 4em;
  display: flex;
}

.about-content-wrap {
  gap: 1.5em;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  width: 100%;
  display: grid;
}

.about-content-wrap .about-content {
  grid-column: 1;
}

.about-content-wrap .about-thumb {
  grid-column: 2;
}

.about-content {
  gap: 1em;
  flex-flow: column;
  align-items: flex-start;
  display: flex;
}

.about-thumb {
  width: 100%;
  display: flex;
}

.about-thumb-img {
  border-radius: .75em;
  width: 100%;
  max-width: 100%;
}

/* Client logos */
.client-logos-wrap {
  gap: 1.5em;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  width: 100%;
  margin-top: 0;
  margin-bottom: -.35em;
  display: grid;
}

.client-logo {
  aspect-ratio: 1;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding: .5em;
  display: flex;
}

.client-logo-icon {
  min-height: 1.5em;
  max-height: 3em;
}

/* ============================================
   CASE STUDIES
   ============================================ */
.case-studies-inner {
  flex-flow: column;
  width: 100%;
  display: flex;
}

.case-studies-wrap {
  gap: 1.5em;
  row-gap: 4.5em;
  flex-flow: wrap;
  width: 100%;
  margin-top: 4.5em;
  display: flex;
}

.case-studies-card {
  gap: 1.25em;
  color: var(--black);
  flex-flow: column;
  width: calc(50% - .75em);
  display: flex;
  position: relative;
}

.case-studies-card.case-studies-card-small {
  width: calc(36.7857% - .75em);
}

.case-studies-card.case-studies-card-large {
  width: calc(63.2143% - .75em);
}

.case-studies-card-thumb {
  width: 100%;
  display: flex;
  position: relative;
}

.case-studies-card-img {
  border-radius: .75em;
  flex: 0 auto;
  align-self: auto;
  width: 100%;
  overflow: clip;
}

.link-icon-box {
  background-color: var(--black);
  color: var(--white);
  border-radius: 100%;
  justify-content: center;
  align-items: center;
  width: 3em;
  height: 3em;
  display: flex;
  position: relative;
  overflow: hidden;
}

.link-icon-box.case-studies-link-box {
  position: absolute;
  inset: auto auto .75em .75em;
}

.link-icon {
  width: 2.25em;
}

.link-icon-hover {
  transform-style: preserve-3d;
  width: 2.25em;
  position: absolute;
  transform: translate3d(-100%, 100%, 0);
}

.link-icon-box:hover .link-icon-hover {
  transform: translate3d(0, 0, 0);
  transition: transform 0.3s ease;
}

.link-icon-box:hover .link-icon {
  transform: translate3d(100%, -100%, 0);
  transition: transform 0.3s ease;
}

/* ============================================
   ABOUT US
   ============================================ */
.about-us-inner {
  flex-flow: column;
  width: 100%;
  display: flex;
}

.team-wrap {
  gap: 2em;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  margin-top: 4em;
  display: grid;
}

.team-item {
  align-items: flex-start;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.team-thumb {
  width: 100%;
  display: flex;
}

.team-thumb-img {
  border-radius: .75em;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 20%;
  background: linear-gradient(180deg, #e8e8ec 0%, #d4d4d8 100%);
}

.team-thumb-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: .75em;
  background: linear-gradient(135deg, #e2e4e8 0%, #d0d2d6 100%);
}

.team-content {
  width: 100%;
  padding-left: 0;
}

.team-content-title {
  color: #626b7a;
  margin-bottom: 1.25em;
  font-size: 1.125em;
}

/* ============================================
   SERVICES
   ============================================ */
.service-card-wrap {
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  width: 100%;
  margin-top: 4.2em;
  display: grid;
  position: relative;
}

.service-card {
  aspect-ratio: 1;
  justify-content: center;
  align-items: center;
  padding: 5em;
  display: flex;
  position: relative;
  overflow: hidden;
}

.service-card-thumb {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0% auto auto 0%;
}

.service-card-thumb-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.service-card-thumb-overlay {
  background-color: var(--black);
  opacity: .4;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0% auto auto 0%;
}

.service-card-overlay {
  background-color: rgba(247, 247, 248, 0.8);
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0% auto auto 0%;
  transition: opacity 0.4s ease;
}

.service-card:hover .service-card-overlay {
  opacity: 0;
}

.service-card:hover .service-card-content-wrap {
  color: var(--white);
}

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

.service-card:hover .service-card-tag {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.service-card-content-wrap {
  z-index: 1;
  text-align: center;
  width: 100%;
  margin-bottom: 1em;
  position: relative;
  transition: color 0.4s ease;
}

.service-card-tag-wrap {
  gap: .5em;
  flex-flow: wrap;
  justify-content: center;
  width: 100%;
  margin-top: 1em;
  display: flex;
  position: relative;
}

.service-card-tag {
  background-color: #e2e4e8;
  border-radius: 6.5em;
  padding: .4em .85em;
  font-size: 0.8em;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews-inner {
  flex-flow: column;
  width: 100%;
  display: flex;
}

.reviews-wrap {
  gap: 1.5em;
  flex-flow: column;
  width: 100%;
  margin-top: 4.35em;
  display: flex;
}

.reviews-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.reviews-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
  width: 100%;
}

.reviews-track .reviews-card {
  min-width: 100%;
  flex-shrink: 0;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: .5em;
  margin-top: 1.5em;
}

.reviews-dot {
  width: .625em;
  height: .625em;
  border-radius: 50%;
  border: none;
  background-color: #bdc2ca;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s;
}

.reviews-dot.active {
  background-color: var(--black);
}

.reviews-card-author-placeholder {
  width: 5em;
  height: 5em;
  border-radius: 100%;
  background-color: #bdc2ca;
  margin-bottom: 1em;
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5em;
  margin-top: 3em;
}

.process-step {
  background: var(--white);
  border-radius: 1em;
  padding: 1.5em;
}

.process-step-num {
  font-family: 'Dmsans', sans-serif;
  font-size: 0.75em;
  font-weight: 500;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1em;
}

.process-step-title {
  margin-bottom: 0.5em;
  font-size: 1.1em;
  font-weight: 500;
}

.process-optional {
  font-style: normal;
}

/* ============================================
   CTA SECTION
   ============================================ */
.leftclick-section.cta-section {
  padding: 6em 0;
  background: #111113;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 60%, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25em;
}

.cta-heading {
  color: #f0f0f2;
  width: 100%;
  text-align: center;
}

.cta-sub {
  color: rgba(240, 240, 242, 0.6);
  max-width: 32em;
  text-align: center;
}

.cta-btn-wrap {
  margin-top: 0.75em;
  font-size: 1vw;
}

.cta-section .btn {
  background-color: #f0f0f2;
  color: #111113;
}

.cta-section .btn-icon-box {
  background-color: #111113;
}

.cta-section .btn-icon-box .btn-icon,
.cta-section .btn-icon-box .btn-icon-hover {
  filter: invert(1);
}

.reviews-card {
  background-color: var(--white);
  border-radius: 1.875em;
  width: 100%;
  padding: 1.5em;
}

.reviews-card-inner {
  gap: 1.5em;
  display: flex;
}

.reviews-card-content {
  background-color: #e2e4e8;
  border-radius: .75em;
  flex-flow: column;
  justify-content: center;
  width: calc(100% - 26.5em);
  padding: 2.5em;
  display: flex;
}

.reviews-card-author {
  aspect-ratio: 1;
  text-align: center;
  background-color: #e2e4e8;
  border-radius: .75em;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 25em;
  padding: 1em;
  display: flex;
}

.reviews-text {
  text-align: center;
  border: 1px solid transparent;
  margin: 0;
  padding: 0;
  font-family: Dmsans, Arial, sans-serif;
  font-size: 2em;
  line-height: 130%;
}

.reviews-card-author-img {
  border-radius: 100%;
  width: 5em;
  margin-bottom: 1em;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-inner {
  flex-flow: column;
  width: 100%;
  display: flex;
}

.footer-top {
  justify-content: space-between;
  width: 100%;
  display: flex;
  gap: 4em;
}

.footer-text-wrap {
  width: 100%;
  max-width: 27.5em;
  flex-shrink: 0;
}

.footer-h6 {
  opacity: .5;
  color: var(--white);
  margin-bottom: .25em;
  font-size: 1em;
  font-weight: 400;
  line-height: 100%;
}

.footer-btn {
  margin-top: 2em;
}

.footer-columns {
  display: flex;
  gap: 4em;
  padding-top: .25em;
}

.footer-col {
  display: flex;
  flex-flow: column;
  gap: .75em;
  min-width: 8em;
}

.footer-col-heading {
  color: var(--white);
  font-size: .75em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: .5em;
  opacity: .4;
}

.footer-link {
  color: var(--white);
  font-size: .9375em;
  opacity: .7;
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 1;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-top: 5em;
}

.footer-bottom {
  align-items: center;
  width: 100%;
  margin-top: 2em;
  display: flex;
  justify-content: space-between;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
}

.footer-logo {
  width: 5em;
  display: flex;
}

.footer-bottom-center {
  display: flex;
}

.footer-bottom-link-wrap {
  gap: 2em;
  display: flex;
}

.footer-nav-link {
  color: var(--white);
  font-size: .8125em;
  opacity: .4;
  transition: opacity 0.2s;
}

.footer-nav-link:hover {
  opacity: .8;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
}

.copyright-text {
  font-size: .8125em;
  opacity: .4;
}

/* ============================================
   RESPONSIVE — TABLET (max-width: 991px)
   ============================================ */
@media screen and (max-width: 991px) {
  .leftclick-body {
    font-size: 16px;
  }

  .common-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Header */
  .leftclick-section.header-wrap {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .nav-wrap {
    display: none;
  }

  .header-btn {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .main-logo {
    width: 9em;
  }

  /* Typography */
  .h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .h2 {
    font-size: 36px;
    letter-spacing: -1px;
    width: 70%;
  }

  .h3 {
    font-size: 32px;
  }

  .h5 {
    font-size: 24px;
  }

  .lead-text {
    font-size: 20px;
  }

  .lead-text.max-800 {
    max-width: 100%;
  }

  /* Hero */
  .leftclick-section.hero-wrap {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 32px;
  }

  .hero-btn {
    font-size: 16px;
  }

  .super-headline {
    font-size: 13px;
  }

  /* Sections */
  .leftclick-section.about-section {
    padding-top: 48px;
    padding-bottom: 16px;
  }

  .leftclick-section.case-studies-section,
  .leftclick-section.about-us-section,
  .leftclick-section.reviews-section,
  .leftclick-section.footer-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .leftclick-section.services-section {
    padding-top: 48px;
    padding-bottom: 0;
  }

  /* About */
  .about-content-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-content-wrap .about-content {
    grid-column: 1;
  }

  .about-content-wrap .about-thumb {
    grid-column: 1;
  }

  .about-content .hero-btn {
    font-size: 16px;
  }

  .about-wrap {
    margin-top: 32px;
    gap: 24px;
  }

  .client-logos-wrap {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    margin-top: 24px;
  }

  .client-logo {
    aspect-ratio: auto;
    padding: .5em;
  }

  /* Case Studies */
  .case-studies-wrap {
    margin-top: 32px;
    gap: 24px;
    row-gap: 32px;
  }

  .case-studies-card,
  .case-studies-card.case-studies-card-small,
  .case-studies-card.case-studies-card-large {
    width: 100%;
  }

  /* Process */
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .leftclick-section.cta-section {
    padding: 48px 0;
  }

  .cta-btn-wrap {
    font-size: 16px;
  }

  .cta-heading {
    width: 100%;
  }

  /* Team */
  .team-wrap {
    grid-template-columns: 1fr;
  }

  .team-thumb {
    width: 8em;
  }

  .team-wrap {
    margin-top: 32px;
    gap: 24px;
  }

  /* Services */
  .service-card-wrap {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .service-card {
    padding: 24px;
  }

  .service-card-overlay {
    opacity: 0;
  }

  .service-card-content-wrap {
    color: var(--white);
  }

  .service-card .h3 {
    color: var(--white);
  }

  .service-card .service-card-tag {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
  }

  /* Reviews */
  .reviews-card-inner {
    flex-flow: column;
    gap: 16px;
  }

  .reviews-card-content {
    width: 100%;
    padding: 40px 20px;
  }

  .reviews-card-author {
    width: 100%;
    aspect-ratio: auto;
    padding: 16px;
  }

  .reviews-card {
    padding: 16px;
  }

  .reviews-text {
    font-size: 24px;
  }

  .reviews-wrap {
    margin-top: 32px;
    gap: 24px;
  }

  /* Footer */
  .footer-top {
    flex-flow: column;
    gap: 40px;
  }

  .footer-columns {
    gap: 32px;
    flex-wrap: wrap;
  }

  .footer-col {
    min-width: calc(50% - 16px);
  }

  .footer-divider {
    margin-top: 40px;
  }

  .footer-bottom {
    flex-flow: column;
    align-items: flex-start;
    margin-top: 24px;
    gap: 16px;
  }

  .footer-logo {
    width: 4em;
  }

  .footer-bottom-right {
    margin-top: 0;
  }

  .footer-text-wrap {
    max-width: 100%;
  }

  .titile-wrap {
    gap: 16px;
  }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (max-width: 479px)
   ============================================ */
@media screen and (max-width: 479px) {
  .client-logos-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   LEGAL PAGES (Privacy, Terms)
   ============================================ */
.legal-section {
  padding-top: 4em;
  padding-bottom: 6em;
}

.legal-inner {
  max-width: 42em;
}

.legal-inner .h1 {
  margin-bottom: .5em;
}

.legal-updated {
  font-size: .875em;
  opacity: .5;
  margin-bottom: 3em;
}

.legal-h2 {
  font-size: 1.25em;
  font-weight: 500;
  margin-top: 2.5em;
  margin-bottom: .75em;
}

.legal-p {
  font-size: 1em;
  line-height: 170%;
  opacity: .75;
  margin-bottom: 1em;
}

/* ============================================
   DARK MODE TOGGLE
   ============================================ */
.dark-mode-toggle {
  position: fixed;
  bottom: 1.5em;
  right: 1.5em;
  z-index: 9999;
  width: 2.75em;
  height: 2.75em;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.dark-mode-toggle:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.dark-mode-icon {
  width: 1.125em;
  height: 1.125em;
}

.dark-mode-icon.moon {
  display: none;
}

.dark-mode .dark-mode-icon.sun {
  display: none;
}

.dark-mode .dark-mode-icon.moon {
  display: block;
}

/* ============================================
   DARK MODE THEME
   ============================================ */
/* ============================================
   DARK MODE THEME
   Do NOT swap --white/--black — breaks footer
   and any component that already uses dark bg.
   Instead, override specific elements.
   ============================================ */

.dark-mode.leftclick-body {
  background-color: #111113;
  color: #f0f0f2;
}

/* --- Sections --- */
.dark-mode .leftclick-section {
  background-color: #111113;
}

.dark-mode .leftclick-section.case-studies-section,
.dark-mode .leftclick-section.reviews-section {
  background: linear-gradient(135deg, #1a1a1e 0%, #1e1e24 50%, #1a1a1e 100%);
}

.dark-mode .leftclick-section.reviews-section::before {
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
}

.dark-mode .process-step {
  background: rgba(255, 255, 255, 0.06);
}

.dark-mode .process-step-num {
  background: #f0f0f2;
  color: #111;
}

.dark-mode .leftclick-section.footer-section {
  background-color: #0a0a0c;
}

/* --- Marquee --- */
.dark-mode .marquee-section {
  background-color: #161618;
  border-top-color: rgba(255, 255, 255, 0.06);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.dark-mode .marquee-label {
  color: rgba(255, 255, 255, 0.3);
}

.dark-mode .marquee-item {
  color: rgba(255, 255, 255, 0.5);
}

/* --- Header --- */
.dark-mode .main-logo img {
  filter: invert(1);
}

.dark-mode .nav-link {
  color: #f0f0f2;
}

.dark-mode .menu-bar {
  background-color: #f0f0f2;
}

/* --- Hero --- */
.dark-mode .hero-bg-img {
  filter: invert(1) brightness(0.5);
}

.dark-mode .absolute-full {
  filter: invert(1) hue-rotate(180deg) brightness(0.6);
}

.dark-mode .hero-title,
.dark-mode .hero-inner {
  color: #f0f0f2;
}

/* --- Typography --- */
.dark-mode .h1,
.dark-mode .h2,
.dark-mode .h3,
.dark-mode .h5,
.dark-mode .lead-text,
.dark-mode .p {
  color: #f0f0f2;
}

/* --- Super-headline pills --- */
.dark-mode .super-headline {
  background-color: #222226;
  color: #f0f0f2;
}

.dark-mode .super-headline.bg-light {
  background-color: #222226;
}

.dark-mode .super-headline-num {
  background-color: #f0f0f2;
  color: #111113;
}

.dark-mode .text-dark {
  color: #f0f0f2;
}

/* --- Buttons (non-footer) --- */
.dark-mode .btn {
  background-color: #f0f0f2;
  color: #111113;
}

.dark-mode .btn:hover {
  background-color: #d8d8dc;
}

.dark-mode .btn-icon-box {
  background-color: #111113;
}

.dark-mode .btn-icon-box .btn-icon,
.dark-mode .btn-icon-box .btn-icon-hover {
  filter: invert(1);
}

/* Footer buttons — keep as-is (already light on dark) */
.dark-mode .footer-section .btn.btn-light {
  background-color: #f0f0f2;
  color: #111113;
}

.dark-mode .footer-section .btn-icon-box.dark-bg {
  background-color: #111113;
}

.dark-mode .footer-section .btn-icon-box .btn-icon,
.dark-mode .footer-section .btn-icon-box .btn-icon-hover {
  filter: none;
}

/* --- About section --- */
.dark-mode .about-thumb-img {
  filter: brightness(0.9);
}

/* --- Case studies --- */
.dark-mode .case-studies-card {
  color: #f0f0f2;
}

.dark-mode .case-studies-card-img {
  filter: brightness(0.9);
}

.dark-mode .link-icon-box {
  background-color: #222226;
}

.dark-mode .link-icon-box .link-icon,
.dark-mode .link-icon-box .link-icon-hover {
  filter: none;
}

/* --- Client logos — invert for dark bg --- */
.dark-mode .client-logo-icon {
  filter: invert(1) brightness(0.85);
}

/* --- Team --- */
.dark-mode .team-thumb-placeholder {
  background: linear-gradient(135deg, #2a2a2e 0%, #1e1e22 100%);
}
.dark-mode .team-thumb-img {
  background: linear-gradient(180deg, #e8e8ec 0%, #d4d4d8 100%);
}

.dark-mode .team-role {
  color: #888;
}

/* --- Service cards --- */
.dark-mode .service-card-overlay {
  background-color: rgba(0, 0, 0, 0.75);
}

.dark-mode .service-card-tag {
  background-color: rgba(255, 255, 255, 0.1);
  color: #f0f0f2;
}

/* --- Reviews --- */
.dark-mode .reviews-card {
  background-color: #1a1a1e;
}

.dark-mode .reviews-card-content,
.dark-mode .reviews-card-author {
  background-color: #222226;
}

.dark-mode .reviews-card-author-placeholder {
  background-color: #333338;
}

.dark-mode .reviews-dot {
  background-color: #444;
}

.dark-mode .reviews-dot.active {
  background-color: #f0f0f2;
}

/* --- Footer — already dark bg, keep text white --- */
.dark-mode .footer-section {
  color: #fff;
}

.dark-mode .footer-h6 {
  color: #fff;
}

.dark-mode .footer-section .lead-text {
  color: #fff;
}

.dark-mode .footer-col-heading {
  color: #fff;
}

.dark-mode .footer-link {
  color: #fff;
}

.dark-mode .footer-nav-link {
  color: #fff;
}

.dark-mode .copyright-text {
  color: #fff;
}

.dark-mode .footer-divider {
  background-color: rgba(255, 255, 255, 0.06);
}

/* --- Toggle button --- */
.dark-mode .dark-mode-toggle {
  background: #1a1a1e;
  color: #f0f0f2;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.dark-mode .dark-mode-toggle:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ============================================
   BOOKING MODAL
   ============================================ */
.booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.booking-overlay.open {
  pointer-events: auto;
}

.booking-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease;
}

.booking-overlay.open .booking-backdrop {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.booking-modal {
  position: relative;
  font-size: clamp(18px, 1.5vw, 28px);
  width: 90%;
  max-width: 700px;
  max-height: 96vh;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(40px) saturate(1.8);
  -webkit-backdrop-filter: blur(40px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1), max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-overlay.open .booking-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.booking-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em 1.25em 0.5em;
}

.booking-modal-title {
  font-family: 'Dmsans', sans-serif;
  font-weight: 500;
  font-size: 1.1em;
  color: var(--black);
}

.booking-modal-step {
  font-family: 'Dmsans', sans-serif;
  font-size: 0.75em;
  color: rgba(0, 0, 0, 0.4);
}

.booking-close {
  background: rgba(0, 0, 0, 0.06);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  color: var(--black);
  flex-shrink: 0;
}

.booking-close:hover {
  background: rgba(0, 0, 0, 0.12);
}

.booking-body {
  padding: 0.5em 1.25em 1.25em;
  overflow-y: auto;
  max-height: calc(95vh - 60px);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 0.55em;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}

.booking-label {
  font-family: 'Dmsans', sans-serif;
  font-size: 0.7em;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.55);
  letter-spacing: 0.01em;
}

.booking-input,
.booking-textarea,
.booking-select {
  font-family: 'Dmsans', sans-serif;
  font-size: 0.8em;
  padding: 0.5em 0.7em;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--black);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.booking-input:focus,
.booking-textarea:focus,
.booking-select:focus {
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.booking-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.2em;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7em center;
  background-size: 0.75em;
  cursor: pointer;
}

.booking-textarea {
  resize: vertical;
  min-height: 48px;
}

.booking-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55em;
}

.booking-submit {
  font-family: 'Dmsans', sans-serif;
  font-size: 0.85em;
  font-weight: 500;
  padding: 0.75em 1.5em;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 0.25em;
}

.booking-submit:hover {
  opacity: 0.8;
}

.booking-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Step transition */
.booking-step {
  display: none;
}

.booking-step.active {
  display: block;
  animation: bookingFadeIn 0.35s ease;
}

@keyframes bookingFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Calendar embed step */
.booking-modal.step-calendar {
  max-width: 900px;
  max-height: none;
  transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1), max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-modal.step-calendar .booking-body {
  max-height: none;
  padding: 0;
}

.booking-cal-wrap {
  background: transparent;
}

.booking-cal-wrap iframe {
  border: none;
  width: 100%;
  border-radius: 10px;
  background: transparent;
  color-scheme: auto;
}

/* Progress bar */
.booking-progress {
  height: 2px;
  background: rgba(0, 0, 0, 0.06);
  margin: 0 1.25em;
  border-radius: 1px;
  overflow: hidden;
}

.booking-progress-bar {
  height: 100%;
  background: var(--black);
  border-radius: 1px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark mode */
.dark-mode .booking-modal {
  background: rgba(30, 30, 34, 0.65);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.5);
}

.dark-mode .booking-modal-title {
  color: #f0f0f2;
}

.dark-mode .booking-modal-step {
  color: rgba(255, 255, 255, 0.4);
}

.dark-mode .booking-close {
  background: rgba(255, 255, 255, 0.08);
  color: #f0f0f2;
}

.dark-mode .booking-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.dark-mode .booking-label {
  color: rgba(255, 255, 255, 0.5);
}

.dark-mode .booking-input,
.dark-mode .booking-textarea,
.dark-mode .booking-select {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f0f0f2;
}

.dark-mode .booking-input:focus,
.dark-mode .booking-textarea:focus,
.dark-mode .booking-select:focus {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.dark-mode .booking-submit {
  background: #f0f0f2;
  color: #111;
}

.dark-mode .booking-progress {
  background: rgba(255, 255, 255, 0.06);
}

.dark-mode .booking-progress-bar {
  background: #f0f0f2;
}

/* ============================================
   CASE STUDY PAGES
   ============================================ */
.case-study-inner {
  display: flex;
  flex-direction: column;
}

.case-study-hero {
  display: flex;
  gap: 1em;
}

.case-study-hero-text-block {
  background: #fff;
  border-radius: 0.74em;
  padding: 1.5em;
  width: 28.6%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-study-hero-text-block-btn {
  margin-bottom: 1em;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 1em;
  padding: 0.2em 1em 0.2em 0.25em;
  background: #e2e4e8;
  border-radius: 2em;
  font-size: 1em;
  text-decoration: none;
  color: inherit;
}

.back-btn-arrow {
  width: 2em;
  height: 2em;
  border-radius: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transform: rotate(180deg);
}

.back-btn-arrow .btn-icon,
.back-btn-arrow .btn-icon-hover {
  width: 0.6em;
  filter: none;
}

.dark-mode .back-btn-arrow .btn-icon,
.dark-mode .back-btn-arrow .btn-icon-hover {
  filter: none;
}

.case-study-hero-thumb {
  flex: 1;
  min-width: 0;
}

.case-study-hero-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75em;
}

.case-study-description-wrap {
  display: flex;
  gap: 1em;
  padding: 5em 0 4.5em;
  align-items: flex-start;
}

.case-study-tags-card-wrap {
  width: 28.6%;
  flex-shrink: 0;
}

.case-study-tags-card {
  background: #e2e4e8;
  border-radius: 0.75em;
  padding: 1.5em;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
}

.case-study-description {
  flex: 1;
  min-width: 0;
  padding: 0.5em 1em 1em;
}

.case-study-description-title {
  display: flex;
  flex-direction: column;
  gap: 0.65em;
}

.case-study-description-info {
  color: #626b7a;
  font-size: 1.125em;
}

.case-study-details-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.95em;
  margin-top: 1.75em;
}

.case-study-details {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.case-study-details h5 {
  color: var(--black);
  font-family: Dmsans, Arial, sans-serif;
  font-size: 1.5em;
  font-weight: 500;
}

.case-study-details p {
  font-size: 1em;
  line-height: 130%;
}

.case-study-details ul {
  list-style: disc;
  padding-left: 1.5em;
}

.case-study-details li {
  font-size: 1em;
  line-height: 130%;
  margin-bottom: 0.3em;
}

/* Dark mode for case study pages */
.dark-mode .case-study-hero-text-block {
  background: #1e1e22;
}

.dark-mode .case-study-tags-card {
  background: #2a2a2e;
}

.dark-mode .back-btn {
  background: #2a2a2e;
  color: #f0f0f2;
}

.dark-mode .case-study-description-info {
  color: #8a8f9a;
}

.dark-mode .case-study-details h5 {
  color: #f0f0f2;
}

.dark-mode .case-study-details p,
.dark-mode .case-study-details li {
  color: #c8c8cc;
}

/* Case study page responsive */
@media (max-width: 768px) {
  .case-study-hero {
    flex-direction: column;
  }
  .case-study-hero-text-block {
    width: 100%;
  }
  .case-study-description-wrap {
    flex-direction: column;
    padding: 3em 0 2.5em;
  }
  .case-study-tags-card-wrap {
    width: 100%;
  }
}
