/* ================================================
   INVENTO ANIMATIONS & CUSTOM STYLES
   ================================================ */

/* ------------------------------------------------
   CRITICAL: Global reveal fallback
   If IntersectionObserver / JS fails on mobile,
   all .reveal-on-scroll elements stay opacity:0.
   This forces them visible after 3s.
   ------------------------------------------------ */
@keyframes invento-global-reveal {
  to { opacity: 1; transform: none; }
}

.reveal-on-scroll:not(.is-visible) {
  animation: invento-global-reveal 0.01ms 0.5s forwards;
}

/* ------------------------------------------------
   Typography - Outfit Font Override
   ------------------------------------------------ */
body {
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif !important;
}

body *:not(.icon):not(i):not([class^="ion-"]):not([class*=" ion-"]) {
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif !important;
}

/* ------------------------------------------------
   Hero H1 - Maximum Width & Size
   ------------------------------------------------ */
.headline {
  width: 100%;
  max-width: none !important;
}

.headline h1 {
  width: 100%;
  max-width: none !important;
  margin: 0;
  font-weight: 900;
  line-height: 0.90;
  letter-spacing: -0.04em;
  font-size: clamp(2.8rem, 8.2vw, 13em);
  text-wrap: balance;
  text-wrap: pretty; /* Alternative wrapping algorithm */
}

@media (max-width: 575px) {
  .headline h1 {
    font-size: clamp(2.2rem, 11.5vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
  }
}

/* ------------------------------------------------
   Reveal on Scroll Animation
   ------------------------------------------------ */
.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ------------------------------------------------
   Hero H1 - Fade-In (înlocuiește typewriter)
   ------------------------------------------------ */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.headline h1 {
  animation: heroFadeIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.15s;
}

@media (prefers-reduced-motion: reduce) {
  .headline h1 {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ------------------------------------------------
   Portfolio Load More - Full Width Strip
   ------------------------------------------------ */
.portfolio-load-more-holder {
  width: 100%;
  padding: 0;
  margin: 0;
  text-align: center;
}

.portfolio-item--hidden {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#portfolio-load-more {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  background: #272f7c;
  color: #fff;
  border: 0;
  border-radius: 0;
  text-decoration: none;
  min-height: clamp(240px, 28vh, 360px);
  padding: 28px 24px;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  will-change: transform, box-shadow;
}

#portfolio-load-more:hover,
#portfolio-load-more:focus {
  background: #272f7c;
  transform: translate3d(0, -1px, 0);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
  color: #fff;
}

#portfolio-load-more:active {
  transform: translate3d(0, 0, 0);
  opacity: 0.96;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

#portfolio-load-more:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

#portfolio-load-more .portfolio-strip-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
}

#portfolio-load-more .portfolio-strip-text {
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-align: center;
  font-size: clamp(1.55rem, 3.2vw, 3.15rem);
  color: #fff;
}

#portfolio-load-more .portfolio-strip-progress {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(0.95rem, 1.35vw, 1.25rem);
  opacity: 0.9;
}

#portfolio-load-more .portfolio-strip-icon {
  width: clamp(66px, 6vw, 96px);
  height: clamp(66px, 6vw, 96px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#portfolio-load-more .portfolio-strip-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

#portfolio-load-more .portfolio-strip-icon .stroke {
  stroke: #8eefe1;
}

#portfolio-progress-bar,
#portfolio-load-more-status {
  display: none;
}

@media (max-width: 575px) {
  #portfolio-load-more {
    min-height: 208px;
    padding: 22px 18px;
  }
}

/* ------------------------------------------------
   Portfolio Progress Bar
   ------------------------------------------------ */
#portfolio-progress {
  margin-top: 10px;
  text-align: center;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  color: #272F7C;
  opacity: 0.92;
  letter-spacing: 0.2px;
}

#portfolio-progress-bar {
  width: 100%;
  max-width: 460px;
  height: 10px;
  margin: 10px auto 0;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  overflow: hidden;
}

#portfolio-progress-bar-fill {
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: 999px;
  transition: width 520ms ease;
}

/* ------------------------------------------------
   Quality Polish - Accessibility & UX
   ------------------------------------------------ */
:root {
  --invento-ease: cubic-bezier(.2, .8, .2, 1);
  --invento-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.content-section_info a:focus-visible,
.content-section_info .btn:focus-visible {
  outline-color: rgba(39, 47, 124, 0.75);
}

/* ------------------------------------------------
   Portfolio - Skeleton Shimmer
   ------------------------------------------------ */
.my-gallery .works-link {
  position: relative;
  display: block;
  overflow: hidden;
}

.my-gallery .works-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, 0.08);
  transition: opacity 240ms var(--invento-ease);
}

.my-gallery .works-link.is-loading::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; /* Fallback */
  inset: 0;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0.16) 45%,
      rgba(255, 255, 255, 0.06) 90%);
  transform: translateX(-55%);
  animation: inventoShimmer 1.15s linear infinite;
  pointer-events: none;
}

@keyframes inventoShimmer {
  to {
    transform: translateX(55%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .my-gallery .works-link.is-loading::before {
    animation: none !important;
  }
}

/* ------------------------------------------------
   Portfolio End State UI
   ------------------------------------------------ */
.portfolio-end-message {
  margin-top: 16px;
  font-weight: 700;
  color: #272F7C;
  text-align: center;
}

.portfolio-back-top {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border: 2px solid #272F7C;
  color: #272F7C;
  background: rgba(255, 255, 255, 0.95);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-decoration: none;
  cursor: pointer;
}

.portfolio-back-top:hover {
  transform: translate3d(0, -1px, 0);
  box-shadow: var(--invento-shadow);
  color: #272F7C;
}

/* ------------------------------------------------
   Quick Lead Modal
   ------------------------------------------------ */
.invento-modal {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0; /* Fallback for older browsers */
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.invento-modal.is-open {
  display: flex;
}

.invento-modal__backdrop {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; /* Fallback */
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.invento-modal__card {
  position: relative;
  width: 92vw; /* Fallback for browsers without min() */
  width: min(560px, 92vw);
  max-width: 560px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.30);
  padding: 22px 22px 18px;
}

.invento-modal__title {
  font-weight: 900;
  font-size: 1.25rem;
  margin: 0 0 6px;
  color: #272F7C;
}

.invento-modal__subtitle {
  margin: 0 0 14px;
  color: rgba(0, 0, 0, 0.72);
  font-weight: 600;
}

.invento-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.invento-modal__grid input,
.invento-modal__grid select,
.invento-modal__grid textarea {
  font-family: inherit;
  width: 100%;
  border: 1px solid rgba(39, 47, 124, 0.22);
  border-radius: 12px;
  padding: 12px 12px;
  font-weight: 600;
  outline: none;
}

.invento-modal__grid select {
  grid-column: 1 / -1;
}

.invento-modal__grid textarea {
  grid-column: 1 / -1;
  min-height: 98px;
  resize: vertical;
}

.invento-modal__actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.invento-modal__btn {
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
  border: 2px solid #272F7C;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.invento-modal__btn--primary {
  background: #272F7C;
  color: #fff;
}

.invento-modal__btn--ghost {
  background: transparent;
  color: #272F7C;
}

@media (max-width: 480px) {
  .invento-modal__card {
    padding: 18px 16px 14px;
  }
  .invento-modal__grid {
    grid-template-columns: 1fr;
  }
  .invento-modal__grid select {
    grid-column: auto;
  }
}

/* ------------------------------------------------
   Trust Section — Modern Redesign (Turquoise)
   ------------------------------------------------ */
/* ================================================
   Trust Section — Ultra-Modern Floating Cards (6 × 3col)
   ================================================ */

.inv-trust-media {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  background: transparent;
  min-height: 100%;
}

.inv-trust-section {
  position: relative;
  width: 100%;
  min-height: 100%;
  padding: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 40px);
  background: linear-gradient(165deg, #1a1e4e 0%, #272f7c 35%, #2d3388 70%, #1e2260 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Noise texture overlay */
.inv-trust-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* Decorative orbs */
.inv-trust-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  z-index: 0;
}
.inv-trust-orb--1 {
  width: 380px; height: 380px;
  top: -120px; right: -60px;
  background: radial-gradient(circle, #4f6ef7 0%, transparent 70%);
  opacity: 0.4;
}
.inv-trust-orb--2 {
  width: 320px; height: 320px;
  bottom: -80px; left: -60px;
  background: radial-gradient(circle, #f05a7a 0%, transparent 70%);
  opacity: 0.3;
}
.inv-trust-orb--3 {
  width: 260px; height: 260px;
  top: 40%; left: 30%;
  background: radial-gradient(circle, #5febdd 0%, transparent 70%);
  opacity: 0.12;
}

/* Starfield */
.inv-trust-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.inv-trust-stars span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  animation: itc-twinkle 4s ease-in-out infinite;
}
.inv-trust-stars span:nth-child(1)  { width:2px; height:2px; top:8%;  left:12%; animation-delay:0s; }
.inv-trust-stars span:nth-child(2)  { width:1px; height:1px; top:20%; left:72%; animation-delay:0.8s; }
.inv-trust-stars span:nth-child(3)  { width:2px; height:2px; top:65%; left:22%; animation-delay:1.4s; }
.inv-trust-stars span:nth-child(4)  { width:1px; height:1px; top:45%; left:88%; animation-delay:2.2s; }
.inv-trust-stars span:nth-child(5)  { width:2px; height:2px; top:80%; left:55%; animation-delay:0.4s; }
.inv-trust-stars span:nth-child(6)  { width:1px; height:1px; top:15%; left:42%; animation-delay:1.8s; }
.inv-trust-stars span:nth-child(7)  { width:2px; height:2px; top:32%; left:8%;  animation-delay:3.1s; }
.inv-trust-stars span:nth-child(8)  { width:1px; height:1px; top:55%; left:60%; animation-delay:2.6s; }
.inv-trust-stars span:nth-child(9)  { width:2px; height:2px; top:90%; left:78%; animation-delay:1.1s; }
.inv-trust-stars span:nth-child(10) { width:1px; height:1px; top:5%;  left:94%; animation-delay:0.6s; }
.inv-trust-stars span:nth-child(11) { width:2px; height:2px; top:72%; left:38%; animation-delay:3.5s; }
.inv-trust-stars span:nth-child(12) { width:1px; height:1px; top:28%; left:62%; animation-delay:2.0s; }
.inv-trust-stars span:nth-child(13) { width:2px; height:2px; top:50%; left:5%;  animation-delay:0.2s; }
.inv-trust-stars span:nth-child(14) { width:1px; height:1px; top:88%; left:18%; animation-delay:1.6s; }
.inv-trust-stars span:nth-child(15) { width:2px; height:2px; top:42%; left:50%; animation-delay:2.9s; }

@keyframes itc-twinkle {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.1; transform: scale(0.6); }
}

.inv-trust-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
}

/* ── Grid: 3 col desktop, 2 col tablet, 2 col mobile ── */
.inv-trust-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.4vw, 16px);
  width: 100%;
}

/* ── Card base ── */
.inv-trust-card {
  position: relative;
  border-radius: 20px;
  padding: clamp(16px, 2vw, 22px) clamp(14px, 1.8vw, 20px);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  cursor: default;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  transition:
    transform 0.4s cubic-bezier(0.22,0.68,0,1.15),
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    background 0.4s ease;
}

/* Card shimmer border on hover */
.inv-trust-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.04) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.inv-trust-card:hover::before { opacity: 1; }

