/* ═══════════════════════════════════════════════════
   PLG Venture Flexco – Global Stylesheet
   CI Colors: Gold #dcb428 · Teal #78c8c8 · Blue #14648c
═══════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #08080f;
  --bg2:          #0d0d1a;
  --gold:         #dcb428;
  --gold-light:   #f0d050;
  --teal:         #78c8c8;
  --blue:         #14648c;
  --text:         #f0ede0;
  --muted:        rgba(240, 237, 224, 0.78);
  --glass-bg:     rgba(255, 255, 255, 0.05);
  --glass-hover:  rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.10);
  --radius:       16px;
  --nav-h:        76px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Background ── */
.bg-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}

/* Noise grain texture */
.bg-canvas::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 300px 300px;
  opacity: 0.022; pointer-events: none;
}

/* Subtle 4th orb (violet) for depth */
.bg-canvas::before {
  content: '';
  position: absolute;
  width: 550px; height: 550px; border-radius: 50%;
  background: radial-gradient(circle, rgba(150,70,220,0.07) 0%, transparent 70%);
  filter: blur(130px); opacity: 0.5;
  top: 58%; left: -120px;
  animation: orb-drift 30s ease-in-out infinite alternate;
  animation-delay: -5s;
}

.orb {
  position: absolute; border-radius: 50%;
  filter: blur(130px); opacity: 0.4;
  animation: orb-drift 20s ease-in-out infinite alternate;
}
.orb-1 {
  width: 900px; height: 900px;
  background: radial-gradient(circle at 40% 40%, rgba(220,180,40,0.16) 0%, rgba(100,60,0,0.07) 45%, transparent 70%);
  top: -280px; left: -180px; animation-duration: 22s;
}
.orb-2 {
  width: 750px; height: 750px;
  background: radial-gradient(circle at 50% 50%, rgba(20,100,140,0.18) 0%, rgba(10,48,80,0.08) 45%, transparent 70%);
  top: 38%; right: -200px; animation-duration: 28s; animation-delay: -8s;
}
.orb-3 {
  width: 650px; height: 650px;
  background: radial-gradient(circle at 50% 50%, rgba(120,200,200,0.12) 0%, rgba(30,80,80,0.05) 45%, transparent 70%);
  bottom: -100px; left: 22%; animation-duration: 25s; animation-delay: -14s;
}

@keyframes orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 80px) scale(1.12); }
}

/* ── Wrapper ── */
.wrapper { position: relative; z-index: 1; }

/* ── Navigation ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  background: rgba(8, 8, 15, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s;
}
nav.scrolled { background: rgba(8, 8, 15, 0.94); }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; }
.nav-logo-text { font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; color: var(--text); line-height: 1.15; }
.nav-logo-text span { color: var(--gold); }
.nav-logo-sub { font-size: 0.6rem; font-weight: 500; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

.nav-center { display: flex; gap: 0; list-style: none; }
.nav-center a {
  color: var(--muted); text-decoration: none;
  font-size: 0.88rem; font-weight: 500;
  padding: 8px 16px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-center a:hover, .nav-center a.active { color: var(--text); background: var(--glass-bg); }

.nav-right { display: flex; align-items: center; gap: 16px; }

/* Language toggle */
.lang-toggle {
  display: flex; align-items: center; gap: 4px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 4px;
}
.lang-btn {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 0.78rem; font-weight: 700;
  padding: 4px 10px; border-radius: 50px;
  transition: all 0.2s; font-family: inherit;
  letter-spacing: 0.05em;
}
.lang-btn.active { background: var(--gold); color: #000; }

.nav-cta {
  background: var(--gold);
  color: #000 !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700; font-size: 0.85rem;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.88; transform: scale(1.03); box-shadow: 0 8px 28px rgba(220,180,40,0.4); }

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--glass-border);
  border-radius: 8px; padding: 8px 10px; cursor: pointer;
  color: var(--text); font-size: 1.1rem;
}
.mobile-menu {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(8,8,15,0.97); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 199; padding: 16px 5vw 24px;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--muted); text-decoration: none;
  padding: 12px 16px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu a:hover { background: var(--glass-bg); color: var(--text); }
