/* ==========================================================================
   ADAPTAL CORE STYLESHEET (style.css) - Light Minimal Redesign
   ========================================================================== */

/* 1. RESET & VARIABLES */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

em, i {
  font-style: normal !important;
}

:root {
  --bg:        #F5F4EF;
  --bg2:       #EEEDE7;
  --bg3:       #E6E4DD;
  --bg-card:   #FFFFFF;
  --text:      #1A1916;
  --text-mid:  #6B6860;
  --text-dim:  #A09D96;
  --accent:    #3E443B;
  --accent2:   #2F342D;
  --accent-bg: #E9ECE8;
  --rule:      rgba(0,0,0,0.08);
  --rule-mid:  rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 2px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.06);
  /* Dark review card theme */
  --review-bg:        #1F1F1F;
  --review-text:      #FFFFFF;
  --review-text-dim:  #B3B3B3;
  --review-border:    rgba(255,255,255,0.1);
  --display:   'DM Sans', sans-serif;
  --body:      'DM Sans', sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

/* ── PAGE TRANSITION OVERLAY (smooth cross-page navigation) ── */
#page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.32s ease;
  pointer-events: none;
}

#page-transition-overlay.pt-hidden {
  opacity: 0;
  visibility: hidden;
}

/* ── DOT GRID CANVAS (interactive background) ── */
#dot-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* All page content sits above the canvas */
nav, section, footer, main {
  position: relative;
  z-index: 1;
}

/* 2. CUSTOM SCROLLBAR */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb {
  background: var(--bg3);
  border-radius: 99px;
  border: 2px solid var(--bg2);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Scroll progress bar tracker */
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  z-index: 200;
  background: var(--accent);
  width: 0%;
  transition: width 0.1s linear;
}

/* 3. NAVIGATION */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(245,244,239,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s;
}

.nav-logo {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
  position: relative;
  z-index: 110;
}

.nav-links {
  display: none !important; /* Hidden globally in favor of the full screen menu toggle */
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 110;
}

.nav-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--accent2);
  transform: translateY(-1px);
}

/* Premium Hamburger Trigger */
.menu-toggle {
  display: flex; /* Displayed globally in favor of the full screen menu toggle */
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* 4. BUTTONS */
.btn-primary {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(62, 68, 59, 0.25);
}

.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(62, 68, 59, 0.3);
}

.btn-ghost {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-mid);
  border: 1px solid var(--rule);
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  background: var(--bg-card);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(0,0,0,0.2);
  box-shadow: var(--shadow-sm);
}

.btn-white {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 14px 36px;
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  display: inline-block;
}

.btn-white:hover {
  background: var(--accent);
  color: #fff;
}

/* Animations */
.fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade.in {
  opacity: 1;
  transform: translateY(0);
}

.count-num { display: inline-block; }


/* ── INTERACTIVE ELEMENTOR-STYLE HERO SLIDER (index.html) ── */
.hero.as-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8% 0 8%;
  background: #000;
}

/* Background image transitions */
.as-slider-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.hero-bg-img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* Tone and Color variations for Finance and Operations */
.hero-bg-img.finance-tint {
  filter: hue-rotate(180deg) saturate(0.7) brightness(0.65);
}

.hero-bg-img.industrial-tint {
  filter: sepia(0.2) contrast(1.1) brightness(0.6);
}

/* Dark gradient overlay so text is readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,8,0.85) 0%,
    rgba(10,10,8,0.65) 45%,
    rgba(10,10,8,0.3) 75%,
    rgba(10,10,8,0.1) 100%
  );
  z-index: 1;
}

/* Left panel content container */
.hero-left-panel {
  position: relative;
  z-index: 3;
  width: 48%;
  max-width: 620px;
  color: #fff;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 7px 14px;
  border-radius: 99px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: blink 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* Dynamic widget area (for text transitions) */
.as-changing-widget-container {
  position: relative;
  width: 100%;
}

.title-widget {
  position: relative;
  display: grid;
  grid-template-areas: "stack";
  align-items: start;
}

.elementor-widget.title-slide {
  grid-area: stack;
  position: relative !important;
  width: 100%;
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.5s;
}

.elementor-widget.title-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.elementor-widget.title-slide em {
  font-style: normal;
  color: #86efac;
}

.desc-widget {
  position: relative;
  margin-top: 24px;
  margin-bottom: 24px;
  display: grid;
  grid-template-areas: "stack";
  align-items: start;
}

p.elementor-widget.desc-slide {
  grid-area: stack;
  position: relative !important;
  width: 100%;
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s, transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s, visibility 0.5s 0.1s;
}

p.elementor-widget.desc-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.action-widget {
  position: relative;
  display: grid;
  grid-template-areas: "stack";
  align-items: center;
}

.elementor-widget.action-slide {
  grid-area: stack;
  position: relative !important;
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s, transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s, visibility 0.5s 0.2s;
}

.elementor-widget.action-slide.active {
  position: relative !important;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Center-left vertical navigation bar (as-bar) */
.as-bar {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 320px;
  z-index: 3;
  width: 40px;
  margin: 0 20px;
}

.as-bar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.as-bar .dot {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  transform: scale(0.4);
  transition: all 0.3s ease-in-out;
}

.as-bar .dot-number {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.as-bar .dot.active {
  transform: scale(1);
  background: var(--accent);
  border-color: var(--accent);
}

.as-bar .dot.active .dot-number {
  opacity: 1;
}

.as-bar .dot:hover {
  transform: scale(1);
  background: var(--accent);
  border-color: var(--accent);
}

.as-bar .dot:hover .dot-number {
  opacity: 1;
}

/* Right side card slider container */
.as-side-slider-container {
  width: 44%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}

.as-side-slider {
  display: flex;
  gap: 16px;
  align-items: center;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 10px 0;
  width: max-content;
}

.swiper-slide {
  flex-shrink: 0;
  width: 120px;
  height: 180px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.as-side-slider .swiper-slide:nth-child(4n+1) {
  background: radial-gradient(at 20% 20%, rgba(16, 185, 129, 0.45) 0%, transparent 60%),
              radial-gradient(at 80% 40%, rgba(6, 95, 70, 0.65) 0%, transparent 70%),
              radial-gradient(at 40% 90%, rgba(62, 68, 59, 0.55) 0%, transparent 60%),
              linear-gradient(135deg, #122018, #09100c);
}
.as-side-slider .swiper-slide:nth-child(4n+2) {
  background: radial-gradient(at 10% 20%, rgba(197, 160, 89, 0.45) 0%, transparent 60%),
              radial-gradient(at 80% 30%, rgba(62, 68, 59, 0.65) 0%, transparent 70%),
              radial-gradient(at 50% 90%, rgba(16, 185, 129, 0.45) 0%, transparent 60%),
              linear-gradient(135deg, #1c221a, #0e120d);
}
.as-side-slider .swiper-slide:nth-child(4n+3) {
  background: radial-gradient(at 20% 30%, rgba(52, 211, 153, 0.45) 0%, transparent 60%),
              radial-gradient(at 80% 20%, rgba(13, 148, 136, 0.65) 0%, transparent 70%),
              radial-gradient(at 30% 80%, rgba(62, 68, 59, 0.55) 0%, transparent 60%),
              linear-gradient(135deg, #0f1d18, #070e0b);
}
.as-side-slider .swiper-slide:nth-child(4n+4) {
  background: radial-gradient(at 10% 30%, rgba(110, 231, 183, 0.45) 0%, transparent 60%),
              radial-gradient(at 80% 40%, rgba(16, 185, 129, 0.55) 0%, transparent 70%),
              radial-gradient(at 40% 90%, rgba(52, 211, 153, 0.45) 0%, transparent 60%),
              linear-gradient(135deg, #112219, #08120c);
}

.swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
  transition: opacity 0.3s ease;
}

.swiper-slide:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.3);
}

.swiper-slide.active {
  width: 160px;
  height: 240px;
  border: 2px solid var(--accent);
  box-shadow: 0 8px 30px rgba(62, 68, 59, 0.45);
}

.slide-card-cite {
  position: absolute;
  bottom: 16px;
  left: 12px;
  right: 12px;
  z-index: 2;
  color: #fff;
  pointer-events: none;
}

.slide-card-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.slide-card-title {
  font-size: 9px;
  opacity: 0.7;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Slider control arrows */
.as-slider-arrows {
  display: flex;
  gap: 10px;
}

.as-slider-left, .as-slider-right {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.as-slider-left:hover, .as-slider-right:hover {
  background: #fff;
  color: var(--text);
  border-color: #fff;
}

/* Hero stats bar below hero */
.hero-stats-bar {
  display: flex;
  background: var(--bg-card);
  border-bottom: 1px solid var(--rule);
}

.stat {
  flex: 1;
  padding: 28px 32px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.stat-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}


/* 6. TICKER / LOGO STRIP */
.logo-strip {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 20px 48px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-card);
  overflow: hidden;
}

.logo-strip-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  min-width: 90px;
  transition: color 0.2s;
  position: relative;
}

.logo-strip-label:hover { color: var(--text); }

.label-hover { display: none; }
.logo-strip-label:hover .label-default { display: none; }
.logo-strip-label:hover .label-hover { display: inline; }

.ticker-wrap {
  overflow: hidden;
  flex: 1;
}

.logo-scroll {
  display: flex;
  gap: 0;
  animation: ticker 38s linear infinite;
  width: max-content;
}

.logo-strip:hover .logo-scroll { animation-play-state: paused; }

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

.client-item {
  display: inline-flex;
  flex-direction: column;
  padding: 0 36px;
  border-right: 1px solid var(--rule);
  white-space: nowrap;
}

.client-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.client-industry {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

/* Show/hide industry toggle */
.logo-strip.show-industries .client-name { display: none; }
.logo-strip.show-industries .client-industry { display: block; font-size: 12px; color: var(--text); }
.logo-strip:not(.show-industries) .client-industry { display: none; }


/* Partner strip */
.partner-strip {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 20px 48px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg2);
  overflow: hidden;
}

.partner-strip-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  min-width: 90px;
  transition: color 0.2s;
  position: relative;
}

.partner-strip-label:hover { color: var(--text); }
.partner-label-hover { display: none; }
.partner-strip-label:hover .partner-label-default { display: none; }
.partner-strip-label:hover .partner-label-hover { display: inline; }

.partner-ticker-wrap { overflow: hidden; flex: 1; }

.partner-scroll {
  display: flex;
  gap: 0;
  animation: ticker 28s linear infinite;
  width: max-content;
}

.partner-strip:hover .partner-scroll { animation-play-state: paused; }

.partner-item {
  display: inline-flex;
  flex-direction: column;
  padding: 0 32px;
  border-right: 1px solid var(--rule);
  white-space: nowrap;
}

.partner-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.partner-solution {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.partner-strip.show-solutions .partner-name { display: none; }
.partner-strip.show-solutions .partner-solution { display: block; font-size: 12px; color: var(--text); }
.partner-strip:not(.show-solutions) .partner-solution { display: none; }


/* 7. INNER PAGE HERO */
/* 7. INNER PAGE HERO (full-bleed image) */
.page-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--rule);
}

/* Background image */
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}

.page-hero.loaded .page-hero-bg {
  transform: scale(1);
}

/* Dark gradient overlay */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,8,0.80) 0%,
    rgba(10,10,8,0.52) 50%,
    rgba(10,10,8,0.15) 100%
  );
  z-index: 1;
}

