@font-face {
  font-family: "Norsal";
  src: url("assets/fonts/Norsal.ttf") format("truetype");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --bg: #090c0c;
  --card-dark: #151818;
  --card-teal: #153f3c;
  --card-teal-deep: #043f3a;
  --panel-teal: #093431;
  --panel-teal-2: #06352f;
  --teal-light: #81eadb;
  --teal-mid: #64d9ca;
  --teal-solid: #3bc0b2;
  --gradient: linear-gradient(90deg, #7be7d8, #1aac9f);
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.8);
  --muted-2: rgba(255, 255, 255, 0.6);
  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.08);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-pill: 100px;
  --font: "Norsal", "Tahoma", sans-serif;
  --container: 1408px;
}

* {
  box-sizing: border-box;
}

html.lenis,
html.lenis body {
  height: auto;
}
html.lenis:not(.lenis-scrolling) [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.7;
}

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

ul {
  margin: 0;
  padding: 0;
}
li {
  list-style: disc;
  margin-inline-start: 22px;
}

p {
  margin: 0;
}

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

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 120px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 0;
  overflow: hidden;
}
.page > * {
  width: calc(100% - 32px);
}
.page > .logos {
  width: 100%;
}

/* Initial hidden state before GSAP ScrollTrigger takes over (prevents flash of unstyled content). Falls back to .is-visible toggling with a CSS transition if GSAP fails to load. */
.reveal {
  opacity: 0;
  transform: translateY(28px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* ---------- Shared bits ---------- */

.section-title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.7;
  text-align: right;
  max-width: 456px;
  margin: 0;
}
.section-title--sm {
  font-size: 30px;
  max-width: none;
}

.section-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--white);
  max-width: 528px;
  margin: 0;
}

.accent-med {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.split-word {
  display: inline-block;
  will-change: transform, opacity;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
}
.badge--glass {
  background: rgba(129, 234, 219, 0.08);
  backdrop-filter: blur(6px);
  color: var(--teal-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  height: 56px;
  padding: 8px 16px 8px 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.btn--gradient {
  background: var(--gradient);
  color: var(--white);
}
.btn--solid {
  background: var(--teal-solid);
  color: var(--white);
}
.btn--white {
  background: var(--white);
  color: var(--card-teal-deep);
}

.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.icon-circle img {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.icon-circle--sm {
  width: 32px;
  height: 32px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}
.tag {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(100, 217, 202, 0.2);
  background: rgba(100, 217, 202, 0.08);
  backdrop-filter: blur(2px);
  color: var(--teal-mid);
  font-size: 14px;
  font-weight: 500;
}

/* ---------- Mobile nav toggle + menu ---------- */

.navbar__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}
.navbar__toggle-icon {
  width: 24px;
  height: 18px;
}

/* ---------- Mobile-only background image swaps ---------- */
.hero__bg--mobile,
.portfolio__bg--mobile,
.final-cta__bg--mobile {
  display: none;
}

/* ---------- Tablet-only background image swap ---------- */
.hero__bg--tablet,
.final-cta__bg--tablet {
  display: none;
}

/* ---------- Mobile-only carousel controls (process / why-us) ---------- */
.carousel-controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.carousel-nav {
  display: flex;
  gap: 10px;
}
.carousel-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.carousel-nav-btn svg {
  width: 18px;
  height: 18px;
}
.carousel-nav-btn--prev {
  background: var(--card-teal-deep);
  color: var(--white);
}
.carousel-nav-btn--next {
  background: var(--white);
  color: var(--card-teal-deep);
}
.carousel-nav-btn:hover {
  transform: translateY(-2px);
}
.carousel-nav-btn:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}
.carousel-dots span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.45);
  transition:
    width 0.25s ease,
    background 0.25s ease;
}
.carousel-dots span.is-active {
  width: 45px;
  background: var(--teal-light);
}

/* ---------- Desktop + Tablet: neutralize Swiper's inline sizing on
   process/why-us (their Swiper instance stays enabled:false here, but
   Swiper still computes and sets inline slide widths/transforms on init,
   which otherwise overrides the CSS grid below at every width > 480px) ---------- */
