/* ============================================
   ACCURISM SOLUTIONS — Premium Stylesheet
   ============================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Brand Colors */
  --primary: #1f6fb2;
  --primary-dark: #0d3b66;
  --primary-light: #e8f4fd;
  --primary-rgb: 31, 111, 178;
  --accent: #2a9d8f;
  --accent-dark: #1f7a6f;
  --accent-rgb: 42, 157, 143;

  /* Gradient System */
  --gradient-primary: linear-gradient(135deg, #1f6fb2 0%, #0d3b66 100%);
  --gradient-accent: linear-gradient(135deg, #2a9d8f 0%, #1f6fb2 100%);
  --gradient-hero: linear-gradient(135deg, #0d3b66 0%, #1f6fb2 40%, #2a9d8f 100%);
  --gradient-glow: linear-gradient(135deg, rgba(31, 111, 178, 0.12) 0%, rgba(42, 157, 143, 0.08) 100%);
  --gradient-card: linear-gradient(135deg, rgba(31, 111, 178, 0.03) 0%, rgba(42, 157, 143, 0.03) 100%);

  /* Neutrals */
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #ffffff;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #0a1628;
  --bg-darker: #060e1a;
  --border: #e2e8f0;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.75rem;
  --font-size-5xl: 3.75rem;

  /* Spacing */
  --section-padding: 7rem 0;
  --container-max: 1200px;
  --container-padding: 0 1.5rem;

  /* Shadows — layered for depth */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 10px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.06), 0 20px 48px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.08), 0 40px 64px rgba(0,0,0,0.1);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 14px 36px rgba(0,0,0,0.1), 0 30px 60px rgba(0,0,0,0.08);
  --shadow-glow: 0 0 40px rgba(31, 111, 178, 0.15);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-index */
  --z-nav: 1000;
  --z-overlay: 900;
}


/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(var(--primary-rgb), 0.15);
  color: var(--primary-dark);
}

.hero ::selection,
.page-hero ::selection,
.cta ::selection,
.footer ::selection,
.nav:not(.scrolled) ::selection,
.partners-hero ::selection,
.partners-ecosystem ::selection {
  background: rgba(var(--accent-rgb), 0.4);
  color: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; font-size: inherit; }

.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--primary); color: var(--text-light);
  padding: 0.5rem 1rem; border-radius: var(--radius-sm);
  z-index: 9999; transition: top var(--transition-fast);
}
.skip-link:focus { top: 0.5rem; color: var(--text-light); }


/* ===== CONTAINER ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
  overflow-wrap: break-word;
  word-wrap: break-word;
}


/* ===== SECTION SHARED ===== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  background: rgba(var(--primary-rgb), 0.07);
  border-radius: var(--radius-full);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: tagPulse 2s ease-in-out infinite;
}

@keyframes tagPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-title--left { text-align: left; }

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 3.5rem;
  line-height: 1.8;
}

.services__header,
.why__header,
.process__header,
.testimonials__header,
.tools__header,
.results__header,
.portfolio__header,
.insights__header,
.faq__header,
.industries__header {
  text-align: center;
  margin-bottom: 4rem;
}

.process__header { margin-top: 4rem; }


/* ===== BUTTONS — Shimmer + gradient ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--font-size-base);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Shimmer sweep */
.btn::after {
  content: '';
  position: absolute;
  top: -50%; left: -75%; width: 50%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  z-index: -1;
}
.btn:hover::after { left: 125%; }

.btn--primary {
  background: var(--gradient-primary);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #2a9d8f 0%, #1f6fb2 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(42, 157, 143, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.3);
}

.btn--white {
  background: #ffffff;
  color: var(--primary-dark);
  border-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}
.btn--white:hover {
  background: #2a9d8f;
  color: #fff;
  border-color: #2a9d8f;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(42, 157, 143, 0.4);
}

.btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  transform: translateY(-3px);
}

.btn--lg { padding: 1.1rem 2.5rem; font-size: var(--font-size-lg); }
.btn--full { width: 100%; }

.btn .btn-arrow {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform var(--transition-base);
}
.btn:hover .btn-arrow { transform: translateX(4px); }


/* ===== NAVIGATION — Glassmorphism ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  transition: all var(--transition-slow);
  background: transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 4px 20px rgba(0,0,0,0.03);
}

.nav__container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.nav.scrolled .nav__container {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.nav__logo { flex-shrink: 0; }
.nav__menu { flex: 1 1 0%; display: flex; justify-content: center; min-width: 0; }

.nav__logo img { height: 44px; width: auto; transition: all var(--transition-fast); }
.nav__logo:hover img { opacity: 0.8; }

.nav__list { display: flex; align-items: center; gap: 0.15rem; }

.nav__link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: var(--font-size-sm);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
}

/* Animated underline */
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  width: 0; height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.nav__link:hover,
.nav__link.active { color: #ffffff; }
.nav__link.active::after,
.nav__link:hover::after { width: 55%; }

/* Scrolled state: dark links */
.nav.scrolled .nav__link { color: var(--text-body); }
.nav.scrolled .nav__link:hover,
.nav.scrolled .nav__link.active { color: var(--primary); }

.nav__cta { font-size: var(--font-size-sm); padding: 0.6rem 1.5rem; flex-shrink: 0; height: 40px; }

/* Nav partner badge */
.nav__partner {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.45rem 1rem;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(42, 157, 143, 0.4);
  background: rgba(42, 157, 143, 0.15);
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.nav__partner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: partnerShimmer 4s ease-in-out infinite;
}
@keyframes partnerShimmer {
  0%, 70% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.nav__partner:hover {
  background: rgba(42, 157, 143, 0.25);
  border-color: rgba(42, 157, 143, 0.6);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(42, 157, 143, 0.2);
}
.nav__partner svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Scrolled state: partner badge */
.nav.scrolled .nav__partner {
  color: var(--accent-dark);
  border-color: rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.1);
}
.nav.scrolled .nav__partner:hover {
  background: rgba(var(--accent-rgb), 0.18);
  border-color: rgba(var(--accent-rgb), 0.5);
  color: var(--accent-dark);
  box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.15);
}

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 0.5rem; z-index: calc(var(--z-nav) + 1);
}
.nav__toggle-bar {
  display: block; width: 24px; height: 2px;
  background: rgba(255, 255, 255, 0.9); border-radius: 2px;
  transition: all var(--transition-fast);
}
.nav.scrolled .nav__toggle-bar { background: var(--text-dark); }
.nav__toggle.active .nav__toggle-bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle.active .nav__toggle-bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Logo state — show white logo on hero, dark logo on scroll */
.nav__logo-dark { display: none; }
.nav__logo-light { display: block; }
.nav.scrolled .nav__logo-dark { display: block; }
.nav.scrolled .nav__logo-light { display: none; }