/* Text content */
.page-hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 64px 64px;
  max-width: 700px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #86efac;
  margin-bottom: 16px;
  font-weight: 600;
  display: block;
}

h1.page-title {
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 86px);
  font-weight: 300;
  line-height: 0.97;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
}

h1.page-title em {
  font-style: normal;
  color: #86efac;
}

.page-intro {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  line-height: 1.8;
}


/* 8. COMMON SECTIONS */
.section {
  padding: 96px 48px;
  border-bottom: 1px solid var(--rule);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 56px;
  padding: 32px 0;
}

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 600;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

.section-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.section-link:hover { opacity: 0.7; }


/* 9. SERVICES STAGGER GRID */
.services-stagger-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg);
  position: relative;
}

.service-stagger-card {
  position: relative;
  min-height: 520px;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  overflow: hidden;
  background: transparent;
  color: var(--text);
  z-index: 1;
  transition: background-color 0.4s ease;
}

.service-stagger-card .card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.service-stagger-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(26,25,22,0.1) 0%, rgba(26,25,22,0.85) 100%);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.service-stagger-card .card-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 3;
}

.stagger-card-num {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  transition: color 0.4s ease;
}

.stagger-card-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(15px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-card-title {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: color 0.4s ease;
}

.stagger-card-desc {
  font-family: var(--body);
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  transition: color 0.4s ease;
}

.stagger-card-caps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease, margin-top 0.4s ease;
}

.stagger-card-caps li {
  font-family: var(--body);
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
  position: relative;
  padding-left: 16px;
}

.stagger-card-caps li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  transition: color 0.4s ease;
}

.stagger-card-link {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.4s ease;
  display: inline-block;
  margin-top: 8px;
}

/* Hover behaviors */
.service-stagger-card:hover .card-bg {
  opacity: 1;
  transform: scale(1.0);
}

.service-stagger-card.theme-salesforce:hover .card-bg {
  background-image: radial-gradient(at 20% 20%, rgba(90, 169, 230, 0.45) 0%, transparent 60%),
                    radial-gradient(at 80% 40%, rgba(31, 72, 112, 0.65) 0%, transparent 70%),
                    radial-gradient(at 40% 90%, rgba(107, 37, 133, 0.55) 0%, transparent 60%),
                    linear-gradient(135deg, #142d48, #0e1a24);
}
.service-stagger-card.theme-managed:hover .card-bg {
  background-image: radial-gradient(at 10% 20%, rgba(197, 160, 89, 0.55) 0%, transparent 60%),
                    radial-gradient(at 80% 30%, rgba(62, 68, 59, 0.75) 0%, transparent 70%),
                    radial-gradient(at 50% 90%, rgba(16, 185, 129, 0.45) 0%, transparent 60%),
                    linear-gradient(135deg, #1c221a, #0e120d);
}
.service-stagger-card.theme-integration:hover .card-bg {
  background-image: radial-gradient(at 20% 30%, rgba(236, 90, 60, 0.45) 0%, transparent 60%),
                    radial-gradient(at 80% 20%, rgba(138, 39, 21, 0.65) 0%, transparent 70%),
                    radial-gradient(at 30% 80%, rgba(107, 37, 133, 0.55) 0%, transparent 60%),
                    linear-gradient(135deg, #3d1a12, #210d09);
}
.service-stagger-card.theme-ai:hover .card-bg {
  background-image: radial-gradient(at 10% 30%, rgba(177, 79, 201, 0.55) 0%, transparent 60%),
                    radial-gradient(at 80% 40%, rgba(106, 37, 133, 0.65) 0%, transparent 70%),
                    radial-gradient(at 40% 90%, rgba(63, 209, 192, 0.45) 0%, transparent 60%),
                    linear-gradient(135deg, #2a1235, #14081c);
}

.service-stagger-card:hover .card-overlay {
  opacity: 1;
}

.service-stagger-card:hover .stagger-card-num {
  color: rgba(255,255,255,0.6);
}

.service-stagger-card:hover .stagger-card-bottom {
  transform: translateY(0);
}

.service-stagger-card:hover .stagger-card-title {
  color: #ffffff;
}

.service-stagger-card:hover .stagger-card-desc {
  color: rgba(255,255,255,0.8);
}

.service-stagger-card:hover .stagger-card-caps {
  opacity: 1;
  max-height: 150px;
  margin-top: 16px;
}

.service-stagger-card:hover .stagger-card-caps li::before {
  color: #ffffff;
}

.service-stagger-card:hover .stagger-card-link {
  color: #ffffff;
}

/* Desktop Separator Lines */
@media (min-width: 1025px) {
  .service-stagger-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: linear-gradient(180deg, rgba(26,25,22,0) 0%, var(--rule) 50%, rgba(26,25,22,0) 100%);
    z-index: 5;
    transition: opacity 0.4s ease;
  }
  .service-stagger-card:hover::after {
    opacity: 0;
  }
}

/* Tablet Layout (2x2 Grid) */
@media (max-width: 1024px) and (min-width: 768px) {
  .services-stagger-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-stagger-card {
    min-height: 480px;
    padding: 40px 28px;
  }
  /* Vertical separator for left column items (1 and 3) */
  .service-stagger-card:nth-child(odd)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: linear-gradient(180deg, rgba(26,25,22,0) 0%, var(--rule) 50%, rgba(26,25,22,0) 100%);
    z-index: 5;
    transition: opacity 0.4s ease;
  }
  .service-stagger-card:hover::after {
    opacity: 0;
  }
  /* Horizontal separator for top row items (1 and 2) */
  .service-stagger-card:nth-child(-n+2)::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, rgba(26,25,22,0) 0%, var(--rule) 50%, rgba(26,25,22,0) 100%);
    z-index: 5;
    transition: opacity 0.4s ease;
  }
  .service-stagger-card:hover::before {
    opacity: 0;
  }
}

/* Mobile Layout (1 Column Stack) */
@media (max-width: 767px) {
  .services-stagger-grid {
    grid-template-columns: 1fr;
  }
  .service-stagger-card {
    min-height: 400px;
    padding: 36px 24px;
  }
  /* Horizontal separators for all except last item */
  .service-stagger-card:not(:last-child)::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, rgba(26,25,22,0) 0%, var(--rule) 50%, rgba(26,25,22,0) 100%);
    z-index: 5;
    transition: opacity 0.4s ease;
  }
  .service-stagger-card:hover::before {
    opacity: 0;
  }
}


.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  background: transparent;
  border: none;
  perspective: 1200px;
}

.case-card {
  padding: 36px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  transform-origin: top center;
  opacity: 0;
}

.case-card::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
  z-index: 0;
}