@media (min-width: 481px) {
  .process-card,
  .why-card {
    width: auto !important;
    transform: none !important;
    margin: 0 !important;
  }
  .process__grid,
  .why-us__grid {
    transform: none !important;
  }
}

.mobile-menu {
  display: none;
}
.mobile-menu[hidden] {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  max-width: var(--container);
}
.hero__glow {
  position: absolute;
  left: 528px;
  top: 1117px;
  width: 776px;
  height: 777px;
  opacity: 0.04;
  transform: rotate(-133.19deg) scaleY(-1);
  pointer-events: none;
  z-index: 0;
}
.hero__glow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 1440px) {
  .hero__glow {
    display: none;
  }
}
.hero__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 718px;
  padding: 16px 40px 40px;
  z-index: 1;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    -20deg,
    rgba(0, 0, 0, 0.73) 17%,
    rgba(0, 0, 0, 0.09) 49%
  );
  z-index: -1;
}

.navbar {
  position: absolute;
  top: 16px;
  left: 40px;
  right: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}
.mobile-menu {
  position: absolute;
  top: 80px;
  left: 40px;
  right: 40px;
  z-index: 3;
}
.navbar__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  border-radius: var(--radius-pill);
  background: var(--gradient);
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
}
.navbar__logo img {
  height: 40px;
  width: auto;
}

.hero__content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__cta {
  flex-shrink: 0;
}
.hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  max-width: 736px;
}
.hero__heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
  margin: 0 0 20px;
  width: 100%;
}
.hero__heading-sub {
  color: #b0e2db;
  font-size: 48px;
}
.hero__heading-main {
  color: var(--white);
  font-size: 56px;
}
.hero__desc {
  color: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- Stats ---------- */

.stats {
  position: relative;
  max-width: var(--container);
  display: flex;
  align-items: flex-start;
  gap: 74px;
  padding: 0 80px;
  flex-wrap: wrap;
}
.stats::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -180px;
  left: -30px;
  width: 590px;
  height: 820px;
  background: url("assets/img/Artboard 2 2.png") no-repeat center / contain;
  pointer-events: none;
}
.stats__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: 320px;
}
.stats__partners {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.avatar-stack {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
}
.avatar-stack img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.stats__partners-label,
.stats__projects-label {
  font-size: 14px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}
.stats__projects-label {
  font-size: 16px;
  font-weight: 500;
}
.stats__partners-label strong,
.stats__projects-label strong {
  color: var(--teal-light);
  font-weight: 700;
  font-size: 28px;
  line-height: normal;
}

.stats__left .btn {
  width: 75%;
}

.stats__gallery {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}
.stats__gallery-img {
  width: 100%;
  max-width: 273px;
  height: 147px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stats__gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stats__gallery-caption {
  font-size: 14px;
  text-align: right;
  color: var(--white);
}

.stats__right {
  width: 840px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.stats__heading {
  font-weight: 600;
  line-height: 1.7;
  text-align: right;
  color: var(--teal-light);
  max-width: 560px;
  margin: 0;
  word-spacing: 5px;
}
.stats__heading .accent-med {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}
.stats__heading .accent-strong {
  font-size: 36px;
  font-weight: 700;
}
.stats__desc {
  font-size: 16px;
  text-align: right;
  max-width: 740px;
  color: var(--white);
}

.stat-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  justify-content: flex-start;
  margin-top: 75px;
}
.stat-card {
  background:
    url("assets/img/Artboard 2 3.png") no-repeat center right / 76px auto,
    var(--card-dark);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  width: 264px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
}
.stat-card::after,
.why-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(129, 234, 219, 0.14),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.stat-card:hover::after,
.why-card:hover::after {
  opacity: 1;
}
.stat-card::before {
  content: "";
  position: absolute;
  bottom: 78px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  border-top: 1px solid var(--teal-light);
}
.stat-card__value {
  color: var(--teal-light);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 1px;
  direction: ltr;
}
.stat-card__title {
  color: var(--teal-light);
  font-weight: 600;
  font-size: 16px;
  background-color: var(--card-dark);
  position: relative;
  padding-inline: 12px;
}
.stat-card__desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

/* ---------- Feature duo ---------- */

.feature-duo {
  max-width: var(--container);
  display: flex;
  align-items: flex-end;
  gap: 56px;
  padding: 0 80px;
  flex-wrap: wrap;
}
.feature-duo__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 392px;
}
.feature-duo__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-duo__image--sm {
  height: 225px;
  margin-top: 32px;
}
.feature-duo__text {
  flex: 1 1 400px;
  width: 555px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  text-align: right;
}
.feature-duo__text .section-title {
  color: var(--teal-light);
}

/* ---------- Process ---------- */

.process {
  position: relative;
  max-width: var(--container);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.process__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.process__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}
.process__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 162, 149, 0.12);
}
.process__inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 56px 80px;
}
.process__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.process__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 528px;
}