/* ===== HERO — Bold dark gradient ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
  background: linear-gradient(135deg, #0d2137 0%, #0d3b66 35%, #1a5a8a 65%, #1b7a6e 100%);
  color: var(--text-light);
}

/* Animated gradient mesh */
.hero__bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}

.hero__bg-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(42, 157, 143, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(31, 111, 178, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 90%, rgba(42, 157, 143, 0.1) 0%, transparent 50%);
  animation: gradientShift 15s ease-in-out infinite alternate;
}

@keyframes gradientShift {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-3%, 2%) scale(1.02); }
  66% { transform: translate(2%, -2%) scale(0.98); }
  100% { transform: translate(-1%, 1%) scale(1.01); }
}

/* Dot grid pattern */
.hero__bg-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
}

/* Soft colour orbs */
.hero__orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.4;
  animation: orbFloat 20s ease-in-out infinite;
}
.hero__orb--1 {
  width: 500px; height: 500px;
  background: rgba(42, 157, 143, 0.35);
  top: -100px; right: -50px;
}
.hero__orb--2 {
  width: 400px; height: 400px;
  background: rgba(31, 111, 178, 0.3);
  bottom: -80px; left: -40px;
  animation-delay: -7s;
}
.hero__orb--3 {
  width: 250px; height: 250px;
  background: rgba(42, 157, 143, 0.2);
  top: 40%; left: 40%;
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(30px, -40px); }
  50% { transform: translate(-20px, 20px); }
  75% { transform: translate(40px, 30px); }
}

/* ===== Animated geometric shapes ===== */
.hero__geo {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  z-index: 0;
}

/* Rotating ring — top right */
.hero__geo--1 {
  width: 180px; height: 180px;
  border-radius: 50%;
  border-color: rgba(255, 255, 255, 0.06);
  border-style: dashed;
  top: 8%; right: 8%;
  animation: geoSpin 40s linear infinite;
}

/* Hexagon outline — left */
.hero__geo--2 {
  width: 100px; height: 100px;
  border: none;
  top: 25%; left: 5%;
  background: none;
  animation: geoFloat 18s ease-in-out infinite;
}
.hero__geo--2::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.07);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Small square — top left */
.hero__geo--3 {
  width: 40px; height: 40px;
  border-color: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  top: 15%; left: 18%;
  animation: geoSpin 25s linear infinite reverse, geoFloat 14s ease-in-out infinite;
}

/* Diamond — bottom right */
.hero__geo--4 {
  width: 60px; height: 60px;
  border-color: rgba(255, 255, 255, 0.06);
  bottom: 18%; right: 15%;
  transform: rotate(45deg);
  animation: geoFloat 16s ease-in-out infinite;
  animation-delay: -5s;
}

/* Triangle — centre right */
.hero__geo--5 {
  width: 0; height: 0;
  border: none;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 60px solid rgba(255, 255, 255, 0.04);
  top: 55%; right: 5%;
  animation: geoFloat 20s ease-in-out infinite;
  animation-delay: -8s;
}

/* Circle — bottom left */
.hero__geo--6 {
  width: 24px; height: 24px;
  border-radius: 50%;
  border-color: rgba(255, 255, 255, 0.08);
  bottom: 25%; left: 12%;
  animation: geoFloat 12s ease-in-out infinite;
  animation-delay: -3s;
}

/* Cross / plus — top centre */
.hero__geo--7 {
  width: 50px; height: 50px;
  border: none;
  top: 10%; left: 42%;
  animation: geoSpin 35s linear infinite, geoFloat 22s ease-in-out infinite;
  animation-delay: -10s;
}
.hero__geo--7::before,
.hero__geo--7::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
}
.hero__geo--7::before {
  width: 2px; height: 100%;
  left: 50%; transform: translateX(-50%);
}
.hero__geo--7::after {
  width: 100%; height: 2px;
  top: 50%; transform: translateY(-50%);
}

/* Large ring — bottom centre */
.hero__geo--8 {
  width: 280px; height: 280px;
  border-radius: 50%;
  border-color: rgba(255, 255, 255, 0.03);
  bottom: -60px; left: 35%;
  animation: geoSpin 50s linear infinite reverse;
}

@keyframes geoSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes geoFloat {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(-20px); opacity: 1; }
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__headline { margin-bottom: 1.75rem; }