.case-card:nth-child(4n+1)::after {
  background: radial-gradient(at 20% 20%, rgba(16, 185, 129, 0.45) 0%, transparent 60%),
              radial-gradient(at 80% 40%, rgba(6, 95, 70, 0.65) 0%, transparent 70%),
              radial-gradient(at 40% 90%, rgba(62, 68, 59, 0.55) 0%, transparent 60%),
              linear-gradient(135deg, #122018, #09100c);
}
.case-card:nth-child(4n+2)::after {
  background: radial-gradient(at 10% 20%, rgba(197, 160, 89, 0.45) 0%, transparent 60%),
              radial-gradient(at 80% 30%, rgba(62, 68, 59, 0.65) 0%, transparent 70%),
              radial-gradient(at 50% 90%, rgba(16, 185, 129, 0.45) 0%, transparent 60%),
              linear-gradient(135deg, #1c221a, #0e120d);
}
.case-card:nth-child(4n+3)::after {
  background: radial-gradient(at 20% 30%, rgba(52, 211, 153, 0.45) 0%, transparent 60%),
              radial-gradient(at 80% 20%, rgba(13, 148, 136, 0.65) 0%, transparent 70%),
              radial-gradient(at 30% 80%, rgba(62, 68, 59, 0.55) 0%, transparent 60%),
              linear-gradient(135deg, #0f1d18, #070e0b);
}
.case-card:nth-child(4n+4)::after {
  background: radial-gradient(at 10% 30%, rgba(110, 231, 183, 0.45) 0%, transparent 60%),
              radial-gradient(at 80% 40%, rgba(16, 185, 129, 0.55) 0%, transparent 70%),
              radial-gradient(at 40% 90%, rgba(52, 211, 153, 0.45) 0%, transparent 60%),
              linear-gradient(135deg, #112219, #08120c);
}

.case-card:hover::after { transform: translateY(0); }

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.case-card > * {
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.case-card:hover .case-industry { color: rgba(255,255,255,0.6); }
.case-card:hover .case-client,
.case-card:hover .case-arrow { color: #fff; }
.case-card:hover .case-outcome { color: rgba(255,255,255,0.8); }
.case-card:hover .case-stat { color: rgba(255,255,255,0.25); }

.case-card.hidden { display: none; }
.case-card.search-hidden { display: none; }

.case-card.animating {
  animation: cubeIn 0.55s cubic-bezier(0.16,1,0.3,1) both;
}

@keyframes cubeIn {
  0%   { opacity: 0; transform: translateY(30px) rotateX(-14deg); }
  100% { opacity: 1; transform: translateY(0) rotateX(0deg); }
}

.case-industry {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 40px;
  display: block;
}

.case-client {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.1;
  color: var(--text);
}

.case-stat {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--bg3);
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}

.case-outcome {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 24px;
}

.case-arrow {
  font-size: 16px;
  color: var(--text-dim);
  display: block;
}


/* 11. FILTER BUTTONS */
.filter-btn {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid var(--rule);
  border-radius: 99px;
  background: var(--bg-card);
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: rgba(0,0,0,0.2);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}


/* 12. ROI CALCULATOR */
.calc-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calc-group { display: flex; flex-direction: column; gap: 12px; }

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.calc-val-badge {
  font-size: 12px;
  font-weight: 600;
  background: var(--accent-bg);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 99px;
  min-width: 32px;
  text-align: center;
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--bg3);
  border-radius: 99px;
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(62, 68, 59, 0.3);
}

.calc-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(62, 68, 59, 0.3);
}

.calc-select {
  font-size: 13px;
  font-family: var(--body);
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 12px 16px;
  outline: none;
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.calc-select:focus { border-color: var(--accent); }

.calc-results {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.calc-results-title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.calc-metrics-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.calc-res-group { display: flex; flex-direction: column; gap: 4px; }

.calc-res-val {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text);
}

.calc-res-val.accent { color: var(--accent); }

.calc-res-label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.calc-feasibility {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
}

.calc-feasibility.moderate { background: #FEF3C7; color: #92400E; }
.calc-feasibility.high { background: #D1FAE5; color: #065F46; }
.calc-feasibility.auto-ready { background: var(--accent-bg); color: var(--accent); }

.calc-cta-btn {
  width: 100%;
  text-align: center;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 15px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(62, 68, 59, 0.2);
}

.calc-cta-btn:hover {
  background: var(--accent2);
  transform: translateY(-1px);
}


/* 13. ABOUT SECTION (index.html) */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text {
  font-family: var(--display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.about-text em { font-style: normal; color: var(--accent); }

.about-body {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.85;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}

.about-stat {
  background: var(--bg-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-stat-num {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}

.about-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}


/* 13b. ABOUT V2 - TRACK RECORD STATS BAND */
.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}

.stats-band-card {
  background: var(--bg-card);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.2s;
}

.stats-band-card:hover { background: var(--bg2); }

.stats-band-num {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent);
}

.stats-band-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}

.stats-band-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-mid);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .stats-band { grid-template-columns: 1fr; }
}


/* 13c. ABOUT V2 - CAPABILITY GRID (products / integrations / vendor apps) */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}

.capability-card {
  background: var(--bg-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.capability-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}

.capability-card-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
}

.capability-card-count {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  white-space: nowrap;
}

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.capability-tag {
  font-size: 13px;
  padding: 7px 13px;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  white-space: nowrap;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.capability-tag:hover {
  background: #535D4C;
  border-color: #535D4C;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
  .capability-grid { grid-template-columns: 1fr; }
}


/* 13d. ABOUT V2 - INDUSTRIES INTERACTIVE BAR CHART */
.industry-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.industry-bar-row {
  display: grid;
  grid-template-columns: 180px 1fr 46px;
  align-items: center;
  gap: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s;
}

.industry-bar-row:hover {
  background: var(--bg2);
}

.industry-bar-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.industry-bar-track {
  position: relative;
  height: 12px;
  background: var(--rule);
  border-radius: 100px;
  overflow: hidden;
}

.industry-bar-fill {
  position: absolute;
  inset: 0;
  width: 0;
  border-radius: 100px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade.in .industry-bar-fill {
  width: var(--bar-pct);
}

.industry-bar-pct {
  font-size: 13px;
  color: var(--text-dim);
  text-align: right;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.industry-bar-row:hover .industry-bar-pct {
  opacity: 1;
  transform: translateX(0);
}

.industry-bar-row:hover .industry-bar-label {
  color: var(--accent);
}

.industries-more-link {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  border: 1px dashed var(--rule);
  border-radius: 100px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.industries-more-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--bg2);
}

.industries-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 24px;
}

@media (max-width: 640px) {
  .industry-bar-row { grid-template-columns: 110px 1fr 40px; gap: 12px; padding: 12px; }
  .industry-bar-label { font-size: 13px; }
}


/* 14. CTA BANNER */
.cta-banner {
  background: var(--accent-bg);
  border-top: 1px solid rgba(62, 68, 59, 0.15);
  border-bottom: 1px solid rgba(62, 68, 59, 0.15);
  padding: 96px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-headline {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

.cta-headline em { font-style: normal; color: var(--accent); }


/* 15. FOOTER */
footer {
  background: var(--bg-card);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid var(--rule);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.04em;
}

.footer-links a:hover,
.footer-links a.active { color: var(--text); }

.footer-copy {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.footer-addresses {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.footer-address {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.6;
  font-style: normal;
}

.footer-address-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-mid);
  margin-bottom: 3px;
}


/* 15b. FLOATING WHATSAPP BUTTON */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
}

.whatsapp-float-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--text, #1a1916);
  color: #fff;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.whatsapp-float-btn:hover .whatsapp-float-tooltip {
  opacity: 1;
}

@media (max-width: 640px) {
  .whatsapp-float-btn {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float-tooltip { display: none; }
}

/* 16. CONTACT MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(26,25,22,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 48px;
  width: 100%;
  max-width: 560px;
  position: relative;
  margin: auto 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.16), 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid var(--rule);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}

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

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: var(--bg2);
  border: 1px solid var(--rule);
  border-radius: 50%;
  font-size: 18px;
  color: var(--text-mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover { background: var(--bg3); color: var(--text); }

.modal-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}

.modal-title em { font-style: normal; color: var(--accent); }

.modal-sub {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 32px;
}

.modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.modal-field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.04em;
}

.modal-field input,
.modal-field textarea {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--body);
  font-size: 14px;
  padding: 12px 16px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.modal-field input::placeholder,
.modal-field textarea::placeholder { color: var(--text-dim); }

.modal-field input:focus,
.modal-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(62, 68, 59, 0.12);
}

.modal-field input.error,
.modal-field textarea.error { border-color: #dc2626; }

.modal-field textarea {
  height: 100px;
  resize: vertical;
  min-height: 80px;
}

.modal-char-counter {
  font-size: 11px;
  color: var(--text-dim);
  text-align: right;
  margin-top: -2px;
}

.modal-char-counter.limit-near { color: #b45309; }
.modal-char-counter.limit-reached { color: #dc2626; }

.modal-error {
  font-size: 11px;
  color: #dc2626;
  display: none;
}

.modal-field.has-error .modal-error { display: block; }
.modal-field.has-error input,
.modal-field.has-error textarea { border-color: #dc2626; }

.modal-submit {
  width: 100%;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 15px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 8px;
  box-shadow: 0 2px 8px rgba(62, 68, 59, 0.2);
}

.modal-submit:hover {
  background: var(--accent2);
  transform: translateY(-1px);
}


/* 17. SERVICES PAGE */
.services-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 56px;
}

.svc-card {
  background: var(--bg-card);
  padding: 40px;
}

.svc-card-num {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  display: block;
}

.svc-card-title {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.svc-card-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 24px;
}

.svc-card-caps {
  list-style: none;
  padding: 0;
}

.svc-card-caps li {
  font-size: 12px;
  color: var(--text-dim);
  padding: 6px 0;
  border-bottom: 1px solid var(--rule-mid);
  line-height: 1.5;
}

.svc-card-caps li::before {
  content: '→ ';
  color: var(--accent);
  font-size: 10px;
}

.svc-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}

.process-step {
  background: var(--bg-card);
  padding: 36px;
}

.process-num {
  font-size: 32px;
  font-family: var(--display);
  font-weight: 300;
  color: var(--bg3);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 20px;
}

.process-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.process-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}


/* 18. INDUSTRIES PAGE */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}

.industry-card {
  background: var(--bg-card);
  padding: 36px;
  transition: background 0.2s;
}

.industry-card:hover { background: var(--bg2); }

.industry-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.industry-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.industry-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.industry-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.industry-client-tag {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-dim);
  background: var(--bg2);
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid var(--rule);
}