.inv-trust-card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow:
    0 24px 56px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.14),
    0 0 40px -10px var(--itc-accent, rgba(95,235,221,0.4));
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.07);
}

/* Color variants — accent glow */
.itc--teal   { --itc-accent: rgba(95,235,221,0.5);  --itc-color: #5febdd; }
.itc--blue   { --itc-accent: rgba(99,120,255,0.5);  --itc-color: #6378ff; }
.itc--orange { --itc-accent: rgba(251,140,80,0.5);  --itc-color: #fb8c50; }
.itc--purple { --itc-accent: rgba(180,100,255,0.5); --itc-color: #b464ff; }
.itc--pink   { --itc-accent: rgba(248,90,160,0.5);  --itc-color: #f85aa0; }
.itc--green  { --itc-accent: rgba(80,220,140,0.5);  --itc-color: #50dc8c; }

/* Inner ambient glow element */
.itc-glow {
  position: absolute;
  width: 130px; height: 130px;
  border-radius: 50%;
  top: -30px; right: -30px;
  background: radial-gradient(circle, var(--itc-color, #5febdd) 0%, transparent 70%);
  opacity: 0.12;
  filter: blur(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.inv-trust-card:hover .itc-glow {
  opacity: 0.25;
  transform: scale(1.3);
}

/* Header row */
.itc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

/* Icon box */
.itc-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--itc-color, #5febdd);
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.itc-icon svg { width: 18px; height: 18px; }
.inv-trust-card:hover .itc-icon {
  background: rgba(255,255,255,0.12);
  transform: rotate(-5deg) scale(1.1);
}

/* Badge pill */
.itc-badge {
  font-size: 1.2rem;
  font-weight: 700;
 
  text-transform: uppercase;
  color: var(--itc-color, #5febdd);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3px 8px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.itc-badge--live {
  color: #f85aa0;
  animation: itc-badge-pulse 2.5s ease-in-out infinite;
}
@keyframes itc-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(248,90,160,0); }
  50%       { box-shadow: 0 0 0 3px rgba(248,90,160,0.2); }
}

/* Live dot inside badge */
.itc-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #f85aa0;
  animation: itc-live-blink 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes itc-live-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

/* Big number */
.itc-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.8rem, 6.4vw, 6.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 4px;
}
.itc-number sup {
  font-size: 0.38em;
  vertical-align: super;
  color: rgba(255,255,255,0.45);
  font-weight: 700;
  margin-left: 1px;
}
.itc-number--geo {
  font-size: clamp(4.8rem, 6.4vw, 6.8rem);
  background: linear-gradient(135deg, #f85aa0 0%, #c86af5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Label */
.itc-label {
  font-size: clamp(1.1rem, 1.4vw, 1.36rem);
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
}

/* Sparkline area chart */
.itc-chart {
  height: 42px;
  flex-shrink: 0;
  margin-bottom: 10px;
  color: var(--itc-color, #5febdd);
  overflow: hidden;
}
.itc-chart svg { width: 100%; height: 100%; }

/* Pulsing dot at end of line */
.itc-pulse-dot {
  animation: itc-dot-pulse 2s ease-in-out infinite;
}
@keyframes itc-dot-pulse {
  0%, 100% { r: 7; opacity: 0.25; }
  50%       { r: 10; opacity: 0.08; }
}

/* Divider + footer */
.itc-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: clamp(0.9rem, 1.1vw, 1.15rem);
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.itc-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--itc-color, #5febdd);
  flex-shrink: 0;
  opacity: 0.8;
}

/* GEO AI chips row */
.itc-geo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
  margin-top: 4px;
}
.itc-ai-chip {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(248,90,160,0.12);
  border: 1px solid rgba(248,90,160,0.2);
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.inv-trust-card:hover .itc-ai-chip {
  background: rgba(248,90,160,0.2);
  border-color: rgba(248,90,160,0.35);
}

/* Cities row (card 6) */
.itc-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 10px;
  margin-top: 4px;
}
.itc-cities span {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  padding: 2px 0;
  position: relative;
}
.itc-cities span:not(:last-child)::after {
  content: '·';
  margin-left: 8px;
  color: rgba(255,255,255,0.2);
}

/* Reveal fallback */
.inv-trust-card.reveal-on-scroll:not(.is-visible) {
  animation: inv-srv-fallback 0.01ms 2s forwards;
}

/* ── Responsive: Tablet → 2 col ── */
@media (max-width: 1199px) {
  .inv-trust-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 991px) {
  .inv-trust-section {
    padding: clamp(28px, 4vw, 48px) clamp(16px, 3vw, 32px);
  }
  .inv-trust-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .itc-number {
    font-size: clamp(4.4rem, 8vw, 5.6rem);
  }
}

/* ── Responsive: Mobile → 2 col (compact) ── */
@media (max-width: 575px) {
  .inv-trust-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .inv-trust-card {
    padding: 14px 12px;
    border-radius: 16px;
  }
  .itc-icon { width: 30px; height: 30px; border-radius: 8px; }
  .itc-icon svg { width: 15px; height: 15px; }
  .itc-number { font-size: 4.4rem; }
  .itc-chart { height: 34px; }
  .itc-geo-row { gap: 4px; }
  .itc-ai-chip { font-size: 0.56rem; padding: 2px 6px; }
}


/* ------------------------------------------------
   About Section — col media stretch fix (desktop)
   ------------------------------------------------ */
[data-anchor="about"] .row.fullheight {
  align-items: stretch;
}

[data-anchor="about"] .col-12.col-xl-6.p-0.content-section_media {
  display: flex;
  flex-direction: column;
  padding: 0 !important;
}

[data-anchor="about"] .inv-trust-media {
  flex: 1;
}

/* ------------------------------------------------
   Back to Top Button
   ------------------------------------------------ */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 0;
  background: #272F7C;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 10px, 0);
  transition: opacity 220ms ease, transform 220ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  display: block;
}

.back-to-top span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  line-height: 1;
}

.back-to-top:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}

/* ------------------------------------------------
   GEO / LLM Section (Mint Background)
   ------------------------------------------------ */
/* ------------------------------------------------
   GEO Section — Modern Redesign
   ------------------------------------------------ */
.inv-geo-section-bg {
  background: #1a1e4e !important;
}

.inv-geo-section {
  position: relative;
  padding: clamp(72px, 10vw, 130px) clamp(20px, 4vw, 48px);
  overflow: hidden;
  background: linear-gradient(165deg, #1a1e4e 0%, #272f7c 35%, #2d3388 70%, #1e2260 100%);
}

/* Decorative orbs */
.inv-geo-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.35;
}

.inv-geo-orb--1 {
  width: 500px;
  height: 500px;
  top: -120px;
  right: -100px;
  background: radial-gradient(circle, #5CE0D2 0%, transparent 70%);
}

.inv-geo-orb--2 {
  width: 400px;
  height: 400px;
  bottom: -80px;
  left: -80px;
  background: radial-gradient(circle, #E8706A 0%, transparent 70%);
  opacity: 0.2;
}

/* Dot matrix texture overlay */
.inv-geo-grid-pattern {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; /* Fallback */
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.inv-geo-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
}

/* Kicker badge */
.inv-geo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px 8px 14px;
  border-radius: 100px;
  border: 1px solid rgba(92, 224, 210, 0.25);
  background: rgba(92, 224, 210, 0.08);
  color: #5CE0D2;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.inv-geo-kicker svg {
  width: 16px;
  height: 16px;
  stroke: #5CE0D2;
}

/* Title */
.inv-geo-title {
  font-weight: 900;
  font-size: clamp(3.8rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 24px;
}

.inv-geo-title-accent {
  color: #5CE0D2;
  display: inline;
}

.inv-geo-title-small {
  display: block;
  font-weight: 600;
  font-size: 0.45em;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 12px;
  line-height: 1.4;
}

/* Lead text */
.inv-geo-lead {
  max-width: 680px;
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 56px;
}

/* Cards grid */
.inv-geo-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 56px;
}

.inv-geo-card {
  position: relative;
  padding: 36px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.4s ease;
}

.inv-geo-card:first-child {
  border-left: none;
}

.inv-geo-card:hover {
  background: rgba(92, 224, 210, 0.04);
}

.inv-geo-card-num {
  font-weight: 900;
  font-size: 2.8rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(92, 224, 210, 0.2);
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.inv-geo-card:hover .inv-geo-card-num {
  color: rgba(92, 224, 210, 0.4);
}

.inv-geo-card-line {
  width: 32px;
  height: 2px;
  background: #5CE0D2;
  border-radius: 2px;
  margin-bottom: 18px;
  transition: width 0.4s ease;
}

.inv-geo-card:hover .inv-geo-card-line {
  width: 48px;
}

.inv-geo-card-title {
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.inv-geo-card-text {
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 18px;
}

.inv-geo-card-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid rgba(92, 224, 210, 0.15);
  background: rgba(92, 224, 210, 0.06);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: rgba(92, 224, 210, 0.7);
  text-transform: uppercase;
}

/* CTA */
.inv-geo-cta {
  text-align: left;
}

.inv-geo-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 12px;
  background: #5CE0D2;
  color: #1a1e4e;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.inv-geo-cta-btn:hover {
  background: #6EEAE0;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(92, 224, 210, 0.25);
  color: #1a1e4e;
}

.inv-geo-cta-btn svg {
  transition: transform 0.3s ease;
}

.inv-geo-cta-btn:hover svg {
  transform: translateX(4px);
}

.inv-geo-cta-sub {
  margin: 14px 0 0;
  font-weight: 500;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.35);
}

/* GEO Responsive */
@media (max-width: 1199px) {
  .inv-geo-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .inv-geo-card {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .inv-geo-card:nth-child(odd) {
    border-left: none;
  }

  .inv-geo-card:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 575px) {
  .inv-geo-cards {
    grid-template-columns: 1fr;
  }

  .inv-geo-card {
    border-left: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 0;
  }

  .inv-geo-card:last-child {
    border-bottom: none;
  }

  .inv-geo-cta {
    text-align: center;
  }

  .inv-geo-kicker {
    margin-bottom: 20px;
  }
}

/* Fallback visibility for GEO cards */
.inv-geo-card.reveal-on-scroll:not(.is-visible),
.inv-geo-cta.reveal-on-scroll:not(.is-visible),
.inv-geo-kicker.reveal-on-scroll:not(.is-visible),
.inv-geo-title.reveal-on-scroll:not(.is-visible),
.inv-geo-lead.reveal-on-scroll:not(.is-visible) {
  animation: inv-srv-fallback 0.01ms 2s forwards;
}

/* ------------------------------------------------
   Features Section Background
   ------------------------------------------------ */
.section[data-anchor="features"] {
  background: #5febdd;
}

/* ------------------------------------------------
   Features (iPad / tablet fix)
   Prevent .feature-item text from bleeding into the icon blocks
   on widths where we still have 4 columns (>= 992px) but less space.
   ------------------------------------------------ */
@media (min-width: 992px) and (max-width: 1199px) {
  /* Let the blocks grow with content (no hard 360px clipping/overflow) */
  .features.features-scroll .feature-item,
  .features.features-scroll .feature-image {
    height: auto;
    min-height: 360px;
  }

  /* Remove absolute vertical centering that can push content outside its box */
  .features.features-scroll .feature-item {
    padding: 5rem 0;
  }

  .features.features-scroll .feature-item_description {
    position: relative;
    top: auto;
    bottom: auto;
    -webkit-transform: none;
       -moz-transform: none;
        -ms-transform: none;
            transform: none;
    padding: 0 4rem;
    width: 100%;
  }

  /* Slightly smaller type so long headings fit comfortably on tablet */
  .features.features-scroll .feature-item_description h3 {
    font-size: 2.4rem;
  }

  .features.features-scroll .feature-item_description p {
    font-size: 1.5rem;
  }
}
/* ------------------------------------------------
   GEO CTA Center Override
   ------------------------------------------------ */
.geo-cta .btn-holder,
.geo-cta .btn-holder.centered {
  display: flex;
  justify-content: center;
  align-items: center;
}

.geo-cta {
  text-align: center;
}

/* ================================================
   INVENTO TESTIMONIALS (Contact Section)
   ================================================ */
#contact-testimonials.invento-testimonials {
  --mint: #5febdd;
  --mint-light: #7df8dc;
  --mint-dark: #3ae0b8;
  --navy: #2b3f6f;
  --navy-deep: #1e2d52;
  --navy-light: #3d5590;
  --white: #ffffff;
}

[data-anchor="contact"] .content-section_media {
  padding: 0 !important;
}

#contact-testimonials {
  background: var(--mint);
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  overflow: hidden;
}

#contact-testimonials::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; /* Fallback */
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 20% 80%, rgba(43, 63, 111, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 90% 10%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

#contact-testimonials .deco-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  pointer-events: none;
}

#contact-testimonials .deco-shape--1 {
  width: 340px;
  height: 340px;
  background: var(--navy);
  top: -120px;
  right: -90px;
  animation: inventoFloatSlow 12s ease-in-out infinite;
}

#contact-testimonials .deco-shape--2 {
  width: 220px;
  height: 220px;
  background: var(--navy);
  bottom: -70px;
  left: -70px;
  animation: inventoFloatSlow 10s ease-in-out infinite reverse;
}

#contact-testimonials .deco-shape--3 {
  width: 120px;
  height: 120px;
  border: 2px solid var(--navy);
  background: transparent;
  top: 16%;
  left: 10%;
  opacity: 0.10;
  animation: inventoFloatSlow 14s ease-in-out infinite;
}

@keyframes inventoFloatSlow {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(10px, -15px) rotate(2deg);
  }

  66% {
    transform: translate(-8px, 8px) rotate(-1deg);
  }
}

#contact-testimonials .testimonials-label {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0px;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.55;
  z-index: 2;
  white-space: nowrap;
}