.mobile-menu-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 16px 0; border-top: 1px solid var(--glass-border); margin-top: 8px;
}

/* ── Sections ── */
.section { padding: 100px 5vw; max-width: 1200px; margin: 0 auto; }
.section-full { padding: 100px 5vw; }
.section-full > .inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before {
  content: ''; display: block;
  width: 28px; height: 2px; background: var(--gold);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.025em; margin-bottom: 16px;
}
.section-title .accent { color: var(--gold); }
.section-title .accent-teal { color: var(--teal); }

.section-sub {
  font-size: 1.05rem; color: var(--muted);
  max-width: 580px; line-height: 1.75; margin-bottom: 56px;
}

/* ── Glass card ── */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
}
.glass-hover {
  transition: background 0.35s, transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s, border-color 0.35s;
  cursor: pointer;
}
.glass-hover:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 0 1px rgba(220,180,40,0.2), inset 0 1px 0 rgba(255,255,255,0.07);
  border-color: rgba(220,180,40,0.22);
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-family: inherit;
  font-weight: 700; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  padding: 14px 28px; border-radius: 50px; font-size: 0.9rem;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold); color: #000;
  box-shadow: 0 8px 28px rgba(220,180,40,0.35);
  position: relative; overflow: hidden;
}
.btn-gold:hover { box-shadow: 0 16px 44px rgba(220,180,40,0.55); }
/* shine sweep */
.btn-gold::after {
  content: '';
  position: absolute; top: -50%; left: -80%;
  width: 50%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn-gold:hover::after { left: 150%; }

.btn-outline {
  background: var(--glass-bg); color: var(--text);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}
.btn-outline:hover { background: var(--glass-hover); border-color: rgba(220,180,40,0.2); }

.btn-teal {
  background: var(--teal); color: #000;
  box-shadow: 0 8px 28px rgba(120,200,200,0.3);
}

/* ── Triangle decoration ── */
.tri-deco {
  position: absolute; pointer-events: none; z-index: 0;
  opacity: 0.04;
}

/* ── Page Hero (subpages) ── */
.page-hero {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  padding-left: 5vw; padding-right: 5vw;
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 1;
}
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass-bg); border: 1px solid rgba(220,180,40,0.25);
  padding: 6px 16px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px;
}
.page-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 20px;
}
.page-hero-sub {
  font-size: 1.1rem; color: var(--muted);
  max-width: 600px; line-height: 1.75; margin-bottom: 40px;
}

/* ── Hero Background Image Component ── */
.hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  transform: scale(1.06);
  transition: transform 14s ease-out;
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    108deg,
    rgba(8,8,15,0.96) 0%,
    rgba(8,8,15,0.88) 30%,
    rgba(8,8,15,0.72) 55%,
    rgba(8,8,15,0.5) 100%
  );
}

/* ── Floating Geometric Shapes ── */
.hero-geos {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}
.hero-geo {
  position: absolute; opacity: 0;
  animation: geo-float-in 1.8s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes geo-float-in {
  from { opacity: 0; transform: translateY(24px) rotate(var(--rot, 0deg)); }
  to   { opacity: var(--op, 0.18); transform: translateY(0) rotate(var(--rot, 0deg)); }
}
.hero-geo.drifting {
  animation: geo-drift 7s ease-in-out infinite alternate;
}
@keyframes geo-drift {
  0%   { transform: translateY(0) rotate(var(--rot, 0deg)); }
  100% { transform: translateY(-18px) rotate(calc(var(--rot, 0deg) + 6deg)); }
}

/* ── Marquee Band ── */
.marquee-band {
  overflow: hidden;
  border-top: 1px solid rgba(220,180,40,0.1);
  border-bottom: 1px solid rgba(220,180,40,0.1);
  padding: 16px 0;
  background: linear-gradient(90deg, rgba(8,8,15,0.9) 0%, rgba(220,180,40,0.025) 50%, rgba(8,8,15,0.9) 100%);
  position: relative; z-index: 1;
}
.marquee-track {
  display: flex; white-space: nowrap;
  animation: marquee-run 45s linear infinite;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 0 28px; flex-shrink: 0;
  font-size: 0.71rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.marquee-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); flex-shrink: 0; opacity: 0.7; }