.hero__title {
  font-size: var(--font-size-4xl);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.2;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.hero__rotator {
  display: block; position: relative;
  height: 5rem; overflow: hidden;
}

.hero__rotator-word {
  display: block;
  font-size: var(--font-size-5xl);
  font-weight: 800;
  line-height: 1.1;
  position: absolute; top: 0; left: 0; width: 100%;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  /* Gradient text */
  background: linear-gradient(135deg, #5cc6ba 0%, #7dd3c8 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}
.hero__rotator-word.active { opacity: 1; transform: translateY(0); }
.hero__rotator-word.exit { opacity: 0; transform: translateY(-40px); }

.hero__subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__visual { position: relative; }

.hero__visual img {
  width: 100%; max-width: 580px; margin: 0 auto;
  animation: heroFloat 8s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08));
}

/* Glow ring behind illustration */
.hero__visual::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 85%; height: 85%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 157, 143, 0.12) 0%, transparent 70%);
  filter: blur(40px);
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.35);
  font-size: var(--font-size-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 1;
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}


/* ===== TRUST BAR — Floating cards ===== */
.trust {
  padding: 0;
  position: relative;
  z-index: 2;
  margin-top: -4rem;
}

.trust__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.trust__item {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--bg-white);
  transition: all var(--transition-base);
  position: relative;
}
.trust__item:hover { background: var(--primary-light); }

.trust__item::after {
  content: '';
  position: absolute; bottom: 0; left: 50%;
  width: 0; height: 3px;
  background: var(--gradient-accent);
  transition: all var(--transition-base);
  transform: translateX(-50%);
  border-radius: 3px 3px 0 0;
}
.trust__item:hover::after { width: 40%; }

.trust__number {
  display: inline;
  font-size: var(--font-size-4xl);
  font-weight: 800;
  line-height: 1;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.trust__plus {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--primary);
}

.trust__label {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-weight: 500;
}


/* ===== WHY ACCURISM — Premium cards ===== */
.why {
  padding: var(--section-padding);
  background: var(--bg-white);
  position: relative;
}

/* Subtle dot pattern */
.why::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(var(--primary-rgb), 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.why__card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
}

/* Gradient top bar on hover */
.why__card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-spring);
}

/* Glow on hover */
.why__card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 100%;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none; z-index: 0;
}

.why__card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(var(--primary-rgb), 0.15);
}
.why__card:hover::before { transform: scaleX(1); }
.why__card:hover::after { opacity: 1; }

.why__card-icon {
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--primary-rgb), 0.07);
  border-radius: var(--radius-md);
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: all var(--transition-spring);
  position: relative; z-index: 1;
}

.why__card:hover .why__card-icon {
  background: var(--gradient-primary);
  color: var(--text-light);
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
}

.why__card-title {
  font-size: var(--font-size-xl); font-weight: 700;
  color: var(--text-dark); margin-bottom: 0.75rem;
  position: relative; z-index: 1;
}
.why__card-text {
  color: var(--text-muted); line-height: 1.7;
  position: relative; z-index: 1;
}


/* ===== SERVICES — Elevated cards ===== */
.services {
  padding: var(--section-padding);
  background: var(--bg-light);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.services__card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-spring);
  position: relative;
  border: 1px solid var(--border);
  overflow: hidden;
}

/* Corner glow */
.services__card::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--gradient-glow);
  transition: all var(--transition-slow);
  opacity: 0;
}

.services__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(var(--primary-rgb), 0.12);
}
.services__card:hover::before { opacity: 1; transform: scale(1.5); }

.services__card-badge {
  display: inline-block;
  font-size: var(--font-size-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--text-light);
  margin-bottom: 1.25rem;
}
.services__card-badge--alt { background: var(--gradient-accent); }

.services__card-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--primary-rgb), 0.07);
  border-radius: var(--radius-md);
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: all var(--transition-base);
}

.services__card:hover .services__card-icon {
  background: rgba(var(--primary-rgb), 0.12);
  transform: scale(1.05);
}

.services__card-title {
  font-size: var(--font-size-xl); font-weight: 700;
  color: var(--text-dark); margin-bottom: 0.75rem;
}
.services__card-text {
  color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.7;
}

.services__card-includes { margin-bottom: 1.5rem; padding-left: 0; }
.services__card-includes li {
  position: relative; padding-left: 1.75rem; margin-bottom: 0.5rem;
  font-size: var(--font-size-sm); color: var(--text-body);
}
.services__card-includes li::before {
  content: '';
  position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gradient-accent);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.3);
}

.services__card-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: var(--font-size-sm);
  color: var(--primary); transition: all var(--transition-fast);
}
.services__card-link:hover { gap: 0.85rem; color: var(--primary-dark); }
.services__card-link span { transition: transform var(--transition-fast); }
.services__card-link:hover span { transform: translateX(4px); }


/* ===== PROCESS — Premium timeline ===== */
.process {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.process__timeline {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
}

/* Connecting line */
.process__timeline::before {
  content: '';
  position: absolute; top: 50%; left: 5%; right: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
  z-index: 0;
}

.process__step {
  flex: 1;
  min-width: 240px; max-width: 340px;
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition-spring);
  position: relative; z-index: 1;
}
.process__step:hover {
  border-color: rgba(var(--primary-rgb), 0.2);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-8px);
}

.process__step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--text-light);
  font-size: var(--font-size-xl); font-weight: 800;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
  transition: all var(--transition-base);
}
.process__step:hover .process__step-number {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(var(--primary-rgb), 0.4);
}

.process__step-title {
  font-size: var(--font-size-lg); font-weight: 700;
  color: var(--text-dark); margin-bottom: 0.75rem;
}
.process__step-text {
  color: var(--text-muted); font-size: var(--font-size-sm); line-height: 1.7;
}

.process__connector {
  display: flex; align-items: center;
  color: var(--primary); opacity: 0.3; z-index: 1;
}


/* ===== ABOUT — Split with depth ===== */
.about {
  padding: var(--section-padding);
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about__visual { position: relative; }
.about__visual img {
  border-radius: var(--radius-xl);
  width: 100%; max-width: 520px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08));
}