#contact-testimonials .testimonial-carousel {
  width: 100%;
  max-width: 560px;
  position: relative;
  z-index: 2;
}

#contact-testimonials .testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

#contact-testimonials .testimonial-card.active {
  position: relative;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#contact-testimonials .testimonial-card.exit-up {
  opacity: 0;
  transform: translateY(-30px) scale(0.97);
}

#contact-testimonials .quote-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 26px;
  opacity: 0.20;
}

#contact-testimonials .quote-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--navy);
}

#contact-testimonials .testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}

#contact-testimonials .testimonial-stars .star {
  width: 18px;
  height: 18px;
}

#contact-testimonials .testimonial-stars .star svg {
  width: 100%;
  height: 100%;
  fill: var(--navy);
  opacity: 0.70;
}

#contact-testimonials .testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.44rem, 4vw, 3.24rem);
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 34px;
}

#contact-testimonials .testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

#contact-testimonials .author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint);
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

#contact-testimonials .author-avatar::after {
  content: '';
  position: absolute;
  top: 2px; right: 2px; bottom: 2px; left: 2px; /* Fallback */
  inset: 2px;
  border-radius: 50%;
  border: 1.5px solid rgba(92, 245, 208, 0.35);
}

#contact-testimonials .author-divider {
  width: 32px;
  height: 1.5px;
  background: var(--navy);
  opacity: 0.2;
}