@keyframes marquee-run {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Gold shimmer on gradient text ── */
@keyframes shimmer-move {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ── Icon Wrappers (SVG) ── */
.service-icon-wrap,
.value-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(220,180,40,0.14), rgba(120,200,200,0.07));
  border: 1px solid rgba(220,180,40,0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.service-icon-wrap { margin-bottom: 20px; }
.value-icon-wrap   { margin-bottom: 20px; }
.service-icon-wrap svg,
.value-icon-wrap svg {
  width: 22px; height: 22px;
  stroke: var(--gold); fill: none; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.3s;
}
.service-card:hover .service-icon-wrap,
.value-card:hover .value-icon-wrap {
  background: linear-gradient(135deg, rgba(220,180,40,0.24), rgba(120,200,200,0.14));
  border-color: rgba(220,180,40,0.38);
  box-shadow: 0 0 22px rgba(220,180,40,0.18);
}
.service-card:hover .service-icon-wrap svg,
.value-card:hover .value-icon-wrap svg {
  stroke: var(--gold-light);
}

/* ── Feature / Icon cards (legacy) ── */
.icon-box {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(220,180,40,0.15), rgba(120,200,200,0.1));
  border: 1px solid rgba(220,180,40,0.2);
}

/* ── Divider ── */
.divider {
  height: 1px; background: var(--glass-border);
  margin: 0 5vw;
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 960px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  opacity: 0;
  transition: opacity 0.35s;
}
.service-card:hover::before { opacity: 1; }

.service-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.service-card-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.72;
  flex: 1;
  margin-bottom: 20px;
}
.service-card-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.03em;
  transition: gap 0.22s ease, opacity 0.2s;
  margin-top: auto;
}
.service-card-link:hover { gap: 12px; opacity: 0.85; }

.service-card:hover {
  box-shadow: 0 0 0 1px rgba(220,180,40,0.28), 0 20px 60px rgba(0,0,0,0.45), 0 0 40px -8px rgba(220,180,40,0.1);
  border-color: rgba(220,180,40,0.28);
}

/* ── Values Grid ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 960px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .values-grid { grid-template-columns: 1fr 1fr; } }

.value-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.value-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.value-desc {
  font-size: 0.845rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Reference / Partner Logos ── */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.ref-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 32px;
  min-height: 110px;
  background: rgba(255, 255, 255, 0.93) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 16px;
  cursor: default;
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
}
.ref-card:hover {
  background: rgba(255, 255, 255, 1) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}
.ref-card img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.35) brightness(0.85);
  opacity: 0.75;
  transition: opacity 0.25s, filter 0.25s;
}
.ref-card:hover img {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}
@media (max-width: 640px) {
  .ref-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .ref-grid { grid-template-columns: 1fr; }
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, rgba(220,180,40,0.1) 0%, rgba(120,200,200,0.06) 50%, rgba(20,100,140,0.07) 100%);
  border: 1px solid rgba(220,180,40,0.22);
  border-radius: 24px;
  padding: 64px 60px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 90% at 5% 50%, rgba(220,180,40,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 55% 90% at 95% 50%, rgba(120,200,200,0.06) 0%, transparent 70%);
}
.cta-banner-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800; margin-bottom: 16px;
  position: relative;
}
.cta-banner-sub {
  color: var(--muted); font-size: 1rem; margin-bottom: 36px;
  max-width: 500px; margin-left: auto; margin-right: auto;
  position: relative;
}
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Stat number glow ── */
.stat-num { text-shadow: 0 0 32px rgba(220,180,40,0.38); }

