/* ============================================================
   G2F Web Design System — shared.css
   Design tokens, reset, components, responsive
   Based on skill-g2f-web-design SKILL.md
   ============================================================ */

/* ── 0. FONTS — self-hosted (Montserrat + DM Sans + JetBrains Mono) ──
   Self-hosted via fonts.css (woff2 in fonts/, S81d). No external font requests.
   Montserrat: display/headings (400–800)
   DM Sans:    body text (300–600)
   JetBrains Mono: stats, tags, code (300–400)
   ── */

/* ── 1. DESIGN TOKENS ── */
:root {
  --g2f-navy:        #001c44;
  --g2f-cyan:        #05ced8;
  --g2f-bright-cyan: #00ffff;
  --g2f-blue:        #0071bc;

  --bg-primary:   #ffffff;
  --bg-secondary: #f7f8fa;
  --bg-tertiary:  #eef0f4;
  --text-primary:   #0a0f1a;
  --text-secondary: #4a5568;
  --text-muted:     #8896a6;
  --border-subtle:  #e2e5ea;
  --border-medium:  #cbd0d8;

  --accent:       var(--g2f-cyan);
  --accent-hover: #04b8c1;
  --cta-bg:       var(--g2f-cyan);
  --cta-text:     var(--g2f-navy);
  --link:         var(--g2f-blue);

  --font-display: 'Montserrat', -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'DM Sans', -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  64px;
  --space-2xl: 96px;
  --space-3xl: 140px;
  --space-4xl: 180px;

  --max-width:     1280px;
  --content-width: 960px;
  --narrow-width:  720px;
  --grid-gap:      32px;
  --grid-gap-lg:   48px;

  --nav-height: 72px;
}

/* ── 2. RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text-primary); background: var(--bg-primary); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── 3. SKIP LINK ── */
.skip-to-content {
  position: absolute; top: -40px; left: 0;
  background: var(--g2f-cyan); color: var(--g2f-navy);
  padding: 8px 16px; font-weight: 600; z-index: 9999;
  transition: top 0.2s;
}
.skip-to-content:focus { top: 0; }

/* ── 4. TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
}

.overline {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--g2f-cyan);
  display: block; margin-bottom: var(--space-sm);
}

.label {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted);
}

.accent-word { color: var(--g2f-cyan); }

/* ── 5. LAYOUT ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-lg); }
.container-content { max-width: var(--content-width); margin: 0 auto; padding: 0 var(--space-lg); }
.container-narrow { max-width: var(--narrow-width); margin: 0 auto; padding: 0 var(--space-lg); }
main { padding-top: var(--nav-height); }

/* ── 6. NAVIGATION ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  display: flex; align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 var(--border-subtle);
  backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: var(--max-width); width: 100%; margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 38px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  color: var(--text-primary);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1.5px; background: var(--g2f-cyan);
  transition: width 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--g2f-navy); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: transparent; color: var(--g2f-navy);
  border: 1.5px solid var(--g2f-cyan);
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  padding: 10px 22px; border-radius: 4px;
  cursor: pointer; white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  text-decoration: none; display: inline-block;
}
.nav-cta:hover { background: var(--g2f-cyan); color: var(--g2f-navy); }

.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 8px; cursor: pointer;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--g2f-navy); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: var(--g2f-navy); z-index: 99;
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.nav-overlay.is-open { display: flex; }
/* Otvorene mobilne menu -> zjednot vrch na navy (splynie s overlayom), nech logo nezavisi
   od toho ci je navbar priehladny/biely/scrolled. Logo + hamburger biele. */
body.menu-open .nav { background: var(--g2f-navy); box-shadow: none; backdrop-filter: none; }
body.menu-open .nav-logo svg path { fill: #fff; }
body.menu-open .nav-hamburger span { background: #fff; }
body.menu-open .nav-overlay-close { display: none; } /* redundantny -- hamburger-X zatvara */
.nav-overlay-close {
  position: absolute; top: 20px; right: 20px;
  color: white; font-size: 28px; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; background: none; border: none; line-height: 1;
}
.nav-overlay a {
  font-family: var(--font-display); font-size: 40px; color: white;
  transition: color 0.2s;
}
.nav-overlay a:hover { color: var(--g2f-cyan); }
.nav-overlay-cta {
  margin-top: 16px;
  background: var(--g2f-cyan); color: var(--g2f-navy);
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 14px 40px; border-radius: 4px;
}

/* ── 7. BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--g2f-cyan); color: var(--g2f-navy);
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 14px 32px; border: none; border-radius: 4px;
  cursor: pointer; letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--g2f-navy);
  border: 1.5px solid var(--g2f-cyan);
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 13px 32px; border-radius: 4px;
  cursor: pointer; letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-secondary:hover { background: var(--g2f-cyan); color: var(--g2f-navy); transform: translateY(-1px); }

.btn-text {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--g2f-navy); font-weight: 500; font-size: 15px;
  border-bottom: 1.5px solid var(--g2f-cyan); padding-bottom: 2px;
  transition: color 0.2s, gap 0.2s;
}
.btn-text:hover { color: var(--g2f-cyan); gap: 10px; }

.btn-text-light {
  color: rgba(255,255,255,0.8);
  border-bottom-color: rgba(255,255,255,0.3);
}
.btn-text-light:hover { color: var(--g2f-cyan); border-bottom-color: var(--g2f-cyan); }

/* ── 8. HERO: STATEMENT A ── */
.hero-statement {
  padding: 100px 0 80px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-secondary) 100%);
  position: relative; overflow: hidden;
}
.hero-statement::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--g2f-cyan) 40%, var(--border-subtle) 70%, transparent 100%);
  opacity: 0.35;
}
.hero-statement .overline {
  font-family: var(--font-mono); font-size: 12px; margin-bottom: var(--space-md);
}
.hero-statement h1 {
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 800;
  line-height: 1.02; letter-spacing: -0.03em;
  max-width: 15ch; margin-bottom: var(--space-lg);
}
.hero-statement .hero-sub {
  font-size: clamp(17px, 1.8vw, 20px); color: var(--text-secondary);
  max-width: 54ch; line-height: 1.65; margin-bottom: var(--space-2xl);
}
.hero-actions { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; }