#contact-testimonials .author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#contact-testimonials .author-name {
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--navy);
}

#contact-testimonials .author-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  flex-wrap: wrap;
}

#contact-testimonials .author-tag {
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.55;
}

#contact-testimonials .tag-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.35;
}

#contact-testimonials .testimonial-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 46px;
}

#contact-testimonials .nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.15;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  padding: 0;
}

#contact-testimonials .nav-dot:hover {
  opacity: 0.35;
}

#contact-testimonials .nav-dot.active {
  opacity: 1;
  width: 36px;
  border-radius: 4px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#contact-testimonials .nav-dot.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  animation: inventoDotProgress 6s linear forwards;
}

@keyframes inventoDotProgress {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

#contact-testimonials .nav-arrows {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

#contact-testimonials .nav-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(43, 63, 111, 0.2);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  color: var(--navy);
}

#contact-testimonials .nav-arrow:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--mint);
}

#contact-testimonials .nav-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#contact-testimonials .trust-badge {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 24px;
  background: rgba(43, 63, 111, 0.06);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 2;
}

#contact-testimonials .trust-stat {
  text-align: center;
}

#contact-testimonials .trust-stat-number {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--navy);
  line-height: 1;
}

#contact-testimonials .trust-stat-label {
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.55;
  margin-top: 2px;
}

#contact-testimonials .trust-divider {
  width: 1px;
  height: 28px;
  background: var(--navy);
  opacity: 0.12;
}

@media (max-width: 640px) {
  #contact-testimonials {
    padding: 60px 24px 110px;
    min-height: 560px;
  }

  #contact-testimonials .testimonials-label {
    top: 36px;
    letter-spacing: 3px;
    font-size: 1.05rem;
    white-space: normal;
    text-align: center;
    width: 100%;
  }

  #contact-testimonials .testimonial-quote {
    font-size: clamp(2.44rem, 4vw, 3.24rem);
  }

  #contact-testimonials .trust-badge {
    padding: 10px 16px;
    gap: 14px;
    bottom: 24px;
  }
}

/* =================================================
   FAQ Section (Inserted before footer)
   Source: invento-faq-section-v2.html (scoped)
   ================================================= */

/* Ensure FAQ is not clipped by parent fullpage containers */
.section[data-anchor="contact"] {
  overflow: visible !important;
}

.section[data-anchor="contact"] > .container-fluid {
  overflow: visible !important;
}

.inv-faq-section {
/* Invento Brand Colors */
    --inv-navy: #2D3180;
    --inv-navy-deep: #232766;
    --inv-navy-light: #363B99;
    --inv-turquoise: #5CE0D2;
    --inv-turquoise-bright: #6EEAE0;
    --inv-turquoise-dim: rgba(92, 224, 210, 0.08);
    --inv-turquoise-glow: rgba(92, 224, 210, 0.12);
    --inv-turquoise-mid: rgba(92, 224, 210, 0.18);

    --inv-bg: #2D3180;
    --inv-bg-card: rgba(255, 255, 255, 0.04);
    --inv-bg-card-hover: rgba(255, 255, 255, 0.07);
    --inv-border: rgba(255, 255, 255, 0.08);
    --inv-border-hover: rgba(255, 255, 255, 0.14);
    --inv-text: #f0f0f5;
    --inv-text-secondary: rgba(255, 255, 255, 0.55);
    --inv-text-body: rgba(255, 255, 255, 0.7);
    --inv-white: #ffffff;

    --inv-radius: 16px;
    --inv-font-display: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --inv-font-body: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --inv-ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Scoped defaults (do not affect rest of site) */
  color: var(--inv-text);
  font-family: var(--inv-font-body);
  -webkit-font-smoothing: antialiased;
}