/* ── About photo ── */
.about-photo-wrap {
  position: relative; overflow: hidden; border-radius: 20px;
  height: 100%; min-height: 460px;
}
.about-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  border-radius: 20px;
  transition: transform 10s ease;
  display: block;
}
.about-photo-wrap:hover img { transform: scale(1.04); }
.about-photo-wrap::after {
  content: '';
  position: absolute; inset: 0; border-radius: 20px; pointer-events: none;
  background:
    linear-gradient(135deg, rgba(220,180,40,0.07) 0%, transparent 50%),
    linear-gradient(to bottom, transparent 55%, rgba(8,8,15,0.55) 100%);
}
.about-badge {
  position: absolute; bottom: 24px; left: 24px; z-index: 2;
  background: rgba(8,8,15,0.88); backdrop-filter: blur(14px);
  border: 1px solid rgba(220,180,40,0.28);
  border-radius: 12px; padding: 16px 20px;
}
.about-badge-num { font-size: 1.6rem; font-weight: 800; color: var(--gold); line-height: 1; }
.about-badge-label { font-size: 0.72rem; color: var(--muted); margin-top: 5px; letter-spacing: 0.04em; }

/* ── Process timeline ── */
.process-num {
  transition: box-shadow 0.35s, background 0.35s;
}
.process-step:hover .process-num {
  box-shadow: 0 0 0 8px rgba(220,180,40,0.08), 0 0 24px rgba(220,180,40,0.22);
  background: linear-gradient(135deg, rgba(220,180,40,0.22), rgba(220,180,40,0.06));
}

/* ── Team avatar gradient ── */
.team-avatar {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--teal) 100%);
  box-shadow: 0 0 22px rgba(220,180,40,0.22);
}

/* ── Footer ── */
footer {
  position: relative; z-index: 1;
  background: rgba(0,0,0,0.5);
  border-top: 1px solid var(--glass-border);
}
.footer-top {
  max-width: 1200px; margin: 0 auto;
  padding: 60px 5vw 40px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand-name { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.footer-brand-name span { color: var(--gold); }
.footer-tagline { font-size: 0.8rem; color: var(--muted); font-style: italic; margin-bottom: 20px; }
.footer-contact-line {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; color: var(--muted); margin-bottom: 8px;
}
.footer-contact-line a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-contact-line a:hover { color: var(--gold); }
.footer-col-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 20px 5vw;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  max-width: 1200px; margin: 0 auto;
}
.footer-copy { font-size: 0.78rem; color: var(--muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.78rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--text); }

/* ── Animations ── */
.fade-in {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.12s; }
.fade-in-delay-2 { transition-delay: 0.24s; }
.fade-in-delay-3 { transition-delay: 0.36s; }

/* Staggered service/value cards */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.12s; }
.stagger-3 { transition-delay: 0.19s; }
.stagger-4 { transition-delay: 0.26s; }
.stagger-5 { transition-delay: 0.33s; }
.stagger-6 { transition-delay: 0.40s; }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.8rem; color: var(--muted); margin-bottom: 20px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--glass-border); }