/* 19. ABOUT PAGE */
.about-page-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-page-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
}

.about-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}

.value-card {
  background: var(--bg-card);
  padding: 32px;
}

.value-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}

.value-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}

.team-card {
  background: var(--bg-card);
  padding: 36px;
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg2);
  border: 2px solid var(--rule);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-mid);
}

.team-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.team-role {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}


/* 20. THANK YOU PAGE */
.thankyou-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 48px;
  text-align: center;
}

.thankyou-inner { max-width: 540px; }

.thankyou-icon {
  width: 64px; height: 64px;
  background: var(--accent-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 28px;
  border: 1px solid rgba(62, 68, 59, 0.2);
}

.thankyou-title {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1;
}

.thankyou-title em { font-style: normal; color: var(--accent); }

.thankyou-body {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 40px;
}

.thankyou-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================================
   RESPONSIVE - TABLET & MOBILE
   ============================================================ */

@media (max-width: 960px) {
  /* Nav mobile */
  nav {
    padding: 0 24px;
    height: 60px;
  }

  .nav-links {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100dvh;
    background: var(--bg-card);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    z-index: 105;
    padding-top: 80px;
  }

  .nav-links.mobile-open { transform: translateX(0); }

  .nav-links a {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.06em;
  }

  .menu-toggle { display: flex; }

  /* Hero mobile (Interactive Slider) */
  .hero.as-slider {
    height: auto;
    min-height: 100dvh;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 120px 24px 80px;
    gap: 40px;
  }
  .hero-left-panel {
    width: 100%;
    max-width: 100%;
  }
  .title-widget {
    min-height: 160px; /* Reduced for smaller viewport headline wrap */
  }
  .elementor-widget.title-slide {
    font-size: clamp(34px, 9vw, 52px);
  }
  .as-bar {
    flex-direction: row;
    height: auto;
    width: 200px;
    margin: 10px auto;
  }
  .as-bar::before {
    height: 1px;
    width: 100%;
    top: 50%;
    left: 0;
    bottom: auto;
    transform: translateY(-50%);
  }
  .as-side-slider-container {
    width: 100%;
    align-items: center;
    gap: 16px;
  }
  .as-side-slider {
    padding: 10px 0;
  }
  .swiper-slide {
    width: 110px;
    height: 160px;
  }
  .swiper-slide.active {
    width: 130px;
    height: 195px;
  }
  .hero-stats-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .hero-stats-bar .stat {
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 24px 16px;
  }
  .hero-stats-bar .stat:nth-child(1),
  .hero-stats-bar .stat:nth-child(2) {
    border-bottom: 1px solid var(--rule);
  }
  .hero-stats-bar .stat:nth-child(2),
  .hero-stats-bar .stat:nth-child(4) {
    border-right: none;
  }
  .hero-stats-bar .stat:nth-child(3),
  .hero-stats-bar .stat:nth-child(4) {
    border-bottom: none;
  }
  .hero-stats-bar .stat:nth-child(3),
  .hero-stats-bar .stat:nth-child(4) {
    border-bottom: none;
  }
  .hero-stats-bar .stat:nth-child(2n) {
    border-right: none;
  }

  /* Sections */
  .section { padding: 64px 24px; }
  .section-header { flex-direction: column; gap: 12px; align-items: flex-start; }

  /* Tickers */
  .logo-strip,
  .partner-strip { padding: 16px 24px; }

  /* Page heros */
  .page-hero { padding: 120px 24px 60px; height: 50vh; min-height: 380px; }
  h1.page-title { font-size: clamp(36px, 9vw, 56px); }



  /* Cases grid */
  .cases-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Calc */
  .calc-container { grid-template-columns: 1fr; }
  .calc-results { margin-top: 0; }

  /* About */
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-page-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }

  /* Industries */
  .industries-grid { grid-template-columns: 1fr; }

  /* Services page grids */
  .services-hero-grid { grid-template-columns: 1fr; }
  .svc-process-grid { grid-template-columns: 1fr 1fr; }

  /* CTA banner */
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 64px 24px;
  }

  /* Footer */
  footer {
    gap: 24px;
    text-align: center;
    padding: 40px 24px;
  }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .footer-addresses { flex-direction: column; align-items: center; gap: 20px; text-align: center; }

  /* Modal */
  .modal { padding: 32px 24px; margin: 0; border-radius: 12px; }
  .modal-row { grid-template-columns: 1fr; }
  .modal-title { font-size: 32px; }

  /* Thank you */
  .thankyou-wrap { padding: 100px 24px; }
  .thankyou-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 600px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .svc-process-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  h1 { font-size: clamp(38px, 12vw, 60px); }
  h1.page-title { font-size: clamp(36px, 11vw, 56px); }
}


/* ============================================================
   SERVICE DETAIL PAGE (services.html)
   ============================================================ */

.service-detail-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0 32px;
  padding: 64px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.service-detail-num {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.14em;
  padding-top: 8px;
}

.service-detail-title {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 32px;
  line-height: 1.1;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.service-detail-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 16px;
}

.service-detail-list {
  list-style: none;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-card);
}

.service-detail-item {
  font-size: 13px;
  color: var(--text-mid);
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule);
  line-height: 1.5;
  transition: background 0.15s;
}

.service-detail-item:last-child { border-bottom: none; }
.service-detail-item:hover { background: var(--bg2); }

.service-detail-item::before {
  content: '→ ';
  color: var(--accent);
  font-size: 11px;
  margin-right: 2px;
}

@media (max-width: 960px) {
  .service-detail-row { grid-template-columns: 1fr; gap: 16px; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 24px; }
}


/* ============================================================
   ABOUT PAGE EXTRA COMPONENTS
   ============================================================ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}

.value-card {
  background: var(--bg-card);
  padding: 36px;
  transition: background 0.2s;
}

.value-card:hover { background: var(--bg2); }

.value-num {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.value-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 10px;
}

.value-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.75;
}

.locations-flex {
  display: flex;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}

.location-card {
  flex: 1;
  background: var(--bg-card);
  padding: 32px 24px;
  transition: background 0.2s;
  min-width: 0;
}

.location-card:hover { background: var(--accent-bg); }

.location-city {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.location-region {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.offices-flex {
  display: flex;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}

.office-card {
  flex: 1;
  background: var(--bg-card);
  padding: 32px 24px;
  transition: background 0.2s;
  min-width: 0;
}

.office-card:hover { background: var(--accent-bg); }

.office-city {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.office-address {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  font-style: normal;
}

@media (max-width: 960px) {
  .values-grid { grid-template-columns: 1fr; }
  .locations-flex { flex-direction: column; }
  .offices-flex { flex-direction: column; }
}


/* ============================================================
   INDUSTRIES PAGE GRID
   ============================================================ */

.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  background: transparent;
  border: none;
}

.ind-card {
  background: var(--bg-card);
  padding: 36px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.ind-card::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
  z-index: 0;
}