/* ── 9. HERO: SPLIT B ── */
.hero-split {
  padding: 100px 0 80px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-secondary) 100%);
}
.hero-split-inner {
  display: grid; grid-template-columns: 3fr 2fr;
  gap: var(--space-2xl); align-items: center;
}
.hero-split h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05; letter-spacing: -0.025em;
  margin-bottom: var(--space-lg);
}
.hero-split .hero-sub {
  font-size: 18px; color: var(--text-secondary);
  max-width: 50ch; line-height: 1.65; margin-bottom: var(--space-xl);
}
.hero-split-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-medium); border-radius: 20px;
  padding: 6px 16px; font-size: 13px; font-weight: 500;
  color: var(--text-muted); margin-bottom: var(--space-xl);
}
.hero-split-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--g2f-cyan); }

/* ── 10. HERO: MINIMAL C — with optional dark image backdrop ── */
.hero-minimal {
  padding: var(--space-3xl) 0 var(--space-2xl);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  position: relative; overflow: hidden;
}
.hero-minimal.has-bg {
  background: var(--g2f-navy);
  border-bottom: none;
  color: white;
}
.hero-minimal.has-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--hero-bg);
  background-size: cover; background-position: center;
  filter: brightness(0.4) contrast(1.05) saturate(0.9);
  z-index: 0;
}
.hero-minimal.has-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,28,68,0.55) 0%, rgba(0,28,68,0.85) 100%),
    radial-gradient(circle at 70% 30%, rgba(5,206,216,0.18) 0%, transparent 60%);
  z-index: 1;
}
.hero-minimal.has-bg .container { position: relative; z-index: 2; }
.hero-minimal.has-bg h1 { color: white; }
.hero-minimal.has-bg .hero-sub { color: rgba(255,255,255,0.78); }
.hero-minimal.has-bg .breadcrumb,
.hero-minimal.has-bg .breadcrumb a { color: rgba(255,255,255,0.55); }
.hero-minimal.has-bg .breadcrumb a:hover { color: var(--g2f-cyan); }
.hero-minimal.has-bg .breadcrumb-sep { color: rgba(255,255,255,0.25); }

.breadcrumb {
  font-size: 13px; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: var(--space-md);
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--g2f-cyan); }
.breadcrumb-sep { color: var(--border-medium); }
.hero-minimal h1 {
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.05; letter-spacing: -0.02em;
  max-width: 22ch;
}
.hero-minimal .hero-sub {
  font-size: 18px; color: var(--text-secondary);
  max-width: 60ch; line-height: 1.65; margin-top: var(--space-md);
}

/* Hero-split with optional dark backdrop */
.hero-split.has-bg {
  background: var(--g2f-navy);
  color: white; position: relative; overflow: hidden;
}
.hero-split.has-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--hero-bg);
  background-size: cover; background-position: center;
  filter: brightness(0.35) contrast(1.05) saturate(0.9);
  z-index: 0;
}
.hero-split.has-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(0,28,68,0.7) 0%, rgba(0,28,68,0.85) 60%),
    radial-gradient(circle at 80% 20%, rgba(5,206,216,0.2) 0%, transparent 55%);
  z-index: 1;
}
.hero-split.has-bg .container { position: relative; z-index: 2; }
.hero-split.has-bg h1 { color: white; }
.hero-split.has-bg .hero-sub { color: rgba(255,255,255,0.78); }
.hero-split.has-bg .hero-split-badge { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.25); }
.hero-split.has-bg .btn-text { color: white; border-bottom-color: var(--g2f-cyan); }
.hero-split.has-bg .btn-text:hover { color: var(--g2f-cyan); }

/* ── 11. LOGO BAR — dark bg, colored logos ── */
.logo-bar {
  padding: var(--space-xl) 0;
  background: var(--g2f-navy);
  overflow: hidden;
  position: relative;
}
.logo-bar::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.logo-bar::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--g2f-navy) 0%, transparent 8%, transparent 92%, var(--g2f-navy) 100%);
  pointer-events: none; z-index: 2;
}
.logo-bar-label {
  text-align: center; font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: var(--space-lg);
  position: relative; z-index: 3;
}
.logo-bar-track {
  display: flex; align-items: center;
  width: max-content;
  animation: logo-scroll 60s linear infinite;
  position: relative; z-index: 1;
}
.logo-bar-track:hover { animation-play-state: paused; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-bar-item {
  display: flex; align-items: center; justify-content: center;
  padding: 0 var(--space-2xl); flex-shrink: 0;
  height: 60px;
}
.logo-bar-item img {
  height: 42px; max-width: 150px;
  object-fit: contain;
  /* navy band: force every logo to a uniform white silhouette (any colour/raster). light band overrides below. */
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.3s;
}
.logo-bar-item:hover img { opacity: 1; transform: scale(1.06); }

/* ── light variant — same strip on a white background (dark silhouette logos) ── */
.logo-bar--light { background: var(--bg-primary); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.logo-bar--light::before { display: none; }
.logo-bar--light::after { background: linear-gradient(90deg, #fff 0%, transparent 8%, transparent 92%, #fff 100%); }
.logo-bar--light .logo-bar-label { color: var(--text-muted); }
.logo-bar--light .logo-bar-item img { filter: none; opacity: 1; }
.logo-bar--light .logo-bar-item:hover img { filter: none; opacity: 1; transform: scale(1.06); }
/* invert: clients we only have as a white silhouette -> render black on the light band (no colour file) */
.logo-bar--light .logo-bar-item--invert img { filter: brightness(0); opacity: 0.75; }
.logo-bar--light .logo-bar-item--invert:hover img { filter: brightness(0); opacity: 1; transform: scale(1.06); }

/* ── 12. EARLY SOCIAL PROOF ── */
.early-proof {
  padding: var(--space-2xl) 0 var(--space-xl);
}
.early-proof-inner {
  max-width: var(--narrow-width); margin: 0 auto; padding: 0 var(--space-lg);
  padding-left: calc(var(--space-lg) + 20px);
  position: relative;
}
.early-proof-inner::before {
  content: ''; position: absolute;
  left: var(--space-lg); top: 4px; bottom: 4px;
  width: 3px; background: var(--g2f-cyan); border-radius: 2px;
}
.early-proof-quote {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(17px, 2vw, 21px); color: var(--text-primary);
  line-height: 1.55; margin-bottom: var(--space-md);
}
.early-proof-attrib { display: flex; align-items: center; gap: var(--space-sm); }
.early-proof-attrib img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--border-subtle);
}
.early-proof-attrib strong { display: block; font-size: 14px; font-weight: 600; color: var(--text-primary); }
.early-proof-attrib span  { font-size: 13px; color: var(--text-muted); }

/* ── 13. OUTCOME STATS ── */
.outcome-stats { padding: var(--space-xl) 0 var(--space-2xl); background: var(--bg-secondary); }
.outcome-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-subtle); border-radius: 6px; overflow: hidden;
  background: var(--border-subtle); gap: 1px;
}
.outcome-stat {
  background: var(--bg-primary);
  padding: var(--space-xl) var(--space-lg);
}
.outcome-stat-number {
  font-family: var(--font-mono);
  font-size: clamp(32px, 3.5vw, 52px); font-weight: 300;
  color: var(--text-primary); line-height: 1;
  margin-bottom: var(--space-xs);
}
.outcome-stat-context {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.45; margin-bottom: var(--space-sm);
}
.outcome-stat-link {
  font-size: 13px; font-weight: 500; color: var(--g2f-cyan);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap 0.2s;
}
.outcome-stat-link:hover { gap: 8px; }