/* Decorative frame */
.about__visual::before {
  content: '';
  position: absolute; top: -16px; left: -16px; right: 16px; bottom: 16px;
  border: 2px solid rgba(var(--primary-rgb), 0.1);
  border-radius: var(--radius-xl);
  pointer-events: none;
}

.about__text { color: var(--text-body); margin-bottom: 1.25rem; line-height: 1.8; }

.about__highlights {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.75rem; margin: 2rem 0;
}
.about__highlight {
  display: flex; align-items: center; gap: 0.75rem;
  font-weight: 600; font-size: var(--font-size-sm);
  color: var(--text-dark); padding: 0.5rem 0;
}
.about__highlight svg { color: var(--accent); flex-shrink: 0; }


/* ===== TESTIMONIALS — Card-based ===== */
.testimonials {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.testimonials__carousel {
  max-width: 760px; margin: 0 auto; position: relative;
}

.testimonials__track {
  position: relative; overflow: hidden; min-height: 340px;
}

.testimonials__slide {
  position: absolute; inset: 0;
  opacity: 0; transform: translateX(40px) scale(0.98);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column; justify-content: center;
  pointer-events: none;
}
.testimonials__slide.active {
  opacity: 1; transform: translateX(0) scale(1);
  position: relative; pointer-events: auto;
}
.testimonials__slide.exit {
  opacity: 0; transform: translateX(-40px) scale(0.98);
}

.testimonials__quote {
  text-align: center; position: relative;
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.testimonials__quote-icon {
  color: rgba(var(--primary-rgb), 0.1);
  margin: 0 auto 1rem; display: block;
}
.testimonials__quote p {
  font-size: var(--font-size-lg);
  color: var(--text-dark);
  line-height: 1.9;
  font-style: italic;
}

/* Star rating */
.testimonials__stars {
  display: flex; justify-content: center; gap: 0.25rem;
  margin-bottom: 1.25rem;
}
.testimonials__stars svg { width: 20px; height: 20px; fill: #f59e0b; color: #f59e0b; }

.testimonials__author {
  display: flex; align-items: center;
  justify-content: center; gap: 1rem; margin-top: 2rem;
}

.testimonials__author-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light);
  font-weight: 700; font-size: var(--font-size-lg);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}

.testimonials__author-info { text-align: left; }
.testimonials__author-info strong { display: block; color: var(--text-dark); font-weight: 700; }
.testimonials__author-info span { font-size: var(--font-size-sm); color: var(--text-muted); }

.testimonials__nav {
  display: flex; justify-content: center;
  gap: 0.75rem; margin-top: 2.5rem;
}
.testimonials__dot {
  width: 10px; height: 10px;
  border-radius: 50%; background: var(--border);
  transition: all var(--transition-base); padding: 0;
}
.testimonials__dot.active {
  background: var(--gradient-primary);
  width: 32px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}
.testimonials__dot:hover { background: var(--primary); opacity: 0.7; }


/* ===== TOOLS TICKER ===== */
.tools {
  padding: var(--section-padding);
  background: var(--bg-light);
  overflow: hidden;
}

.tools__ticker {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.tools__ticker-track {
  display: flex; gap: 1.5rem;
  animation: tickerScroll 30s linear infinite;
  width: max-content;
}

.tools__ticker-item {
  display: flex; align-items: center; justify-content: center;
  padding: 1rem 2.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}
.tools__ticker-item:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: var(--shadow-md), 0 0 20px rgba(var(--primary-rgb), 0.08);
  transform: translateY(-2px);
}
.tools__ticker-item span {
  font-weight: 600; font-size: var(--font-size-sm); color: var(--text-dark);
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ===== CTA — Immersive dark ===== */
.cta {
  padding: 6rem 0;
  background: var(--bg-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta__bg-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.3;
}
.cta__bg-orb--1 {
  width: 400px; height: 400px;
  background: rgba(31, 111, 178, 0.4);
  top: -200px; right: -100px;
  animation: orbFloat 15s ease-in-out infinite;
}
.cta__bg-orb--2 {
  width: 350px; height: 350px;
  background: rgba(42, 157, 143, 0.3);
  bottom: -150px; left: -100px;
  animation: orbFloat 18s ease-in-out infinite reverse;
}

.cta__container { position: relative; z-index: 1; }

.cta__title {
  font-size: var(--font-size-4xl); font-weight: 800;
  color: var(--text-light); margin-bottom: 1.25rem;
  line-height: 1.15; letter-spacing: -0.02em;
}
.cta__text {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2.5rem;
  max-width: 560px; margin-left: auto; margin-right: auto;
  line-height: 1.8;
}


/* ===== CONTACT — Premium form ===== */
.contact {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: flex-start;
}

.contact__text {
  color: var(--text-muted); margin-bottom: 2.5rem; line-height: 1.8;
}

.contact__details {
  display: flex; flex-direction: column; gap: 1.75rem;
}

.contact__detail {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem; border-radius: var(--radius-md);
  transition: all var(--transition-spring);
  border: 1px solid transparent;
}
.contact__detail:hover {
  background: var(--bg-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(var(--primary-rgb), 0.1);
}

.contact__detail svg {
  color: var(--primary); flex-shrink: 0; margin-top: 0.2rem;
}
.contact__detail strong {
  display: block; color: var(--text-dark);
  font-weight: 600; margin-bottom: 0.25rem;
}
.contact__detail a,
.contact__detail span {
  color: var(--text-muted); font-size: var(--font-size-sm); line-height: 1.6;
}
.contact__detail a:hover { color: var(--primary); }

/* When the entire contact__detail block is itself an <a> tag */
a.contact__detail {
  text-decoration: none;
  cursor: pointer;
  color: inherit;
}

/* Highlighted contact detail (email) */
.contact__detail--highlight {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.04) 0%, rgba(var(--accent-rgb), 0.04) 100%);
  border-color: rgba(var(--primary-rgb), 0.12);
  position: relative;
}
.contact__detail--highlight::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--gradient-accent);
  border-radius: 3px 0 0 3px;
}
.contact__detail--highlight a {
  color: var(--primary);
  font-weight: 600;
  font-size: var(--font-size-base);
}
.contact__detail--highlight:hover {
  border-color: rgba(var(--primary-rgb), 0.2);
  box-shadow: var(--shadow-card), 0 0 20px rgba(var(--primary-rgb), 0.08);
}

