/* ============================================
   AIGAR SILD - PORTFOLIO WEBSITE
   Design System & Styles
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  /* Colors */
  --blue: #003AFF;
  --pink: #FF00BF;
  --lime: #DDFF00;
  --white: #FFFFFF;
  --dark: #111831;
  --dark-lighter: rgba(17, 24, 49, 0.87);
  --gray: #D4D4D4;

  /* Gradients */
  --gradient-lime: linear-gradient(90deg, #FFFFFF 0%, #CCCF00 49.04%, #FBFF00 100%);
  --gradient-pink: linear-gradient(90deg, #FFFFFF -14.75%, #E300AA 47.04%, #FF00BF 100%);

  /* Typography */
  --font-family: 'Poppins', sans-serif;

  /* Font Sizes — Perfect Fourth scale (1.333), 16px base
     Research-backed: WCAG 2.1 compliant, optimized for readability.
     Body: 16–18px, H3: 24px, H2: 32px, H1: 42px, Display: 56px */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-md: 18px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 32px;
  --text-3xl: 40px;
  --text-4xl: 48px;
  --text-5xl: 56px;
  --text-6xl: 72px;

  /* Font Weights */
  --font-light: 300;
  --font-regular: 400;
  --font-bold: 700;
  --font-black: 900;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 60px;
  --space-2xl: 100px;
  --space-3xl: 140px;

  /* Border Radius */
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 40px;
  --radius-full: 100px;

  /* Shadows */
  --shadow-sm: 0px 3px 0px rgba(0, 0, 0, 0.05);
  --shadow-md: 0px 3px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0px 0px 40px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0px 0px 40px 4px rgba(0, 0, 0, 0.1);

  /* Layout */
  --max-width: 1512px;
  --content-width: 1200px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-regular);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

p {
  font-size: 14px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

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

ul,
ol {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-black);
  line-height: 1.15;
  text-transform: none;
}

.headline-xl {
  font-size: var(--text-5xl);
  font-weight: var(--font-black);
  line-height: 1.1;
}

.headline-lg {
  font-size: var(--text-4xl);
  font-weight: var(--font-black);
  line-height: 1.15;
}

.headline-md {
  font-size: var(--text-2xl);
  font-weight: var(--font-black);
  line-height: 1.25;
}

.text-lg {
  font-size: var(--text-lg);
  line-height: 1.5;
}

.text-base {
  font-size: var(--text-base);
  line-height: 1.6;
}

.text-sm {
  font-size: var(--text-sm);
  line-height: 1.5;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  position: relative;
  overflow: hidden;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.nav__logo img {
  height: 40px;
  width: auto;
}

.nav__logo:hover {
  opacity: 0.8;
}

.nav__menu {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-size: var(--text-md);
  font-weight: var(--font-bold);
  color: var(--white);
  text-decoration: none;
  padding: var(--space-xs) var(--space-sm);
  transition: all 0.3s ease;
  position: relative;
}

.nav__link:hover {
  opacity: 0.7;
}

.nav__link--active {
  opacity: 1;
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--lime);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--blue);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-sm);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav__menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__link {
    width: 100%;
    text-align: center;
    padding: var(--space-md);
    color: var(--white);
  }
}

/* ============================================
   BUTTONS & INTERACTIVE ELEMENTS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 40px;
  border-radius: var(--radius-full);
  font-family: var(--font-family);
  font-weight: var(--font-black);
  font-size: var(--text-md);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--white);
  color: var(--blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  opacity: 1;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--blue);
  opacity: 1;
}

/* Pill Badge */
.pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 32px;
  border-radius: 40px;
  font-weight: var(--font-black);
  font-size: 14px;
  background: linear-gradient(90deg, #FFFFFF -14.75%, #E300AA 47.04%, #FF00BF 100%);
  border: 1px solid #FFFFFF;
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.3), inset 0px 4px 10px #FFFFFF;
  color: var(--white);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pill-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0px 8px 50px rgba(255, 0, 191, 0.5), inset 0px 4px 10px #FFFFFF;
  opacity: 1;
}