.inv-faq-section, .inv-faq-section *, .inv-faq-section *::before, .inv-faq-section *::after {
  box-sizing: border-box;
}
/* ============ SECTION ============ */
  .inv-faq-section {
    position: relative;
    padding: 100px 0 120px;
    background: linear-gradient(165deg, #1a1e4e 0%, #272f7c 35%, #2d3388 70%, #1e2260 100%);
    overflow: hidden;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    max-height: none !important;
  }

  /* Grid pattern overlay */
  .inv-faq-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0; /* Fallback */
    inset: 0;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
  }

  /* Turquoise orb — top right (matches GEO) */
  .inv-faq-glow-1 {
    position: absolute;
    top: -120px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, #5CE0D2 0%, transparent 70%);
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.35;
  }

  /* Coral orb — bottom left (matches GEO) */
  .inv-faq-glow-2 {
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, #E8706A 0%, transparent 70%);
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.2;
  }

  .inv-faq-container {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
  }

  /* ============ HEADER ============ */
  .inv-faq-header {
    text-align: center;
    margin-bottom: 60px;
  }

  .inv-faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid var(--inv-border);
    background: var(--inv-turquoise-dim);
    font-family: var(--inv-font-body);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--inv-turquoise);
    margin-bottom: 28px;
  }

  .inv-faq-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--inv-turquoise);
    animation: inv-dot-pulse 2s ease-in-out infinite;
  }

  @keyframes inv-dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
  }

  .inv-faq-title {
    font-family: var(--inv-font-display);
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--inv-white);
    margin-bottom: 18px;
    letter-spacing: -0.025em;
  }

  .inv-faq-title span {
    color: var(--inv-turquoise);
  }

  .inv-faq-subtitle {
    font-family: var(--inv-font-body);
    font-size: 20px;
    line-height: 1.2;
    color: var(--inv-text-secondary);
    max-width: 540px;
    margin: 0 auto;
  }

  /* ============ TABS ============ */
  .inv-faq-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 44px;
    flex-wrap: wrap;
  }

  .inv-faq-tab {
    padding: 9px 20px;
    border-radius: 100px;
    border: 1px solid var(--inv-border);
    background: transparent;
    color: var(--inv-text-secondary);
    font-family: var(--inv-font-body);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--inv-ease);
    user-select: none;
    outline: none;
  }

  .inv-faq-tab:hover {
    border-color: var(--inv-border-hover);
    color: var(--inv-text);
    background: var(--inv-bg-card);
  }

  .inv-faq-tab.active {
    border-color: var(--inv-turquoise);
    background: var(--inv-turquoise-dim);
    color: var(--inv-turquoise);
  }

  .inv-faq-tab:focus-visible {
    outline: 2px solid var(--inv-turquoise);
    outline-offset: 2px;
  }

  /* ============ ACCORDION ============ */
  .inv-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .inv-faq-item {
    border: 1px solid var(--inv-border);
    border-radius: var(--inv-radius);
    background: var(--inv-bg-card);
    overflow: hidden;
    transition: all 0.4s var(--inv-ease);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .inv-faq-item:hover {
    border-color: var(--inv-border-hover);
    background: var(--inv-bg-card-hover);
  }

  .inv-faq-item.open {
    border-color: rgba(92, 224, 210, 0.25);
    background: rgba(92, 224, 210, 0.04);
    box-shadow:
      0 0 0 1px rgba(92, 224, 210, 0.06),
      0 8px 32px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .inv-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }

  .inv-faq-trigger:focus-visible {
    outline: 2px solid var(--inv-turquoise);
    outline-offset: -2px;
    border-radius: var(--inv-radius);
  }

  .inv-faq-q-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
  }

  .inv-faq-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--inv-turquoise-dim);
    font-family: var(--inv-font-display);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--inv-turquoise);
    transition: all 0.35s var(--inv-ease);
    letter-spacing: -0.02em;
  }

  .inv-faq-item.open .inv-faq-num {
    background: var(--inv-turquoise);
    color: var(--inv-navy-deep);
  }

  .inv-faq-question {
    font-family: var(--inv-font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--inv-text);
    line-height: 1.4;
    transition: color 0.3s;
  }

  .inv-faq-item.open .inv-faq-question {
    color: var(--inv-white);
  }

  /* Icon circle */
  .inv-faq-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--inv-border);
    transition: all 0.4s var(--inv-ease);
  }

  .inv-faq-item:hover .inv-faq-icon {
    border-color: var(--inv-border-hover);
  }

  .inv-faq-item.open .inv-faq-icon {
    border-color: var(--inv-turquoise);
    background: var(--inv-turquoise-dim);
    transform: rotate(45deg);
  }

  .inv-faq-icon svg {
    width: 13px;
    height: 13px;
    color: var(--inv-text-secondary);
    transition: color 0.3s;
  }

  .inv-faq-item.open .inv-faq-icon svg {
    color: var(--inv-turquoise);
  }

  /* Answer panel — CSS grid animation */
  .inv-faq-answer-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s var(--inv-ease);
  }

  .inv-faq-item.open .inv-faq-answer-wrap {
    grid-template-rows: 1fr;
  }

  /* Fallback for browsers that don't support grid-template-rows animation */
  @supports not (grid-template-rows: 0fr) {
    .inv-faq-answer-wrap {
      display: block;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.45s ease;
    }
    .inv-faq-item.open .inv-faq-answer-wrap {
      max-height: 800px;
    }
  }

  .inv-faq-answer-inner {
    overflow: hidden;
  }

  .inv-faq-answer {
    padding: 0 26px 26px 76px;
    font-family: var(--inv-font-body);
    font-size: 1.7rem;
    line-height: 1.4;
    color: var(--inv-text-body);
    opacity: 0;
    transform: translateY(-6px);
    transition: all 0.4s var(--inv-ease) 0.06s;
  }

  .inv-faq-item.open .inv-faq-answer {
    opacity: 1;
    transform: translateY(0);
  }

  .inv-faq-answer strong {
    color: var(--inv-white);
    font-weight: 600;
  }

  .inv-faq-answer a {
    color: var(--inv-turquoise);
    text-decoration: none;
    border-bottom: 1px solid rgba(92, 224, 210, 0.3);
    transition: border-color 0.3s;
  }

  .inv-faq-answer a:hover {
    border-color: var(--inv-turquoise);
  }

  /* Divider line inside answer */
  .inv-faq-answer::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--inv-turquoise-mid);
    border-radius: 2px;
    margin-bottom: 16px;
  }

  /* ============ BOTTOM CTA ============ */
  .inv-faq-cta {
    margin-top: 60px;
    text-align: center;
    padding: 48px 32px;
    border-radius: var(--inv-radius);
    border: 1px solid var(--inv-border);
    background: linear-gradient(135deg, var(--inv-bg-card) 0%, rgba(92, 224, 210, 0.03) 100%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .inv-faq-cta-text {
    font-family: var(--inv-font-body);
    font-size: 16px;
    color: var(--inv-text-secondary);
    margin-bottom: 24px;
    line-height: 1.65;
  }

  .inv-faq-cta-text strong {
    color: var(--inv-white);
  }

  .inv-faq-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    border-radius: 100px;
    background: var(--inv-turquoise);
    color: var(--inv-navy-deep);
    font-family: var(--inv-font-display);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: all 0.3s var(--inv-ease);
    border: none;
    cursor: pointer;
  }

  .inv-faq-cta-btn:hover {
    background: var(--inv-turquoise-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(92, 224, 210, 0.3);
  }

  .inv-faq-cta-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--inv-ease);
  }

  .inv-faq-cta-btn:hover svg {
    transform: translateX(4px);
  }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 768px) {
    .inv-faq-section { padding: 72px 0 88px; }
    .inv-faq-header { margin-bottom: 40px; }

    .inv-faq-trigger { padding: 18px 18px; }

    .inv-faq-answer {
      padding: 0 18px 22px 18px;
    }
    .inv-faq-answer::before { margin-bottom: 12px; }

    .inv-faq-num { display: none; }
    .inv-faq-question { font-size: 18px; }

    .inv-faq-tabs { gap: 6px; margin-bottom: 32px; }
    .inv-faq-tab { padding: 7px 14px; font-size: 12.5px; }

    .inv-faq-cta { padding: 32px 20px; }
  }

  /* ------------------------------------------------
   Services Cards Section
   ------------------------------------------------ */

/* Override theme defaults for services section */
.inv-services-wrap,
.inv-services-wrap * {
  color: inherit;
}

/* Ensure the parent content-section_info has correct background */
/* FIX: Removed :has() — not supported in older Safari/Chrome. 
   Add class .inv-services-section-bg directly on the parent element in HTML */
.inv-services-section-bg {
  background: #f7f7fa !important;
}

.inv-services-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) clamp(18px, 3vw, 40px);
  background: #f7f7fa;
  position: relative;
  z-index: 1;
}

/* Fallback: if reveal never fires, show cards after 2s */
@keyframes inv-srv-fallback {
  to { opacity: 1; transform: none; }
}

.inv-srv-card.reveal-on-scroll:not(.is-visible) {
  animation: inv-srv-fallback 0.01ms 2s forwards;
}

.inv-services-tagline.reveal-on-scroll:not(.is-visible) {
  animation: inv-srv-fallback 0.01ms 2.2s forwards;
}

.inv-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.inv-srv-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: clamp(32px, 3.5vw, 48px);
  box-shadow: 0 1px 3px rgba(39, 47, 124, 0.06), 0 4px 16px rgba(39, 47, 124, 0.04);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.inv-srv-card:hover {
  box-shadow: 0 8px 32px rgba(39, 47, 124, 0.10), 0 2px 8px rgba(39, 47, 124, 0.06);
  transform: translateY(-2px);
}

/* Top accent bar */
.inv-srv-accent {
  position: absolute;
  top: 0;
  left: clamp(32px, 3.5vw, 48px);
  width: 72px;
  height: 4px;
  border-radius: 0 0 4px 4px;
}