/* ── 14. SERVICES LIST B ── */
.services-list { padding: var(--space-3xl) 0; }
.services-list-header { margin-bottom: var(--space-2xl); }
.services-list-header h2 {
  font-size: clamp(30px, 4vw, 52px);
  max-width: 20ch; margin-top: var(--space-sm);
}
.services-list-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.service-list-item {
  display: flex; align-items: flex-start; gap: var(--space-md);
  padding: var(--space-xl);
  border: 1px solid var(--border-subtle); border-radius: 6px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none; color: inherit;
  background: var(--bg-primary);
}
.service-list-item:hover {
  border-color: var(--g2f-cyan);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,28,68,0.06);
}
.service-list-num {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--g2f-cyan); flex-shrink: 0; padding-top: 4px;
}
.service-list-content h3 {
  font-family: var(--font-body); font-size: 18px; font-weight: 600;
  color: var(--text-primary); margin-bottom: var(--space-xs);
}
.service-list-hook {
  font-family: var(--font-display); font-weight: 300;
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.45; margin-bottom: var(--space-sm);
}
.service-list-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-muted); background: var(--bg-tertiary);
  padding: 3px 8px; border-radius: 3px;
}

/* ── 15. PROCESS — V5 style (replaces old how-we-work) ── */
.process-section {
  padding: 100px var(--space-lg);
  background: var(--bg-secondary);
}
.process-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.process-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--g2f-cyan);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 16px;
}
.process-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; color: var(--g2f-navy);
  line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 0;
  white-space: nowrap;
}
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
}
.p-step {
  padding: 32px 24px;
  position: relative;
  border-top: 2px solid var(--border-subtle);
  transition: border-color 0.3s;
}
.p-step:hover { border-top-color: var(--g2f-cyan); }
.p-step-last::before {
  content: '';
  position: absolute;
  left: 0; top: 24px; bottom: 24px;
  width: 3px;
  background: var(--g2f-cyan);
  border-radius: 2px;
}
.p-num {
  font-family: var(--font-mono);
  font-size: 28px; font-weight: 300;
  color: var(--g2f-cyan); margin-bottom: 12px;
  line-height: 1;
}
.p-title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--g2f-navy); margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.p-desc {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 1023px) {
  .process-section { padding: 80px var(--space-md); }
  .process-row { grid-template-columns: repeat(2, 1fr); }
  .process-headline { white-space: normal; font-size: clamp(28px, 4.5vw, 38px); }
}
@media (max-width: 767px) {
  .process-row { grid-template-columns: 1fr; }
}

/* ── 15b. HOW WE WORK (legacy — kept for any other usage) ── */
.how-we-work {
  padding: var(--space-2xl) 0 var(--space-3xl);
  background: var(--bg-secondary);
}
.how-we-work-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg); margin-top: var(--space-2xl);
  position: relative;
}
.how-we-work-steps::before {
  content: ''; position: absolute;
  top: 10px; left: calc(12.5% + var(--space-lg));
  right: calc(12.5% + var(--space-lg));
  height: 1px; background: var(--border-medium);
}
.work-step { padding: var(--space-md) 0; }
.work-step-num {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--g2f-cyan); margin-bottom: var(--space-md);
  position: relative;
}
.work-step-num::before {
  content: ''; display: inline-block; width: 10px; height: 10px;
  border-radius: 50%; background: var(--g2f-cyan);
  margin-right: 8px; vertical-align: middle;
}
.work-step-title {
  font-family: var(--font-body); font-size: 17px; font-weight: 600;
  color: var(--text-primary); margin-bottom: var(--space-xs);
}
.work-step-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.work-step:last-child {
  border-left: 3px solid var(--g2f-cyan); padding-left: var(--space-md);
}

/* ── 16. HUMAN STATEMENT + TEAM PREVIEW ── */
.human-statement { padding: var(--space-3xl) 0; background: var(--bg-primary); }
.human-statement h2 {
  font-size: clamp(26px, 3.5vw, 46px);
  line-height: 1.2; max-width: 22ch; margin-bottom: var(--space-md);
}
.human-statement p {
  font-size: 18px; color: var(--text-secondary);
  max-width: 52ch; line-height: 1.65; margin-bottom: var(--space-lg);
}