.pill-badge--lime {
  background: linear-gradient(90deg, #FFFFFF -14.75%, #E300AA 47.04%, #FF00BF 100%);
  color: var(--white);
}

.pill-badge--pink {
  background: linear-gradient(90deg, #FFFFFF -14.75%, #E300AA 47.04%, #FF00BF 100%);
  color: var(--white);
}

.pill-badge--blue {
  background: linear-gradient(90deg, #FFFFFF -14.75%, #0038FF 47.04%, #003AFF 100%);
  color: var(--white);
}

.pill-badge--blue:hover {
  box-shadow: 0px 8px 50px rgba(0, 58, 255, 0.5), inset 0px 4px 10px #FFFFFF;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  background: var(--blue);
  padding: var(--space-lg) 0;
  padding-top: 80px;
  /* overflow: hidden removed so the blob can bleed down into the trusted section.
     Horizontal overflow is caught by body { overflow-x: hidden }. */
  z-index: 3;
}

.hero__container {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
}

/* Rotated Name */
.hero__name {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left center;
  font-size: var(--text-xl);
  font-weight: var(--font-black);
  color: var(--white);
  white-space: nowrap;
  letter-spacing: 1px;
}

/* Hero Content */
.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: auto;
  padding-right: 80px;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero__subtitle {
  font-size: var(--text-lg);
  font-weight: var(--font-light);
  color: var(--white);
  margin-bottom: var(--space-md);
}

.hero__subtitle strong {
  font-weight: var(--font-black);
  color: var(--lime);
}

.hero__headline {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: 100px;
  line-height: 100px;
  color: #FFFFFF;
  margin: 0;
}

.hero__cta {
  margin-top: var(--space-md);
}

.hero__cta .pill-badge {
  box-sizing: border-box;
  background: linear-gradient(90deg, #FFFFFF 0%, #CCCF00 49.04%, #FBFF00 100%);
  border: 1px solid rgba(255, 255, 255, 0.21);
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.3), inset 0px 4px 10px #FFFFFF;
  border-radius: 40px;
  padding: 14px 60px;
  color: #003AFF;
  margin-top: 40px;
  font-size: 16px;
}

/* Trusted By Section — sits just below the hero (first scroll reveal) */
.hero__trusted {
  background: var(--blue);
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
}

.hero__trusted-label {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.hero__marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.hero__marquee-track {
  display: flex;
  gap: var(--space-3xl);
  /* Wider gap for larger logos */
  width: max-content;
  animation: scroll 40s linear infinite;
  padding: var(--space-md) 0;
}

/* Pause on hover optional */
.hero__marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

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

.hero__logo {
  height: 35px;
  /* Smaller logos */
  opacity: 0.8;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Logo with actual images */
.hero__logo img {
  height: 100%;
  width: auto;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.hero__logo:hover img {
  transform: scale(1.1);
}

/* Text logos (for clients without images) */
.hero__logo--text {
  font-weight: var(--font-bold);
  font-size: var(--text-base);
  color: var(--white);
  white-space: nowrap;
}

/* Hero Blob (pink geometric shape) */
.hero__blob {
  position: absolute;
  left: -120px;
  top: 0;
  width: 744px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

/* Old geometric shapes - keeping for reference */
.hero__shape {
  position: absolute;
  pointer-events: none;
}

.hero__shape--pink {
  width: 1008px;
  height: 961px;
  left: -264px;
  top: 35px;
  background: var(--pink);
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  z-index: 1;
}

.hero__shape--blue-1 {
  width: 1062px;
  height: 1045px;
  left: 302px;
  top: 683px;
  background: var(--blue);
  transform: rotate(51.2deg);
  z-index: 1;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  position: relative;
  background: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-3xl) 0;
}

.services__blobs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Main blue blob holding content */
.services__blob--blue {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  max-width: 900px;
  height: auto;
  z-index: 1;
}

/* Yellow accent blob */
.services__blob--yellow {
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 50vw;
  max-width: 600px;
  height: auto;
  z-index: 2;
}

.services__container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Text overlay on blue blob */
.services__text-overlay {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Left align text */
  margin-top: -50px;
  /* Slight visual adjustment up */
  margin-left: 100px;
  /* Offset to align with blob shape visual */
}

.services__item {
  font-size: var(--text-4xl);
  font-weight: var(--font-black);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.services__cta {
  margin-top: var(--space-lg);
}


/* Mobile responsiveness */
@media (max-width: 768px) {
  .services__blob--blue {
    width: 120%;
    max-width: none;
  }

  .services__text-overlay {
    margin-left: 0;
    align-items: center;
    text-align: center;
  }

  .services__item {
    font-size: var(--text-2xl);
  }

  .services__blob--yellow {
    width: 80%;
    bottom: -5%;
    right: -20%;
  }
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
  position: relative;
  background: var(--white);
  padding: var(--space-3xl) 0;
  overflow: hidden;
  min-height: 100vh;
  /* Make sure it takes space */
}

/* Container for blobs */
.portfolio__blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  /* Below content */
}

/* Big blue blob background */
.portfolio__blob--blue {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  width: 95vw;
  max-width: 1400px;
  height: auto;
}

.portfolio__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 2;
  /* Above blobs */
}

.portfolio__showcase {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: -100px;
  perspective: 1000px;
}

.portfolio__ui-blob {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 800px;
}

.portfolio__ui-item {
  position: absolute;
  width: 420px;
  transition: transform 0.3s ease-out, filter 0.3s ease;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
  will-change: transform;
  border-radius: 12px;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
  /* Prevent the browser from stealing touch events for scrolling/zooming
     on these elements — we handle all touch interaction ourselves */
  touch-action: none;
  /* Promote to its own compositor layer for jank-free GPU movement */
  transform: translate3d(0, 0, 0);
}

.portfolio__ui-item.is-dragging {
  cursor: grabbing;
  z-index: 50 !important;
  transition: none !important;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.35));
  /* Reinforce GPU layer promotion during active drag */
  will-change: transform;
}

.portfolio__ui-item--large {
  width: 560px;
}

.portfolio__ui-item.is-active {
  filter: drop-shadow(0 0 20px rgba(255, 0, 191, 0.7)) drop-shadow(0 0 40px rgba(255, 0, 191, 0.4));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.portfolio__content {
  position: relative;
  padding-top: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.portfolio__headline {
  font-size: var(--text-5xl);
  font-weight: var(--font-black);
  line-height: 1.1;
  color: var(--pink);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 10;
}

.portfolio__cta {
  margin-bottom: var(--space-xl);
  position: relative;
}


/* Portfolio Info Box */
.portfolio-infobox {
  position: fixed;
  top: 100px;
  right: 40px;
  width: 271px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-infobox.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.portfolio-infobox__card {
  position: relative;
  width: 271px;
  height: 217px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, #FF00BF 49.04%, #FFFFFF 100%);
  border: 1px solid rgba(255, 255, 255, 0.21);
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.3), inset 0px 4px 10px #FFFFFF;
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 30px 20px;
}

.portfolio-infobox__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
  padding: 0;
}

.portfolio-infobox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.portfolio-infobox__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 18px;
  line-height: 27px;
  color: #FFFFFF;
  text-align: center;
}

.portfolio-infobox__desc {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 21px;
  color: #FFFFFF;
  text-align: center;
}

.portfolio-infobox__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 8px 40px;
  background: linear-gradient(90deg, #FFFFFF -14.75%, #0038FF 47.04%, #003AFF 100%);
  border: 1px solid #FFFFFF;
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.3), inset 0px 4px 10px #FFFFFF;
  border-radius: 40px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 21px;
  color: #FFFFFF;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.portfolio-infobox__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 50px rgba(0, 56, 255, 0.5), inset 0px 4px 10px #FFFFFF;
  opacity: 1;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .portfolio-infobox {
    right: 20px;
    top: 90px;
    width: 240px;
  }

  .portfolio-infobox__card {
    width: 240px;
    height: 195px;
    border-radius: 30px;
    padding: 24px 16px;
  }
}

@media (max-width: 768px) {
  .portfolio__headline {
    font-size: var(--text-3xl);
  }

  .portfolio__blob--blue {
    width: 180%;
    max-width: none;
  }

  .portfolio__showcase {
    margin-top: var(--space-lg);
    padding-right: 0;
  }

  .portfolio__ui-blob {
    height: 900px;
    margin-right: 0;
  }

  .portfolio__ui-item {
    width: 220px;
  }

  .portfolio__ui-item--large {
    width: 280px;
  }
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
  /* Push grid down */
}

/* Project Card */
.project-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-card__image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--blue) 0%, #1a4fff 100%);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: var(--font-bold);
  font-size: var(--text-xl);
}