/* ── Page Hero Wrap (full-width image hero for subpages) ── */
.page-hero-wrap {
  position: relative; overflow: hidden;
}
.page-hero-wrap .page-hero {
  max-width: none;
  padding-left:  max(5vw, calc((100vw - 1160px) / 2));
  padding-right: max(5vw, calc((100vw - 1160px) / 2));
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 100px;
  min-height: 80vh;
  display: flex; flex-direction: column; justify-content: center;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  transform: scale(1.08);
  transition: transform 18s ease-out;
  will-change: transform;
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    108deg,
    rgba(8,8,15,0.96) 0%,
    rgba(8,8,15,0.88) 35%,
    rgba(8,8,15,0.72) 60%,
    rgba(8,8,15,0.5) 100%
  );
}
.page-hero-wrap .page-hero > *:not(.page-hero-bg) {
  position: relative; z-index: 2;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .marquee-track  { animation-play-state: paused !important; }
  .hero-geo       { animation-duration: 0.01ms !important; }
  .orb, .bg-canvas::before { animation: none !important; }
  .btn-gold::after { display: none; }
  .hero-bg img    { transition: none !important; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-center, .nav-right { display: none; }
  .nav-toggle { display: flex; align-items: center; }
  .section { padding: 72px 6vw; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 44px 28px; }
  .about-photo-wrap { min-height: 280px; }
}
@media (max-width: 480px) {
  .section { padding: 56px 5vw; }
}

/* ═══════════════════════════════════════════════════
   PLG Venture Flexco v2 — Premium Editorial Layer
   Gold #dcb428 · Teal #78c8c8 · Blue #14648c · BG #08080f
═══════════════════════════════════════════════════ */

/* ── 1. Richer Background: upgraded orbs ── */
.orb-1 {
  width: 1100px; height: 1100px;
  background: radial-gradient(circle at 40% 35%,
    rgba(220,180,40,0.22) 0%,
    rgba(180,120,20,0.09) 35%,
    transparent 62%);
  top: -340px; left: -200px;
  filter: blur(118px); opacity: 0.48;
}
.orb-2 {
  width: 960px; height: 960px;
  background: radial-gradient(circle at 50% 50%,
    rgba(20,100,140,0.28) 0%,
    rgba(10,55,95,0.1) 38%,
    transparent 62%);
  top: 26%; right: -270px;
  filter: blur(108px); opacity: 0.42;
}
.orb-3 {
  width: 860px; height: 860px;
  background: radial-gradient(circle at 50% 50%,
    rgba(120,200,200,0.18) 0%,
    rgba(40,110,110,0.07) 40%,
    transparent 65%);
  bottom: -130px; left: 10%;
  filter: blur(118px); opacity: 0.42;
}
/* Orb 4: violet/magenta depth accent */
.orb-4 {
  position: absolute; border-radius: 50%;
  width: 720px; height: 720px;
  background: radial-gradient(circle at 50% 50%,
    rgba(160,80,220,0.14) 0%,
    rgba(100,40,160,0.06) 42%,
    transparent 68%);
  top: 52%; left: -90px;
  filter: blur(128px); opacity: 0.42;
  animation: orb-drift 36s ease-in-out infinite alternate;
  animation-delay: -20s;
}

/* Gradient mesh overlay — subtle color field between orbs */
.bg-mesh {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 130% 80% at -5% -5%,
      rgba(220,180,40,0.055) 0%, transparent 45%),
    radial-gradient(ellipse 80% 130% at 105% 105%,
      rgba(20,100,140,0.065) 0%, transparent 45%),
    radial-gradient(ellipse 60% 70% at 52% 48%,
      rgba(120,200,200,0.025) 0%, transparent 55%);
  animation: mesh-breathe 24s ease-in-out infinite alternate;
}
@keyframes mesh-breathe {
  from { opacity: 0.55; transform: scale(1); }
  to   { opacity: 1;    transform: scale(1.07); }
}

/* Noise grain: slightly more visible */
.bg-canvas::after { opacity: 0.038; }

/* ── 2. Word-by-Word Reveal ── */
.wr-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.04;
  padding-bottom: 0.1em;
  padding-right: 0.2em;
}
.wr-inner {
  display: inline-block;
  transform: translateY(115%) skewY(5deg);
  opacity: 0;
  will-change: transform, opacity;
  transition:
    transform 0.74s cubic-bezier(0.16, 1, 0.3, 1),
    opacity   0.55s ease;
}
.wr-inner.in {
  transform: translateY(0) skewY(0deg);
  opacity: 1;
}

/* Gold line: left-to-right wipe (preserves background-clip gradient) */
.js-word-reveal.line-gold {
  display: block;
}

/* ── 3. Improved Glass Morphism ── */
.glass {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.07) 0%,
    rgba(255,255,255,0.028) 100%
  );
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(22px) saturate(175%);
  -webkit-backdrop-filter: blur(22px) saturate(175%);
  border-radius: var(--radius);
  position: relative;
}

/* ── 4. Glow Border Cards on Hover ── */
.glass-hover {
  transition:
    background 0.38s,
    transform  0.42s cubic-bezier(0.16,1,0.3,1),
    box-shadow 0.42s,
    border-color 0.38s;
  cursor: pointer;
}
.glass-hover:hover {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.1) 0%,
    rgba(255,255,255,0.04) 100%
  );
  transform: translateY(-7px);
  border-color: rgba(220,180,40,0.44);
  box-shadow:
    0 36px 88px rgba(0,0,0,0.54),
    0 0 0 1px rgba(220,180,40,0.4),
    0 0 60px -8px  rgba(220,180,40,0.45),
    0 0 32px -6px  rgba(120,200,200,0.18),
    inset 0 1px 0  rgba(255,255,255,0.14);
}