.process-swiper {
  width: 100%;
  overflow: hidden;
}
.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.process-card {
  position: relative;
  height: 345px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-end;
  background-image: var(--bg), var(--bg);
  background-color: #0e1414;
}
.process-card {
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)), var(--bg);
  background-size: cover;
  background-position: center;
}
.process-card__body {
  width: 100%;
  padding: 16px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: rgba(2, 29, 26, 0.32);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  text-align: right;
}
.process-card__body h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.process-card__body p {
  margin: 0;
  font-size: 14px;
  color: var(--white);
}

/* ---------- Portfolio ---------- */

.badge--portfolio {
  background: rgba(255, 255, 255, 0.12);
  padding: 12px 40px;
  font-size: 18px;
  color: var(--white);
  backdrop-filter: blur(6px);
}

.portfolio {
  max-width: var(--container);
}
.portfolio__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 640px;
  padding: 56px 40px;
}
.portfolio__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.portfolio__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.64),
    rgba(0, 0, 0, 0) 65%
  );
  z-index: -1;
}
.portfolio__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 250px;
  height: 100%;
}
.portfolio__content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  width: 100%;
}
.portfolio__thumbs {
  position: relative;
  width: 480px;
  max-width: 100%;
}
.portfolio__thumbs-rail {
  position: absolute;
  top: 0;
  bottom: 24px;
  left: 0;
  width: 1px;
  background-image: linear-gradient(
    var(--teal-light) 0%,
    var(--teal-light) 40%,
    transparent 40%
  );
  background-size: 1px 8px;
  background-repeat: repeat-y;
  opacity: 0.6;
}
.portfolio-swiper {
  overflow: hidden;
  border-radius: var(--radius-md);
}
.portfolio-swiper .swiper-slide {
  padding: 12px 0;
}
.portfolio__thumb {
  width: 228px;
  height: 196px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0px 4px 10px rgba(129, 234, 219, 0.2);
}
.portfolio__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio__nav {
  position: absolute;
  top: -60px;
  left: 0;
  display: flex;
  gap: 10px;
  z-index: 2;
}
.portfolio__nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.portfolio__nav-btn svg {
  width: 18px;
  height: 18px;
}
.portfolio__nav-btn--prev {
  background: var(--card-teal-deep);
  color: var(--white);
}
.portfolio__nav-btn--next {
  background: var(--card-teal-deep);
  color: var(--white);
}
.portfolio__nav-btn:hover {
  transform: translateY(-2px);
}
.portfolio__nav-btn:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}
.portfolio__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  text-align: right;
  max-width: 713px;
}
.portfolio__title {
  font-size: 36px;
  font-weight: 700;
  margin: 0;
}
.portfolio__lists {
  display: flex;
  gap: 24px;
  font-size: 16px;
}
.portfolio__lists li {
  margin-bottom: 8px;
}

/* ---------- Logos ---------- */

.logos {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}
.logos__row {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.logos__row--reverse {
  animation-direction: reverse;
  animation-duration: 36s;
}
.logos__row img {
  height: 56px;
  width: auto;
  opacity: 0.85;
}
.logos:hover .logos__row {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Why us ---------- */

.why-us {
  position: relative;
  max-width: var(--container);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.why-us__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--panel-teal);
}
.why-us__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.06;
}
.why-us__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  padding: 56px 80px;
}
.why-us__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  flex-wrap: wrap;
  padding-inline-end: 100px;
}
.why-us__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 528px;
}