.project-card__title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--dark);
  margin-bottom: var(--space-xs);
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.project-card__tag {
  padding: 4px 12px;
  background: rgba(0, 58, 255, 0.1);
  color: var(--blue);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
}

.project-card__metric {
  padding: var(--space-sm);
  background: linear-gradient(135deg, #F0FFF1 0%, #E8F5E9 100%);
  border: 1px solid #50B95A;
  border-radius: var(--radius-sm);
  margin-top: var(--space-sm);
}

.project-card__metric-label {
  font-size: var(--text-sm);
  color: var(--dark-lighter);
}

.project-card__metric-value {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: #50B95A;
}

.project-card__wip {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  padding: 4px 12px;
  background: #FFF9EE;
  border: 1px solid #D9AD5C;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: #D9AD5C;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  font-weight: var(--font-bold);
  color: var(--blue);
}

.project-card__link:hover {
  gap: 12px;
}

/* Portfolio background shapes */
.portfolio__shape {
  position: absolute;
  background: var(--blue);
  pointer-events: none;
  z-index: 0;
}

.portfolio__shape--1 {
  width: 1560px;
  height: 1220px;
  left: 117px;
  top: 500px;
  transform: rotate(-5deg);
  opacity: 0.03;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  background: var(--white);
  padding: var(--space-3xl) 0;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}

.cta-section__blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  max-width: 900px;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

.cta-section__container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 2;
}