.team-preview-inner {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: var(--space-2xl); align-items: center;
}
.team-preview-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.team-preview-card {
  display: block; text-decoration: none; color: inherit;
  border-radius: 6px; overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
}
.team-preview-card:nth-child(odd) { transform: translateY(-12px); }
.team-preview-card:nth-child(even) { transform: translateY(12px); }
.team-preview-card:hover {
  border-color: var(--g2f-cyan);
  box-shadow: 0 8px 24px rgba(0,28,68,0.1);
}
.team-preview-card:nth-child(odd):hover { transform: translateY(-16px); }
.team-preview-card:nth-child(even):hover { transform: translateY(8px); }
.team-preview-card img {
  width: 100%; aspect-ratio: 1;
  object-fit: cover; object-position: top;
  filter: grayscale(0.2);
  transition: filter 0.3s, transform 0.4s;
}
.team-preview-card:hover img { filter: grayscale(0); transform: scale(1.04); }
.team-preview-meta {
  padding: 10px 14px 14px;
}
.team-preview-meta strong {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-primary); margin-bottom: 2px;
}
.team-preview-meta span {
  font-size: 11px; color: var(--g2f-cyan); font-weight: 500;
}

/* ── 17. TESTIMONIALS CAROUSEL C ── */
.testimonials-carousel {
  padding: var(--space-2xl) 0 var(--space-3xl);
  background: var(--bg-secondary); overflow: hidden;
}
.testimonials-carousel .section-header { margin-bottom: var(--space-2xl); }
.testimonials-carousel h2 { font-size: clamp(26px, 3vw, 42px); }

.testimonial-viewport { overflow: hidden; position: relative; }
.testimonial-track { display: flex; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); }
.testimonial-slide { flex-shrink: 0; width: 100%; padding: 0 var(--space-xl); }

.testimonial-quote-text {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(17px, 2.2vw, 23px); line-height: 1.6;
  color: var(--text-primary); max-width: 72ch;
  margin-bottom: var(--space-xl);
  position: relative; padding-left: 36px;
}
.testimonial-quote-text::before {
  content: '"';
  font-family: var(--font-display); font-size: 80px; line-height: 0;
  color: var(--g2f-cyan); opacity: 0.2;
  position: absolute; top: 20px; left: 0;
}

.testimonial-attrib { display: flex; align-items: center; gap: var(--space-md); }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  flex-shrink: 0; background: var(--bg-tertiary);
}
.testimonial-name { font-weight: 600; font-size: 15px; color: var(--text-primary); }
.testimonial-role { font-size: 13px; color: var(--text-muted); }

.testimonial-controls {
  display: flex; align-items: center; gap: var(--space-sm);
  margin-top: var(--space-xl);
}
.testimonial-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-medium); border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.testimonial-dot.active { background: var(--g2f-cyan); transform: scale(1.3); }
.testimonial-arrow {
  width: 40px; height: 40px; border: 1.5px solid var(--border-medium); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; background: white;
  transition: border-color 0.2s, background 0.2s;
  margin-left: var(--space-sm);
}
.testimonial-arrow:hover { border-color: var(--g2f-cyan); background: var(--g2f-cyan); }
.testimonial-arrow svg { transition: stroke 0.2s; }
.testimonial-arrow:hover svg { stroke: var(--g2f-navy); }

/* ── 18. CASE STUDIES GRID ── */
.case-studies { padding: var(--space-3xl) 0; background: var(--bg-primary); }
.case-studies-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: var(--space-2xl); gap: var(--space-lg);
}
.case-studies-header h2 { font-size: clamp(28px, 3.5vw, 48px); }

.case-studies-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--grid-gap);
}

.cs-card {
  display: block; border: 1px solid var(--border-subtle); border-radius: 6px;
  overflow: hidden; text-decoration: none; color: inherit; background: var(--bg-primary);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.cs-card:hover {
  border-color: var(--g2f-cyan); transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,28,68,0.12);
}
.cs-card.large { grid-row: span 2; }

.cs-thumb {
  overflow: hidden;
  background: var(--g2f-navy);
  position: relative;
}
.cs-card.large .cs-thumb { aspect-ratio: 4/3; }
.cs-card:not(.large) .cs-thumb { aspect-ratio: 16/9; }
.cs-card.wide .cs-thumb { display: none; }

.cs-thumb-bg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-lg);
  min-height: 120px;
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(5,206,216,0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(20,40,251,0.10) 0%, transparent 50%),
    var(--g2f-navy) !important;
}
.cs-thumb-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}
.cs-thumb-bg::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 60%; height: 2px;
  background: linear-gradient(90deg, var(--g2f-cyan), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.cs-card:hover .cs-thumb-bg::after { transform: scaleX(1); }
.cs-card.large .cs-thumb-bg { min-height: 200px; }

.cs-thumb-bg img {
  max-height: 56px; max-width: 160px; width: auto;
  object-fit: contain;
  filter: brightness(1.6) grayscale(0.1) drop-shadow(0 2px 12px rgba(5,206,216,0.2));
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), filter 0.3s;
  position: relative; z-index: 1;
}
.cs-card.large .cs-thumb-bg img { max-height: 72px; max-width: 200px; }
.cs-card:hover .cs-thumb-bg img {
  transform: scale(1.08);
  filter: brightness(1.8) grayscale(0) drop-shadow(0 4px 16px rgba(5,206,216,0.35));
}

.cs-body { padding: var(--space-lg); }
.cs-client {
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--g2f-cyan); margin-bottom: 4px;
}
.cs-title {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.8vw, 19px); color: var(--text-primary);
  line-height: 1.35; margin-bottom: var(--space-sm);
}
.cs-card.large .cs-title { font-size: clamp(18px, 2.2vw, 24px); }
.cs-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-sm); }
.cs-arrow {
  font-size: 13px; font-weight: 500; color: var(--g2f-cyan);
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: var(--space-sm); transition: gap 0.2s;
}
.cs-card:hover .cs-arrow { gap: 8px; }