/* ── 5. Gold Shimmer Utility ── */
.shimmer-gold {
  background: linear-gradient(90deg,
    var(--gold) 0%,
    var(--gold-light) 28%,
    #fffbe8 40%,
    var(--gold-light) 52%,
    var(--gold) 80%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-move 4.5s linear infinite;
}

/* Shimmer on section labels' line decoration */
.section-label::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-light) 50%, var(--gold));
  background-size: 200% auto;
  animation: shimmer-move 3.5s linear infinite;
}

/* ── 6. Enhanced Scroll Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.82s ease, transform 0.82s cubic-bezier(0.16,1,0.3,1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.12s; }
.fade-in-delay-2 { transition-delay: 0.24s; }
.fade-in-delay-3 { transition-delay: 0.36s; }

/* Stagger with subtle depth motion */
.stagger-1 { transition-delay: 0.06s; }
.stagger-2 { transition-delay: 0.13s; }
.stagger-3 { transition-delay: 0.20s; }
.stagger-4 { transition-delay: 0.27s; }
.stagger-5 { transition-delay: 0.34s; }
.stagger-6 { transition-delay: 0.41s; }

/* ── 7. Magnetic Button enhanced base ── */
.btn-gold {
  will-change: transform;
  transition: transform 0.22s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.22s,
              opacity 0.2s;
}

/* ── 8. Stat glow enhancement ── */
.stat-num {
  text-shadow:
    0 0 40px rgba(220,180,40,0.52),
    0 0 80px rgba(220,180,40,0.22);
}

/* ── 9. CTA Banner upgrade ── */
.cta-banner {
  background: linear-gradient(135deg,
    rgba(220,180,40,0.12) 0%,
    rgba(120,200,200,0.065) 50%,
    rgba(20,100,140,0.09) 100%);
  border-color: rgba(220,180,40,0.3);
}

/* ── 10. Marquee enhancement ── */
.marquee-band {
  border-top: 1px solid rgba(220,180,40,0.14);
  border-bottom: 1px solid rgba(220,180,40,0.14);
  background: linear-gradient(90deg,
    rgba(8,8,15,0.95) 0%,
    rgba(220,180,40,0.03) 25%,
    rgba(120,200,200,0.02) 50%,
    rgba(220,180,40,0.03) 75%,
    rgba(8,8,15,0.95) 100%);
}
.marquee-item { color: rgba(240,237,224,0.5); }
.marquee-item:hover { color: var(--gold); }

/* ── Reduced motion additions ── */
@media (prefers-reduced-motion: reduce) {
  .bg-mesh        { animation: none !important; }
  .orb-4          { animation: none !important; }
  .wr-inner       { transition: none !important; opacity: 1 !important; transform: none !important; }
  .glass-hover:hover { transform: none !important; }
  .section-label::before { animation: none !important; }
}