.cta-section__headline {
  font-size: var(--text-5xl);
  font-weight: var(--font-black);
  color: var(--white);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.cta-section__description {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section__pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 32px;
  background: linear-gradient(90deg, #FFFFFF -14.75%, #E300AA 47.04%, #FF00BF 100%);
  border: 1px solid #FFFFFF;
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.3), inset 0px 4px 10px #FFFFFF;
  border-radius: 40px;
  color: var(--white);
  font-family: var(--font-family);
  font-weight: var(--font-black);
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-section__pill-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0px 8px 50px rgba(255, 0, 191, 0.5), inset 0px 4px 10px #FFFFFF;
  opacity: 1;
}

.cta-section--light .cta-section__headline {
  color: var(--blue);
}

.cta-section--light .cta-section__description {
  color: var(--dark-lighter);
}

.cta-section--light .cta-section__promise {
  background: rgba(0, 58, 255, 0.08);
  border: 1px solid rgba(0, 58, 255, 0.2);
}

.cta-section--light .cta-section__promise-text {
  color: var(--blue);
}

.cta-section--light .cta-section__buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-section__blob {
    width: 140vw;
    max-width: none;
  }

  .cta-section__headline {
    font-size: var(--text-3xl);
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--white);
  padding: var(--space-lg) var(--space-lg) var(--space-lg);
}

.footer__container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--space-xl);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, #FF00BF 49.04%, #FFFFFF 100%);
  border: 1px solid rgba(255, 255, 255, 0.21);
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.12), inset 0px 4px 10px #FFFFFF;
  border-radius: 40px;
}

.footer__main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.footer__logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(12%) sepia(97%) saturate(5469%) hue-rotate(225deg) brightness(97%) contrast(106%);
}

.footer__name {
  font-size: var(--text-xl);
  font-weight: var(--font-black);
  color: var(--blue);
  margin-bottom: var(--space-sm);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(0, 58, 255, 0.7);
  line-height: 1.6;
}

.footer__nav {
  display: flex;
  gap: var(--space-xl);
}

.footer__nav-group h4 {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--blue);
  margin-bottom: var(--space-sm);
}

.footer__nav-group ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer__nav-group a {
  font-size: var(--text-sm);
  color: rgba(0, 58, 255, 0.7);
  transition: color 0.3s ease;
}