/* Wide card variant (homepage RBI) */
.cs-card.wide {
  display: flex; align-items: center;
  grid-column: 1 / -1;
  padding: var(--space-xl);
  gap: var(--space-xl);
}
.cs-card.wide .cs-body { padding: 0; }
.cs-card.wide .cs-wide-logo {
  flex-shrink: 0; width: 120px; height: 64px;
  display: flex; align-items: center; justify-content: center;
}
.cs-card.wide .cs-wide-logo img {
  max-height: 40px; max-width: 100px; object-fit: contain;
  filter: grayscale(1) opacity(0.6); transition: filter 0.3s;
}
.cs-card.wide:hover .cs-wide-logo img { filter: grayscale(0) opacity(1); }
.cs-card.wide .cs-divider {
  width: 1px; height: 60px; background: var(--border-subtle); flex-shrink: 0;
}

/* Full case studies listing */
.case-studies-listing { padding: var(--space-3xl) 0; }
.cs-grid-full {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}
.cs-grid-full .cs-card-full {
  display: flex; flex-direction: column;
  border: 1px solid var(--border-subtle); border-radius: 6px;
  overflow: hidden; text-decoration: none; color: inherit;
  background: var(--bg-primary);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cs-grid-full .cs-card-full:hover {
  border-color: var(--g2f-cyan); transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,28,68,0.08);
}
.cs-card-full-header {
  background:
    radial-gradient(circle at 25% 30%, rgba(5,206,216,0.14) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(20,40,251,0.10) 0%, transparent 50%),
    var(--g2f-navy);
  padding: var(--space-xl); min-height: 130px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.cs-card-full-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}
.cs-card-full-header::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--g2f-cyan), transparent 70%);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
.cs-grid-full .cs-card-full:hover .cs-card-full-header::after { transform: scaleX(1); }
.cs-card-full-header img {
  max-height: 48px; max-width: 160px; object-fit: contain;
  filter: brightness(1.7) grayscale(0.05) drop-shadow(0 2px 12px rgba(5,206,216,0.22));
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), filter 0.3s;
  position: relative; z-index: 1;
}
.cs-grid-full .cs-card-full:hover .cs-card-full-header img {
  transform: scale(1.08);
  filter: brightness(1.9) grayscale(0) drop-shadow(0 4px 16px rgba(5,206,216,0.4));
}
.cs-card-full-body { padding: var(--space-lg); flex: 1; display: flex; flex-direction: column; }
.cs-card-full-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-sm); }
.cs-card-full-title {
  font-family: var(--font-display); font-size: 18px;
  line-height: 1.35; color: var(--text-primary);
  flex: 1; margin-bottom: var(--space-md);
}
.cs-card-full-link {
  font-size: 13px; font-weight: 500; color: var(--g2f-cyan);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap 0.2s;
}
.cs-card-full:hover .cs-card-full-link { gap: 8px; }

/* ── 19. TECH STACK ── */
.tech-stack { padding: var(--space-xl) 0; background: var(--bg-secondary); }
.tech-stack h2 { font-size: clamp(24px, 3vw, 36px); margin-top: var(--space-sm); }
.tech-stack-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl); margin-top: var(--space-xl);
}
.tech-category h4 {
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm); border-bottom: 1px solid var(--border-subtle);
}
.tech-items { display: flex; flex-direction: column; gap: 10px; }
.tech-item {
  font-size: 14px; color: var(--text-secondary);
  display: flex; align-items: center; gap: 8px;
}
.tech-item::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--border-medium); flex-shrink: 0;
}

/* ── 20. FAQ ── */
.faq { padding: var(--space-3xl) 0; background: var(--bg-primary); }
.faq h2 { font-size: clamp(28px, 3.5vw, 46px); margin-top: var(--space-sm); }
.faq-list { margin-top: var(--space-2xl); border-top: 1px solid var(--border-subtle); }
.faq-item { border-bottom: 1px solid var(--border-subtle); }

.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-lg) 0; cursor: pointer; gap: var(--space-lg);
  background: none; border: none; width: 100%; text-align: left;
}
.faq-question-text {
  font-family: var(--font-body); font-size: 18px; font-weight: 500;
  color: var(--text-primary); line-height: 1.4;
}
.faq-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  border: 1.5px solid var(--border-medium); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: ''; position: absolute;
  background: var(--text-secondary);
  transition: transform 0.25s, opacity 0.25s;
}
.faq-icon::before { width: 12px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 12px; }

.faq-item.is-open .faq-icon { border-color: var(--g2f-cyan); background: var(--g2f-cyan); }
.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after { background: var(--g2f-navy); }
.faq-item.is-open .faq-icon::after { transform: rotate(90deg); opacity: 0; }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.is-open .faq-answer { max-height: 500px; }
.faq-answer-inner {
  padding: 0 0 var(--space-lg);
  font-size: 17px; color: var(--text-secondary); line-height: 1.7; max-width: 70ch;
}

/* ── 21. CTA — QUESTION C ── */
.cta-question {
  padding: var(--space-3xl) 0; background: var(--g2f-navy);
  text-align: center; position: relative; overflow: hidden;
}
.cta-question::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
.cta-question h2 {
  color: white; font-size: clamp(30px, 5vw, 58px);
  max-width: 22ch; margin: 0 auto var(--space-sm); line-height: 1.1;
}
.cta-question p {
  color: rgba(255,255,255,0.65); font-size: 20px; margin-bottom: var(--space-2xl);
}

/* ── 22. CTA — NAVY A ── */
.cta-navy {
  padding: var(--space-2xl) 0; background: var(--g2f-navy);
  position: relative; overflow: hidden;
}
.cta-navy::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 24px 24px; pointer-events: none;
}
.cta-navy h2 { color: white; font-size: clamp(26px, 4vw, 44px); margin-bottom: var(--space-md); }
.cta-navy p { color: rgba(255,255,255,0.65); font-size: 18px; margin-bottom: var(--space-xl); max-width: 50ch; }

