/* ============================================
   Webenza Landing Page - Design Tokens
   ============================================ */
:root {
  --color-primary: #09b9ff;
  --color-accent: #13a5ce;
  --color-accent-alt: #2498c3;
  --color-dark: #000407;
  --color-dark-bg: #0c0c0c;
  --color-text: #56595c;
  --color-text-muted: #8c8e90;
  --color-body: #183a44;
  --color-bg-light: #f7f7f7;
  --color-border: #e8e8e8;
  --color-border-light: #e3f6fe;
  --color-white: #ffffff;
  --color-black: #000000;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --hero-gradient: linear-gradient(145.06deg, #11a4d0 14.31%, #2eabae 75.92%, #50b587 88.24%, #6cbc69 101.79%, #7fc153 114.12%, #8bc446 126.44%, #8fc642 137.53%);
  --industry-gradient: linear-gradient(141.49deg, #11a4d0 14.31%, #2eabae 75.92%, #50b587 88.24%, #6cbc69 101.79%, #7fc153 114.12%, #8bc446 126.44%, #8fc642 137.53%);
  --container-max: 1680px;
  --section-padding: 80px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* Container — Figma content is ~1680px inside 1920 with ~120px side gutters */
.container-custom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 0px;
  padding-right: 0px;
  width: 90%;
}

@media (min-width: 576px) {
  .container-custom {
    /* padding-left: 32px;
      padding-right: 32px; */
  }
}

@media (min-width: 768px) {
  .container-custom {
    /* padding-left: 48px;
      padding-right: 48px; */
  }

}

@media (min-width: 992px) {
  .container-custom {
    /* padding-left: 56px;
      padding-right: 56px; */
  }

  section.clients-section .container-custom {
    margin-top: -8vw;
    position: relative;
  }

  section#contact h2.section-title.section-title-white.cta-title.section-title-stack {
    margin-bottom: 8%;
  }
}

@media (min-width: 1200px) {
  .container-custom {
    /* padding-left: 60px;
      padding-right: 60px; */
  }
}

@media (min-width: 1400px) {
  .container-custom {
    /* padding-left: 100px;
      padding-right: 100px; */
  }
}

@media (min-width: 1550px) {
  .container-custom {
    /* padding-left: 120px;
      padding-right: 120px; */
  }

  .hero-section {
    min-height: 112vh !important;
  }
}

@media (min-width: 1650px) {
  .container-custom {
    /* padding-left: 120px;
      padding-right: 120px; */
  }

  .hero-section {
    min-height: 104vh !important;
  }

  .hero-content {
    padding-bottom: 150px !important;
  }

  .process-step-4,
  .process-step-1 {
    margin-top: 170px !important;
  }
}

.section-padding {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

/* Typography */
.title-serif {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  color: var(--color-dark);
}

.title-sans {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--color-dark);
  letter-spacing: -0.64px;
}

.title-sans-medium {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--color-dark);
}

.section-title {
  font-size: clamp(26px, 3.2vw + 12px, 3vw);
  line-height: 1.18;
  margin: 0 0 24px;
}

.section-title .title-serif,
.section-title .title-sans {
  display: inline;
}

.section-title .title-serif.block,
.section-title .title-sans.block,
.section-title-stack .title-serif,
.section-title-stack .title-sans {
  display: block;
}

.section-title-center {
  text-align: center;
}

.section-title-white .title-serif,
.section-title-white .title-sans {
  color: var(--color-white);
}

.section-intro {
  font-size: clamp(16px, 1.2vw + 8px, 24px);
  line-height: 1.45;
  color: var(--color-text);
}

.section-intro p {
  margin-bottom: 20px;
}

.section-intro p:last-child {
  margin-bottom: 0;
}

.section-header-row {
  /* margin-bottom: 85px; */
  justify-content: space-between;
}

#industry {
  background-image: url(../webassets/images/App.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 90%;
  margin: 0 auto;
}

/* Buttons */
.btn-contact {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-black);
  min-width: 200px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

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

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  height: 74px;
  padding: 0 14px 0 14px;
  border-radius: var(--radius-sm);
  font-size: 1.3vw;
  font-weight: 400;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 220px;
  justify-content: space-between;
}

.btn-cta-primary {
  background: var(--color-black);
  color: var(--color-white);
  border: 2.65px solid rgba(255, 255, 255, 0.25);
}

.btn-cta-primary:hover {
  background: #222;
  color: var(--color-white);
}

.btn-cta-outline {
  background: transparent;
  color: var(--color-black);
  border: 1px solid var(--color-black);
}