/* Form */
.contact__form-wrapper {
  background: var(--bg-white);
  padding: 2.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
}

/* Decorative gradient top line */
.contact__form-wrapper::before {
  content: '';
  position: absolute; top: 0; left: 2rem; right: 2rem;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 0 0 3px 3px;
}

.contact__form-group { margin-bottom: 1.5rem; }
.contact__form-group label {
  display: block; font-weight: 600;
  font-size: var(--font-size-sm);
  color: var(--text-dark); margin-bottom: 0.5rem;
}
.contact__form-group input,
.contact__form-group textarea {
  width: 100%; padding: 0.95rem 1.15rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-light);
  color: var(--text-dark);
  transition: all var(--transition-fast);
  outline: none;
}
.contact__form-group input:focus,
.contact__form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
  background: var(--bg-white);
}
.contact__form-group input::placeholder,
.contact__form-group textarea::placeholder {
  color: var(--text-muted); opacity: 0.6;
}
.contact__form-group textarea { resize: vertical; min-height: 130px; }

.contact__form-note {
  text-align: center; font-size: var(--font-size-sm);
  color: var(--text-muted); margin-top: 1rem;
}


/* ===== FOOTER — Light professional ===== */
.footer {
  background: #1e293b;
  color: rgba(255, 255, 255, 0.75);
  padding: 5rem 0 0;
  position: relative;
}

/* Top gradient line */
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.3), rgba(var(--accent-rgb), 0.3), transparent);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 2.5fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__brand img { height: 36px; width: auto; margin-bottom: 1.25rem; }
.footer__tagline {
  font-size: var(--font-size-sm); line-height: 1.8;
  max-width: 320px; opacity: 0.7;
}

.footer__links {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.footer__col h4 {
  color: var(--text-light);
  font-size: var(--font-size-sm); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  position: relative;
}
.footer__col h4::after {
  content: '';
  position: absolute; bottom: -0.5rem; left: 0;
  width: 24px; height: 2px;
  background: var(--gradient-accent); border-radius: 2px;
}
.footer__col ul li { margin-bottom: 0.7rem; }
.footer__col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
  transition: all var(--transition-fast);
}
.footer__col a:hover { color: var(--text-light); padding-left: 4px; }

.footer__bottom {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding: 2rem 0;
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.45);
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { color: rgba(255, 255, 255, 0.5); }
.footer__legal a:hover { color: var(--text-light); }
.footer__credit a { color: rgba(255, 255, 255, 0.5); }
.footer__credit a:hover { color: var(--text-light); }


/* ===== PAGE HERO — Inner pages ===== */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #0d2137 0%, #0d3b66 35%, #1a5a8a 65%, #1b7a6e 100%);
  padding: 10rem 0 5rem;
  overflow: hidden;
  text-align: center;
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.page-hero__container {
  position: relative; z-index: 1;
}
.page-hero__title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--text-light);
  margin-top: 1rem;
  line-height: 1.2;
}
.page-hero__subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 1rem auto 0;
  line-height: 1.6;
}


/* ===== PARTNER BADGE ===== */
.partner-badge {
  padding: 2rem 0 1rem;
}
.partner-badge__container {
  display: flex;
  justify-content: center;
}
.partner-badge__link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.5rem;
  background: var(--bg-white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-spring);
  text-decoration: none;
}
.partner-badge__link:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), 0.2);
  transform: translateY(-2px);
}
.partner-badge__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
}
.partner-badge__text {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-heading);
}
.partner-badge__arrow {
  font-size: var(--font-size-sm);
  color: var(--primary);
  transition: transform var(--transition-base);
}
.partner-badge__link:hover .partner-badge__arrow {
  transform: translateX(3px);
}