.footer__nav-group a:hover {
  color: var(--blue);
  opacity: 1;
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(0, 58, 255, 0.1);
  border-radius: 50%;
  color: var(--blue);
  font-size: var(--text-lg);
  transition: all 0.3s ease;
}

.footer__social-link:hover {
  background: var(--blue);
  transform: translateY(-2px);
  opacity: 1;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copyright {
  font-size: var(--text-sm);
  color: rgba(0, 58, 255, 0.5);
}

.footer__email {
  font-size: var(--text-sm);
  color: var(--blue);
  font-weight: var(--font-bold);
}

/* ============================================
   CASE STUDY PAGE STYLES
   ============================================ */
.case-study-hero {
  background: var(--blue);
  padding: var(--space-3xl) 0;
  padding-top: calc(80px + var(--space-3xl));
  position: relative;
  overflow: hidden;
}

.case-study-hero__container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 2;
}

.case-study-hero__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--white);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-lg);
}

.case-study-hero__back:hover {
  gap: 12px;
}

.case-study-hero__title {
  font-size: var(--text-2xl);
  font-weight: var(--font-black);
  color: var(--white);
  margin-bottom: var(--space-md);
}

.case-study-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.case-study-hero__tag {
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
}

.case-study-content {
  padding: var(--space-2xl) 0;
}

.case-study-content__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.case-study-content h2 {
  font-size: var(--text-xl);
  font-weight: var(--font-black);
  color: var(--dark);
  margin-bottom: var(--space-md);
  margin-top: var(--space-xl);
}

.case-study-content h2:first-child {
  margin-top: 0;
}

.case-study-content p {
  font-size: var(--text-md);
  line-height: 1.8;
  color: var(--dark-lighter);
  margin-bottom: var(--space-md);
}

.case-study-content__metric {
  background: linear-gradient(135deg, #F0FFF1 0%, #E8F5E9 100%);
  border: 2px solid #50B95A;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
  text-align: center;
}

.case-study-content__metric-value {
  font-size: var(--text-2xl);
  font-weight: var(--font-black);
  color: #50B95A;
}

.case-study-content__metric-label {
  font-size: var(--text-base);
  color: var(--dark-lighter);
}

.case-study-nav {
  background: var(--white);
  border-top: 1px solid var(--gray);
  padding: var(--space-lg) 0;
}

.case-study-nav__container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  justify-content: space-between;
}

.case-study-nav__link {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-study-nav__label {
  font-size: var(--text-sm);
  color: var(--dark-lighter);
}

.case-study-nav__title {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--blue);
}