.why-us-swiper {
  width: 100%;
  overflow: hidden;
}
.why-us__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}
.why-card {
  background: var(--card-teal);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  text-align: right;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 234, 219, 0.35);
}
.why-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  background: rgba(129, 234, 219, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-card__icon img {
  width: 32px;
  height: 32px;
}
.why-card__icon--plain {
  background: none;
}
.why-card__icon--plain img {
  width: 64px;
  height: 64px;
}
.why-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.why-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}
.why-card p {
  font-size: 14px;
  margin: 0;
}

.why-us__closing {
  text-align: center;
  font-size: 16px;
  max-width: 1022px;
  color: var(--white);
}

/* ---------- Methodology ---------- */

.methodology {
  max-width: var(--container);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  padding: 56px 80px;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}
.methodology__image {
  flex: 1;
  min-width: 300px;
  align-self: stretch;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.methodology__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 65%);
}
.methodology__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.methodology__content {
  flex: 2;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  text-align: right;
}
.methodology__content .section-title {
  color: var(--teal-light);
  max-width: none;
}

.methodology__content .section-desc {
  max-width: none;
}

.methodology__nav {
  display: flex;
  gap: 15px;
  width: 100%;
  justify-content: flex-end;
}
.methodology__nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.methodology__nav-btn svg {
  width: 18px;
  height: 18px;
}
.methodology__nav-btn--prev {
  background: var(--teal-solid);
  color: var(--white);
}
.methodology__nav-btn--next {
  background: var(--teal-solid);
  color: var(--white);
}

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

.methodology__nav-btn:disabled {
  opacity: 0.2;
  cursor: default;
  transform: none;
}

.methodology-swiper {
  width: 100%;
  overflow: hidden;
}
.methodology__steps {
  width: 100%;
}
.method-step {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 12px;
  width: 237px;
}
.method-step--reverse {
  flex-direction: column-reverse;
}
.method-step__card {
  background: var(--card-teal-deep);
  border-radius: 20px 20px 12px 12px;
  backdrop-filter: blur(8px);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: right;
}
.method-step__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 18px;
}
.method-step__num {
  color: var(--teal-mid);
  font-size: 20px;
  letter-spacing: 0.8px;
}
.method-step__card p {
  font-size: 14px;
  margin: 0;
}
.method-step__image {
  height: 210px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.method-step__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 65%);
}
.method-step__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Final CTA ---------- */

.final-cta {
  position: relative;
  max-width: var(--container);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 500px;
  padding: 56px 80px;
}
.final-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.final-cta__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(-90deg, #043f3a 13%, rgba(9, 132, 114, 0) 49%);
}
.final-cta__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 608px;
}
.final-cta__content .section-title {
  color: var(--white);
}
.final-cta__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  max-width: 528px;
}
.final-cta__content .btn .icon-circle img {
  transform: none;
}

/* ---------- Footer ---------- */

.footer {
  max-width: var(--container);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 0 40px 24px;
}
.footer__brand-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer__logo {
  height: 64px;
  width: auto;
}
.footer__brand-row p {
  font-size: 14px;
  color: var(--muted);
}

.footer__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.footer__info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.info-block {
  display: flex;
  align-items: center;
  gap: 24px;
}
.info-block__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: right;
}
.info-block__label {
  font-size: 14px;
  color: var(--muted);
}
.info-block__value {
  font-size: 16px;
  font-weight: 600;
  direction: ltr;
}
.info-block__icon {
  width: 56px;
  height: 56px;
  background: rgba(129, 234, 219, 0.04);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-block__icon img {
  width: 28px;
  height: 28px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__copy {
  font-size: 14px;
  color: var(--muted);
}
.footer__copy a {
  color: var(--teal-light);
}
.footer__social {
  display: flex;
  gap: 12px;
}
.social-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--teal-light);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    translate 0.2s ease;
}
.social-btn:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  translate: 0 -2px;
  img {
    filter: brightness(0);
  }
}
.social-btn img {
  width: 19px;
  height: 19px;
  transition: 0.2s ease;
}