/* ===== PORTFOLIO ===== */
.portfolio {
  padding: var(--section-padding);
  background: var(--bg-white);
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.portfolio__card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all var(--transition-spring);
  position: relative;
}
.portfolio__card::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--gradient-glow);
  transition: all var(--transition-slow);
  opacity: 0;
  z-index: 1;
}
.portfolio__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(var(--primary-rgb), 0.12);
}
.portfolio__card:hover::before { opacity: 1; transform: scale(1.5); }
.portfolio__card-image {
  height: 200px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  overflow: hidden;
}
.portfolio__card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  z-index: 0;
}
.portfolio__card-image .portfolio__card-tag {
  position: relative;
  z-index: 1;
}
.portfolio__card-image--1 { background: linear-gradient(135deg, #1f6fb2 0%, #0d3b66 100%); }
.portfolio__card-image--2 { background: linear-gradient(135deg, #2a9d8f 0%, #1f6fb2 100%); }
.portfolio__card-image--3 { background: linear-gradient(135deg, #0d3b66 0%, #2a9d8f 100%); }
.portfolio__card-image--4 { background: linear-gradient(135deg, #1f6fb2 0%, #2a9d8f 50%, #0d3b66 100%); }
.portfolio__card-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.portfolio__card-body {
  padding: 1.75rem;
}
.portfolio__card-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.portfolio__card-text {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.portfolio__card-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.portfolio__card-tools span {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  background: rgba(var(--primary-rgb), 0.06);
  color: var(--primary);
  border-radius: 100px;
  font-size: var(--font-size-xs);
  font-weight: 600;
}


/* ===== ARTICLE — Full article pages ===== */
.page-hero--compact {
  padding: 9rem 0 4rem;
}
.article__back {
  display: inline-block;
  color: rgba(255,255,255,0.6);
  font-size: var(--font-size-sm);
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: color var(--transition-base);
}
.article__back:hover {
  color: #ffffff;
}
.article__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.5);
}
.article__content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.article__lead {
  font-size: var(--font-size-lg);
  color: var(--text-heading);
  line-height: 1.75;
  margin-bottom: 2rem;
  font-weight: 400;
}
.article__content h2 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.article__content h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.article__content p {
  font-size: var(--font-size-base);
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.article__content ul,
.article__content ol {
  margin: 1rem 0 1.5rem 1.25rem;
  color: var(--text-body);
  line-height: 1.8;
}
.article__content li {
  margin-bottom: 0.5rem;
  font-size: var(--font-size-base);
}
.article__content code {
  background: rgba(var(--primary-rgb), 0.06);
  color: var(--primary-dark);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  font-family: 'Courier New', monospace;
}
.article__content a {
  color: var(--primary);
  font-weight: 500;
}
.article__content a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}
.article__content a.btn {
  color: var(--text-light);
  text-decoration: none;
}
.article__content a.btn:hover {
  color: var(--text-light);
  text-decoration: none;
}
.article__cta-box {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
}
.article__cta-box h3 {
  font-size: var(--font-size-xl);
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.article__cta-box p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}


/* ===== CLIENTS — Logo band ===== */
.clients {
  padding: 3rem 0;
}
.clients__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}
.clients__logo {
  opacity: 0.35;
  filter: grayscale(1);
  transition: all var(--transition-base);
  max-height: 36px;
}
.clients__logo:hover {
  opacity: 0.8;
  filter: grayscale(0);
}


/* ===== RESULTS — Case study cards ===== */
.results {
  padding: var(--section-padding);
  background: var(--bg-light);
}
.results__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.results__card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
}
.results__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.results__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.results__card-industry {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.results__card-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.results__card-text {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.results__card-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.results__metric {
  text-align: center;
}
.results__metric strong {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.results__metric span {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.results__card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--primary);
  margin-top: 1rem;
}
.results__card-link:hover {
  gap: 0.6rem;
  color: var(--primary-dark);
}


/* ===== INDUSTRIES — Sector grid ===== */
.industries {
  padding: 4rem 0 0;
}
.industries__header {
  text-align: center;
  margin-bottom: 0.5rem;
}
.industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.industries__item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
}
.industries__item::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--gradient-glow);
  transition: all var(--transition-slow);
  opacity: 0;
}
.industries__item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(var(--primary-rgb), 0.12);
}
.industries__item:hover::before { opacity: 1; transform: scale(1.5); }
.industries__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  background: rgba(var(--primary-rgb), 0.07);
  border-radius: var(--radius-md);
  color: var(--primary);
  transition: all var(--transition-base);
}
.industries__item:hover .industries__icon {
  background: rgba(var(--primary-rgb), 0.12);
  transform: scale(1.05);
}
.industries__title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}
.industries__text {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.65;
}


/* ===== INSIGHTS — Article cards ===== */
.insights {
  padding: var(--section-padding);
}
.insights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.insights__card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all var(--transition-spring);
  position: relative;
}
.insights__card::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--gradient-glow);
  transition: all var(--transition-slow);
  opacity: 0;
  z-index: 1;
}
.insights__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(var(--primary-rgb), 0.12);
}
.insights__card:hover::before { opacity: 1; transform: scale(1.5); }
.insights__card-image {
  height: 180px;
  position: relative;
  overflow: hidden;
}
.insights__card-image--1 { background: linear-gradient(135deg, #1f6fb2 0%, #2a9d8f 100%); }
.insights__card-image--2 { background: linear-gradient(135deg, #0d3b66 0%, #1f6fb2 100%); }
.insights__card-image--3 { background: linear-gradient(135deg, #2a9d8f 0%, #0d3b66 100%); }
.insights__card-category {
  position: absolute;
  bottom: 1rem; left: 1rem;
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.insights__card-body {
  padding: 1.75rem;
}
.insights__card-date {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}
.insights__card-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}
.insights__card-text {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.insights__card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--primary);
}
.insights__card-link:hover {
  gap: 0.6rem;
  color: var(--primary-dark);
}

.insights__more {
  text-align: center;
  margin-top: 3rem;
}


/* ===== FAQ — Accordion ===== */
.faq {
  padding: var(--section-padding);
  background: var(--bg-light);
}
.faq__list {
  max-width: 800px;
  margin: 3rem auto 0;
}
.faq__item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all var(--transition-spring);
  position: relative;
}
.faq__item::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--gradient-glow);
  transition: all var(--transition-slow);
  opacity: 0;
}
.faq__item:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(var(--primary-rgb), 0.12);
  transform: translateY(-4px);
}
.faq__item:hover::before { opacity: 1; transform: scale(1.5); }
.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-heading);
  text-align: left;
  gap: 1rem;
  transition: background var(--transition-base);
}
.faq__question:hover {
  background: rgba(0,0,0,0.01);
}
.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary);
  transition: transform var(--transition-spring);
}
.faq__item.active .faq__icon {
  transform: rotate(45deg);
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq__answer-inner,
.faq__answer p {
  padding: 0 1.5rem 1.5rem;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.7;
}
.faq__item.active .faq__answer {
  max-height: 300px;
}


/* ===== SERVICE DETAIL — Services page ===== */
.service-detail {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  transition: box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}
.service-detail::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.service-detail:hover {
  box-shadow: var(--shadow-xl);
}
.service-detail__badge {
  display: inline-block;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.service-detail__badge--alt {
  background: rgba(42, 157, 143, 0.08);
  color: var(--accent);
}
.service-detail__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
}
.service-detail__intro {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 2rem;
}
.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.service-detail__subtitle {
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-heading);
  margin-bottom: 1rem;
}
.service-detail__features ul {
  list-style: none;
  padding: 0;
}
.service-detail__features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  font-size: var(--font-size-sm);
  color: var(--text-body);
  line-height: 1.6;
}
.service-detail__features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.service-detail__outcome-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.service-detail__outcome {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}
.service-detail__outcome strong {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}
.service-detail__outcome span {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  line-height: 1.6;
}