.case-study-nav__link--next {
  text-align: right;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes float {

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

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   PAGE HERO SECTION (for Services, Case Studies)
   ============================================ */
.page-hero {
  background: var(--blue);
  padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
  text-align: center;
}

.page-hero__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.page-hero__title {
  font-size: var(--text-4xl);
  font-weight: var(--font-black);
  color: var(--white);
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

.page-hero__description {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* ============================================
   SERVICES DETAIL PAGE
   ============================================ */
.services-detail {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.services-detail__container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--gray);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

.service-card--featured {
  border-color: var(--lime);
  background: linear-gradient(135deg, rgba(221, 255, 0, 0.05) 0%, rgba(221, 255, 0, 0.1) 100%);
}

.service-card__badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  padding: 4px 12px;
  background: var(--lime);
  color: var(--dark);
  font-size: var(--text-xs);
  font-weight: var(--font-black);
  border-radius: var(--radius-full);
}

.service-card__icon {
  font-size: var(--text-3xl);
  font-weight: var(--font-black);
  color: var(--blue);
  opacity: 0.2;
  margin-bottom: var(--space-md);
}

.service-card__title {
  font-size: var(--text-xl);
  font-weight: var(--font-black);
  color: var(--dark);
  margin-bottom: var(--space-sm);
}

.service-card__description {
  font-size: var(--text-md);
  color: var(--dark-lighter);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.service-card__list {
  list-style: none;
  padding: 0;
}

.service-card__list li {
  font-size: var(--text-base);
  color: var(--dark);
  padding: var(--space-xs) 0;
  padding-left: var(--space-md);
  position: relative;
}

.service-card__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: var(--font-bold);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
  background: #F5F7FA;
  padding: var(--space-3xl) 0;
}

.process-section__container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.process-section__title {
  font-size: var(--text-3xl);
  font-weight: var(--font-black);
  color: var(--dark);
  text-align: center;
  margin-bottom: var(--space-sm);
}

.process-section__subtitle {
  font-size: var(--text-lg);
  color: var(--dark-lighter);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.process-step {
  text-align: center;
}

.process-step__number {
  font-size: var(--text-3xl);
  font-weight: var(--font-black);
  color: var(--blue);
  opacity: 0.3;
  margin-bottom: var(--space-sm);
}

.process-step__title {
  font-size: var(--text-xl);
  font-weight: var(--font-black);
  color: var(--dark);
  margin-bottom: var(--space-sm);
}

.process-step__description {
  font-size: var(--text-base);
  color: var(--dark-lighter);
  line-height: 1.6;
}

/* ============================================
   PORTFOLIO PAGE (case-studies.html variant)
   ============================================ */
.portfolio--page {
  padding-top: var(--space-xl);
}

.portfolio--page .portfolio__showcase--page {
  margin-top: 0;
}

.portfolio--page .portfolio__ui-blob {
  height: 900px;
  max-width: 1300px;
}

@media (max-width: 768px) {
  .portfolio--page .portfolio__ui-blob {
    height: 1000px;
  }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-hero {
  background: var(--blue);
  padding: calc(80px + var(--space-2xl)) 0 var(--space-3xl);
}

.contact-hero__container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-hero__promise {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) 0;
  margin-bottom: var(--space-lg);
}

.contact-hero__promise-icon {
  font-size: var(--text-xl);
}

.contact-hero__promise-text {
  font-size: var(--text-md);
  font-weight: var(--font-bold);
  color: var(--white);
}

.contact-hero__title {
  font-size: var(--text-3xl);
  font-weight: var(--font-black);
  color: var(--white);
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

.contact-hero__description {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-method:hover {
  transform: translateX(4px);
  opacity: 1;
}

.contact-method__icon {
  font-size: 32px;
  flex-shrink: 0;
}

.contact-method__label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  font-weight: var(--font-bold);
}

.contact-method__value {
  font-size: var(--text-md);
  color: var(--white);
  font-weight: var(--font-bold);
}

.contact-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.btn-large {
  padding: 18px 45px;
  font-size: var(--text-lg);
}

.contact-hero__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.info-card {
  padding: var(--space-xl) 0;
}

.info-card__title {
  font-size: var(--text-xl);
  font-weight: var(--font-black);
  color: var(--white);
  margin-bottom: var(--space-md);
}

.info-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.info-card__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.85);
}

.info-card__icon {
  flex-shrink: 0;
  font-size: var(--text-lg);
}

.info-card__text {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.info-card__text strong {
  color: var(--white);
  font-weight: var(--font-bold);
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.pricing-section__container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.pricing-section__title {
  font-size: var(--text-3xl);
  font-weight: var(--font-black);
  color: var(--dark);
  text-align: center;
  margin-bottom: var(--space-sm);
}

.pricing-section__subtitle {
  font-size: var(--text-lg);
  color: var(--dark-lighter);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.pricing-card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--gray);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.pricing-card__badge {
  position: absolute;
  top: calc(-1 * var(--space-sm));
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--blue);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: var(--font-black);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card__name {
  font-size: var(--text-xl);
  font-weight: var(--font-black);
  color: var(--dark);
  margin-bottom: 4px;
}

.pricing-card__tagline {
  font-size: var(--text-base);
  color: var(--dark-lighter);
  margin-bottom: var(--space-md);
}

.pricing-card__price {
  font-size: var(--text-2xl);
  font-weight: var(--font-black);
  color: var(--blue);
  margin-bottom: var(--space-sm);
}

.pricing-card__price::before {
  content: '€';
  font-size: var(--text-lg);
}

.pricing-card__best-for {
  font-size: var(--text-base);
  color: var(--dark-lighter);
  line-height: 1.5;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--gray);
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  flex: 1;
}

.pricing-card__features li {
  font-size: var(--text-base);
  color: var(--dark);
  padding: 6px 0;
  padding-left: var(--space-md);
  position: relative;
}

.pricing-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #50B95A;
  font-weight: var(--font-bold);
}

.pricing-card__cta {
  display: block;
  text-align: center;
  padding: 14px;
  margin-top: var(--space-lg);
  border-radius: var(--radius-full);
  font-weight: var(--font-black);
  font-size: var(--text-md);
  transition: all 0.3s ease;
  background: var(--blue);
  color: var(--white);
}

.pricing-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  opacity: 1;
}

.pricing-card--featured .pricing-card__cta {
  background: var(--lime);
  color: var(--dark);
}

.pricing-ongoing {
  text-align: center;
  padding: var(--space-xl);
  background: #F5F7FA;
  border-radius: var(--radius-md);
}

.pricing-ongoing__title {
  font-size: var(--text-xl);
  font-weight: var(--font-black);
  color: var(--dark);
  margin-bottom: var(--space-sm);
}

.pricing-ongoing__description {
  font-size: var(--text-md);
  color: var(--dark-lighter);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   SCOPE SECTION
   ============================================ */
.scope-section {
  padding: var(--space-3xl) 0;
  background: #F5F7FA;
}

.scope-section__container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.scope-section__title {
  font-size: var(--text-3xl);
  font-weight: var(--font-black);
  color: var(--dark);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.scope-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.scope-card__title {
  font-size: var(--text-xl);
  font-weight: var(--font-black);
  margin-bottom: var(--space-lg);
}

.scope-card--included .scope-card__title {
  color: #50B95A;
}

.scope-card--addons .scope-card__title {
  color: var(--blue);
}

.scope-card__list {
  list-style: none;
  padding: 0;
}

.scope-card__list li {
  font-size: var(--text-base);
  color: var(--dark-lighter);
  padding: var(--space-xs) 0;
  padding-left: var(--space-md);
  position: relative;
  line-height: 1.5;
}

.scope-card--included .scope-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #50B95A;
  font-weight: var(--font-bold);
}

.scope-card--addons .scope-card__list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: var(--font-bold);
}

/* ============================================
   FAQ SECTION
   ============================================ */

/* ============================================
   SERVICES PAGE — BLUE THEME OVERRIDES
   ============================================ */
.page--services {
  background: var(--blue);
}

.page--services .services-detail {
  background: var(--blue);
}

.page--services .service-card {
  background: transparent;
  border: none;
}

.page--services .service-card--featured {
  background: transparent;
  border: none;
}

.page--services .service-card__title {
  color: var(--lime);
}

.page--services .service-card__description {
  color: var(--lime);
}

.page--services .service-card__list li {
  color: var(--lime);
}

.page--services .service-card__list li::before {
  color: var(--lime);
}

.page--services .process-section {
  background: transparent;
}

/* ============================================
   SERVICES PAGE — STACKED BLOB CARDS
   ============================================ */
.svcs-stack {
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) 0;
}

.svcs-stack__container {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  min-height: 1200px;
}

.svcs-stack__blobs {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.svcs-stack__blob {
  position: absolute;
}

.svcs-stack__blob--1 {
  top: 0;
  left: 2%;
  width: 65%;
  max-width: 950px;
}

.svcs-stack__blob--2 {
  top: 25%;
  right: 0;
  width: 55%;
  max-width: 800px;
}

.svcs-stack__blob--3 {
  bottom: 0;
  left: 2%;
  width: 55%;
  max-width: 750px;
}

.svcs-stack__contents {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.svcs-stack__content {
  position: absolute;
  padding: var(--space-xl);
}

.svcs-stack__title {
  font-size: var(--text-2xl);
  font-weight: var(--font-black);
  color: var(--blue);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.svcs-stack__text {
  font-weight: var(--font-light);
  font-size: var(--text-md);
  line-height: 27px;
  text-align: center;
  color: var(--blue);
  margin-bottom: var(--space-sm);
}

.svcs-stack__text:last-child {
  margin-bottom: 0;
}

.svcs-stack__content--1 {
  top: 8%;
  left: 8%;
  width: 45%;
  max-width: 550px;
}

.svcs-stack__content--2 {
  top: 35%;
  right: 5%;
  width: 40%;
  max-width: 480px;
}

.svcs-stack__content--3 {
  bottom: 10%;
  left: 8%;
  width: 40%;
  max-width: 460px;
}

@media (max-width: 992px) {
  .svcs-stack__container {
    min-height: 1000px;
  }

  .svcs-stack__blob--1 {
    width: 70%;
  }

  .svcs-stack__blob--2 {
    width: 65%;
  }

  .svcs-stack__blob--3 {
    width: 65%;
  }

  .svcs-stack__content--1 {
    width: 50%;
  }

  .svcs-stack__content--2 {
    width: 45%;
  }

  .svcs-stack__content--3 {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .svcs-stack {
    padding: var(--space-xl) 0;
  }

  .svcs-stack__container {
    min-height: auto;
    padding: 0 var(--space-sm);
  }

  /* Blobs don't translate to mobile — replace with card backgrounds */
  .svcs-stack__blobs {
    display: none;
  }

  /* Stack content blocks vertically as white cards */
  .svcs-stack__contents {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }

  .svcs-stack__content {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: none;
    background: var(--white);
    border-radius: 30px;
    padding: var(--space-xl) var(--space-lg);
  }

  .svcs-stack__title {
    font-size: var(--text-xl);
  }

  .svcs-stack__text {
    font-size: var(--text-base);
    line-height: 1.6;
  }
}

.page--services .process-section__title {
  color: var(--white);
}

.page--services .process-section__subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.page--services .cta-section {
  background: var(--white);
}

.page--services .footer {
  background: var(--white);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1200px) {
  :root {
    --text-5xl: 48px;
    --text-4xl: 40px;
  }

  .hero__content {
    padding-left: 80px;
  }

  .services__shape--lime {
    right: -400px;
  }
}

@media (max-width: 992px) {
  :root {
    --text-5xl: 42px;
    --text-4xl: 36px;
    --text-3xl: 32px;
  }

  .hero__name {
    display: none;
  }

  .hero__content {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    max-width: 100%;
    text-align: center;
    align-items: center;
  }

  .hero__headline {
    font-size: 64px;
    line-height: 68px;
  }

  .services__shape--lime {
    display: none;
  }

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

  .footer__nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 36px;
    --text-4xl: 30px;
    --text-3xl: 26px;
    --text-2xl: 24px;
  }

  .hero {
    height: auto;
    min-height: 100vh;
    padding: var(--space-xl) 0;
    padding-top: 80px;
  }

  .hero__headline {
    font-size: 60px;
    line-height: 64px;
  }

  .hero__blob {
    width: 500px;
    left: -250px;
    max-width: none;
    
  }

  .hero__cta .pill-badge {
    transform: none;
  }

  .hero__logos {
    gap: var(--space-md);
  }

  .services__item {
    font-size: var(--text-2xl);
  }

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

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

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Services page responsive */
  .page-hero {
    padding: calc(80px + var(--space-lg)) 0 var(--space-xl);
  }

  .page-hero__title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-sm);
  }

  .page-hero__description {
    font-size: var(--text-base);
  }

  .services-detail__container {
    grid-template-columns: 1fr;
    padding: 0 var(--space-sm);
  }

  .service-card {
    padding: var(--space-lg);
  }

  .process-section__container {
    padding: 0 var(--space-sm);
  }

  .process-section__title {
    font-size: var(--text-2xl);
  }

  .process-section__subtitle {
    font-size: var(--text-base);
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .contact-hero__container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .contact-cta {
    flex-direction: column;
  }

  .contact-cta .btn {
    width: 100%;
  }


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

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

@media (max-width: 480px) {
  :root {
    --text-5xl: 30px;
    --text-4xl: 26px;
  }

  .hero__headline {
    font-size: 48px;
    line-height: 52px;
  }

  .btn {
    width: 100%;
    padding: 15px 30px;
  }

  .pill-badge {
    padding: 12px 24px;
    font-size: var(--text-base);
  }

  .hero__shape--pink {
    width: 500px;
    height: 500px;
    left: -200px;
    top: -100px;
  }
}