.inv-srv-accent--blue { background: #272F7C; }
.inv-srv-accent--coral { background: #E8706A; }
.inv-srv-accent--teal { background: #5CE0D2; }
.inv-srv-accent--purple { background: #272F7C; }

/* Header row: icon + number */
.inv-srv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(20px, 2vw, 28px);
}

.inv-srv-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inv-srv-icon--blue {
  background: rgba(39, 47, 124, 0.08);
  color: #272F7C;
}

.inv-srv-icon--coral {
  background: rgba(232, 112, 106, 0.12);
  color: #E8706A;
}

.inv-srv-icon--teal {
  background: rgba(92, 224, 210, 0.15);
  color: #2bb5a6;
}

.inv-srv-icon--purple {
  background: rgba(39, 47, 124, 0.08);
  color: #272F7C;
}

.inv-srv-num {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 800;
  font-size: clamp(3.2rem, 5vw, 5.5rem);
  line-height: 1;
  color: rgba(39, 47, 124, 0.06);
  letter-spacing: -0.02em;
  user-select: none;
}

/* Title */
.inv-srv-title {
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1.15;
  color: #272F7C;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

/* Description */
.inv-srv-desc {
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.55;
  color: rgba(39, 47, 124, 0.58);
  margin: 0 0 auto;
  padding-bottom: 24px;
}

/* Tags */
.inv-srv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.inv-srv-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid rgba(39, 47, 124, 0.12);
  background: rgba(39, 47, 124, 0.02);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: rgba(39, 47, 124, 0.55);
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.inv-srv-card:hover .inv-srv-tag {
  border-color: rgba(39, 47, 124, 0.18);
  background: rgba(39, 47, 124, 0.04);
}

/* Bottom tagline */
.inv-services-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 42px;
  padding: 18px 0;
  flex-wrap: wrap;
}

.inv-tagline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.inv-tagline-dot--coral { background: #E8706A; }
.inv-tagline-dot--teal { background: #5CE0D2; }
.inv-tagline-dot--navy { background: #272F7C; }

.inv-tagline-text {
  font-weight: 800;
  font-size: 1.6rem;
  color: rgba(39, 47, 124, 0.72);
  margin-right: 18px;
  letter-spacing: 0.01em;
}

.inv-tagline-text:last-child {
  margin-right: 0;
}

/* Services Cards Responsive */
@media (max-width: 991px) {
  .inv-services-grid {
    gap: 18px;
  }

  .inv-srv-card {
    padding: clamp(26px, 3vw, 36px);
  }

  .inv-srv-accent {
    left: clamp(26px, 3vw, 36px);
  }
}

@media (max-width: 767px) {
  .inv-services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .inv-services-tagline {
    gap: 10px;
    margin-top: 28px;
  }

  .inv-tagline-text {
    margin-right: 12px;
    font-size: 0.82rem;
  }
}

/* ============ ENTRANCE ANIM ============ */
.inv-faq-item {
  opacity: 0;
  transform: translateY(18px);
}

.inv-faq-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.5s var(--inv-ease),
    transform 0.5s var(--inv-ease),
    border-color 0.4s var(--inv-ease),
    background 0.4s var(--inv-ease),
    box-shadow 0.4s var(--inv-ease);
}

/* Fallback: show FAQ items if JS reveal never fires */
@keyframes inv-faq-fallback {
  to { opacity: 1; transform: translateY(0); }
}

.inv-faq-item:not(.visible) {
  animation: inv-faq-fallback 0.01ms 2.5s forwards;
}

/* ------------------------------------------------
   Header / Hero Background — Match "ChatGPT & LLM (GEO)" Section
   ------------------------------------------------ */
.main-section_background {
  background: linear-gradient(165deg, #1a1e4e 0%, #272f7c 35%, #2d3388 70%, #1e2260 100%);
  overflow: hidden;
}

/* Hide the old hero SVG background so the GEO/ChatGPT look is 1:1 */
.main-section_background .main-background-shape {
  display: none;
}


/* ------------------------------------------------
   HERO (Home) — Full viewport height on mobile/tablet
   (Same behavior as in Case Studies page)
   ------------------------------------------------ */
@media (max-width: 1024px) {
  .section[data-anchor="main"].main-section,
  .section[data-anchor="main"].main-section .fp-tableCell {
    height: 100vh !important;
    height: 100svh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    min-height: 100dvh !important;
  }

  .section[data-anchor="main"].main-section .main-section_content.fullheight,
  .section[data-anchor="main"].main-section .container-fluid.fullheight,
  .section[data-anchor="main"].main-section .row.fullheight,
  .section[data-anchor="main"].main-section .main-section_intro.fullheight {
    min-height: 100vh !important;
    min-height: 100svh !important;
    min-height: 100dvh !important;
  }
}


/* ------------------------------------------------
   HERO (Home) — Scroll hint (desktop + mobile/tablet)
   SCROLL + linie animată (ca pe pagina de Studii de Caz)
   ------------------------------------------------ */
.section[data-anchor="main"].main-section {
  position: relative;
}

.inv-hero-scroll {
  position: absolute;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  opacity: 0.9;
  transition: opacity 180ms var(--invento-ease), transform 180ms var(--invento-ease);
}

.inv-hero-scroll:hover {
  opacity: 1;
}

.inv-hero-scroll:active {
  opacity: 1;
  transform: translateY(1px);
}

.inv-hero-scroll__text {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.40);
}

.inv-hero-scroll__line {
  width: 1px;
  height: 74px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}

/* segmentul care “curge” pe linie */
.inv-hero-scroll__line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -18px;
  width: 100%;
  height: 18px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  animation: invHeroScrollPulse 1.55s var(--invento-ease) infinite;
}

@keyframes invHeroScrollPulse {
  0%   { transform: translateY(0); opacity: 0; }
  18%  { opacity: 1; }
  55%  { transform: translateY(46px); opacity: 1; }
  100% { transform: translateY(92px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .inv-hero-scroll__line::after {
    animation: none !important;
  }
}

/* Desktop: în dreapta, ca la Studii de Caz */
@media (min-width: 1025px) {
  .inv-hero-scroll {
    right: clamp(18px, 3.5vw, 48px);
    bottom: clamp(74px, 9vh, 110px);
    left: auto;
    transform: none;
  }
}

/* Tablete cu touch (ex: iPad în landscape): păstrează varianta de tabletă (centrat jos) */
@media (min-width: 1025px) and (pointer: coarse){
  .inv-hero-scroll{
    left: 50%;
    right: auto;
    bottom: calc(clamp(24px, 5vh, 54px) + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
  }

  .inv-hero-scroll:active{
    transform: translateX(-50%) translateY(1px);
  }
}

/* Mobile/Tablet: centrat jos */
@media (max-width: 1024px) {
  .inv-hero-scroll {
    left: 50%;
    right: auto;
    bottom: calc(clamp(24px, 5vh, 54px) + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
  }

  .inv-hero-scroll:active {
    transform: translateX(-50%) translateY(1px);
  }

  .inv-hero-scroll__line {
    height: 62px;
  }
}




/* ================================================
   CLIENTS BAND — "Brandul tău în companie bună"
   Exact match cu printscreen: fundal alb, text gri,
   o linie separator jos, clienți pe un singur rând.
   ================================================ */

.inv-clients-band {
  width: 100%;
  background: #f9f9f9;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  padding: 18px 0;
  overflow: hidden;
}

.inv-clients-band-inner {
  display: flex;
  align-items: center;
  max-width: 100%;
  padding: 0 40px;
  gap: 28px;
}

/* Label stânga: "BRANDUL TĂU ÎN COMPANIE BUNĂ" */
.inv-clients-label {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #b0b0b0;
  white-space: nowrap;
  flex-shrink: 0;
}

/* linie verticală despărțitor */
.inv-clients-divider-v {
  width: 1px;
  height: 22px;
  background: #ddd;
  flex-shrink: 0;
}

/* Container marquee — overflow hidden */
.inv-clients-marquee-wrap {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

/* Strip-ul care se derulează */
@keyframes inv-clients-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.inv-clients-marquee {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: inv-clients-scroll 30s linear infinite;
}

.inv-clients-marquee:hover {
  animation-play-state: paused;
}

.inv-client-name {
  font-size: 18px;
  font-weight: 500;
  color: #b8b8b8;
  padding: 0 22px;
  white-space: nowrap;
  transition: color 0.25s;
}

.inv-client-name:hover {
  color: #555;
}

.inv-clients-sep {
  color: #d8d8d8;
  font-size: 12px;
  flex-shrink: 0;
  user-select: none;
}

/* Responsive: pe mobile, label-ul și dividerul apar DEASUPRA benzii */
@media (max-width: 640px) {
  .inv-clients-band {
    padding: 14px 0;
  }

  .inv-clients-band-inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
  }

  /* Rândul de sus: label + linie orizontală */
  .inv-clients-label {
    display: block;
    font-size: 15px;
    text-align: center;
  }

  /* Pe mobil dividerul devine o linie orizontală sub text */
  .inv-clients-divider-v {
    display: block;
    width: 40px;
    height: 1px;
    margin: 0 auto;
  }

  /* Marquee-ul ocupă toată lățimea */
  .inv-clients-marquee-wrap {
    width: 100%;
  }
}


/* ═══════════════════════════════════════════════════
   CASE STUDIES SECTION — invento.ro
═══════════════════════════════════════════════════ */

.case-studies-section {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 80px 48px;
}

/* ── Section Header ── */
.cs-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}

.cs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 500;
  
  text-transform: uppercase;
  color: #272f7c;
  margin-bottom: 16px;
}

.cs-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #272f7c;
  display: inline-block;
  animation: csDotPulse 2s ease-in-out infinite;
}

@keyframes csDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.65); }
}

.cs-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  color:#272f7c;
  margin: 0;
}

.cs-title em {
  font-style: normal;
  color: #68f2e1;
}

.cs-all-link {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #0d1240;
  text-decoration: none;
  border-bottom: 1.5px solid #0d1240;
  padding-bottom: 3px;
  white-space: nowrap;
  transition: color .22s ease, border-color .22s ease;
}

.cs-all-link:hover {
  color: #00b8a9;
  border-color: #00b8a9;
}

/* ── Grid: 4 columns ── */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ── Card ── */
.cs-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #ebebeb;
  display: flex;
  flex-direction: column;
  transition: box-shadow .32s ease, transform .32s ease, border-color .32s ease;
}

.cs-card:hover {
  box-shadow: 0 18px 56px rgba(13, 18, 64, .1);
  transform: translateY(-5px);
  border-color: rgba(0, 184, 169, .3);
}

/* ── Card Image ── */
.cs-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.cs-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.25, .46, .45, .94);
  display: block;
}

.cs-card:hover .cs-card-image img {
  transform: scale(1.06);
}