.ind-card:nth-child(4n+1)::after {
  background: radial-gradient(at 20% 20%, rgba(16, 185, 129, 0.45) 0%, transparent 60%),
              radial-gradient(at 80% 40%, rgba(6, 95, 70, 0.65) 0%, transparent 70%),
              radial-gradient(at 40% 90%, rgba(62, 68, 59, 0.55) 0%, transparent 60%),
              linear-gradient(135deg, #122018, #09100c);
}
.ind-card:nth-child(4n+2)::after {
  background: radial-gradient(at 10% 20%, rgba(197, 160, 89, 0.45) 0%, transparent 60%),
              radial-gradient(at 80% 30%, rgba(62, 68, 59, 0.65) 0%, transparent 70%),
              radial-gradient(at 50% 90%, rgba(16, 185, 129, 0.45) 0%, transparent 60%),
              linear-gradient(135deg, #1c221a, #0e120d);
}
.ind-card:nth-child(4n+3)::after {
  background: radial-gradient(at 20% 30%, rgba(52, 211, 153, 0.45) 0%, transparent 60%),
              radial-gradient(at 80% 20%, rgba(13, 148, 136, 0.65) 0%, transparent 70%),
              radial-gradient(at 30% 80%, rgba(62, 68, 59, 0.55) 0%, transparent 60%),
              linear-gradient(135deg, #0f1d18, #070e0b);
}
.ind-card:nth-child(4n+4)::after {
  background: radial-gradient(at 10% 30%, rgba(110, 231, 183, 0.45) 0%, transparent 60%),
              radial-gradient(at 80% 40%, rgba(16, 185, 129, 0.55) 0%, transparent 70%),
              radial-gradient(at 40% 90%, rgba(52, 211, 153, 0.45) 0%, transparent 60%),
              linear-gradient(135deg, #112219, #08120c);
}

.ind-card:hover::after { transform: translateY(0); }

.ind-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ind-card > * {
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.ind-card:hover svg {
  color: rgba(255, 255, 255, 0.7) !important;
}

.ind-card:hover .ind-name {
  color: #fff;
}

.ind-card:hover .ind-desc {
  color: rgba(255, 255, 255, 0.85);
}

.ind-card:hover .ind-count {
  color: rgba(255, 255, 255, 0.5);
}

.ind-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.ind-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 20px;
}

.ind-count {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.8;
  display: block;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}

@media (max-width: 960px) {
  .ind-grid { grid-template-columns: 1fr; gap: 20px; }
}

.ind-card.hidden {
  display: none;
}

.ind-card.animating {
  animation: cubeIn 0.55s cubic-bezier(0.16,1,0.3,1) both;
}

/* ── INSIGHTS SEARCH + FILTER TOP ROW ── */
.insights-top-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

/* Filter pills sit inside this row too - cancel its standalone bottom margin
   so it centers correctly against the search toggle button */
.insights-top-row .ind-filters-container {
  margin-bottom: 0;
  transition: opacity 0.25s ease;
}

.insights-top-row .ind-filters-container.insights-fade-hidden {
  opacity: 0;
  pointer-events: none;
}

.insights-search-toggle {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, color 0.2s, opacity 0.2s ease;
}

.insights-search-toggle:hover {
  border-color: var(--accent);
  color: var(--text);
}

.insights-search-toggle.insights-fade-hidden {
  opacity: 0;
  pointer-events: none;
}

.insights-search-expanded {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 1 auto;
  max-width: 0;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid transparent;
  border-radius: 50px;
  padding: 6px 0;
  box-shadow: none;
  opacity: 0;
  white-space: nowrap;
  transition: max-width 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease, padding 0.4s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.insights-search-expanded.open {
  flex: 1 1 320px;
  max-width: 460px;
  padding: 6px 6px 6px 18px;
  border-color: var(--rule);
  box-shadow: var(--shadow-sm);
  opacity: 1;
  gap: 8px;
}

.insights-search-icon-inline {
  color: var(--text-dim);
  display: flex;
  flex-shrink: 0;
}

.insights-search-input-inline {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--body);
  font-size: 13px;
  color: var(--text);
  min-width: 0;
}

.insights-search-input-inline::placeholder { color: var(--text-dim); }

.insights-search-close {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--text-dim);
  padding: 6px 12px;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.insights-search-close:hover {
  background: rgba(0,0,0,0.05);
  color: var(--text);
}

/* ── INSIGHTS SORT ROW ── */
.insights-sort-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 40px;
}

.insights-sort-select {
  background: var(--bg-card);
  color: var(--text-mid);
  border: 1px solid var(--rule);
  padding: 10px 36px 10px 18px;
  border-radius: 50px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'><path d='M1 1L5 5L9 1' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.insights-sort-select:hover,
.insights-sort-select:focus { border-color: var(--accent); }

@media (max-width: 640px) {
  .insights-top-row { flex-direction: column; align-items: stretch; }
  .insights-search-expanded { max-width: none; }
}

/* ── SEARCH HIGHLIGHT ── */
mark.insights-highlight {
  background: rgba(197, 160, 89, 0.4);
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 600;
}

/* ── CASE CARD META (CATEGORY + DATE) ── */
.case-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}

.case-meta .case-industry { margin-bottom: 0; }

.case-date {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.7;
}

.case-card:hover .case-date { color: rgba(255,255,255,0.45); }

/* ── INDUSTRIES FILTER BAR ── */
.ind-filters-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
  justify-content: flex-start;
  align-items: center;
}

.ind-filter-btn {
  background: var(--bg-card);
  color: var(--text-mid);
  border: 1px solid var(--rule);
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.ind-filter-btn:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-1px);
}

.ind-filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(62, 68, 59, 0.25);
}

@media (max-width: 960px) {
  .ind-filters-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 10px 16px;
    margin-left: -24px;
    margin-right: -24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  .ind-filters-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
  .ind-filter-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   HURSK HERO SECTION SYSTEM
   ============================================================ */

.hursk-hero, .hursk-hero * { box-sizing: border-box; margin: 0; padding: 0; }

.hursk-hero {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;

  /* CSS variables for the central glow / circle / bg color -- switched per slide */
  --glow: #b14fc9;
  --glow-mid: #6a2585;
  --bg-tint: #2a1235;

  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 720px;
  max-height: 1000px;
  background:
    radial-gradient(ellipse 60% 70% at 70% 60%, var(--bg-tint) 0%, #151e18 65%, #0e1410 90%),
    #0e1410;
  overflow: hidden;
  padding: 80px 0 0; /* Adjusted for Adaptal fixed nav */
  display: flex;
  flex-direction: column;
  transition: background 0.6s ease;
}

/* inner container caps width so text and image stay anchored on wide screens */
.hursk-hero .hero-inner {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 70px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 3;
}

.hursk-hero .pagination {
  position: absolute;
  bottom: 40px;
  left: 70px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 18px;
}

.hursk-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 90% at 50% 50%, transparent 40%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ============ MAIN GRID ============ */
.hursk-hero .main {
  position: relative;
  z-index: 3;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  padding-top: 20px;
  min-height: 0;
}

/* ============ TEXT ============ */
.hursk-hero .text {
  position: relative;
  z-index: 4;
  padding-left: 0;
  max-width: 520px;
  justify-self: start;
  align-self: center;
}

.hursk-hero .eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 24px;
}

.hursk-hero .title {
  font-family: 'Helvetica', 'Inter', sans-serif;
  font-size: clamp(84px, 6.2vw, 98px);
  font-weight: 500;
  letter-spacing: -3.5px;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 32px;
}

.hursk-hero .desc {
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  max-width: 410px;
  margin-bottom: 32px;
  min-height: 80px; /* Reserves space for description to prevent vertical jumping */
}

.hursk-hero .btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--glow);
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  margin-bottom: 40px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hursk-hero .btn-primary:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* swipe row */
.hursk-hero .swipe { display: flex; align-items: center; gap: 26px; }

.hursk-hero .swipe-btn-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
}
.hursk-hero .swipe-btn-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  transition: opacity 0.3s ease;
  opacity: 1;
}
.hursk-hero .swipe-btn-wrap:hover::before { opacity: 0; }

.hursk-hero .swipe-btn {
  position: relative;
  width: 56px; height: 56px;
  border: 1.5px solid rgba(255,255,255,0.85);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.hursk-hero .swipe-btn:hover { background: rgba(255,255,255,0.08); transform: translateX(3px); }
.hursk-hero .swipe-btn:active { transform: translateX(6px); }
.hursk-hero .swipe-btn svg { width: 20px; height: 20px; }
.hursk-hero .swipe-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #fff;
}

/* ============ ANIMATIONS ============ */
@keyframes hursk-slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes hursk-photoSlideIn {
  from { opacity: 0; transform: translate(calc(-50% + 100px), -50%); }
  to   { opacity: 1; transform: translate(calc(-50% + 60px), -50%); }
}

.hursk-hero .text-content.is-animating .title,
.hursk-hero .text-content.is-animating .desc,
.hursk-hero .text-content.is-animating .btn-primary {
  animation: hursk-slideInLeft 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hursk-hero .text-content.is-animating .desc { animation-delay: 0.08s; }
.hursk-hero .text-content.is-animating .btn-primary { animation-delay: 0.16s; }

/* ============ SLIDER ============ */
.hursk-hero .subject {
  position: relative;
  align-self: center;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hursk-hero .circle {
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(calc(-50% + 60px), -50%);
  background:
    radial-gradient(circle at 50% 50%,
      var(--glow) 0%,
      var(--glow) 55%,
      var(--glow-mid) 75%,
      transparent 92%);
  filter: blur(0.5px);
  z-index: 1;
  transition: background 0.6s ease;
}

.hursk-hero .photo-wrap {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hursk-hero .photo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + 60px), -50%);
  height: 800px;
  width: 800px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.hursk-hero .photo.is-active {
  opacity: 1;
  animation: hursk-photoSlideIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Centerpiece Image Styling & Float Animation */
.hursk-hero .photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: centerpieceFloat 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes centerpieceFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hursk-hero .page-num {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.5px;
  min-width: 18px;
}
.hursk-hero .page-num.dim { color: rgba(255,255,255,0.55); }

.hursk-hero .progress {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 380px;
}
.hursk-hero .progress-segment {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.25);
  overflow: hidden;
  position: relative;
  border-radius: 2px;
}
.hursk-hero .progress-segment::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0s linear;
}
.hursk-hero .progress-segment.is-past::after { transform: scaleX(1); }
.hursk-hero .progress-segment.is-active::after {
  transform: scaleX(1);
  transition: transform var(--slide-duration, 5s) linear;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) and (min-width: 821px) {
  .hursk-hero .hero-inner { padding: 0 40px; }
  .hursk-hero .title { font-size: clamp(68px, 6.5vw, 82px); }
  .hursk-hero .pagination { left: 40px; }
  .hursk-hero .subject { align-items: center; }
  .hursk-hero .circle {
    width: 440px; height: 440px;
    top: 50%; bottom: auto;
    transform: translate(calc(-50% + 40px), calc(-50% - 20px));
  }
  .hursk-hero .photo {
    top: 50%; bottom: auto;
    width: 540px;
    height: 540px;
    transform: translate(calc(-50% + 40px), calc(-50% - 20px));
  }
  @keyframes hursk-photoSlideIn {
    from { opacity: 0; transform: translate(calc(-50% + 80px), calc(-50% - 20px)); }
    to   { opacity: 1; transform: translate(calc(-50% + 40px), calc(-50% - 20px)); }
  }
}