/* ── Cookie Banner (DSGVO) ──────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  padding: 0 5vw 20px;
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
#cookie-banner.cb-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.cb-inner {
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(13,13,26,0.97) 0%, rgba(8,8,15,0.99) 100%);
  border: 1px solid rgba(255,255,255,0.09);
  border-bottom: none;
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border-radius: 16px 16px 0 0;
  padding: 20px 28px;
  display: flex;
  gap: 24px;
  align-items: center;
  box-shadow: 0 -8px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(220,180,40,0.06) inset, inset 0 1px 0 rgba(255,255,255,0.07);
}
.cb-text {
  font-size: 0.8rem;
  color: rgba(240,237,224,0.6);
  line-height: 1.6;
  flex: 1;
}
.cb-text a { color: var(--gold); text-decoration: none; }
.cb-text a:hover { text-decoration: underline; }
.cb-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cb-btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.18s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.cb-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.cb-essential {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(240,237,224,0.75);
}
.cb-all {
  background: var(--gold);
  border: none;
  color: #000;
  box-shadow: 0 4px 20px rgba(220,180,40,0.28);
}
@media (max-width: 600px) {
  .cb-inner { flex-direction: column; gap: 14px; padding: 18px 20px; }
  .cb-actions { width: 100%; }
  .cb-btn { flex: 1; text-align: center; }
}

/* ── Back-to-Top ─────────────────────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 8500;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(8,8,15,0.75);
  border: 1px solid rgba(220,180,40,0.22);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 4px 24px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  pointer-events: none;
}
#back-to-top.btt-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-to-top:hover {
  border-color: rgba(220,180,40,0.55);
  box-shadow: 0 4px 28px rgba(0,0,0,0.5), 0 0 16px rgba(220,180,40,0.15), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
#back-to-top svg {
  width: 16px;
  height: 16px;
  stroke: rgba(220,180,40,0.75);
  transition: stroke 0.25s ease, transform 0.25s ease;
}
#back-to-top:hover svg {
  stroke: #dcb428;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  #back-to-top {
    bottom: 24px;
    right: 20px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
}

/* ═══════════════════════════════════════════════════
   PLG Venture Flexco v3 — Section Depth Layer
   Service cards · Value accents · Process · About
═══════════════════════════════════════════════════ */

/* ── Service Card: large faded counter for depth ── */
.services-grid { counter-reset: svc; }
.service-card  { counter-increment: svc; }
.service-card::after {
  content: counter(svc, decimal-leading-zero);
  position: absolute; bottom: 12px; right: 18px;
  font-size: 4.2rem; font-weight: 800;
  letter-spacing: -0.07em; line-height: 1;
  color: rgba(255,255,255,0.035);
  font-family: 'Plus Jakarta Sans', sans-serif;
  pointer-events: none; z-index: 0;
  transition: color 0.38s ease;
}
.service-card:hover::after { color: rgba(220,180,40,0.09); }

/* ── Value Cards: per-card top accent bar + icon tint ── */
.value-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0; transition: opacity 0.35s;
}
.value-card:nth-child(1)::before { background: var(--gold); }
.value-card:nth-child(2)::before { background: var(--teal); }
.value-card:nth-child(3)::before { background: var(--blue); }
.value-card:nth-child(4)::before { background: linear-gradient(90deg, var(--gold), var(--teal)); }
.value-card:hover::before { opacity: 1; }

/* Teal tint for partnership card */
.value-card:nth-child(2) .value-icon-wrap {
  background: linear-gradient(135deg, rgba(120,200,200,0.16), rgba(30,100,100,0.07));
  border-color: rgba(120,200,200,0.22);
}
.value-card:nth-child(2) .value-icon-wrap svg { stroke: var(--teal); }

/* Blue tint for innovation card */
.value-card:nth-child(3) .value-icon-wrap {
  background: linear-gradient(135deg, rgba(20,100,140,0.2), rgba(10,55,90,0.07));
  border-color: rgba(20,100,140,0.28);
}
.value-card:nth-child(3) .value-icon-wrap svg { stroke: #4aaae0; }

/* ── Section Titles: accent span shimmer ── */
.section-title .accent {
  background: linear-gradient(90deg,
    var(--gold) 0%,
    var(--gold-light) 35%,
    #fff8 48%,
    var(--gold-light) 61%,
    var(--gold) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-move 5.5s linear infinite;
}

/* ── Section Sub: tighter max-width override for better line measure ── */
.section-sub {
  max-width: 600px;
  color: var(--muted);
}

/* ── About photo badge: soft glow ring ── */
.about-badge {
  box-shadow: 0 0 0 1px rgba(220,180,40,0.15), 0 12px 40px rgba(0,0,0,0.5), 0 0 28px rgba(220,180,40,0.1);
}

/* ── Reduced motion additions ── */
@media (prefers-reduced-motion: reduce) {
  .section-title .accent { animation: none !important; background: var(--gold); -webkit-text-fill-color: var(--gold); }
  .service-card::after { display: none; }
}