/* Placeholder gradients */
.cs-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-p1 { background: linear-gradient(135deg, #1a1464 0%, #2d1fa8 60%, #0d2e6b 100%); }
.cs-p2 { background: linear-gradient(135deg, #0a2e1a 0%, #0e5c3a 60%, #1a3a5c 100%); }
.cs-p3 { background: linear-gradient(135deg, #2e0a1a 0%, #7c1a4a 60%, #3a1a5c 100%); }
.cs-p4 { background: linear-gradient(135deg, #1c2a0a 0%, #3a5c1a 60%, #1a3a2e 100%); }

.cs-placeholder-text {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: rgba(255, 255, 255, .18);
  letter-spacing: -.01em;
}

/* Tags on image */
.cs-tags {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.cs-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  color: rgba(255, 255, 255, .85);
  background: rgba(0, 0, 0, .28);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .12);
}

.cs-tag--ind {
  background: rgba(0, 184, 169, .25);
  border-color: rgba(0, 184, 169, .4);
  color: #7ffff4;
}

/* ── Card Body ── */
.cs-card-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cs-meta {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 7px;
}

.cs-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #272f7c;
  line-height: 1.1;
  margin-bottom: 9px;
}

.cs-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.6remx;
  font-weight: 400;
  color: #888;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.cs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 18px;
}

.cs-pill {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  background: #f2f2f0;
  color: #666;
  border: 1px solid #e8e8e8;
}

/* CTA link */
.cs-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #0d1240;
  text-decoration: none;
  padding-top: 14px;
  border-top: 1px solid #ebebeb;
  margin-top: auto;
  transition: color .22s ease, gap .22s ease;
}

.cs-cta:hover {
  color: #00b8a9;
  gap: 12px;
}

.cs-cta-arrow {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #0d1240;
  color: #fff;
  font-size: 0; /* hide the glyph inside (we draw the arrow via pseudo elements) */
  flex-shrink: 0;
  position: relative;
  transition: background .22s ease, transform .22s ease;
}

/* longer arrow (no font baseline issues) */
.cs-cta-arrow::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 10px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translateY(-50%);
}

.cs-cta-arrow::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.cs-cta:hover .cs-cta-arrow {
  background: #00b8a9;
  transform: translateX(3px);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .cs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .cs-grid { grid-template-columns: 1fr; }
  .cs-container { padding: 60px 24px; }
  .cs-header { flex-direction: column; align-items: flex-start; }
  .cs-header-right { align-self: flex-start; }
}


/* ------------------------------------------------
   Menu - Item 7 (Contact) animation fix
   Tema originală are animații doar până la nth-of-type(6).
   Adăugat pentru itemul nou "Studii de Caz" care a împins
   Contact pe poziția 7.
   ------------------------------------------------ */
.navigation.is-visible ul.menu li:nth-of-type(7) {
  opacity: 1;
  -webkit-transform: translateY(0);
     -moz-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition: opacity 0.3s 0.8s, -webkit-transform 0.3s 0.8s;
  transition: opacity 0.3s 0.8s, -webkit-transform 0.3s 0.8s;
  -o-transition: transform 0.3s 0.8s, opacity 0.3s 0.8s;
  -moz-transition: transform 0.3s 0.8s, opacity 0.3s 0.8s, -moz-transform 0.3s 0.8s;
  transition: transform 0.3s 0.8s, opacity 0.3s 0.8s;
  transition: transform 0.3s 0.8s, opacity 0.3s 0.8s, -webkit-transform 0.3s 0.8s, -moz-transform 0.3s 0.8s;
}


/* ================================================
   MOVED FROM HTML: inline <style> blocks + inline style="..."
   ================================================ */


/* ---- moved style block #1 ---- */
/* Portfolio hero (Index 10) – matches screenshot layout */
.main-section_background.portfolio-hero-bg{
  position:absolute;
  inset:0;
  overflow:hidden;
  background:#272f7c;
}
.main-section_background.portfolio-hero-bg .portfolio-hero-bg__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0.55;
  transform:scale(1.03);
}
.main-section_background.portfolio-hero-bg .portfolio-hero-bg__overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse 90% 70% at 20% 35%, rgba(13,16,53,0) 0%, rgba(13,16,53,0.55) 55%, rgba(13,16,53,0.92) 100%),
    linear-gradient(to top, rgba(13,16,53,0.92) 0%, rgba(13,16,53,0.65) 35%, rgba(13,16,53,0.12) 100%);
}
.main-section_background.portfolio-hero-bg .portfolio-hero-bg__grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size:72px 72px;
  opacity:0.12;
  mix-blend-mode:overlay;
}

.portfolio-hero{
  position:relative;
  min-height:100vh;
  min-height:100svh;
  min-height:100dvh;
display:flex;
  align-items:flex-end;
}
.portfolio-hero__content{
  position:relative;
  z-index:2;
  width:100%;
  max-width:1120px;
  padding: clamp(76px, 9vh, 110px) clamp(22px, 5vw, 72px) calc(clamp(88px, 10vh, 120px) + 4cm);
}


/* Keep HERO full viewport on mobile/tablet (fullPage.js may apply auto-height) */
@media (max-width: 1024px){
  .main-section,
  .main-section .fp-tableCell{
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
  }

  .main-section_content.fullheight,
  .portfolio-hero{
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
  }
}
.portfolio-hero__kicker{
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-size:2rem;
  font-weight:800;

  text-transform:uppercase;
  color:#00c2cb;
  margin-bottom:18px;
}
.portfolio-hero__kicker::before{
  content:"";
  width:28px;
  height:2px;
  background:#00c2cb;
  opacity:0.9;
}
.portfolio-hero__title{
  margin:0 0 34px;
  color:#fff;
  font-weight:900;
  line-height:0.92;
  letter-spacing:-0.04em;
  font-size:clamp(3rem,6.4vw,6rem);
}
.portfolio-hero__title .accent{
  color:#68f2e1;
}
.portfolio-hero__meta{
  display:flex;
  flex-wrap:wrap;
  gap: clamp(16px, 3vw, 52px);
  padding-top:26px;
  border-top:1px solid rgba(255,255,255,0.10);
  max-width:900px;
}
.portfolio-hero__meta-item{
  min-width:120px;
}
.portfolio-hero__meta-label{
  font-size:1.5rem;
  font-weight:700;
  
  text-transform:uppercase;
  color:rgba(255,255,255,0.45);
  margin-bottom:8px;
}
.portfolio-hero__meta-value{
  font-size:1.6rem;
  font-weight:600;
  color:#fff;
}
.portfolio-hero__scroll{
  position:absolute;
  right: clamp(18px, 3.5vw, 48px);
  bottom: clamp(74px, 9vh, 110px);
  z-index:3;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}
.portfolio-hero__scroll-text{
  font-size:1.6rem;
  font-weight:700;
  
  text-transform:uppercase;
  color:rgba(255,255,255,0.35);
}
.portfolio-hero__scroll-line{
  width:1px;
  height:74px;
  background:rgba(255,255,255,0.24);
}
.portfolio-hero__dots{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom: clamp(26px, 3.3vh, 42px);
  z-index:3;
  display:flex;
  align-items:center;
  gap:10px;
}
.portfolio-hero__dots .dot{
  width:7px;
  height:7px;
  border-radius:999px;
  background:rgba(255,255,255,0.28);
}
.portfolio-hero__dots .dot.is-active{
  width:28px;
  background:rgba(255,255,255,0.85);
}

@media (max-width: 575px){
  .portfolio-hero__content{
    padding: 96px 18px calc(108px + 4cm);
  }
  .portfolio-hero__title{
    font-size: clamp(2.35rem, 11.2vw, 4.1rem);
    line-height:0.96;
  }
  .portfolio-hero__scroll{
    display:none;
  }
}