.btn-cta-outline:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-cta-white {
  background: var(--color-white);
  color: var(--color-black);
  border: 2.65px solid rgba(255, 255, 255, 0.25);
  margin-top: 32px;
}

.btn-cta-white:hover {
  background: #f0f0f0;
  color: var(--color-black);
}

.btn-cta-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.btn-cta-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================
     Hero Section
     ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;

  background-image: url(../webassets/images/banner-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-ellipse {
  position: absolute;
  opacity: 0.6;
}

.hero-ellipse-1 {
  width: 140%;
  max-width: 2933px;
  left: -40%;
  top: 25%;
  transform: rotate(12.39deg);
}

.hero-ellipse-2 {
  width: 150%;
  max-width: 3210px;
  left: -20%;
  top: -60%;
  transform: rotate(15.13deg);
}

.hero-ellipse-4 {
  width: 160%;
  max-width: 3260px;
  right: -80%;
  top: -70%;
  transform: rotate(173.5deg) scaleY(-1);
}

.hero-fractal-glass {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -14px;
  width: 103%;
  height: 134%;
  background: repeating-linear-gradient(90deg,
      rgba(4, 0, 255, 0.02) 0px,
      rgba(4, 0, 255, 0.11) 16.7%,
      rgba(4, 0, 255, 0.02) 33.3%);
  mix-blend-mode: overlay;
  backdrop-filter: blur(80px);
  -webkit-backdrop-filter: blur(80px);
}

.hero-grid-img {
  position: absolute;
  left: -2%;
  top: -15%;
  width: 104%;
  height: auto;
  opacity: 0.08;
  mix-blend-mode: luminosity;
}

.site-header {
  position: relative;
  z-index: 10;
  padding: 24px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  /* background: rgba(255, 255, 255, 0.92); */
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 46px;
  width: auto;
}

.hero-content {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 90px;
}

.hero-title {
  margin: clamp(32px, 6vh, 80px) 0 clamp(24px, 4vh, 48px);
}

.hero-title-serif {
  display: block;
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(32px, 4.2vw + 8px, 100px);
  line-height: 1.12;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.hero-title-sans {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(32px, 4.2vw + 8px, 100px);
  line-height: 1.12;
  color: var(--color-primary);
  letter-spacing: clamp(-2px, -0.2vw, -4px);
  margin-left: 21%;
}

.hero-description {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 160%;
  color: var(--color-body);
  max-width: 780px;
}

.hero-description p {
  margin-bottom: 20px;
}

.hero-description p:last-child {
  margin-bottom: 0;
}

.hero-bottom {
  margin-top: 40px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}

@media (min-width: 992px) {
  .hero-cta-group {
    justify-content: flex-end;
  }

  .hero-section {
    background-size: 100% 100%;
  }
}

/* ============================================
     Clients Section
     ============================================ */
.clients-section {
  padding: 40px 0;
  background: var(--color-bg-light);
}

.clients-bar {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(228, 238, 254, 0.2);
  padding: 0px 32px;
  overflow: hidden;
}

.clients-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.client-logo {
  flex: 1;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0px;
}

.client-logo img {
  /* max-height: 48px; */
  /* max-width: 160px; */
  width: 85%;
  object-fit: contain;
  /* opacity: 0.85; */
  transition: opacity 0.3s ease;
}

.client-logo:hover img {
  opacity: 1;
}

/* ============================================
     Services Section
     ============================================ */
.services-section {
  background: var(--color-bg-light);
  overflow: visible;
}

.services-carousel-wrapper {
  overflow: visible;
  width: calc(100vw - (100vw - 100%) / 2);
  max-width: none;
  margin-top: 3%;
}

.services-swiper {
  overflow: visible;
  width: 100%;
}

.services-swiper .swiper-wrapper {
  align-items: stretch;
}

.services-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.service-card {
  width: 100%;
  height: 100%;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 126px 32px 32px;
  position: relative;
  overflow: hidden;
  min-height: 606px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-section,
.tech-panel,
.process-panel,
.industry-section,
.cta-section {
  isolation: isolate;
}

.hero-bg-layer,
.cta-bg-layer {
  max-width: 100%;
}

.service-card-img {
  position: absolute;
  top: 25px;
  right: 24px;
  /* width: 150px; */
  width: 33%;
  height: auto;
  /* max-height: 200px; */
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
}

.service-card-title {
  font-size: clamp(26px, 2.2vw + 10px, 2.1vw);
  line-height: 1.15;
  margin: 0 0 32px;
  position: relative;
  z-index: 2;
}

section#services .service-card h3.service-card-title span.title-serif {
  display: block;
}

.service-card-text {
  font-size: 20px;
  line-height: 141%;
  color: var(--color-text);
  margin: 0;
}

/* ============================================
     Capabilities Section
     ============================================ */
.capabilities-section {
  background: var(--color-bg-light);
}

.capabilities-header {
  margin-bottom: 80px;
}

.capabilities-subtitle,
.process-subtitle,
.case-studies-intro {
  font-size: clamp(16px, 1.2vw + 8px, 20px);
  line-height: 1.45;
  color: var(--color-text);
  margin-left: auto;
  margin-right: auto;
}

.capabilities-subtitle {
  max-width: 896px;
}

.process-subtitle {
  max-width: 891px;
}

.case-studies-intro {
  /* max-width: 1226px; */
  width: 72%;
}

.capability-card {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 32px;
  position: relative;
  overflow: hidden;
  min-height: 337px;
  height: 100%;
}

.cap-glow {
  position: absolute;
  top: -110px;
  left: -120px;
  width: 848px;
  height: auto;
  opacity: 0.5;
  transform: rotate(11deg);
  pointer-events: none;
}

.cap-icon-box {
  /* width: 64px;
    height: 66px; */
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  /* margin-bottom: 40px; */
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 6px;
}

.cap-icon-box img {
  width: 15%;
  /* height: 66px; */
  object-fit: contain;
}

.cap-title {
  font-size: clamp(26px, 2.4vw + 8px, 2.5vw);
  line-height: 100%;
  margin: 0 0 3%;
  position: relative;
  z-index: 1;
  width: 70%;
}

.cap-text {
  font-size: 20px;
  line-height: 28px;
  color: var(--color-text);
  margin: 0;
  position: relative;
  z-index: 1;
  max-width: 700px;
}

/* ============================================
     Technologies Section
     ============================================ */
.tech-section {
  background: var(--color-bg-light);
}

.tech-panel {
  background: var(--color-dark-bg);
  border-radius: var(--radius-sm);
  padding: 50px 50px 60px;
  position: relative;
  overflow: hidden;
  min-height: 873px;
}

.tech-bg-img {
  /* position: absolute;
    right: -10%;
    bottom: 0;
    width: 65%;
    height: auto;
    object-fit: cover;
    transform: scaleY(-1) rotate(180deg);
    pointer-events: none;
    z-index: 0; */
  position: absolute;
  right: 0%;
  width: 62%;
  bottom: 0;
}

.tech-overlay-h {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(0.44deg, #000 76.59%, transparent 98.84%);
  backdrop-filter: blur(10px);
  z-index: 1;
  pointer-events: none;
}

.tech-overlay-v {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, #000 76.59%, transparent 98.84%);
  backdrop-filter: blur(10px);
  z-index: 1;
  pointer-events: none;
}

.tech-header,
.tech-content {
  position: relative;
  z-index: 2;
}

.tech-intro {
  font-size: 20px;
  line-height: 160%;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  width: 93%;
}

.tech-list {
  list-style: none;
  padding: 0;
  /* margin: 40px 0 0; */
}

.tech-item {
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tech-item:last-child {
  border-bottom: none;
}

.tech-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0;
}

.tech-item-label {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.tech-item.active .tech-item-label {
  color: var(--color-accent);
}

.tech-item-arrow {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: none;
}

.tech-item.active .tech-item-arrow {
  display: block;
}

.tech-item-arrow img {
  width: 100%;
  height: 100%;
}

/* Desktop: hide mobile accordion chrome */
.tech-item-chevron,
.tech-accordion-body {
  display: none;
}

.tech-detail-card {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 48px;
  margin-top: 40px;
}

.tech-detail-card p {
  font-size: 20px;
  line-height: 32px;
  color: var(--color-text);
  margin: 0;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

/* ============================================
     Process Section
     ============================================ */
.process-section {
  background: var(--color-bg-light);
}

.process-panel {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 75px 0px 20px;
  position: relative;
  overflow: hidden;
}

.process-bg {
  position: absolute;
  left: -30%;
  top: -20%;
  width: 170%;
  height: auto;
  opacity: 0.06;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.process-header {
  margin-bottom: 3%;
  position: relative;
  z-index: 1;
}

.process-timeline {
  position: relative;
  z-index: 1;
  padding: 40px 0;
}

.process-line {
  width: 100%;
  height: auto;
  margin-bottom: -80px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 0 12px;
}

.process-step-1 {
  margin-top: 140px;
}

.process-step-2 {
  margin-top: 0;
}

.process-step-3 {
  margin-top: 0;
}

.process-step-4 {
  margin-top: 140px;
}

.process-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 8px;
  border-radius: 48px;
  overflow: hidden;
}

.process-icon img {
  width: 90%;
  /* height: 100%;
    object-fit: cover; */
}

.process-icon-oval {
  width: 91px;
  border-radius: 210px;
}

.process-step-title {
  font-size: clamp(26px, 2.2vw + 8px, 2.5vw);
  margin: 0 0 16px;
  color: var(--color-dark);
}

.process-step-text {
  font-size: 20px;
  line-height: 28px;
  color: var(--color-text);
  margin: 0;
  width: 90%;
  margin: auto;
}

/* ============================================
     Case Studies Section
     ============================================ */
.case-studies-section {
  background: var(--color-bg-light);
}

.case-studies-header {
  margin-bottom: 64px;
}

.case-study-swiper {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.case-study-swiper .swiper-slide {
  height: auto;
}

.case-study-card {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 877fr) minmax(0, 822fr);
  /* min-height: 741px; */
  height: 100%;
}

/* Left visual — Figma: 877×741 with logo overlay at 64/64 */
.case-study-visual {
  position: relative;
  overflow: hidden;
  /* min-height: 741px; */
  height: 100%;
  background: linear-gradient(116.62deg, #ebfcfe 1.64%, #ffffff 80.01%);
}

.case-study-visual-img {
  /* position: absolute; */
  /* inset: 0; */
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: left center;
  pointer-events: none;
  z-index: 1;
}

.case-study-brand {
  position: absolute;
  top: 45px;
  left: 22px;
  /* width: 124px; */
  /* height: 124px; */
  /* background: var(--color-white); */
  /* border: 1px solid #00b3ff; */
  /* border-radius: 6px; */
  /* box-shadow: 0 10px 14px rgba(195, 236, 249, 0.5); */
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 19px; */
  z-index: 3;
}

.case-study-brand img {
  width: 65%;
  /* height: 86px; */
  max-width: none;
  object-fit: contain;
}

.case-study-content {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-study-title {
  font-size: clamp(26px, 2.2vw + 8px, 2.5vw);
  line-height: 116%;
  margin: 0 0 20px;
}

.case-study-title .title-serif,
.case-study-title .title-sans-medium {
  display: block;
}

.case-study-desc {
  font-size: 20px;
  line-height: 32px;
  color: rgba(0, 0, 0, 0.8);
  margin: 0 0 48px;
}

.case-study-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 33px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.stat-number {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
  color: var(--color-dark);
  min-width: 120px;
}

.stat-accent {
  color: var(--color-accent);
}

.stat-label {
  font-size: 20px;
  line-height: 32px;
  color: var(--color-dark);
  margin: 0;
}

.case-study-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 73px;
  position: relative;
  width: 100%;
}

.case-study-dots .swiper-pagination-bullet,
.case-study-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: #d1d5db;
  border: none;
  padding: 0;
  margin: 0 !important;
  cursor: pointer;
  opacity: 1;
  transition: width 0.35s ease, background 0.35s ease;
}

.case-study-dots .swiper-pagination-bullet-active,
.case-study-dots .dot.active,
.case-study-dots .swiper-pagination-bullet-active.dot {
  width: 63px;
  background: var(--color-accent);
}

/* ============================================
     Industry Section
     ============================================ */
.industry-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.industry-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.industry-bg-gradient {
  position: absolute;
  inset: 0;
  background: var(--industry-gradient);
}

.industry-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.industry-content {
  position: relative;
  z-index: 1;
}

.industry-intro {
  font-size: 20px;
  line-height: 32px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.industry-grid {
  margin-top: 5%;
}

.industry-card {
  /* background: rgba(255, 255, 255, 0.95); */
  backdrop-filter: blur(2px);
  border-radius: var(--radius-sm);
  padding: 24px 30px 30px;
  height: 100%;
  min-height: 372px;
  background: #FFF;
  /* backdrop-filter: blur(2px); */
}

.industry-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.industry-card-header img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.industry-card-header h3 {
  font-size: clamp(22px, 1.6vw + 8px, 2vw);
  margin: 0;
  color: var(--color-dark);
}

.industry-card p {
  font-size: 20px;
  line-height: 28px;
  color: var(--color-text);
  margin: 0;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

/* ============================================
     Testimonials Section
     ============================================ */
.testimonials-section {
  background: var(--color-bg-light);
}

.testimonials-track-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 48px -24px 32px;
  padding: 0 24px;
}

.testimonials-track-wrapper::-webkit-scrollbar {
  display: none;
}

.testimonials-track {
  display: flex;
  gap: 10px;
}

.testimonial-card {
  flex: 0 0 min(413px, 85vw);
  background: var(--color-white);
  padding: 32px;
  min-height: 466px;
  display: flex;
  flex-direction: column;
}

.testimonial-logo {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  object-position: left;
  margin-bottom: 80px;
}

.testimonial-logo-tall {
  height: 64px;
  max-width: 80px;
  margin-bottom: 48px;
}

.testimonial-stat {
  margin-bottom: 48px;
}

.testimonial-number {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(48px, 5vw + 12px, 104px);
  line-height: 1;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.testimonial-metric {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.24px;
  color: var(--color-dark);
  margin: 0;
}

.testimonial-quote {
  font-size: 20px;
  line-height: 28px;
  color: var(--color-text);
  margin: 0;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  font-style: normal;
}

.team-photo-section {
  position: relative;
  height: 660px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #0095da;
}

.team-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
}

.team-photo-2 {
  z-index: 1;
}

/* ============================================
     FAQ Section
     ============================================ */
.faq-section {
  background: var(--color-bg-light);
  position: relative;
  overflow: hidden;
}

.faq-title {
  position: sticky;
  top: 100px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(4px);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 32px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 32px;
  letter-spacing: -0.24px;
  color: var(--color-dark);
}

.faq-chevron {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item .faq-chevron {
  transform: rotate(180deg);
}

.faq-item.active .faq-chevron {
  transform: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 32px 32px;
  margin: 0;
  font-size: 20px;
  line-height: 32px;
  color: var(--color-text);
  max-width: 995px;
}

/* ============================================
     CTA / Footer Section
     ============================================ */
.cta-section {
  position: relative;
  background: var(--hero-gradient);
  overflow: hidden;
}

.cta-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-grid-img {
  position: absolute;
  right: -2%;
  top: -40%;
  width: 104%;
  opacity: 0.06;
  mix-blend-mode: luminosity;
  transform: scaleY(-1) rotate(180deg);
}

.cta-fractal-glass {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg,
      rgba(4, 0, 255, 0.02) 0px,
      rgba(4, 0, 255, 0.11) 16.7%,
      rgba(4, 0, 255, 0.02) 33.3%);
  mix-blend-mode: color-dodge;
  backdrop-filter: blur(80px);
}

.cta-content {
  position: relative;
  z-index: 2;
  padding: 5% 0 9%;
}

.cta-title {
  margin-bottom: 0;
}

.cta-description {
  font-size: 1.18vw;
  line-height: 160%;
  color: var(--color-white);
  margin-bottom: 16px;
}

.site-footer {
  position: relative;
  z-index: 2;
  background: var(--color-white);
  padding: 3% 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1vw;
  line-height: 27px;
  color: var(--color-dark);
}

section#capabilities h2.section-title.section-title-center {
  font-size: clamp(28px, 3.2vw + 12px, 3vw);
}

section#process h2.section-title {
  font-size: clamp(28px, 3.2vw + 12px, 3.2vw);
}

section#process h2.section-title span.title-serif {
  display: block;
}

p.process-subtitle {
  width: 52%;
}

section#contact {
  background-image: url(../webassets/images/above-footer.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.process-timeline img.process-line {
  position: absolute;
}

.services-deliver-label {
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.4vw, 1.5vw);
  font-weight: 500;
  color: var(--color-dark);
  margin: 6% 0 3%;
  letter-spacing: -0.32px;
}

#faq {
  background-image: url(../webassets/images/faq-elipse.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 10%;
}

section#process .container-custom {
  background-image: url(../webassets/images/Brand-Consulting/consulting-elipse.png);
  background-size: 90% 30%;
  background-position: top left;
  background-repeat: no-repeat;
}

.cap-icon-box {
  position: relative;
  left: -3%;
}

section#technologies span.title-sans {
  letter-spacing: -1px;
}

.btn-cta-icon {
  border-radius: 4px !important;
  overflow: hidden;
}

.btn-cta-icon img {
  border-radius: 4px !important;
}

a.btn-cta.btn-cta-white.js-open-contact-drawer:hover span.btn-cta-icon {
  border: 1px solid #fff;
}

a.btn-cta.btn-cta-white.js-open-contact-drawer {
  border: 2.65px solid #fff
}

@media (min-width: 767px) {

  a.btn-cta.btn-cta-primary.js-open-contact-drawer:hover {
    color: var(--color-black);
    background: var(--color-white);
    border: 2.65px solid #fff;
  }

  section#hero a.btn-cta.btn-cta-primary.js-open-contact-drawer:hover {
    color: var(--color-black);
    background: var(--color-white);
    border: 2.65px solid #000;
  }

  section#hero a.btn-cta.btn-cta-primary.js-open-contact-drawer:hover img {
    border: 1px solid #000;
  }

  section#contact a.btn-cta.btn-cta-white.js-open-contact-drawer:hover {
    background: var(--color-black);
    color: var(--color-white);
  }

  section#contact a.btn-cta.btn-cta-white.js-open-contact-drawer:hover img {
    border: 1px solid #000;
  }

}