/* ===== COMPARISON TABLE — Services page ===== */
.compare-table__wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 2.5rem;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-width: 600px;
}
.compare-table th,
.compare-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: var(--font-size-sm);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.compare-table th {
  background: var(--bg-dark);
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.compare-table th:first-child {
  border-radius: var(--radius-xl) 0 0 0;
}
.compare-table th:last-child {
  border-radius: 0 var(--radius-xl) 0 0;
}
.compare-table td:first-child {
  font-weight: 600;
  color: var(--text-heading);
}
.compare-table tbody tr:hover {
  background: rgba(var(--primary-rgb), 0.02);
}
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-check {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}


/* ===== CASE STUDY — Full page layouts ===== */
.case-study__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.case-study__layout--reverse {
  grid-template-columns: 320px 1fr;
  direction: rtl;
}
.case-study__layout--reverse > * {
  direction: ltr;
}
.case-study__content .section-title--left {
  font-size: var(--font-size-2xl);
}
.case-study__content .about__text {
  font-size: var(--font-size-sm);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.case-study__metrics-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.case-study__metric-card {
  background: var(--bg-white);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.case-study__metric-big {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.case-study__metric-desc {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-top: 0.35rem;
}
.case-study__screenshots {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.case-study__screenshots img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-study__screenshots img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}


/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ===== PARTNERS PAGE ===== */
.partners-intro {
  padding: var(--section-padding);
  background: var(--bg-white);
}
.partners-intro__text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: var(--font-size-lg);
  line-height: 1.8;
}

/* Value proposition cards */
.partners-values {
  padding: var(--section-padding);
  background: var(--bg-light);
}
.partners-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.partners-values__card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  transition: all var(--transition-spring);
  text-align: center;
}
.partners-values__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(var(--primary-rgb), 0.15);
}
.partners-values__icon {
  width: 56px; height: 56px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-accent);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light);
}
.partners-values__icon svg { width: 28px; height: 28px; }
.partners-values__card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}
.partners-values__card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: var(--font-size-sm);
}

/* Partner benefits */
.partners-benefits {
  padding: var(--section-padding);
  background: var(--bg-white);
}
.partners-benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.partners-benefits__item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-white);
  transition: all var(--transition-spring);
}
.partners-benefits__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(var(--accent-rgb), 0.15);
}
.partners-benefits__item-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.partners-benefits__item-icon svg { width: 22px; height: 22px; }
.partners-benefits__item h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}
.partners-benefits__item p {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.65;
}