/* ---- moved style block #2 ---- */
.csd-section { background: #0d1035; color: #fff; font-family: "Outfit", system-ui, sans-serif; }
.csd-banner { position: relative; min-height: 70vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 80px 72px; overflow: hidden; }
.csd-banner-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 10% 60%, rgba(0,194,203,0.13) 0%, transparent 60%), radial-gradient(ellipse 60% 70% at 95% 10%, rgba(39,47,124,0.55) 0%, transparent 65%), #0d1035; }
.csd-banner-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,194,203,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(0,194,203,0.035) 1px, transparent 1px); background-size: 64px 64px; }
.csd-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.csd-banner-content { position: relative; z-index: 1; max-width: 1100px; }
.csd-banner-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: #00C2CB; margin-bottom: 20px; }
.csd-banner-eyebrow::before { content:""; width:28px; height:2px; background:#00C2CB; }
.csd-banner-title { font-size: clamp(2.6rem, 6vw, 6rem); font-weight: 900; line-height: 0.92; letter-spacing: -0.04em; color: #fff; margin-bottom: 40px; }
.csd-banner-title em { font-style: normal; color: #00C2CB; }
.csd-banner-meta { display: flex; flex-wrap: wrap; gap: 40px 64px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.csd-banner-meta-item { display: flex; flex-direction: column; gap: 4px; }
.csd-banner-meta-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.38); }
.csd-banner-meta-value { font-size: 0.95rem; font-weight: 600; color: #fff; }
.csd-body { background: #f4f5fa; color: #0d1035; padding: 90px 72px; }
.csd-body-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.csd-body-label { font-size: 2rem; font-weight: 800;  text-transform: uppercase; color: #68f2e1; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.csd-body-label::after { content:""; width:32px; height:2px; background:#00C2CB; }
.csd-body-title { font-size: clamp(3.2rem, 5.6vw, 5.2rem); font-weight: 900; line-height: 1.06; letter-spacing: -0.03em; color: #272f7c; margin-bottom: 32px; }
.csd-body-text p { font-size: 1.7rem; line-height: 1.6; color: #141414; margin-bottom: 16px; }
.csd-body-text p:last-child { margin-bottom: 0; }
.csd-body-text strong { color: #272F7C; font-weight: 700; }
.csd-kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #dde0ee; border: 1px solid #dde0ee; margin-top: 40px; }
.csd-kpi { background: #fff; padding: 28px 22px; display: flex; flex-direction: column; gap: 4px; }
.csd-kpi-num { font-size: 2.2rem; font-weight: 900; letter-spacing: -0.04em; color: #272F7C; line-height: 1; }
.csd-kpi-num span { color: #00C2CB; }
.csd-kpi-desc { font-size: 0.78rem; color: #8a8faa; font-weight: 500; }
.csd-gallery-s { background: #272f7c; padding: 80px 72px; }
.csd-gallery-s-inner { max-width: 1300px; margin: 0 auto; }
.csd-gallery-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.csd-gallery-title { font-size: clamp(1.4rem, 2.5vw, 2.2rem); font-weight: 900; letter-spacing: -0.03em; color: #fff; margin-top: 6px; }
.csd-gallery-count { font-size: 2rem; font-weight: 600;  text-transform: uppercase; color: rgba(255,255,255,0.3); }
.csd-gg { display: grid; grid-template-columns: 1fr; gap: 18px; }
.csd-gi { overflow: hidden; position: relative; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); transition: border-color 0.25s; }
/* one-per-row gallery */
.csd-gi { width: 100%; }

.csd-gi:hover { border-color: rgba(0,194,203,0.35); }
.csd-gi img { width:100%; height:auto; display:block; transition: transform 0.55s cubic-bezier(0.22,1,0.36,1); }
.csd-gi:hover img { transform: scale(1.05); }
.csd-gi-ph { width:100%; min-height:320px; background: linear-gradient(135deg, rgba(39,47,124,0.5), rgba(0,194,203,0.08)); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; color:rgba(255,255,255,0.18); font-size:0.7rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; }
.csd-gi-ph-icon { font-size: 2rem; opacity: 0.2; }
.csd-gi-ov { position:absolute; inset:0; background: linear-gradient(to top, rgba(13,16,53,0.88) 0%, transparent 55%); opacity:0; transition:opacity 0.25s; display:flex; align-items:flex-end; padding:18px; }
.csd-gi:hover .csd-gi-ov { opacity:1; }
.csd-gi-label { font-size:0.68rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:#00C2CB; }
.csd-details-s { background: #fff; padding: 80px 72px; }
.csd-details-s-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 100px; align-items: start; }
.csd-details-left h3 { font-size: clamp(3.2rem, 5.6vw, 5.2rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.06; color: #272f7c; margin-bottom: 20px; margin-top: 12px; }
.csd-details-lead { font-size: 1.6rem; line-height: 1.6; color: #141414; }
.csd-details-lead strong { color: #272F7C; font-weight: 700; }
.csd-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid #eceef6; gap: 24px; }
.csd-row:first-child { border-top: 1px solid #eceef6; }
.csd-row-key { font-size: 1.6rem; font-weight: 900; text-transform: uppercase; color: #aaadca; min-width: 120px; flex-shrink: 0; }
.csd-row-val { font-size: 1.6rem; font-weight: 600; color: #141414; text-align: right; flex: 1; }
.csd-pills { display:flex; flex-wrap:wrap; gap:6px; justify-content:flex-end; }
.csd-pill { font-size: 1.6rem; font-weight: 700; padding: 5px 12px; border-radius: 99px; background: #eef0fb; color: #272F7C; }
.csd-pill--teal { background: rgba(0,194,203,0.12); color: #008f97; }
.csd-quote-strip { background: #272F7C; padding: 64px 72px; text-align: center; position: relative; overflow: hidden; }
.csd-quote-strip::before { content:""; position:absolute; inset:0; background: radial-gradient(ellipse 70% 120% at 50% 110%, rgba(0,194,203,0.2), transparent 65%); pointer-events:none; }
.csd-quote-text { position: relative; z-index: 1; font-size: clamp(1.4rem, 3vw, 2.5rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.25; color: #fff; max-width: 800px; margin: 0 auto; }
.csd-quote-author { margin-top: 20px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
@media (max-width: 1024px) {
  .csd-banner, .csd-body, .csd-gallery-s, .csd-details-s, .csd-quote-strip { padding-left: 40px; padding-right: 40px; }
  .csd-body-inner, .csd-details-s-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .csd-banner { padding: 48px 24px 56px; }
  .csd-body, .csd-gallery-s, .csd-details-s, .csd-quote-strip { padding: 60px 24px; }
  .csd-gg { grid-template-columns: 1fr; gap: 12px; }

  /* ── Mobile fix: remove border/bg "frame" effect on gallery images ── */
  .csd-gi {
    border: none;
    background: none;
  }
  .csd-gi:hover {
    border-color: transparent;
  }

  /* ── Kill min-height on placeholders so spacing stays uniform ── */
  .csd-gi-ph {
    min-height: 0;
  }
}


/* ---- moved inline style attributes ---- */

.menu-btn-morphing-object{ enable-background:new 0 0 50 50; }
.back-to-top > div{ display:grid; place-items:center; }
.footer_slogan h3{ color:#68f2e1; }



/* =========================================================
   PORTFOLIO HERO (Studii de caz) — Mobile/Tableta:
   - ridică conținutul (nu mai stă lipit jos)
   - lasă loc pentru indicatorul SCROLL centrat jos
   ========================================================= */
@media (max-width: 1024px){
  .portfolio-hero{
    align-items: center;
    padding-bottom: clamp(36px, 6vh, 84px);
  }

  .portfolio-hero__content{
    /* top mai mic, bottom mai mare ca să rămână “aerisire” pentru SCROLL */
    padding-top: clamp(56px, 7vh, 92px);
    padding-bottom: calc(clamp(96px, 12vh, 160px) + 2cm);
  }
}

/* Ascunde elementul vechi de scroll (linia care apărea în mijloc) */
.portfolio-hero__scroll-line{
  display:none !important;
}


/* ============================================================
   CASE STUDIES — Mobile/Tablet match to Home (SCROLL + spacing)
   ============================================================ */

/* Make sure the Main/Hero section is a positioning context */
.section.main-section[data-anchor="main"]{
  position: relative;
}

/* Always keep the SCROLL hint above overlays/meta */
.section.main-section[data-anchor="main"] .inv-hero-scroll{
  z-index: 50;
}

/* Some portfolio templates place absolute elements over the bottom area.
   Force the scroll hint to remain visible on mobile/tablet. */
@media (max-width: 1024px){
  .section.main-section[data-anchor="main"] .inv-hero-scroll{
    display: flex !important;
    visibility: visible !important;
    opacity: 0.9 !important;
  }

  /* Lift the portfolio hero content a bit so there's room for the SCROLL hint (like Home) */
  .main-section_content.fullheight > .portfolio-hero{
    padding-bottom: 120px; /* room for SCROLL */
  }

  .main-section_content.fullheight > .portfolio-hero .portfolio-hero__content{
    transform: translateY(clamp(-72px, -8vh, -28px));
  }
}

/* ============================================================
   CASE STUDY HERO — Align text to Logo (desktop + mobile)
   (Same left gutter as logo in header)
   ============================================================ */
.page-casestudy .section.main-section[data-anchor="main"]{
  /* Logo + content gutter (desktop scales with viewport) */
  --inv-hero-gutter: clamp(22px, 8vw, 180px);
  /* Keep right side a bit tighter to avoid wrapping on smaller screens */
  --inv-hero-gutter-right: clamp(22px, 5vw, 72px);
}

.page-casestudy .section.main-section[data-anchor="main"] .portfolio-hero__content{
  padding-left: var(--inv-hero-gutter) !important;
  padding-right: var(--inv-hero-gutter-right) !important;
}
.cs-card-image-link{
  display:block;
  text-decoration:none;
  color:inherit;
}

.cs-card-image-link .cs-card-image{
  cursor:pointer;
}