/* ============================================
     Responsive — small laptop first (1366 / 1440)
     ============================================ */

/* Large tablets / small laptops */
@media (max-width: 1439px) {
  :root {
    --section-padding: 64px;
  }

  body {
    font-size: 18px;
  }

  .hero-section {
    min-height: 125vh;
  }

  .section-header-row {
    /* margin-bottom: 70px; */
  }

  .section-intro {
    font-size: clamp(16px, 1.4vw + 8px, 20px);
    line-height: 141%;
  }

  .hero-description,
  .tech-intro {
    font-size: 16px;
    line-height: 160%;
  }

  .btn-cta {
    height: 58px;
    /* font-size: 18px; */
    gap: 20px;
  }

  .btn-cta-icon {
    width: 40px;
    height: 40px;
  }

  .btn-contact {
    min-width: 150px;
    height: 50px;
    font-size: 15px;
    padding: 14px 20px;
  }

  .logo-img {
    height: 38px;
  }

  .service-card {
    min-height: 480px;
    padding: 100px 28px 28px;
  }

  .service-card-img {
    /* width: 120px; */
    top: 20px;
    right: 20px;
  }

  .service-card-text,
  .cap-text,
  .process-step-text,
  .industry-card p,
  .testimonial-quote,
  .faq-answer p,
  .tech-detail-card p,
  .case-study-desc,
  .industry-intro {
    font-size: 16px;
    line-height: 141%;
  }

  .capability-card {
    min-height: 280px;
    padding: 28px;
  }

  .capabilities-header {
    margin-bottom: 48px;
  }

  .tech-panel {
    padding: 40px 40px 48px;
    min-height: auto;
  }

  .tech-item-head {
    padding: 24px 0;
  }

  .tech-item-label {
    font-size: clamp(16px, 1.5vw + 6px, 20px);
  }

  .tech-detail-card {
    padding: 32px;
  }

  .process-panel {
    padding: 50px 0px 20px;
  }

  .process-line {
    margin-bottom: -40px;
  }

  .process-step-1 {
    margin-top: 100px;
  }

  .process-step-4 {
    margin-top: 100px;
  }

  .case-study-card {
    /* min-height: 640px; */
  }

  .case-study-visual {
    /* min-height: 640px; */
  }

  .case-study-brand {
    top: 33px;
    left: 0px;
    /* width: 100px; */
    /* height: 100px; */
    /* padding: 14px; */
  }

  .case-study-brand img {
    /* width: 70px; */
    /* height: 70px; */
  }

  .case-study-content {
    padding: 48px 36px;
  }

  .case-study-stats {
    gap: 28px 20px;
  }

  .stat-number {
    font-size: clamp(36px, 3.5vw + 8px, 52px);
    min-width: 90px;
  }

  .stat-label {
    font-size: 16px;
    line-height: 24px;
  }

  .industry-section {
    padding: 80px 0;
  }

  .industry-card {
    min-height: 320px;
    padding: 20px 24px 24px;
  }

  .industry-card-header img {
    width: 64px;
    height: 64px;
  }

  .industry-card p {
    padding-top: 20px;
  }

  .testimonial-card {
    flex: 0 0 min(340px, 78vw);
    min-height: 400px;
    padding: 28px;
  }

  .testimonial-logo {
    height: 24px;
    margin-bottom: 56px;
  }

  .testimonial-logo-tall {
    height: 56px;
    margin-bottom: 36px;
  }

  .testimonial-metric {
    font-size: 18px;
    line-height: 26px;
  }

  .team-photo-section {
    height: 480px;
  }

  .faq-question {
    padding: 20px 24px;
    font-size: clamp(16px, 1.4vw + 8px, 20px);
    line-height: 1.4;
  }

  .faq-answer p {
    padding: 0 24px 24px;
  }

  .cta-content {
    /* padding: 56px 0 56px; */
  }

  .clients-bar {
    padding: 0px 20px;
  }

  .client-logo img {
    /* max-height: 36px; */
  }

  .capabilities-subtitle,
  .process-subtitle,
  .case-studies-intro {
    font-size: clamp(16px, 1.2vw + 8px, 16px);
  }

  p.tech-intro {
    width: 88%;
  }
}