@media (max-width: 820px) {
  .hursk-hero { padding: 80px 0 0; height: auto; min-height: 0; }
  .hursk-hero .hero-inner { padding: 0 24px; }

  .hursk-hero .main {
    grid-template-columns: 1fr;
    padding-top: 10px;
    gap: 0;
  }

  .hursk-hero .subject { order: 1; height: 60vw; min-height: 320px; max-height: 460px; align-items: center; }
  .hursk-hero .circle {
    width: 280px; height: 280px;
    top: 50%; bottom: auto;
    transform: translate(calc(-50% - 10px), -50%);
  }
  .hursk-hero .photo {
    top: 50%;
    bottom: auto;
    width: 350px;
    height: 350px;
    transform: translate(calc(-50% - 10px), -50%);
  }
  @keyframes hursk-photoSlideIn {
    from { opacity: 0; transform: translate(calc(-50% + 30px), -50%); }
    to   { opacity: 1; transform: translate(calc(-50% - 10px), -50%); }
  }

  .hursk-hero .text { padding-left: 0; padding-bottom: 30px; padding-top: 30px; order: 2; }
  .hursk-hero .title { font-size: 72px; letter-spacing: -3px; margin-bottom: 24px; }
  .hursk-hero .desc { margin-bottom: 36px; }

  .hursk-hero .pagination { position: relative; bottom: auto; left: auto; padding: 0 0 24px; width: 100%; }
  .hursk-hero .progress { flex: 1; width: auto; }
}

@media (max-width: 480px) {
  .hursk-hero .title { font-size: 56px; letter-spacing: -2px; }
  .hursk-hero .swipe-btn { width: 52px; height: 52px; }
}


/* ============================================================
   INDUSTRIES PAGE CAROUSEL SLIDER OVERRIDES
   ============================================================ */



/* Numbering on the left styling adjustments */
.industries-slider .as-bar {
  margin-left: 0 !important;
  margin-right: 40px !important;
}

/* Arrows under text styling adjustments */
.industries-slider .hero-left-panel .as-slider-arrows {
  margin-top: 36px !important;
  display: flex !important;
  gap: 12px !important;
}

@media (max-width: 960px) {

  
  /* Responsive flex stacking order: Text, then Dots, then Cards */
  .industries-slider {
    display: flex !important;
    flex-direction: column !important;
  }
  .industries-slider .hero-left-panel {
    order: 1 !important;
  }
  .industries-slider .as-bar {
    order: 2 !important;
    flex-direction: row !important;
    height: auto !important;
    width: 200px !important;
    margin: 20px auto !important;
  }
  .industries-slider .as-side-slider-container {
    order: 3 !important;
  }
}

/* ============================================================
   DISTORTED IMAGE FULL-SCREEN MENU DRAWER (v2 Layout)
   ============================================================ */
:root {
  --hover-image-width: 400;
  --hover-image-height: 280;
}

.distorted-menu-wrapper {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background: var(--bg);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

body.distorted-menu-active .distorted-menu-wrapper {
  visibility: visible;
  opacity: 1;
}

.distorted-menu-wrapper canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1; /* Canvas above solid background but below text/content */
}