/* Who we partner with */
.partners-who {
  padding: var(--section-padding);
  background: var(--bg-light);
}
.partners-who__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}
.partners-who__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.partners-who__list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: var(--font-size-base);
  color: var(--text-body);
  line-height: 1.6;
}
.partners-who__list svg {
  width: 20px; height: 20px; min-width: 20px;
  color: var(--accent);
  margin-top: 0.2rem;
}
.partners-who__text {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Ecosystem / current partners */
.partners-ecosystem {
  padding: var(--section-padding);
  background: var(--bg-white);
}
.partners-ecosystem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.partners-ecosystem__card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-white);
  transition: all var(--transition-spring);
}
.partners-ecosystem__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--text-dark, #1a1a2e);
  color: #fff;
  padding: 1.25rem 1.5rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  line-height: 1.6;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.cookie-banner.active {
  display: flex;
}
.cookie-banner__text {
  flex: 1;
  min-width: 280px;
}
.cookie-banner__text a {
  color: var(--primary, #4f6ef7);
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.cookie-banner__btn {
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}
.cookie-banner__btn--accept {
  background: var(--primary, #4f6ef7);
  color: #fff;
}
.cookie-banner__btn--accept:hover {
  opacity: 0.9;
}
.cookie-banner__btn--reject {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.cookie-banner__btn--reject:hover {
  border-color: rgba(255,255,255,0.6);
}

/* ===== CONSENT CHECKBOX (contact form) ===== */
.contact__form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.contact__form-consent input[type="checkbox"] {
  margin-top: 0.3rem;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.contact__form-consent label {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.contact__form-consent label a {
  color: var(--primary);
  text-decoration: underline;
}

/* ===== SITE-WIDE DISCLAIMER (footer) ===== */
.footer__site-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  opacity: 0.8;
}

/* ===== FLOATING CTA BAR ===== */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0.75rem 0;
  transform: translateY(100%);
  transition: transform var(--transition-base);
  backdrop-filter: blur(12px);
}

.floating-cta.visible {
  transform: translateY(0);
}

.floating-cta__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.floating-cta__text {
  color: var(--text-light);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.floating-cta__actions {
  display: flex;
  gap: 0.75rem;
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--font-size-sm);
}

@media (max-width: 768px) {
  .floating-cta__text {
    display: none;
  }
  .floating-cta__container {
    justify-content: center;
  }
}

/* ===== CONTACT FORM ENHANCEMENTS ===== */
.contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact__form select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--text-dark);
  background: var(--bg-white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  transition: border-color var(--transition-fast);
}

.contact__form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

@media (max-width: 768px) {
  .contact__form-row {
    grid-template-columns: 1fr;
  }
}
}
.footer__site-disclaimer a {
  color: var(--primary);
  text-decoration: underline;
}
  border-color: rgba(var(--primary-rgb), 0.12);
}
.partners-ecosystem__card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.partners-ecosystem__card-icon {
  width: 48px; height: 48px; min-width: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
}
.partners-ecosystem__card-icon svg { width: 24px; height: 24px; }
.partners-ecosystem__card h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-dark);
}
.partners-ecosystem__card-type {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.partners-ecosystem__card p {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.partners-ecosystem__card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: gap var(--transition-base);
}
.partners-ecosystem__card-link:hover { gap: 0.6rem; }

/* Partner CTA banner */
.partners-cta {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #0d2137 0%, #0d3b66 35%, #1a5a8a 65%, #1b7a6e 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.partners-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}
.partners-cta__container {
  position: relative;
  z-index: 1;
}
.partners-cta__title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
}
.partners-cta__text {
  color: rgba(255,255,255,0.65);
  font-size: var(--font-size-lg);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.partners-cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* ===== RESPONSIVE: TABLET ===== */
@media (max-width: 1024px) {
  :root {
    --font-size-5xl: 2.75rem;
    --font-size-4xl: 2.25rem;
  }

  .hero__container { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { max-width: 440px; margin: 0 auto; }
  .hero__rotator { height: 3.5rem; }
  .hero__scroll { display: none; }

  .trust__container { grid-template-columns: repeat(2, 1fr); border-radius: var(--radius-lg); }

  .why__grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .services__grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }

  .process__connector { display: none; }
  .process__timeline { flex-direction: column; align-items: center; }
  .process__timeline::before { display: none; }
  .process__step { max-width: 100%; }

  .about__container { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .about__visual { order: -1; max-width: 400px; margin: 0 auto; }
  .about__visual::before { display: none; }
  .section-title--left { text-align: center; }
  .about__highlights { justify-items: center; }
  .about__content .btn { margin: 0 auto; }

  .contact__container { grid-template-columns: 1fr; gap: 3rem; }

  .footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__links { grid-template-columns: repeat(3, 1fr); }

  /* New sections — tablet */
  .service-detail__grid { grid-template-columns: 1fr; }
  .case-study__layout,
  .case-study__layout--reverse { grid-template-columns: 1fr; direction: ltr; }
  .case-study__metrics-sidebar { flex-direction: row; flex-wrap: wrap; }
  .case-study__metric-card { flex: 1; min-width: 140px; }
  .case-study__screenshots { grid-template-columns: repeat(3, 1fr); }
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio__grid { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }

  /* Partners page — tablet */
  .partners-values__grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .partners-benefits__grid { grid-template-columns: 1fr; }
  .partners-who__content { grid-template-columns: 1fr; }
  .partners-ecosystem__grid { grid-template-columns: 1fr; }
}


/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width: 768px) {
  :root {
    --font-size-5xl: 2.25rem;
    --font-size-4xl: 1.85rem;
    --font-size-3xl: 1.5rem;
    --section-padding: 5rem 0;
  }

  .nav__menu {
    position: fixed; top: 0; right: -100%;
    width: 85%; max-width: 360px; height: 100vh;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-xl);
    padding: 6rem 2rem 2rem;
    transition: right var(--transition-spring);
    z-index: var(--z-overlay);
  }
  .nav__menu.open { right: 0; }
  .nav__list { flex-direction: column; gap: 0.25rem; }
  .nav__link {
    display: block; padding: 0.85rem 1.25rem;
    font-size: var(--font-size-base); border-radius: var(--radius-md);
    color: var(--text-body);
  }
  .nav__link::after { display: none; }
  .nav__cta { display: none; }
  .nav__partner { display: none; }
  .nav__toggle { display: flex; }

  .nav__overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: calc(var(--z-overlay) - 1);
    opacity: 0; pointer-events: none;
    transition: opacity var(--transition-base);
  }
  .nav__overlay.active { opacity: 1; pointer-events: auto; }

  .hero { min-height: auto; padding: 8rem 0 4rem; }
  .hero__rotator { height: 2.75rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }

  .trust { margin-top: -1.5rem; }
  .trust__container { grid-template-columns: repeat(2, 1fr); gap: 1px; border-radius: var(--radius-lg); }
  .trust__number { font-size: var(--font-size-3xl); }
  .trust__item { padding: 1.75rem 1rem; }

  .about__highlights { grid-template-columns: 1fr; }

  .footer__links { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .cta__title { font-size: var(--font-size-3xl); }

  .testimonials__quote { padding: 2rem 1.5rem 1.5rem; }
  .testimonials__quote p { font-size: var(--font-size-base); }
  .contact__form-wrapper { padding: 2rem 1.5rem; }

  /* New sections — mobile */
  .page-hero { padding: 7rem 0 3.5rem; }
  .page-hero__title { font-size: var(--font-size-3xl); }
  .results__grid { grid-template-columns: 1fr; }
  .insights__grid { grid-template-columns: 1fr; }
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
  .clients__logos { gap: 2rem; }
  .service-detail { padding: 1.75rem; }
  .compare-table { min-width: 500px; }
  .case-study__metrics-sidebar { flex-direction: row; flex-wrap: wrap; }
  .case-study__metric-card { flex: 1 1 45%; }
  .case-study__screenshots { grid-template-columns: 1fr; max-width: 480px; }
  .page-hero--compact { padding: 7rem 0 3rem; }
  .article__content { padding: 0 0.5rem; }
  .article__cta-box { padding: 1.75rem; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .portfolio__card-image { height: 160px; }

  /* Partners page — mobile */
  .partners-cta__actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .trust__container { grid-template-columns: 1fr 1fr; }
  .footer__links { grid-template-columns: 1fr; }
  .contact__form-wrapper { padding: 1.5rem; }
  .testimonials__author-avatar { width: 40px; height: 40px; font-size: var(--font-size-sm); }
}