@media (max-width: 1199px) {
  .case-study-card {
    /* grid-template-columns: 1fr; */
    /* min-height: 0; */
  }

  .case-study-visual {
    /* min-height: 420px; */
    /* height: 420px; */
  }

  .case-study-brand {
    /* top: 40px; */
    /* left: 48px; */
    /* width: 96px; */
    /* height: 96px; */
    /* padding: 12px; */
  }

  .case-study-brand img {
    /* width: 68px; */
    /* height: 68px; */
  }

  .case-study-content {
    padding: 40px 28px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .process-step-1,
  .process-step-2,
  .process-step-3,
  .process-step-4 {
    margin-top: 0;
  }

  .process-line {
    display: none;
  }

  .section-title .title-serif,
  .section-title .title-sans {
    display: inline;
  }

  .section-title-stack .title-serif,
  .section-title-stack .title-sans {
    display: block;
  }

  .hero-cta-group {
    gap: 16px;
  }
}

@media (max-width: 991px) {
  :root {
    --section-padding: 56px;
  }

  .container-custom {
    width: 90%;
  }

  .hero-section {
    min-height: auto;
    padding-bottom: 48px;
  }

  .hero-bottom {
    margin-top: 0;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .hero-title {
    margin-top: 32px;
  }

  .hero-title-serif,
  .hero-title-sans {
    letter-spacing: -1px;
  }

  .hero-title-sans {
    margin-left: 0;
  }

  .hero-bottom>[class*="col-"] {
    width: 100%;
  }

  .hero-cta-group {
    margin-top: 28px;
    justify-content: flex-start;
  }

  .tech-panel {
    padding: 32px 20px;
  }

  .tech-overlay-v {
    display: none;
  }

  .tech-bg-img {
    opacity: 0.25;
    width: 90%;
    right: -10%;
  }

  /* Mobile accordion — desktop list + side card unchanged above lg */
  .tech-detail-col {
    display: none !important;
  }

  .tech-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  }

  .tech-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  }

  .tech-item-head {
    padding: 22px 0;
  }

  .tech-item-label {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    line-height: 1.35;
  }

  .tech-item.active .tech-item-label {
    color: var(--color-accent);
  }

  .tech-item-arrow {
    display: none !important;
  }

  .tech-item-chevron {
    display: block;
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .tech-item-chevron::before {
    content: '';
    position: absolute;
    top: 55%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
    transform: translate(-50%, -35%) rotate(45deg);
    transition: border-color 0.25s ease;
  }

  .tech-item.active .tech-item-chevron::before {
    border-color: var(--color-accent);
  }

  .tech-accordion-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
  }

  .tech-accordion-body>.tech-detail-card {
    overflow: hidden;
    min-height: 0;
  }

  .tech-item.active .tech-accordion-body {
    display: grid;
    grid-template-rows: 1fr;
    padding-bottom: 20px;
  }

  .tech-detail-card--inline {
    margin-top: 0;
    padding: 0;
    border-radius: 8px;
  }

  li.tech-item.active .tech-detail-card.tech-detail-card--inline {
    padding: 20px 18px;
  }

  html {
    overflow-x: clip;
  }

  .tech-detail-card--inline p {
    font-size: 15px;
    line-height: 1.55;
    padding-bottom: 0;
    border-bottom: none;
    color: var(--color-text);
  }

  .industry-section {
    padding: 64px 0;
  }

  .industry-grid {
    margin-top: 40px;
  }

  .faq-title {
    position: static;
    margin-bottom: 32px;
  }

  .cta-content .row>[class*="col-"] {
    margin-bottom: 24px;
  }

  .btn-cta-white {
    margin-top: 24px;
  }

  .clients-track {
    gap: 16px;
  }

  .client-logo {
    min-width: 90px;
    padding: 8px;
  }

  .services-deliver-label {
    font-size: 18px;
    margin: 28px 0 20px;
  }

  .tech-item-chevron::before {
    content: '';
    position: absolute;
    top: 55%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
    transform: translate(-50%, -35%) rotate(225deg);
    transition: border-color 0.25s ease;
  }

  .tech-item.active .tech-item-chevron::before {
    border-color: var(--color-accent);
    transform: translate(-50%, -35%) rotate(45deg);
  }
}