/* ---------- Hover polish ---------- */

.process-card,
.portfolio__thumb,
.method-step__image,
.feature-duo__image {
  overflow: hidden;
}
.process-card img,
.portfolio__thumb img,
.method-step__image img,
.feature-duo__image img {
  transition: transform 0.5s ease;
}
.process-card:hover img,
.portfolio__thumb:hover img,
.method-step__image:hover img,
.feature-duo__image:hover img {
  transform: scale(1.06);
}
.process-card {
  transition: transform 0.35s ease;
}
.process-card:hover {
  transform: translateY(-6px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1600px) {
  .stats {
    padding: 0;
  }
  .feature-duo {
    padding: 0 40px;
  }
  .process__inner {
    padding: 56px 40px;
  }
  .why-us__inner {
    padding: 56px 40px;
  }
  .methodology {
    padding: 56px 40px;
  }
}

@media (max-width: 960px) {
  .page {
    gap: 64px;
  }
  .hero__heading-main {
    font-size: 34px;
  }
  .hero__heading-sub {
    font-size: 28px;
  }
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats,
  .feature-duo,
  .process__inner,
  .why-us__inner,
  .methodology,
  .final-cta,
  .footer,
  .portfolio__card {
    padding-left: 24px;
    padding-right: 24px;
  }
  .stats__left,
  .stats__right {
    width: 100%;
  }
  .feature-duo__text {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .portfolio__content {
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
  }
  .portfolio__thumbs {
    width: 100%;
    margin-top: 60px;
  }
  .why-us__top {
    padding-inline-end: 0;
  }
  .section-title--sm {
    font-size: 26px;
    line-height: 1.5;
  }
  .section-title {
    font-size: 28px;
    line-height: 1.5;
  }
  .process__inner,
  .final-cta,
  .portfolio__card,
  .why-us__inner {
    padding: 32px 24px;
    min-height: auto;
  }
  .portfolio__inner {
    gap: 30px;
  }
  .final-cta__overlay {
    background: linear-gradient(-90deg, #043f3a 63%, rgba(9, 132, 114, 0) 119%);
  }
  .stats,
  .feature-duo,
  .methodology,
  .footer {
    padding-inline: 0;
  }

  .why-us__grid,
  .process__grid {
    gap: 0;
  }

  .process-card__body {
    gap: 10px;
  }

  .process-card__body h3 {
    font-size: 15px;
  }

  .process-card__body p {
    font-size: 12px;
  }
}

/* ---------- Tablet (matches Figma "Tablet" spec, node 220:3) ---------- */
@media (min-width: 481px) and (max-width: 1024px) {
  .page {
    padding: 16px 12px;
    gap: 64px;
  }

  .section-title {
    font-size: 28px;
    max-width: 400px;
  }
  .section-desc {
    font-size: 14px;
  }

  /* Hero */
  .hero__bg {
    display: none;
  }
  .hero__bg--tablet {
    display: block;
  }
  .hero__text {
    max-width: 460px;
    gap: 16px;
  }
  .hero__heading-sub {
    font-size: 32px;
  }
  .hero__heading-main {
    font-size: 40px;
  }
  .hero__desc {
    font-size: 14px;
  }
  .hero__content {
    gap: 16px;
  }

  /* Stats */
  .stats {
    padding: 0 28px;
    gap: 40px;
  }
  .stats__left {
    width: 280px;
  }
  .stats__right {
    width: auto;
  }
  .stats__heading {
    max-width: 460px;
  }
  .stats__heading .accent-strong {
    font-size: 30px;
  }
  .stats__heading .accent-med {
    font-size: 22px;
  }
  .stats__desc {
    font-size: 14px;
    max-width: 460px;
  }
  .stat-cards {
    gap: 16px;
    margin-top: 40px;
  }
  .stat-card {
    flex: 1 1 240px;
    width: auto;
  }

  /* Feature duo */
  .feature-duo {
    padding: 0 28px;
    gap: 32px;
  }
  .feature-duo__text {
    width: auto;
    flex: 1 1 320px;
  }
  .feature-duo__text .section-title {
    font-size: 28px;
  }
  .feature-duo__image {
    height: 280px;
    flex: 1 1 320px;
  }
  .feature-duo__image--sm {
    height: 180px;
  }

  /* Process */
  .process__inner {
    padding: 40px;
  }
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .process-card {
    width: auto !important;
    margin: 0 !important;
  }
  .process__intro {
    max-width: 420px;
  }
  .process-card__body {
    padding: 14px;
    gap: 14px;
  }
  .process-card__body h3 {
    font-size: 16px;
  }

  /* Portfolio */
  .portfolio__card {
    padding: 40px;
    min-height: 708px;
  }
  .portfolio__inner {
    gap: 244px;
  }
  .portfolio__title {
    font-size: 28px;
  }
  .portfolio__content {
    align-items: flex-end;
  }
  .portfolio__text {
    max-width: 350px;
  }
  .portfolio__lists {
    gap: 0;
    flex-direction: column;
  }
  .tag-list {
    max-width: 383px;
  }
  .portfolio__thumb {
    width: 221px;
    height: 190px;
  }

  /* Why us */
  .why-us__inner {
    padding: 40px;
    gap: 40px;
  }
  .why-us__top {
    padding-inline-end: 0;
  }
  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-card {
    width: auto !important;
    margin: 0 !important;
  }

  .final-cta__text {
    max-width: 528px;
  }
  .final-cta__text {
    object-fit: fill;
  }

  /* Methodology */
  .methodology {
    display: grid;
    grid-template-columns: 1fr 383px;
    grid-template-areas:
      "title image"
      "desc image"
      "nav image"
      "grid grid"
      "dots dots";
    column-gap: 32px;
    row-gap: 16px;
    align-items: start;
    padding: 40px 28px;
  }
  .methodology__image {
    grid-area: image;
    height: 259px;
    align-self: start;
    min-width: 0;
  }
  .methodology__content {
    display: contents;
  }
  .methodology__content .section-title {
    grid-area: title;
    max-width: none;
  }
  .methodology__content .section-desc {
    grid-area: desc;
  }
  .methodology__nav {
    grid-area: nav;
  }
  .methodology-swiper {
    grid-area: grid;
  }
  .methodology__content > .carousel-dots {
    grid-area: dots;
    justify-self: center;
  }
  .method-step__card {
    padding: 14px;
    gap: 14px;
  }
  .method-step__image {
    height: 194px;
  }
  .methodology__nav-btn--prev {
    background: var(--card-teal-deep);
    color: var(--white);
  }
  .methodology__nav-btn--next {
    background: var(--white);
    color: var(--card-teal-deep);
  }

  /* Final CTA */
  .final-cta__bg {
    display: none;
  }
  .final-cta__bg--tablet {
    display: block;
  }
  .final-cta {
    padding: 48px 33px;
    min-height: 428px;
  }
  .final-cta__content {
    max-width: 440px;
  }

  /* Footer */
  .footer {
    padding: 0 28px 24px;
  }
  .footer__info {
    gap: 16px;
  }
  .info-block {
    gap: 12px;
  }
}

/* ---------- Mobile (matches Figma "Phone" spec, node 276:2) ---------- */
@media (max-width: 480px) {
  .page {
    gap: 48px;
    padding: 12px 0;
  }
  .page > * {
    width: calc(100% - 32px);
  }

  .btn {
    gap: 8px;
    height: 44px;
    padding: 8px 12px 8px 8px;
    font-size: 14px;
  }

  /* ---- Navbar / mobile menu ---- */
  .navbar {
    position: static;
    background: none;
    backdrop-filter: none;
    border-radius: 0;
    gap: 12px;
    padding: 4px 0 0;
    margin-bottom: 16px;
  }
  .navbar__logo img {
    height: 34px;
  }
  .navbar__cta-link {
    display: none;
  }
  .navbar__toggle {
    display: flex;
  }
  .mobile-menu[hidden] {
    display: none;
  }
  .mobile-menu {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-top: -8px;
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(9, 12, 12, 0.92);
    backdrop-filter: blur(10px);
  }
  .mobile-menu a:not(.btn) {
    width: 100%;
    padding: 10px 4px;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-soft);
  }
  .mobile-menu .btn {
    margin-top: 10px;
    align-self: flex-start;
    width: 100%;
  }

  /* ---- Hero ---- */
  .hero__bg {
    display: none;
  }
  .hero__bg--mobile {
    display: block;
  }
  .hero__card {
    padding: 12px 20px 24px;
    min-height: auto;
    padding-top: 270px;
  }
  .hero__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  .hero__text {
    align-items: flex-start;
    gap: 10px;
    max-width: 100%;
  }
  .badge {
    font-size: 12px;
    padding: 10px 15px;
  }
  .hero__heading {
    gap: 4px;
    font-size: 18px;
    line-height: 1.4;
  }
  .hero__heading-sub {
    font-size: 22px;
  }
  .hero__heading-main {
    font-size: 28px;
  }
  .hero__desc {
    font-size: 12px;
    max-width: 285px;
  }
  .hero__cta {
    align-self: flex-start;
  }

  /* ---- Stats ---- */
  .stats {
    flex-direction: column;
    align-items: center;
    gap: 58px;
  }
  .stats::before {
    display: none;
  }
  .stats__right,
  .stats__left {
    width: 100%;
    align-items: center;
  }
  .stats__heading {
    text-align: center;
    max-width: 344px;
    line-height: 1.5;
  }
  .stats__heading .accent-med {
    font-size: 18px;
  }
  .stats__heading .accent-strong {
    font-size: 22px;
  }
  .stats__desc {
    text-align: center;
    font-size: 12px;
    max-width: 384px;
  }
  .stat-cards {
    margin-top: 40px;
    flex-wrap: nowrap;
    overflow: hidden;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    gap: 18px;
    justify-content: flex-start;
    width: 100%;
  }
  .stat-card {
    min-width: 280px;
    width: 280px;
    scroll-snap-align: center;
    padding: 24px;
  }
  .stat-card::before {
    bottom: 73px;
  }
  .stat-card__value {
    font-size: 24px;
  }
  .stat-card__title {
    font-size: 16px;
  }
  .stat-card__desc {
    font-size: 12px;
  }
  .stats__partners {
    align-items: center;
  }
  .stats__partners-label,
  .stats__projects-label {
    justify-content: center;
    font-size: 12px;
  }
  .stats__gallery {
    align-items: center;
  }
  .stats__gallery-img {
    max-width: 336px;
    width: 100%;
    margin: 0 auto;
  }
  .stats__gallery-caption {
    text-align: center;
    max-width: 306px;
    margin: 0 auto;
  }
  .stats__left .btn {
    width: auto;
  }

  /* ---- Feature duo ---- */
  .feature-duo {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .feature-duo__text {
    align-items: center;
    gap: 28px;
  }
  .feature-duo__text .section-title {
    text-align: right;
    width: 100%;
    font-size: 22px;
  }
  .feature-duo__text .section-desc {
    text-align: center;
    font-size: 12px;
    max-width: 334px;
    margin: 0 auto;
  }
  .feature-duo__image--sm {
    width: 100%;
    height: 158px;
    margin-top: 0;
  }
  .feature-duo__image {
    width: 100%;
    height: 240px;
  }

  /* ---- Shared mobile carousels ---- */
  .carousel-controls {
    display: flex;
  }

  /* ---- Process ---- */
  .process__inner {
    padding: 32px 20px;
    gap: 28px;
  }
  .process__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }
  .process__top .section-title {
    text-align: center;
    max-width: 337px;
    font-size: 22px;
    line-height: 1.5;
  }
  .process__intro {
    align-items: center;
    text-align: center;
    max-width: 299px;
    gap: 14px;
  }
  .process__grid {
    display: flex;
    grid-template-columns: none;
    width: 100%;
  }
  .process-card {
    height: 300px;
    width: 100%;
    flex-shrink: 0;
  }
  .carousel-controls--process {
    margin-top: 4px;
  }

  /* ---- Portfolio ---- */
  .portfolio__bg {
    display: none;
  }
  .portfolio__bg--mobile {
    display: block;
  }
  .badge--portfolio {
    font-size: 16px;
    padding: 12px 40px;
  }
  .portfolio__title {
    font-size: 22px;
  }
  .portfolio__lists {
    font-size: 14px;
    gap: 12px;
  }
  .portfolio__thumb {
    width: 100%;
    height: auto;
  }
  .portfolio__nav {
    top: -52px;
  }

  /* ---- Logos ---- */
  .logos__row img {
    height: 36px;
  }

  /* ---- Why us ---- */
  .why-us__inner {
    padding: 32px 20px;
    gap: 28px;
  }
  .why-us__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }
  .why-us__top .section-title {
    text-align: center;
    font-size: 22px;
  }
  .why-us__intro {
    align-items: center;
    text-align: center;
    max-width: 299px;
  }
  .why-us__grid {
    display: flex;
    grid-template-columns: none;
    width: 100%;
  }
  .why-card {
    width: 100%;
    flex-shrink: 0;
  }
  .carousel-controls--why-us {
    margin-top: 4px;
  }
  .why-us__closing {
    font-size: 12px;
    max-width: 327px;
    margin: 0 auto;
  }

  /* ---- Methodology ---- */
  .methodology {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px;
    gap: 28px;
  }
  .methodology__image {
    display: none;
  }
  .methodology__content {
    align-items: center;
    text-align: center;
    gap: 24px;
    width: 100%;
  }
  .methodology__content .section-title {
    text-align: center;
    font-size: 22px;
  }
  .methodology__content .section-desc {
    text-align: center;
    font-size: 12px;
    max-width: 355px;
    margin: 0 auto;
  }

  .methodology__nav-btn--prev {
    background: var(--card-teal-deep);
    color: var(--white);
  }
  .methodology__nav-btn--next {
    background: var(--white);
    color: var(--card-teal-deep);
  }
  .methodology-swiper {
    width: 100%;
  }
  .method-step {
    width: 100%;
  }
  .method-step--reverse {
    flex-direction: column;
  }
  .method-step__image {
    height: 280px;
  }
  .methodology__content > .carousel-dots {
    margin-top: 4px;
  }

  .method-step__card p {
    font-size: 12px;
  }
  .method-step__head {
    font-size: 16px;
  }
  .method-step__num {
    font-size: 18px;
  }

  /* ---- Final CTA ---- */
  .final-cta__bg {
    display: none;
  }
  .final-cta__bg--mobile {
    display: block;
    object-fit: fill;
  }
  .final-cta {
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 32px 24px;
    padding-bottom: 300px;
  }
  .final-cta__content {
    align-items: center;
    max-width: 100%;
  }
  .final-cta__content .section-title {
    font-size: 22px;
    text-align: center;
    max-width: 320px;
  }
  .final-cta__text {
    text-align: center;
    max-width: 335px;
    font-size: 13px;
  }
  .final-cta__text p {
    text-align: center;
  }
  .final-cta__overlay {
    background: linear-gradient(
      180deg,
      rgba(4, 63, 58, 0.55) 0%,
      rgba(4, 63, 58, 0) 55%
    );
  }

  /* ---- Footer ---- */
  .footer {
    padding: 0 20px 20px;
    gap: 32px;
  }
  .footer__logo {
    height: 48px;
  }
  .footer__info {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 20px;
  }
  .info-block {
    width: 100%;
    gap: 16px;
  }
  .info-block__text {
    gap: 8px;
  }
  .info-block__icon {
    width: 48px;
    height: 48px;
  }
  .info-block__icon img {
    width: 24px;
    height: 24px;
  }
  .footer__bottom {
    align-items: center;
    text-align: center;
    gap: 20px;
    justify-content: center;
  }
  .footer__social {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 380px) {
  .stat-card {
    min-width: 300px;
    width: 300px;
  }
  .why-card__icon--plain img {
    width: 48px;
    height: 48px;
  }
  .portfolio__lists {
    flex-direction: column;
    gap: 0;
  }
}