/* ── 23. STATS BAR ── */
.stats-bar { padding: var(--space-xl) 0; background: var(--g2f-navy); }
.stats-bar-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,0.07);
}
.stat-item { padding: var(--space-xl) var(--space-lg); background: var(--g2f-navy); text-align: center; }
.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(34px, 4vw, 54px); font-weight: 300;
  color: var(--g2f-cyan); line-height: 1; margin-bottom: var(--space-xs);
}
.stat-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
}

/* ── 24. FOOTER ── */
.footer { background: var(--g2f-navy); color: white; padding: var(--space-2xl) 0 var(--space-lg); }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-xl);
}
.footer-logo { margin-bottom: var(--space-md); }
.footer-logo img { height: 40px; width: auto; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.6; max-width: 28ch; }

.footer-col h4 {
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: var(--space-md);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 15px; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--g2f-cyan); }

.footer-contact { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.9; }
.footer-contact a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-contact a:hover { color: var(--g2f-cyan); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-social { display: flex; gap: var(--space-sm); }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.footer-social a:hover { border-color: var(--g2f-cyan); background: rgba(5,206,216,0.1); }
.footer-social svg { fill: rgba(255,255,255,0.55); transition: fill 0.2s; width: 16px; height: 16px; }
.footer-social a:hover svg { fill: var(--g2f-cyan); }

/* ── 25. SERVICES PAGE ── */
.services-domain { padding: var(--space-2xl) 0 var(--space-3xl); }
.services-domain.bg-alt { background: var(--bg-secondary); }

.services-domain-header {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: var(--space-2xl); align-items: start;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-subtle);
}
.services-domain-label {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--g2f-cyan); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: var(--space-xs);
}
.services-domain-title { font-size: clamp(36px, 5vw, 56px); }
.services-domain-sub {
  font-size: 18px; color: var(--text-secondary); line-height: 1.65;
  align-self: center;
}

.service-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }
.service-cards-grid.two-col { grid-template-columns: repeat(2, 1fr); }

.service-card {
  border: 1px solid var(--border-subtle); border-radius: 6px;
  padding: var(--space-xl); background: var(--bg-primary);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  border-color: var(--g2f-cyan); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,28,68,0.07);
}
.service-card-hook {
  font-family: var(--font-display); font-weight: 300;
  font-size: 16px; color: var(--text-secondary); line-height: 1.45;
  margin-bottom: var(--space-md);
}
.service-card-title {
  font-family: var(--font-body); font-size: 17px; font-weight: 600;
  color: var(--text-primary); margin-bottom: var(--space-sm);
}
.service-card-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }

/* ── 25.5 OUR TEAM PAGE — modern marquee strips ── */
.team-marquee-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-secondary);
  overflow: hidden;
}
.team-marquee {
  overflow: hidden;
  position: relative;
  margin-bottom: var(--space-md);
  padding: var(--space-sm) 0;
}
.team-marquee::before,
.team-marquee::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 120px; z-index: 2; pointer-events: none;
}
.team-marquee::before { left: 0;  background: linear-gradient(90deg, var(--bg-secondary), transparent); }
.team-marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg-secondary), transparent); }

.team-marquee-track {
  display: flex; gap: var(--space-lg);
  width: max-content;
  animation: team-scroll-left 60s linear infinite;
}
.team-marquee.reverse .team-marquee-track {
  animation: team-scroll-right 70s linear infinite;
}
.team-marquee-track:hover { animation-play-state: paused; }

@keyframes team-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes team-scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.team-tile {
  flex-shrink: 0;
  width: 220px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.team-tile:hover {
  transform: translateY(-4px);
  border-color: var(--g2f-cyan);
  box-shadow: 0 12px 28px rgba(0,28,68,0.12);
}
.team-tile-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-tertiary);
}
.team-tile-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  filter: grayscale(0.25);
  transition: filter 0.4s, transform 0.5s;
}
.team-tile:hover .team-tile-photo img { filter: grayscale(0); transform: scale(1.04); }
.team-tile-meta { padding: 14px 16px; }
.team-tile-name {
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  color: var(--text-primary); margin-bottom: 3px;
}
.team-tile-role {
  font-size: 12px; color: var(--g2f-cyan); font-weight: 500;
}

/* Bento-style grouped section below marquee */
.team-bento {
  padding: var(--space-3xl) 0;
}
.team-bento-group {
  margin-bottom: var(--space-3xl);
}
.team-bento-group:last-child { margin-bottom: 0; }
.team-bento-group-header {
  display: flex; align-items: baseline; gap: var(--space-md);
  margin-bottom: var(--space-xl); padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
}
.team-bento-group-num {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--g2f-cyan); letter-spacing: 0.08em;
}
.team-bento-group-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 2.5vw, 32px);
  color: var(--text-primary);
}
.team-bento-group-count {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-muted); margin-left: auto;
}
.team-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
  gap: var(--grid-gap);
  justify-content: start;
}
.team-bento-card {
  display: flex; flex-direction: column;
  padding: var(--space-md);
  border: 1px solid var(--border-subtle); border-radius: 6px;
  background: var(--bg-primary);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  min-width: 0;
}
.team-bento-card.featured {
  grid-column: span 2; grid-row: span 1;
  flex-direction: row; gap: var(--space-lg);
  align-items: center;
  max-width: 100%;
}
.team-bento-card:hover {
  border-color: var(--g2f-cyan); transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,28,68,0.08);
}
.team-bento-photo {
  width: 100%; aspect-ratio: 4/5;
  border-radius: 4px; overflow: hidden;
  margin-bottom: var(--space-md);
  background: var(--bg-tertiary);
}
.team-bento-card.featured .team-bento-photo {
  width: 160px; flex-shrink: 0; aspect-ratio: 1;
  margin-bottom: 0;
}
.team-bento-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  filter: grayscale(0.15);
  transition: filter 0.4s, transform 0.5s;
}
.team-bento-card:hover .team-bento-photo img { filter: grayscale(0); transform: scale(1.04); }
.team-bento-info { flex: 1; }
.team-bento-name {
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  color: var(--text-primary); margin-bottom: 3px;
}
.team-bento-role {
  font-size: 12px; color: var(--g2f-cyan); font-weight: 500;
  margin-bottom: 10px; letter-spacing: 0.02em;
}
.team-bento-bio {
  font-size: 13px; color: var(--text-muted); line-height: 1.55;
}