@media (max-width: 767px) {
  :root {
    --section-padding: 40px;
  }

  body {
    font-size: 16px;
  }

  .clients-track {
    justify-content: center;
  }

  .client-logo {
    flex: 0 0 42%;
  }

  .btn-cta {
    width: fit-content;
    justify-content: space-between;
    font-size: 16px;
    height: 58px;
    min-width: none;
  }

  .row.industry-grid.g-4 {
    display: none;
  }

  .hero-cta-group {
    flex-direction: column;
  }

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

  .case-study-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-study-visual {
    min-height: 320px;
    height: 320px;
  }

  .case-study-brand {
    top: 24px;
    left: 24px;
    /* width: 80px; */
    /* height: 80px; */
    /* padding: 10px; */
  }

  .case-study-brand img {
    /* width: 56px; */
    /* height: 56px; */
  }

  .case-study-visual {
    min-height: 280px;
  }

  .team-photo-section {
    height: 320px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 14px;
  }

  .cta-content {
    padding: 48px 0 48px;
  }

  .services-carousel-wrapper {
    width: calc(100% + 20px);
  }

  .testimonials-track-wrapper {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .cta-description {
    font-size: 15px;
  }

  .client-logo img {
    width: 95%;
  }

  .cap-icon-box img {
    width: 30%;
  }

  .cap-title,
  p.process-subtitle,
  .case-studies-intro {
    width: 100%;
  }

  .process-header {
    margin-bottom: 0;
  }

  .case-study-card {
    display: block;
  }

  .service-card {
    min-height: 500px;
    padding-top: 40%;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .cap-icon-box {
    position: relative;
    left: -18px;
  }

  span.title-sans-medium {
    font-size: 26px;
  }
}


@media (max-width: 575px) {
  .service-card {
    min-height: 500px;
    padding-top: 40%;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .cap-icon-box {
    position: relative;
    left: -18px;
  }

  span.title-sans-medium {
    font-size: 26px;
  }

  .capability-card {
    min-height: auto;
  }

  .testimonial-card {
    flex: 0 0 88vw;
    min-height: 380px;
  }

  .testimonial-logo {
    margin-bottom: 40px;
  }

  .industry-card {
    min-height: auto;
  }

  .site-header .btn-contact {
    min-width: 120px;
    height: 44px;
    font-size: 14px;
    padding: 10px 14px;
  }

  .logo-img {
    height: 34px;
  }
}

@media (min-width:1399px) and (max-width:1450px) {
  .hero-section {
    min-height: 110vh;
  }
}

@media (max-width:767px) {

  .industry-grid {
    display: none;
  }

  .industry-mobile-slider {
    margin-top: 40px;
    overflow: hidden;
  }

  .industry-mobile-slider .swiper {
    overflow: visible;
  }

  .industry-mobile-slider .swiper-slide {
    width: 82%;
    height: auto;
  }

  .industry-mobile-slider .industry-card {
    background: #fff;
    border-radius: 4px;
    height: 100%;
    padding: 20px;
    opacity: 1 !important;
    transform: translateY(0px) !important;
  }

  .industry-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
  }

  .industry-prev,
  .industry-next {
    width: 52px;
    height: 52px;
    border: 0;
    cursor: pointer;
    font-size: 24px;
    padding: 0px;
    margin-top: 25px;
  }

  #industry {
    width: 100%;
  }

  section#industry {
    padding-bottom: 45px;
  }

  section#industry .container-custom {
    width: 95%;
    margin-left: 5%;
  }

  .section-header-row {
    padding-right: 10%;
  }

  #industry .industry-card p {
    border-top: 0px solid var(--color-border);
  }

  #industry .industry-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0px;
    margin-bottom: 15px;
    flex-direction: column;
    justify-content: left;
  }

  #industry .industry-card-header img {
    width: 64px;
    height: 84px;
    padding-bottom: 10px;
    object-fit: contain;
    margin-left: -10px;
  }

  .industry-prev img,
  .industry-next img {
    width: 100%;
  }


  #industry .industry-card-header h3 {
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    width: 100%;
  }

  .cta-description br {
    display: none;
  }

  section#contact a.btn-cta.btn-cta-white.js-open-contact-drawer {
    margin-top: 0px;
  }

}

.formats-nav {
  display: none;
}