/* Left Sidebar Column */
.distorted-menu-sidebar {
  width: 100px;
  height: 100%;
  background: var(--bg-card); /* white card background */
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.distorted-menu-logo a {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  transform: rotate(180deg);
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.distorted-menu-logo a:hover {
  color: var(--accent);
}

/* Right Main Content Area */
.distorted-menu-main {
  flex-grow: 1;
  height: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 80px;
}

.distorted-menu-container {
  width: 100%;
  max-width: 900px;
  height: 90%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Close Button (Diagonal Lines) */
.distorted-menu-close-btn {
  position: absolute;
  top: 40px;
  right: 80px;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.distorted-menu-close-btn span {
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.distorted-menu-close-btn span:nth-child(1) {
  transform: rotate(45deg);
}

.distorted-menu-close-btn span:nth-child(2) {
  transform: rotate(-45deg);
}

.distorted-menu-close-btn:hover {
  transform: rotate(90deg);
}

.distorted-menu-close-btn:hover span {
  background: var(--accent);
}

/* Top Row: Search */
.distorted-menu-search-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid var(--rule);
  padding: 32px 0 20px 0;
}

.distorted-menu-search-row .search-text {
  font-family: var(--body);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--text);
}

.distorted-menu-search-row .search-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  transition: transform 0.3s ease;
}

.distorted-menu-search-row:hover .search-icon svg {
  transform: scale(1.1);
}

/* Links List */
.distorted-menu-content {
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
}

.distorted-menu-links {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.distorted-menu-links .menu-item {
  width: 100%;
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body.distorted-menu-active .distorted-menu-links .menu-item {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger transitions for list items */
body.distorted-menu-active .distorted-menu-links .menu-item:nth-child(1) { transition-delay: var(--d, 0.1s); }
body.distorted-menu-active .distorted-menu-links .menu-item:nth-child(2) { transition-delay: var(--d, 0.18s); }
body.distorted-menu-active .distorted-menu-links .menu-item:nth-child(3) { transition-delay: var(--d, 0.26s); }
body.distorted-menu-active .distorted-menu-links .menu-item:nth-child(4) { transition-delay: var(--d, 0.34s); }
body.distorted-menu-active .distorted-menu-links .menu-item:nth-child(5) { transition-delay: var(--d, 0.42s); }

.distorted-menu-links .menu-item a {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 20px;
  text-decoration: none;
  width: 100%;
  transition: transform 0.3s ease;
}

.distorted-menu-links .menu-item a .menu-num {
  font-family: var(--body);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.3s ease;
}

.distorted-menu-links .menu-item a .menu-lbl {
  font-family: var(--display);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 300;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.02em;
  transition: color 0.3s ease, transform 0.3s ease;
}

.distorted-menu-links .menu-item a:hover .menu-num {
  color: var(--accent);
}

.distorted-menu-links .menu-item a:hover .menu-lbl {
  color: var(--accent);
  transform: translateX(-12px);
}

/* Footer Links */
.distorted-menu-footer {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding-top: 24px;
  margin-top: 16px;
}

.menu-footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.menu-footer-item a {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.menu-footer-item a:hover {
  color: var(--accent);
  transform: translateX(-4px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  :root {
    --hover-image-width: 210;
    --hover-image-height: 150;
  }

  .distorted-menu-sidebar {
    display: none;
  }

  .distorted-menu-main {
    padding: 40px 24px;
  }

  .distorted-menu-close-btn {
    top: 24px;
    right: 24px;
  }

  .distorted-menu-container {
    height: 95%;
  }

  .distorted-menu-search-row {
    padding: 16px 0 12px 0;
  }

  .distorted-menu-links .menu-item {
    padding: 10px 0;
  }

  .distorted-menu-links .menu-item a .menu-num {
    font-size: 14px;
    gap: 10px;
  }

  .distorted-menu-links .menu-item a .menu-lbl {
    font-size: clamp(28px, 8vw, 42px);
  }
  
  .distorted-menu-footer {
    padding-top: 16px;
    margin-top: 8px;
  }
}



/* ── SCROLL REVEAL ANIMATIONS ── */
.card-fade {
  opacity: 0 !important;
  transform: translateY(12px) !important;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.card-fade.in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.typing-cursor {
  display: inline-block;
  font-weight: 300;
  margin-left: 2px;
  animation: cursorBlink 0.8s infinite;
  color: var(--accent);
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── FAQ ACCORDION (article pages) ── */
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--body);
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1a1a;
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

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

.faq-answer-inner {
  padding-bottom: 22px;
  font-size: 1.05rem;
  color: rgba(0,0,0,0.7);
  line-height: 1.75;
}

/* ============================================================
   SALESFORCE IMPLEMENTATION LANDING PAGE
   ============================================================ */
.impl-hero {
  position: relative;
  min-height: 760px;
  height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.impl-hero-image {
  position: absolute;
  inset: 0;
  background: url('hero-technology.jpg') center 45% / cover no-repeat;
  transform: scale(1.03);
}
.impl-hero-melbourne .impl-hero-image { background-image:url('hero-technology.jpg'); background-position:center 48%; }
.impl-hero-brisbane .impl-hero-image { background-image:url('hero-construction.jpg'); background-position:center 45%; }
.impl-hero-claude .impl-hero-image { background-image:url('article-agentforce.png'); background-position:center 50%; }
.impl-hero-claude .impl-hero-overlay { background:linear-gradient(90deg,rgba(22,13,19,.94) 0%,rgba(43,21,36,.76) 48%,rgba(43,21,36,.22) 100%); }
.impl-hero-claude h1 em { color:#d6a6ff; }
.impl-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,16,13,.90) 0%, rgba(14,16,13,.70) 45%, rgba(14,16,13,.18) 100%);
}
.impl-hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
  padding: 150px 64px 76px;
}
.impl-breadcrumb { display:flex; gap:10px; margin-bottom:38px; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.55); }
.impl-breadcrumb a { color:inherit; text-decoration:none; }
.impl-breadcrumb a:hover { color:#fff; }
.impl-hero h1 { font-family:var(--display); font-size:clamp(52px,7.2vw,96px); font-weight:300; line-height:.96; letter-spacing:-.045em; color:#fff; }
.impl-hero h1 em { color:#86efac; }
.impl-hero-content > p { max-width:620px; margin-top:28px; font-size:17px; line-height:1.75; color:rgba(255,255,255,.78); }
.impl-hero-actions { display:flex; align-items:center; gap:28px; margin-top:36px; }
.impl-hero-actions .btn-primary { background:#f5f4ef; color:#1a1916; border-color:#f5f4ef; }
.impl-text-link { color:#fff; font-size:12px; letter-spacing:.05em; text-underline-offset:5px; }
.impl-intro { display:grid; grid-template-columns:minmax(220px,.7fr) minmax(0,1.6fr); gap:8vw; }
.impl-stat { margin-top:52px; display:flex; flex-direction:column; }
.impl-stat strong { font:300 clamp(54px,7vw,88px)/1 var(--display); letter-spacing:-.04em; }
.impl-stat span { margin-top:8px; color:var(--text-mid); font-size:12px; text-transform:uppercase; letter-spacing:.1em; }
.impl-intro-copy h2 { max-width:900px; font:300 clamp(36px,5vw,64px)/1.08 var(--display); letter-spacing:-.035em; margin-bottom:38px; }
.impl-intro-copy p { max-width:760px; font-size:17px; color:var(--text-mid); line-height:1.8; margin-bottom:18px; }
.impl-cap-grid { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--rule); border-left:1px solid var(--rule); }
.impl-cap-card { position:relative; isolation:isolate; overflow:hidden; min-height:290px; padding:36px; border-right:1px solid var(--rule); border-bottom:1px solid var(--rule); background:rgba(255,255,255,.38); transition:transform .4s cubic-bezier(.16,1,.3,1); }
.impl-cap-card::before { content:""; position:absolute; inset:0; z-index:-1; opacity:0; transform:scale(1.1); background-image:radial-gradient(at 20% 20%,rgba(90,169,230,.45) 0%,transparent 60%),radial-gradient(at 80% 40%,rgba(31,72,112,.65) 0%,transparent 70%),radial-gradient(at 40% 90%,rgba(107,37,133,.55) 0%,transparent 60%),linear-gradient(135deg,#142d48,#0e1a24); transition:opacity .6s cubic-bezier(.16,1,.3,1),transform .6s cubic-bezier(.16,1,.3,1); }
.impl-cap-card:hover { transform:translateY(-2px); }
.impl-cap-card:hover::before { opacity:1; transform:scale(1); }
.impl-cap-card > span { display:block; color:var(--text-dim); font-size:11px; margin-bottom:54px; transition:color .4s; }
.impl-cap-card h3 { font:400 25px/1.2 var(--display); margin-bottom:14px; transition:color .4s; }
.impl-cap-card p { color:var(--text-mid); line-height:1.7; font-size:14px; transition:color .4s; }
.impl-cap-card:hover > span { color:rgba(255,255,255,.6); }
.impl-cap-card:hover h3 { color:#fff; }
.impl-cap-card:hover p { color:rgba(255,255,255,.8); }
.impl-section-note { max-width:460px; color:var(--text-mid); line-height:1.7; font-size:14px; }
.impl-fit { display:grid; grid-template-columns:1fr 1.15fr; gap:9vw; align-items:start; }
.impl-fit-copy > p { max-width:550px; color:var(--text-mid); line-height:1.8; margin:26px 0 34px; }
.impl-signals { list-style:none; border-top:1px solid var(--rule); }
.impl-signals li { display:grid; grid-template-columns:48px 1fr; gap:20px; padding:24px 0; border-bottom:1px solid var(--rule); }
.impl-signals li > span { color:var(--text-dim); font-size:11px; }
.impl-signals strong { display:block; font-size:15px; margin-bottom:7px; }
.impl-signals p { color:var(--text-mid); line-height:1.6; font-size:13px; }
.impl-link-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.impl-link-cards a { position:relative; isolation:isolate; overflow:hidden; min-height:330px; padding:34px; background:var(--bg-card); border:1px solid var(--rule); border-radius:12px; text-decoration:none; color:var(--text); display:flex; flex-direction:column; transition:transform .4s cubic-bezier(.16,1,.3,1),box-shadow .4s; }
.impl-link-cards a::before { content:""; position:absolute; inset:0; z-index:-1; opacity:0; transform:scale(1.1); background-image:radial-gradient(at 20% 30%,rgba(236,90,60,.45) 0%,transparent 60%),radial-gradient(at 80% 20%,rgba(138,39,21,.65) 0%,transparent 70%),radial-gradient(at 30% 80%,rgba(107,37,133,.55) 0%,transparent 60%),linear-gradient(135deg,#3d1a12,#210d09); transition:opacity .6s cubic-bezier(.16,1,.3,1),transform .6s cubic-bezier(.16,1,.3,1); }
.impl-link-cards a:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.impl-link-cards a:hover::before { opacity:1; transform:scale(1); }
.impl-link-cards span { font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--text-dim); }
.impl-link-cards h3 { font:400 28px/1.2 var(--display); margin:45px 0 16px; }
.impl-link-cards p { color:var(--text-mid); font-size:14px; line-height:1.7; }
.impl-link-cards b { margin-top:auto; font-size:12px; font-weight:500; color:var(--accent); }
.impl-link-cards a span, .impl-link-cards a h3, .impl-link-cards a p, .impl-link-cards a b { transition:color .4s; }
.impl-link-cards a:hover span { color:rgba(255,255,255,.6); }
.impl-link-cards a:hover h3 { color:#fff; }
.impl-link-cards a:hover p { color:rgba(255,255,255,.8); }
.impl-link-cards a:hover b { color:#fff; }
.impl-review-summary { max-width:330px; text-align:right; }
.impl-review-stars { color:#f5b400; letter-spacing:3px; font-size:16px; }
.impl-review-summary p { margin-top:8px; color:var(--text-mid); font-size:13px; line-height:1.5; }
.impl-review-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.impl-review-card { display:flex; flex-direction:column; min-height:410px; padding:38px; border:1px solid var(--rule); border-radius:12px; background:var(--bg-card); }
.impl-review-source { display:flex; align-items:center; gap:12px; min-height:64px; color:var(--text-mid); font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.impl-review-logo { display:block; width:auto; object-fit:contain; }
.impl-review-logo-google { width:126px; height:64px; object-position:left center; }
.impl-review-logo-salesforce { width:72px; height:58px; }
.impl-review-card blockquote { margin:42px 0 32px; font:300 clamp(22px,2.2vw,31px)/1.4 var(--display); letter-spacing:-.02em; }
.impl-review-person { display:flex; flex-direction:column; gap:4px; margin-top:auto; }
.impl-review-person strong { font-size:14px; }
.impl-review-person span { color:var(--text-dim); font-size:12px; }
.impl-review-card > a { width:max-content; margin-top:24px; color:var(--accent); font-size:12px; font-weight:600; text-decoration:none; }
.impl-review-card > a:hover { opacity:.7; }
.impl-faq { display:grid; grid-template-columns:.8fr 1.2fr; gap:9vw; }
.impl-faq-list { border-top:1px solid var(--rule); }
@media (max-width: 900px) {
  .impl-hero { min-height:680px; height:88vh; }
  .impl-hero-content { padding:130px 32px 56px; }
  .impl-intro, .impl-fit, .impl-faq { grid-template-columns:1fr; gap:48px; }
  .impl-cap-grid { grid-template-columns:repeat(2,1fr); }
  .impl-link-cards, .impl-review-grid { grid-template-columns:1fr; }
  .impl-review-summary { text-align:left; }
  .impl-stat { margin-top:24px; }
}
@media (max-width: 600px) {
  .impl-hero { min-height:660px; }
  .impl-hero-image { background-position:60% center; }
  .impl-hero-content { padding:116px 22px 44px; }
  .impl-breadcrumb { display:none; }
  .impl-hero h1 { font-size:48px; }
  .impl-hero-content > p { font-size:15px; }
  .impl-hero-actions { align-items:flex-start; flex-direction:column; gap:20px; }
  .impl-cap-grid { grid-template-columns:1fr; }
  .impl-cap-card { min-height:230px; }
  .impl-cap-card > span { margin-bottom:36px; }
  .impl-section-note { margin-top:18px; }
  .impl-review-card { min-height:0; padding:28px 24px; }
}




/* ============================================================
   REVIEWS BANNER (Home page) - flat 2D peek-stack carousel with
   a horizontal page-flip transition between cards.
   ============================================================ */
/* ============================================================
   REVIEWS BANNER - draft component (scoped, not in style.css)
   Flat 2D peek-stack (no 3D/perspective): one landscape card
   reads clearly, a few peek out behind toward the upper-left.
   Content width matches the hero (.hursk-hero .hero-inner:
   max-width 1380px / 70px side padding).
   ============================================================ */
.reviews-banner-section{
  padding: 110px 0;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  position: relative;
}
.reviews-banner-grid{
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 70px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: center;
}

.reviews-left{ position: relative; align-self: start; }
.reviews-eyebrow{
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}
.reviews-left h2{
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(32px, 3.6vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--text);
}

.reviews-stats-row{
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.reviews-stat-chip{
  display: flex;
  align-items: center;
  gap: 10px;
  background: #161616;
  border: 1px solid var(--review-border);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.reviews-stat-chip .stars{ color: #F5B400; font-size: 13px; letter-spacing: 1px; line-height: 1; }
.reviews-stat-chip .num{ font-family: var(--display); font-size: 17px; font-weight: 500; color: var(--review-text); line-height: 1; margin-top: 4px; }
.reviews-stat-chip .lbl{ font-size: 11px; color: var(--review-text-dim); margin-top: 2px; }

.reviews-stack-nav{
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}
.rb-arrow{
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--review-border);
  background: #161616;
  color: var(--review-text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  flex: none;
}
.rb-arrow:hover{
  background: #0070D2;
  color: #fff;
  border-color: #0070D2;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.rb-arrow svg{ width: 17px; height: 17px; }
.reviews-counter{
  font-size: 12.5px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  min-width: 60px;
  font-variant-numeric: tabular-nums;
}

/* ---- flat 2D peek-stack ---- */
.reviews-right{
  position: relative;
  display: flex;
  justify-content: center;
}
.reviews-stack{
  position: relative;
  width: 100%;
  max-width: 660px;
  height: 400px;
  perspective: 1500px;
  transition: height 0.4s ease;
}
.review-card{
  position: absolute;
  top: 0; left: 50%;
  width: 620px;
  max-width: 100%;
  height: 360px;
  margin-left: -310px;
  background: #161616;
  border: 1px solid var(--review-border);
  border-radius: 22px;
  padding: 34px 38px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: row;
  gap: 30px;
  cursor: pointer;
  overflow: hidden;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1),
              opacity 0.5s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.5s cubic-bezier(0.22,1,0.36,1),
              height 0.4s ease;
}
.review-card.is-expanded{
  height: auto;
  min-height: 360px;
  z-index: 999 !important;
}
.review-card:focus-visible{ outline: 2px solid var(--accent); outline-offset: 4px; }

.review-card-meta{
  flex: 0 0 148px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.review-tag{
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  padding: 6px 11px 6px 8px;
  border-radius: 100px;
  text-decoration: none;
  transition: filter 0.2s ease;
}
.review-tag:hover{ filter: brightness(0.94); }
.review-tag svg{ width: 13px; height: 13px; flex: none; }
.review-tag.src-google{ color: #3c4043; background: #E8F0FE; }
.review-tag.src-appexchange{ color: #00538C; background: #E4F4FC; }
.review-industry{
  align-self: flex-start;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--review-text-dim);
  background: rgba(255,255,255,0.08);
  padding: 5px 9px;
  border-radius: 100px;
  margin-top: 8px;
  max-width: 100%;
}
.review-stars{
  color: #F5B400;
  font-size: 14px;
  letter-spacing: 2px;
  margin-top: 14px;
}
.review-card-meta .review-foot{
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--review-border);
}
.review-avatar{
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--review-text);
  display: flex; align-items: center; justify-content: center;
  font-size: 11.5px;
  font-weight: 600;
  flex: none;
}
.review-who{ display: flex; flex-direction: column; min-width: 0; }
.review-name{ font-size: 13px; font-weight: 600; color: var(--review-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-role{ font-size: 11.5px; color: var(--review-text-dim); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.review-card-body{
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.review-card-body::before{
  content: "\201C";
  position: absolute;
  top: -46px; left: -6px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 140px;
  line-height: 1;
  color: rgba(255,255,255,0.05);
  z-index: 0;
  pointer-events: none;
}

.review-quote {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--review-text);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}
.review-card.is-expanded .review-quote{
  -webkit-line-clamp: none;
  display: block;
}

.review-readmore{
  display: none;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  color: #0070D2;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.review-readmore:hover{ text-decoration: underline; }

/* Positive words styling - Salesforce blue */
.review-word-highlight {
  font-weight: 600;
  color: #0070D2;
}

@media (max-width: 980px){
  .reviews-banner-grid{ grid-template-columns: 1fr; gap: 44px; padding: 0 24px; }
  .reviews-banner-grid .reviews-right{ order: -1; }
  .reviews-left{ text-align: center; }
  .reviews-stats-row{ justify-content: center; }
  .reviews-stack-nav{ justify-content: center; }
}
@media (max-width: 700px){
  /* Reorder: heading → card strip → arrows → star-rating chips.
     .reviews-left is unwrapped via display:contents so its children
     (eyebrow, h2, stats-row, nav) can be individually reordered
     relative to .reviews-right (the card strip) using flex order. */
  .reviews-banner-grid{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .reviews-left{
    display: contents;
  }
  .reviews-eyebrow{ order: 1; width: 100%; }
  .reviews-left > h2{ order: 2; margin-bottom: 4px; width: 100%; }
  /* Higher-specificity selector needed to beat the .reviews-banner-grid
     .reviews-right{ order:-1 } rule set at the 980px breakpoint above -
     equal-specificity, later-in-source rules only win when the selector
     itself is at least as specific. */
  .reviews-banner-grid .reviews-right{ order: 3; width: 100%; }
  .reviews-stack-nav{ order: 4; width: 100%; }
  .reviews-stats-row{ order: 5; margin-top: 4px; width: 100%; }

  /* Native horizontal scroll-snap strip - smooth momentum scrolling,
     cards laid out in a row with a visible gap, no JS show/hide. */
  .reviews-stack{
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
    height: auto;
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0 14px;
    /* Containment safeguard: a very wide horizontal scroll-snap strip
       (58 cards in one row) nested inside a vertically-scrolling iOS
       page can, in some WebKit versions, leak its intrinsic content
       size into the document's reported scroll height, showing as
       extra blank space past the footer. contain + overscroll-behavior
       force this element to be sized/scrolled independently. */
    contain: layout paint;
    overscroll-behavior: contain;
  }
  .reviews-stack::-webkit-scrollbar{ display: none; height: 0; }

  .reviews-banner-grid .reviews-right{
    display: block;
    width: 100%;
  }

  .review-card{
    display: flex;
    position: relative;
    top: auto;
    left: auto;
    margin: 0;
    flex: 0 0 84%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    width: auto;
    max-width: 84%;
    height: auto;
    min-height: auto;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background: #161616;
    border: 1px solid var(--review-border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    overflow: visible;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .review-card-meta{
    /* .review-card is now flex-direction:column on mobile, which flips
       the meaning of the desktop "flex: 0 0 148px" (a fixed WIDTH for
       a side column) into a fixed HEIGHT - starving cards with more
       meta content (e.g. a 2-line industry tag) of the room they need.
       Reset it to size naturally with its content instead. */
    flex: 0 0 auto;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
  }
  .review-card-meta .review-foot{
    margin-top: 8px;
    border-top: none;
    padding-top: 8px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .review-avatar{
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
  .review-stars{ margin-top: 0; }
  .review-readmore{ display: none !important; }
  .review-card-body .review-quote {
    font-size: 14px;
    line-height: 1.6;
    -webkit-line-clamp: none;
  }
  /* Decorative giant quote-mark is positioned -46px above the quote
     body - harmless on desktop where meta sits beside it in a row,
     but on mobile the card stacks meta above the quote, so this glyph
     bleeds straight up onto the avatar/stars. Purely decorative, so
     just drop it on mobile rather than fight the offset. */
  .review-card-body::before{
    display: none;
  }
  .reviews-stack-nav {
    position: relative;
    top: auto;
    transform: none;
    width: 100%;
    left: auto;
    right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 0;
    margin-top: 16px;
    pointer-events: auto;
    z-index: 1;
  }
  .rb-arrow {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--rule);
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
  }
  .rb-arrow:hover {
    border-color: var(--text);
  }
  .reviews-stats-row{
    justify-content: center;
  }
}
@media (max-width: 560px){
  .reviews-banner-section{ padding: 60px 24px; }
  .review-card {
    flex: 0 0 88%;
    max-width: 88%;
    padding: 20px;
  }
  .rb-arrow {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}