@media (max-width: 1023px) {
  .team-bento-card.featured { grid-column: span 1; flex-direction: column; }
  .team-bento-card.featured .team-bento-photo { width: 100%; aspect-ratio: 4/5; margin-bottom: var(--space-md); }
  .team-tile { width: 180px; }
}
@media (max-width: 767px) {
  .team-tile { width: 150px; }
  .team-marquee::before, .team-marquee::after { width: 50px; }
}

/* ── 26. ABOUT PAGE ── */
.about-story { padding: var(--space-3xl) 0; }
.about-story-inner {
  display: grid; grid-template-columns: 3fr 2fr;
  gap: var(--space-2xl); align-items: start;
}
.about-story-text h2 { font-size: clamp(28px, 4vw, 46px); margin-bottom: var(--space-xl); }
.about-story-text p { font-size: 17px; color: var(--text-secondary); line-height: 1.75; margin-bottom: var(--space-md); }
.about-story-photo { position: sticky; top: calc(var(--nav-height) + var(--space-xl)); }
.about-story-photo img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 6px; filter: grayscale(0.1);
}

.about-values { padding: var(--space-2xl) 0 var(--space-3xl); background: var(--bg-secondary); }
.about-values h2 { font-size: clamp(28px, 3.5vw, 44px); margin-top: var(--space-sm); }
.about-values-grid {
  display: grid; grid-template-columns: 1fr 2fr 1fr;
  gap: var(--grid-gap); margin-top: var(--space-2xl);
}
.value-card {
  border: 1px solid var(--border-subtle); border-radius: 6px;
  padding: var(--space-xl); background: var(--bg-primary);
}
.value-num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--g2f-cyan); letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}
.value-title {
  font-family: var(--font-body); font-size: 18px; font-weight: 600;
  margin-bottom: var(--space-sm);
}
.value-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }

.about-team { padding: var(--space-3xl) 0; }
.about-team h2 { font-size: clamp(28px, 3.5vw, 44px); margin-top: var(--space-sm); }
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap); margin-top: var(--space-2xl);
}
.team-card { position: relative; }
.team-card-photo {
  aspect-ratio: 3/4; overflow: hidden; border-radius: 6px;
  margin-bottom: var(--space-md); background: var(--bg-tertiary);
}
.team-card-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  filter: grayscale(0.2); transition: filter 0.4s, transform 0.4s;
}
.team-card:hover .team-card-photo img { filter: grayscale(0); transform: scale(1.03); }
.team-card-name { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.team-card-role { font-size: 14px; color: var(--text-muted); }

/* ── 27. TESTIMONIALS BAND (case studies) ── */
.testimonials-band { padding: var(--space-2xl) 0; background: var(--g2f-navy); }
.testimonials-band h2 { color: white; font-size: clamp(24px, 3vw, 38px); margin-bottom: var(--space-2xl); }
.testimonials-band-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap);
}
.band-item {
  padding: var(--space-xl);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 6px;
}
.band-quote {
  font-family: var(--font-display); font-weight: 300;
  font-size: 16px; color: rgba(255,255,255,0.85); line-height: 1.65;
  margin-bottom: var(--space-lg);
}
.band-author { font-size: 13px; font-weight: 600; color: var(--g2f-cyan); }
.band-role   { font-size: 13px; color: rgba(255,255,255,0.4); }

/* ── 28. CONTACT PAGE ── */
.contact-section { padding: var(--space-3xl) 0; }
.contact-inner {
  display: grid; grid-template-columns: 3fr 2fr;
  gap: var(--space-2xl); align-items: start;
}
.contact-info { position: sticky; top: calc(var(--nav-height) + var(--space-xl)); }
.contact-info h3 {
  font-family: var(--font-body); font-size: 18px; font-weight: 600; margin-bottom: var(--space-lg);
}
.contact-detail {
  display: flex; gap: var(--space-sm);
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: var(--space-md);
  align-items: flex-start;
}
.contact-detail a { color: var(--g2f-blue); transition: color 0.2s; }
.contact-detail a:hover { color: var(--g2f-cyan); }
.contact-detail-icon { flex-shrink: 0; width: 20px; color: var(--g2f-cyan); margin-top: 2px; }

.contact-map { margin-top: var(--space-xl); border-radius: 6px; overflow: hidden; border: 1px solid var(--border-subtle); }
.contact-map iframe { width: 100%; height: 260px; display: block; border: none; }

.contact-form-title { font-family: var(--font-body); font-size: 22px; font-weight: 600; margin-bottom: var(--space-xl); }
.form-group { margin-bottom: var(--space-md); }
.form-group label {
  display: block; font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-secondary); margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border-medium); border-radius: 4px;
  font-family: var(--font-body); font-size: 16px; color: var(--text-primary);
  background: var(--bg-primary); outline: none; appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--g2f-cyan);
  box-shadow: 0 0 0 3px rgba(5,206,216,0.12);
}
.form-group textarea { min-height: 140px; resize: vertical; line-height: 1.6; }

/* ── 29. SECTION UTILITIES ── */
.section-header { margin-bottom: var(--space-2xl); }
.section-header h2 { margin-top: var(--space-sm); }
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }

/* ── 30. RESPONSIVE — Tablet 768-1023 ── */
@media (max-width: 1023px) {
  :root { --space-3xl: 96px; --space-4xl: 120px; }

  .team-preview-inner { grid-template-columns: 1fr; }
  .team-preview-card:nth-child(odd),
  .team-preview-card:nth-child(even) { transform: none; }
  .team-preview-card:nth-child(odd):hover,
  .team-preview-card:nth-child(even):hover { transform: translateY(-4px); }

  .hero-split-inner { grid-template-columns: 1fr; }
  .hero-split-visual { display: none; }

  .outcome-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-list-grid { grid-template-columns: 1fr; }
  .how-we-work-steps { grid-template-columns: repeat(2, 1fr); }
  .how-we-work-steps::before { display: none; }

  .case-studies-grid { grid-template-columns: 1fr 1fr; }
  .cs-card.large { grid-row: span 1; }
  .cs-card.large .cs-thumb { aspect-ratio: 16/9; }
  .cs-card.wide { grid-column: span 2; }

  .tech-stack-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }

  .about-story-inner { grid-template-columns: 1fr; }
  .about-story-photo { position: static; order: -1; }
  .about-story-photo img { aspect-ratio: 16/9; }
  .about-values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-inner { grid-template-columns: 1fr; }
  .contact-info { position: static; }

  .services-domain-header { grid-template-columns: 1fr; }
  .service-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .service-cards-grid.two-col { grid-template-columns: 1fr; }

  .testimonials-band-grid { grid-template-columns: 1fr; }
  .cs-grid-full { grid-template-columns: repeat(2, 1fr); }
}

/* ── 31. RESPONSIVE — Mobile < 768 ── */
@media (max-width: 767px) {
  :root {
    --space-2xl: 60px; --space-3xl: 72px; --space-4xl: 80px;
    --nav-height: 64px;
  }

  .container, .container-content, .container-narrow { padding: 0 var(--space-md); }

  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-hamburger { display: flex; }

  .hero-statement { padding: var(--space-2xl) 0 var(--space-xl); }
  .hero-statement h1 { font-size: clamp(36px, 10vw, 52px); }

  /* marquee bezi aj na mobile (nevypinat ani nezalamovat) -- len mensie loga + tesnejsi padding */
  .logo-bar-item { padding: var(--space-sm) var(--space-md); }
  .logo-bar-item img { height: 24px; }

  .outcome-stats-grid { grid-template-columns: 1fr 1fr; }
  .services-list-grid { grid-template-columns: 1fr; }
  .how-we-work-steps { grid-template-columns: 1fr; }
  .how-we-work-steps::before { display: none; }
  .work-step:last-child { border-left: none; border-top: 3px solid var(--g2f-cyan); padding-left: 0; padding-top: var(--space-md); }

  .case-studies-grid { grid-template-columns: 1fr; }
  .cs-card.large { grid-row: span 1; }
  .cs-card.wide { grid-column: span 1; flex-direction: column; }
  .cs-card.wide .cs-divider { display: none; }
  .cs-card.wide .cs-wide-logo { width: 100%; justify-content: flex-start; height: auto; margin-bottom: var(--space-sm); }
  .team-preview-strip { grid-template-columns: repeat(2, 1fr); }
  /* zobraz vsetkych 6 kariet aj na mobile (2 stlpce x 3 riadky) -- ako na desktope */

  .tech-stack-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .case-studies-header { flex-direction: column; align-items: flex-start; }
  .about-values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .service-cards-grid { grid-template-columns: 1fr; }
  .service-cards-grid.two-col { grid-template-columns: 1fr; }
  .cs-grid-full { grid-template-columns: 1fr; }
  .testimonials-band-grid { grid-template-columns: 1fr; }

  .testimonial-slide { padding: 0; }
  .testimonial-quote-text { padding-left: 0; }
  .testimonial-quote-text::before { display: none; }

  .hero-minimal h1 { font-size: clamp(26px, 8vw, 38px); }
  .hero-split h1 { font-size: clamp(32px, 8vw, 46px); }
  .cta-question h2 { font-size: clamp(28px, 8vw, 42px); }
  .cta-question p { font-size: 17px; }

  .faq-question-text { font-size: 16px; }
}

/* ============================================================
   COOKIE CONSENT BANNER  (see shared.js §8 + privacy-policy.html)
   ============================================================ */
.cc-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: var(--g2f-navy);
  color: #fff;
  box-shadow: 0 -2px 24px rgba(0, 28, 68, 0.18);
  transform: translateY(100%);
  transition: transform 0.35s ease;
  visibility: hidden;
}
.cc-banner.is-open { transform: translateY(0); visibility: visible; }
.cc-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.cc-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 64ch;
}
.cc-text a { color: var(--g2f-cyan); text-decoration: underline; }
.cc-text a:hover { color: var(--g2f-bright-cyan); }
.cc-actions { display: flex; gap: var(--space-sm); flex-shrink: 0; }
.cc-btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cc-reject {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.cc-reject:hover { border-color: #fff; }
.cc-accept {
  background: var(--g2f-cyan);
  color: var(--g2f-navy);
}
.cc-accept:hover { background: var(--accent-hover); }

/* "Cookie settings" reopener — injected into .footer-bottom */
.cc-settings-link {
  font-family: var(--font-body);
  font-size: inherit;
  color: inherit;
  opacity: 0.7;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  transition: opacity 0.2s, color 0.2s;
}
.cc-settings-link:hover { opacity: 1; color: var(--g2f-cyan); }

@media (max-width: 640px) {
  .cc-inner { padding: var(--space-md); flex-direction: column; align-items: flex-start; }
  .cc-actions { width: 100%; }
  .cc-btn { flex: 1; }
}

/* ── Click-to-load embed placeholder (Google Maps on contact page) ── */
.embed-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  text-align: center;
  min-height: 260px;
  padding: var(--space-lg);
  background: var(--bg-secondary);
}
.embed-consent-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  max-width: 42ch;
}
.embed-consent-text a { color: var(--link); text-decoration: underline; }
.embed-consent-text a:hover { color: var(--g2f-cyan); }
.embed-consent-btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  background: var(--g2f-cyan);
  color: var(--g2f-navy);
  transition: background 0.2s;
}
.embed-consent-btn:hover { background: var(--accent-hover); }
