/* === Kippis — Tokens === */
:root {
  --accent: #00BF9E;
  --accent-dark: #009B80;
  --accent-tint: #CCF2EA;

  --gold: #F0B840;
  --gold-dark: #C89226;
  --gold-tint: #FBE6B0;

  --coral: #E85A47;
  --coral-tint: #FFDDD0;

  --cocoa: #2A1E18;
  --espresso: #4A3B32;
  --clay: #8C6F5E;
  --sand: #D9C7B4;
  --cream: #FAF2E2;
  --paper: #FFFBF2;
  --white: #FFFFFF;

  --bg: var(--paper);
  --fg: var(--cocoa);
  --muted: var(--clay);
  --rule: rgba(42,30,24,0.10);
  --rule-strong: rgba(42,30,24,0.22);

  --sans: 'Mona Sans', system-ui, sans-serif;
  --body: 'Hubot Sans', system-ui, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(42,30,24,0.06), 0 4px 14px -4px rgba(42,30,24,0.08);
  --shadow-md: 0 4px 12px rgba(42,30,24,0.08), 0 24px 60px -20px rgba(42,30,24,0.18);
  --shadow-lg: 0 10px 24px rgba(42,30,24,0.10), 0 40px 100px -20px rgba(42,30,24,0.22);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--body);
  font-optical-sizing: auto;
  color: var(--fg);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
}
img, video, iframe { max-width: 100%; }
h1, h2, h3, h4, h5 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* === Layout === */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

.kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: '';
  width: 24px; height: 1px; background: var(--muted);
}

.section {
  padding: 96px 0;
  position: relative;
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
}

/* === Buttons === */
.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cocoa); color: var(--cream); }
.btn-primary:hover { background: #3b2a22; box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold); color: var(--cocoa); }
.btn-gold:hover { background: #ffc950; box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--cocoa); border-color: var(--rule-strong); }
.btn-secondary:hover { border-color: var(--cocoa); background: rgba(42,30,24,0.04); }
.btn-ghost { background: transparent; color: var(--cocoa); }
.btn-ghost:hover { background: rgba(42,30,24,0.06); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 18px 30px; font-size: 17px; }
.btn .arrow {
  display: inline-block;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.btn:hover .arrow { transform: translateX(4px); }

/* === Nav === */
.nav-wrap {
  position: fixed;
  top: 16px;
  left: 0; right: 0;
  z-index: 100;
  pointer-events: none;
  padding: 0 24px;
}
.nav {
  margin: 0 auto;
  max-width: 1240px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 8px 8px 8px 22px;
  background: rgba(255, 251, 242, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: var(--r-pill);
  border: 1px solid var(--rule);
  pointer-events: auto;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 28px -10px rgba(42,30,24,0.18);
  transition: padding .25s ease, background .25s ease;
  position: relative;
}
.nav-brand { display: flex; align-items: center; gap: 10px; grid-column: 1; justify-self: start; }
.nav-brand img { height: 26px; width: auto; }
/* Desktop / tablet: brand left, links centered, CTA pinned right */
.nav-links {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav-links a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--espresso);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: color .2s ease, background .2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--cocoa); background: rgba(42,30,24,0.04); }
.nav-links a.nav-cta {
  background: var(--cocoa);
  color: var(--cream);
  padding: 10px 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}
.nav-links a.nav-cta:hover { background: var(--accent-dark); color: var(--cream); }
.nav-links a.nav-cta .arrow { transition: transform .2s ease; display: inline-block; }
.nav-links a.nav-cta:hover .arrow { transform: translateX(3px); }
.nav-right { display: none; }

/* === HERO === */
.hero {
  position: relative;
  padding: 160px 0 100px;
  /* hero clips its own glow — Trust section má jinou barvu, nechceme aby green blob přetékal */
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-headline {
  font-size: clamp(48px, 7.6vw, 116px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: var(--cocoa);
  text-wrap: balance;
}
.hero-headline em {
  font-style: italic;
  font-family: var(--body);
  font-weight: 500;
  color: var(--gold-dark);
}
.hero-headline .accent {
  color: var(--accent-dark);
  font-style: normal;
}
.hero-sub {
  margin-top: 28px;
  font-size: 19px;
  max-width: 56ch;
  color: var(--espresso);
  line-height: 1.55;
}
.hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: #fff;
  color: var(--cocoa);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  margin-bottom: 28px;
  border: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 6px 18px -6px rgba(42,30,24,0.22);
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.hero-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 10px 24px -6px rgba(42,30,24,0.28);
}
.hero-tag-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 12px;
  padding-right: 12px;
  border-right: 1px solid var(--rule);
}
.hero-tag-pin {
  width: 18px;
  height: 18px;
  color: var(--accent-dark);
  flex-shrink: 0;
}
.hero-tag .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0,191,158,0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,191,158,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(0,191,158,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,191,158,0); }
}

/* 3D scene */
.scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* overflow visible — blobs continue softly into next section */
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  will-change: transform;
}
.blob-1 {
  width: 540px; height: 540px;
  background: radial-gradient(circle at 30% 30%, var(--gold) 0%, transparent 70%);
  top: -160px; right: -120px;
  animation: float1 18s ease-in-out infinite;
}
.blob-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle at 60% 60%, var(--accent) 0%, transparent 70%);
  bottom: -160px; left: -120px;
  opacity: 0.32;
  animation: float2 22s ease-in-out infinite;
}
/* Homepage-specific: blob-2 zvednutý výš tak aby se green glow plynule fadeoval uvnitř hero
   a nezasahoval do Trust sekce (jiná barva pozadí). Ostatní stránky ponechávají bleed. */
.hero .blob-2 {
  bottom: 100px;
}
.hero .blob-1 {
  top: -80px;
}
.blob-3 {
  width: 360px; height: 360px;
  background: radial-gradient(circle at 50% 50%, var(--coral) 0%, transparent 70%);
  top: 30%; right: 30%;
  opacity: 0.18;
  animation: float3 26s ease-in-out infinite;
}
@keyframes float1 {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(-40px, 60px) rotate(20deg); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(50px, -30px); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-30px, 40px); }
}

/* 3D objects (CSS) */
.scene-obj {
  position: absolute;
  transform-style: preserve-3d;
  will-change: transform;
}

.cube-3d {
  width: 130px; height: 130px;
  transform-style: preserve-3d;
  animation: cube-spin 24s linear infinite;
}
.cube-3d .face {
  position: absolute; inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  box-shadow: 0 12px 40px -10px rgba(200, 146, 38, 0.45);
}
.cube-3d .face.f { transform: translateZ(65px); }
.cube-3d .face.b { transform: translateZ(-65px) rotateY(180deg); }
.cube-3d .face.l { transform: rotateY(-90deg) translateZ(65px); background: linear-gradient(135deg, var(--gold-dark) 0%, #8a5e15 100%); }
.cube-3d .face.r { transform: rotateY(90deg) translateZ(65px); background: linear-gradient(135deg, var(--gold-dark) 0%, #8a5e15 100%); }
.cube-3d .face.t { transform: rotateX(90deg) translateZ(65px); background: linear-gradient(135deg, #ffd87a 0%, var(--gold) 100%); }
.cube-3d .face.bo { transform: rotateX(-90deg) translateZ(65px); background: linear-gradient(135deg, #6e4810 0%, var(--gold-dark) 100%); }
@keyframes cube-spin {
  0% { transform: rotateX(-15deg) rotateY(0deg); }
  100% { transform: rotateX(-15deg) rotateY(360deg); }
}

.sphere-3d {
  width: 180px; height: 180px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 22%),
    radial-gradient(circle at 65% 70%, rgba(0,0,0,0.18) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, var(--accent) 0%, var(--accent-dark) 100%);
  box-shadow:
    inset -20px -30px 60px rgba(0,0,0,0.25),
    0 30px 60px -10px rgba(0,155,128,0.4);
  animation: float-y 6s ease-in-out infinite;
}

.torus-3d {
  width: 150px; height: 150px;
  position: relative;
  animation: torus-spin 14s linear infinite;
  transform-style: preserve-3d;
}
.torus-3d .ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 22px solid transparent;
  border-top-color: var(--coral);
  border-right-color: var(--coral);
  filter: drop-shadow(0 8px 18px rgba(232,90,71,0.4));
}
.torus-3d .ring.r2 { transform: rotateY(60deg); }
.torus-3d .ring.r3 { transform: rotateY(120deg); }
@keyframes torus-spin {
  0% { transform: rotateX(60deg) rotateZ(0deg); }
  100% { transform: rotateX(60deg) rotateZ(360deg); }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.pyramid-3d {
  width: 0; height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid var(--gold);
  filter: drop-shadow(0 18px 24px rgba(200, 146, 38, 0.4));
  animation: float-y 7s ease-in-out infinite;
}

/* === New collab tiles v2 === */
.collab-tiles-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ctile {
  position: relative;
  padding: 36px 32px 40px;
  border-radius: 20px;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.ctile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ctile-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: auto;
}
.ctile-icon svg { width: 36px; height: 36px; }
.ctile h3 {
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-top: 32px;
  position: relative;
  z-index: 2;
}
.ctile-deco {
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  right: -100px; top: -100px;
  opacity: 0.12;
  pointer-events: none;
}
.ctile-1 { background: linear-gradient(135deg, #FBE6B0 0%, #F5D38A 100%); color: var(--cocoa); border: 1px solid rgba(200,146,38,0.2); }
.ctile-1 .ctile-icon { background: rgba(42,30,24,0.12); color: var(--cocoa); }
.ctile-1 .ctile-deco { background: var(--gold-dark); }

.ctile-2 { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%); color: white; }
.ctile-2 .ctile-icon { background: rgba(255,255,255,0.2); color: white; }
.ctile-2 .ctile-deco { background: white; }

.ctile-3 { background: linear-gradient(135deg, var(--cocoa) 0%, var(--espresso) 100%); color: var(--cream); border: 1px solid rgba(255,255,255,0.06); }
.ctile-3 .ctile-icon { background: rgba(240,184,64,0.18); color: var(--gold); }
.ctile-3 .ctile-deco { background: var(--gold); }

@media (max-width: 880px) {
  .collab-tiles-v2 { grid-template-columns: 1fr; }
}

/* hide old tiles css */
.collab-tiles { display: none; }

/* === Talentoid service card — brand palette: Plantation #29524A, Portage #9EABFF, Mountain Meadow #00BF9E === */
.service-card.talentoid {
  background: linear-gradient(135deg, #0E2521 0%, #16332D 100%);
  color: white;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.service-card.talentoid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(158,171,255,0.28), transparent 55%),
              radial-gradient(circle at 18% 82%, rgba(0,191,158,0.20), transparent 55%);
  pointer-events: none;
}
.service-card.talentoid .icon-3d {
  background: #9EABFF;
  color: #16332D;
  box-shadow: 0 8px 24px -8px rgba(158,171,255,0.55);
}
.service-card.talentoid .icon-3d img { filter: brightness(0) invert(1); }
.service-card.talentoid h3 { color: white; position: relative; z-index: 1; }
.service-card.talentoid p { color: rgba(255,255,255,0.72); position: relative; z-index: 1; }
.service-card.talentoid p strong { color: #B2BCFF; font-weight: 700; }
.service-card.talentoid .service-link { color: #B2BCFF; position: relative; z-index: 1; }
.service-card.talentoid .service-link:hover { color: #3FDDB6; }
.service-card.talentoid .deco { background: linear-gradient(135deg, rgba(158,171,255,0.32), rgba(0,191,158,0.12) 60%, transparent); }


/* === Trust strip === */
.trust {
  padding: 64px 0 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--cream);
  overflow: hidden;
}
.trust-label {
  text-align: center;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
  font-weight: 600;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 56px;
}
.partner-cell {
  height: 110px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--rule);
  transition: background .2s;
}
.partner-cell:last-child { border-right: none; }
.partner-cell:hover { background: rgba(240,184,64,0.06); }
.partner-cell img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.65);
  transition: filter .25s ease;
}
.partner-cell:hover img { filter: grayscale(0%) opacity(1); }
@media (max-width: 880px) {
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-cell:nth-child(3n) { border-right: none; }
  .partner-cell:nth-child(-n+3) { border-bottom: 1px solid var(--rule); }
}

.webshots-marquee {
  display: flex;
  overflow: hidden;
  padding: 8px 0 56px;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.webshots-track {
  display: flex;
  gap: 20px;
  animation: webshots-scroll 50s linear infinite;
  padding-right: 20px;
}
@keyframes webshots-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.webshot {
  flex-shrink: 0;
  width: 320px;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px -10px rgba(42,30,24,0.18), 0 0 0 1px var(--rule);
  background: white;
  display: flex;
  flex-direction: column;
  transition: transform .3s;
}
.webshot:hover { transform: translateY(-4px); }
.webshot-bar {
  height: 22px;
  background: var(--paper);
  display: flex; align-items: center; gap: 5px;
  padding: 0 10px;
  border-bottom: 1px solid var(--rule);
}
.webshot-bar i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--clay); opacity: 0.4;
}
.webshot-body {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
.webshot-body img,
.webshot-body video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* === Reviews — marketing-style cards (mk-testi-*) === */
.mk-testi-carousel { overflow: hidden; }
.mk-testi-track {
  display: flex;
  gap: 20px;
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
.mk-testi-track .mk-testi-card { flex: 0 0 calc((100% - 40px) / 3); }
.mk-testi-card {
  background: #fff;
  border: 1px solid rgba(42,30,24,.08);
  border-radius: var(--r-xl, 24px);
  padding: 36px 36px 32px;
  position: relative;
  display: flex; flex-direction: column; gap: 22px;
}
.mk-testi-card::before {
  content: '“';
  position: absolute;
  top: 10px; left: 28px;
  font-family: 'Mona Sans', serif;
  font-weight: 800;
  font-size: 96px;
  line-height: 1;
  color: rgba(0,191,158,.16);
}
.mk-testi-card blockquote {
  font-family: 'Mona Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--cocoa);
  margin: 0;
  position: relative;
  z-index: 1;
}
.mk-testi-card .mk-testi-quote {
  position: relative;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  overflow: hidden;
  transition: max-height .3s ease;
}
.mk-testi-card.is-expanded .mk-testi-quote {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mk-testi-card:not(.is-clamped) .mk-testi-toggle { display: none; }
.mk-testi-toggle {
  align-self: flex-start;
  margin-top: -8px;
  background: transparent;
  border: none;
  padding: 0;
  font-family: 'Hubot Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .01em;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.mk-testi-toggle:hover { color: var(--cocoa); }
.mk-testi-foot {
  display: flex; align-items: center; gap: 14px;
  margin-top: auto;
  padding-top: 4px;
}
.mk-testi-avatar {
  width: 44px; height: 44px;
  min-width: 44px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Mona Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.mk-testi-name {
  font-family: 'Mona Sans', sans-serif;
  font-weight: 700;
  color: var(--cocoa);
  font-size: 15px;
}
.mk-testi-role {
  font-size: 13px;
  color: var(--espresso, #4a3a30);
  opacity: .75;
}
@media (max-width: 1024px) {
  .mk-testi-track .mk-testi-card { flex: 0 0 calc((100% - 20px) / 2); }
}
@media (max-width: 720px) {
  .mk-testi-track { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
  .mk-testi-track .mk-testi-card { flex: 0 0 86%; scroll-snap-align: start; }
}

/* === Reviews carousel === */
.reviews-nav { display: flex; flex-direction: column; align-items: flex-start; }
.rev-arrows { display: flex; gap: 8px; margin-top: 8px; }
.rev-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--rule-strong);
  background: white;
  color: var(--cocoa);
  font-size: 18px;
  cursor: pointer;
  transition: all .2s;
}
.rev-arrow:hover:not(:disabled) { background: var(--cocoa); color: var(--cream); border-color: var(--cocoa); }
.rev-arrow:disabled { opacity: 0.3; cursor: not-allowed; }

.reviews-carousel {
  overflow: hidden;
}
.reviews-track {
  display: flex;
  gap: 20px;
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
.reviews-track .review {
  flex: 0 0 calc((100% - 40px) / 3);
}
@media (max-width: 880px) {
  .reviews-track .review { flex: 0 0 calc((100% - 20px) / 2); }
  .reviews-track { transform: none !important; overflow-x: auto; }
}
@media (max-width: 560px) {
  .reviews-track .review { flex: 0 0 100%; }
}

/* === Benefit icon === */
.benefit .b-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-tint), var(--gold));
  color: var(--cocoa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px -6px rgba(200, 146, 38, 0.5);
}
.benefit .b-icon svg { width: 26px; height: 26px; }
.benefit:nth-child(2) .b-icon { background: linear-gradient(135deg, var(--accent-tint), var(--accent)); color: white; box-shadow: 0 6px 14px -6px rgba(0,155,128,0.5); }
.benefit:nth-child(3) .b-icon { background: linear-gradient(135deg, var(--coral-tint), var(--coral)); color: white; box-shadow: 0 6px 14px -6px rgba(232,90,71,0.5); }
.benefit:nth-child(4) .b-icon { background: linear-gradient(135deg, var(--sand), var(--clay)); color: white; }
.benefit:nth-child(5) .b-icon { background: linear-gradient(135deg, var(--cocoa), var(--espresso)); color: var(--gold); }
.benefit:nth-child(6) .b-icon { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: white; box-shadow: 0 6px 14px -6px rgba(0,155,128,0.5); }

.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 64px;
  animation: marquee 40s linear infinite;
  padding-right: 64px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.brand-logo {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--espresso);
  opacity: 0.55;
  white-space: nowrap;
  transition: opacity .2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-logo:hover { opacity: 1; }
.brand-logo .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* === Section heads === */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.section-head h2 em {
  font-family: var(--body);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-dark);
}
.section-head .lede {
  font-size: 17px;
  color: var(--espresso);
  max-width: 50ch;
}
/* Kicker promoted to a heading tag for SEO must keep its small eyebrow look */
.section-head h2.kicker {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.16em;
}
/* Display sub-headline demoted from a heading tag — keeps the big h2 look */
.section-head .sh-display {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
  margin-top: 16px;
}
.section-head .sh-display em {
  font-family: var(--body);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-dark);
}
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}
/* Reviews section — give H2 more room, push lede + arrows further right */
.section-head:has(.reviews-nav) { grid-template-columns: 1.55fr 1fr; }
.section-head:has(.reviews-nav) .reviews-nav {
  align-items: flex-end;
  text-align: right;
}
.section-head:has(.reviews-nav) .reviews-nav .lede {
  text-align: right;
  margin-left: auto;
}
@media (max-width: 880px) {
  .section-head:has(.reviews-nav) { grid-template-columns: 1fr; }
  .section-head:has(.reviews-nav) .reviews-nav { align-items: flex-start; text-align: left; }
  .section-head:has(.reviews-nav) .reviews-nav .lede { text-align: left; margin-left: 0; }
}

/* === Services grid === */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-card {
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--rule);
  padding: 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 280px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card .icon-3d {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  box-shadow: 0 10px 24px -8px rgba(200, 146, 38, 0.5);
  display: flex; align-items: center; justify-content: center;
  color: var(--cocoa);
  position: relative;
  transform: rotateX(15deg) rotateY(-15deg);
  transform-style: preserve-3d;
  transition: transform .4s;
}
.service-card:hover .icon-3d { transform: rotateX(0) rotateY(0); }
.service-card.teal .icon-3d {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  box-shadow: 0 10px 24px -8px rgba(0, 155, 128, 0.5);
}
.service-card.coral .icon-3d {
  background: linear-gradient(135deg, var(--coral) 0%, #c64431 100%);
  color: white;
  box-shadow: 0 10px 24px -8px rgba(200, 68, 49, 0.5);
}
.service-card.dark { background: var(--cocoa); color: var(--cream); border-color: transparent; }
.service-card.dark p { color: rgba(250,242,226,0.7); }
.service-card.dark .service-link { color: var(--gold); }
.service-card .icon-3d svg { width: 32px; height: 32px; }
.service-card h3 {
  font-size: 26px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.service-card p { color: var(--espresso); font-size: 15px; }
.service-card .service-link {
  margin-top: auto;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card .service-link span { transition: transform .25s; }
.service-card:hover .service-link span { transform: translateX(4px); }
.service-card .deco {
  position: absolute;
  right: -40px; top: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--gold-tint);
  opacity: 0;
  transition: opacity .35s, transform .5s;
  z-index: 0;
}
.service-card:hover .deco { opacity: 0.6; transform: scale(1.2); }
.service-card > * { position: relative; z-index: 1; }
.service-card.dark .deco { background: var(--espresso); opacity: 0; }
.service-card.dark:hover .deco { opacity: 0.5; }
@media (max-width: 720px) {
  .services { grid-template-columns: 1fr; }
}

/* === Why us / 6-card grid === */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.benefit {
  background: white;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .3s, border-color .3s;
}
.benefit:hover { transform: translateY(-3px); border-color: var(--rule-strong); }
.benefit .b-num {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  color: var(--accent-dark);
  letter-spacing: 0.12em;
}
.benefit h4 {
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.benefit p { color: var(--espresso); font-size: 14px; }
@media (max-width: 880px) {
  .benefits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .benefits { grid-template-columns: 1fr; }
}

/* === Process timeline === */
.process {
  background: var(--cocoa);
  color: var(--cream);
  border-radius: var(--r-xl);
  padding: 80px 56px;
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(240,184,64,0.12) 0%, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(0,191,158,0.12) 0%, transparent 40%);
  pointer-events: none;
}
.process .section-head h2 { color: var(--cream); }
.process .section-head .lede { color: rgba(250,242,226,0.7); }
.process .kicker { color: var(--gold); }
.process .kicker::before { background: var(--gold); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}
.proc-step {
  border-top: 1px solid rgba(250,242,226,0.18);
  padding-top: 24px;
  position: relative;
}
.proc-step::before {
  content: '';
  position: absolute;
  top: -7px; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(240,184,64,0.2);
}
.proc-step.active::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(0,191,158,0.25); }
.proc-step .step-no {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}
.proc-step h4 {
  margin-top: 8px;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.proc-step p {
  margin-top: 10px;
  color: rgba(250,242,226,0.7);
  font-size: 14px;
}
.proc-step .dur {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(250,242,226,0.5);
  letter-spacing: 0.06em;
}
@media (max-width: 880px) {
  .process { padding: 56px 28px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* === Collab section (03 — Jak pracujeme) === */
.collab {
  text-align: left;
}
.collab-kicker {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.collab-title {
  text-align: center;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 72px;
  color: var(--cocoa);
  text-wrap: balance;
}
.collab-title em {
  font-family: var(--body);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-dark);
}

.collab-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}
.collab-pillar h4 {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-dark);
  margin-bottom: 14px;
}
.collab-pillar p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--espresso);
}
.collab-pillar p.has-link {
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 3px;
}
@media (max-width: 880px) {
  .collab-pillars { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .collab-pillars { grid-template-columns: 1fr; }
}

.collab-tiles {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
}
.collab-col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}
.collab-tile {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
  display: flex;
  flex-direction: column;
}
.collab-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.collab-tile.big {
  min-height: 420px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-tint) 100%);
}
.collab-tile .tile-art {
  flex: 1;
  position: relative;
  min-height: 160px;
  margin-bottom: 24px;
}
.collab-tile.big .tile-art { min-height: 220px; }
.collab-tile .tile-art.small { min-height: 110px; }

/* abstract image-mountain placeholder */
.tile-art .art-circle {
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold);
  top: 24%; left: 36%;
  box-shadow: 0 8px 18px -6px rgba(200,146,38,0.45);
}
.tile-art.small .art-circle { width: 36px; height: 36px; top: 18%; left: 38%; }

.tile-art .art-tri-big {
  position: absolute;
  width: 0; height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 120px solid var(--accent);
  bottom: 0; left: 50%; transform: translateX(-50%);
  filter: drop-shadow(0 12px 24px rgba(0,155,128,0.3));
}
.tile-art.small .art-tri-big {
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 76px solid var(--accent);
}

.tile-art .art-tri-sm {
  position: absolute;
  width: 0; height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 78px solid var(--cocoa);
  bottom: 0; left: 28%;
  filter: drop-shadow(0 8px 18px rgba(42,30,24,0.2));
}
.tile-art.small .art-tri-sm {
  border-left: 38px solid transparent;
  border-right: 38px solid transparent;
  border-bottom: 50px solid var(--cocoa);
  left: 18%;
}

.collab-tile .tile-body h3 {
  font-size: 26px;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--cocoa);
}
.collab-tile.big .tile-body h3 { font-size: 32px; }
.collab-tile .tile-body p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--espresso);
}

@media (max-width: 880px) {
  .collab-tiles { grid-template-columns: 1fr; }
  .collab-tile.big { min-height: 320px; }
}

/* === Reviews === */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review {
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--rule);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.review .stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
}
.review .quote {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  color: var(--cocoa);
  letter-spacing: -0.015em;
  line-height: 1.4;
  flex: 1;
}
.review .author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.review .avatar {
  width: 44px; height: 44px;
  min-width: 44px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-tint), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--cocoa);
  font-size: 15px;
}
.review .meta { font-family: var(--sans); }
.review .name { font-weight: 600; font-size: 15px; }
.review .role { font-size: 13px; color: var(--muted); }
@media (max-width: 880px) { .reviews { grid-template-columns: 1fr; } }

/* === Case studies / Work === */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.work-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  isolation: isolate;
}
.work-card .work-img {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.work-card:hover .work-img { transform: scale(1.04); }
.work-card .work-info {
  position: absolute;
  left: 28px; right: 28px; bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.work-card .tag {
  display: inline-block;
  background: rgba(255,255,255,0.92);
  color: var(--cocoa);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 8px;
}
.work-card h4 {
  font-size: 26px;
  letter-spacing: -0.025em;
  color: white;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.work-card .arrow-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  color: var(--cocoa);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform .3s;
}
.work-card:hover .arrow-btn { transform: rotate(-45deg); }
@media (max-width: 720px) { .work-grid { grid-template-columns: 1fr; } }

/* visual backgrounds for work tiles */
.work-bg-teal {
  background:
    radial-gradient(circle at 80% 20%, rgba(240,184,64,0.20), transparent 55%),
    linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}
.work-bg-cocoa {
  background:
    radial-gradient(circle at 25% 30%, rgba(240,184,64,0.18), transparent 55%),
    linear-gradient(135deg, var(--cocoa) 0%, var(--espresso) 100%);
}
.work-bg-cream {
  background:
    radial-gradient(circle at 30% 70%, rgba(0,191,158,0.18) 0%, transparent 55%),
    linear-gradient(135deg, var(--cream) 0%, var(--sand) 100%);
}
.work-bg-gold {
  background:
    radial-gradient(circle at 70% 70%, rgba(232,90,71,0.18) 0%, transparent 55%),
    linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
}

.work-mock {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) perspective(1100px) rotateX(20deg) rotateY(-12deg);
  width: 82%;
  aspect-ratio: 16 / 10;
  background: white;
  border-radius: 12px;
  box-shadow: 0 30px 80px -10px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
}
.work-card:hover .work-mock {
  transform: translate(-50%, -52%) perspective(1100px) rotateX(10deg) rotateY(-6deg) scale(1.02);
}
.work-mock .mock-bar {
  height: 26px;
  background: var(--cream);
  display: flex; align-items: center;
  padding: 0 12px; gap: 6px;
  border-bottom: 1px solid var(--rule);
  flex-shrink: 0;
}
.work-mock .mock-bar i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--clay); opacity: 0.45;
  display: inline-block;
}
.work-mock .mock-bar i:first-child { background: #ff5f57; opacity: 0.65; }
.work-mock .mock-bar i:nth-child(2) { background: #febc2e; opacity: 0.65; }
.work-mock .mock-bar i:nth-child(3) { background: #28c840; opacity: 0.65; }
.work-mock .mock-url {
  margin-left: 14px;
  font-family: var(--sans);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: white;
  border-radius: 6px;
  padding: 3px 10px;
  flex: 1;
  border: 1px solid var(--rule);
}
.work-mock .mock-media {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.work-mock .mock-media img,
.work-mock .mock-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* === Contact form === */
.contact-wrap {
  background: var(--cream);
  border-radius: var(--r-xl);
  padding: 0;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.contact-info {
  padding: 64px 56px;
  background: var(--cocoa);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,184,64,0.3) 0%, transparent 60%);
  filter: blur(20px);
}
.contact-info h3 {
  font-size: 44px;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: var(--cream);
  position: relative;
}
.contact-info p {
  margin-top: 20px;
  font-size: 16px;
  color: rgba(250,242,226,0.8);
  max-width: 38ch;
  position: relative;
}
.contact-info .info-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--sans);
  position: relative;
}
.contact-info .info-row { display: flex; gap: 14px; align-items: center; font-size: 15px; }
.contact-info .info-row .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(250,242,226,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.contact-info .info-row .lbl { color: rgba(250,242,226,0.6); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.contact-info .info-row .val { color: var(--cream); font-weight: 500; }

.contact-form {
  padding: 64px 56px;
  background: white;
}
.contact-form h4 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  color: var(--cocoa);
}
.field label em { font-style: normal; color: var(--coral); margin-left: 2px; }
.field input, .field textarea, .field select {
  font-family: var(--body);
  font-size: 15px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--rule-strong);
  background: white;
  color: var(--fg);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-tint);
}
.field textarea { resize: vertical; min-height: 110px; }
.budget-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.budget-pills label {
  cursor: pointer;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--rule-strong);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  background: white;
  transition: all .15s;
}
.budget-pills input { display: none; }
.budget-pills label:hover { border-color: var(--cocoa); }
.budget-pills input:checked + span,
.budget-pills label.on {
  background: var(--cocoa);
  color: var(--cream);
  border-color: var(--cocoa);
}
.budget-pills label.on { background: var(--cocoa); color: var(--cream); border-color: var(--cocoa); }

.form-footer {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.consent {
  display: flex; gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  align-items: flex-start;
  max-width: 28ch;
  cursor: pointer;
}
.consent input { margin-top: 3px; accent-color: var(--accent); }

@media (max-width: 880px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-info, .contact-form { padding: 44px 32px; }
  .field-row { grid-template-columns: 1fr; }
}

/* === FAQ === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: white;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 22px 28px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.faq-item:hover { border-color: var(--rule-strong); }
.faq-item.open { border-color: var(--cocoa); background: var(--cream); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--cocoa);
}
.faq-q .plus {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: transform .3s, background .2s;
  flex-shrink: 0;
  border: 1px solid var(--rule);
}
.faq-item.open .plus { transform: rotate(45deg); background: var(--gold); border-color: transparent; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, margin-top .25s, opacity .3s;
  color: var(--espresso);
  font-size: 15px;
  opacity: 0;
}
.faq-item.open .faq-a {
  max-height: 320px;
  margin-top: 12px;
  opacity: 1;
}

/* === CTA banner === */
.cta-banner {
  background: var(--gold);
  border-radius: var(--r-xl);
  padding: 80px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--cocoa);
}
.cta-banner h2 em { font-family: var(--body); font-style: italic; font-weight: 500; }
.cta-banner p {
  margin: 24px auto 0;
  max-width: 50ch;
  font-size: 17px;
  color: var(--espresso);
}
.cta-banner .btns {
  margin-top: 36px;
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(42,30,24,0.06);
  top: -100px; right: -100px;
}
.cta-banner::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(42,30,24,0.06);
  bottom: -80px; left: -80px;
}
/* Stronger hover on the primary CTA button inside the banner */
.cta-banner .btn-primary {
  transition: transform .22s cubic-bezier(.2,.8,.2,1), background .22s ease, box-shadow .25s ease;
}
.cta-banner .btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
  background: var(--accent-dark);
  color: var(--paper);
  box-shadow: 0 18px 40px -10px rgba(0, 155, 128, 0.55), 0 6px 16px rgba(42, 30, 24, 0.18);
}
.cta-banner .btn-primary:hover .arrow {
  transform: translateX(6px);
}

/* === Footer === */
.footer {
  background: var(--cocoa);
  color: var(--cream);
  padding: 80px 0 32px;
  margin-top: 0;
}
.footer-grid {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(250,242,226,0.12);
}
.footer-brand {
  flex: 0 1 360px;
  margin-right: auto;
}
.footer-grid > div:not(.footer-brand) {
  text-align: right;
  flex: 0 0 auto;
}
.footer-grid > div:not(.footer-brand) ul { align-items: flex-end; }
.footer-brand img { height: 32px; }
.footer-brand p {
  margin-top: 18px;
  color: rgba(250,242,226,0.6);
  font-size: 14px;
  max-width: 36ch;
}
.footer-bottom a {
  color: rgba(250,242,226,0.65);
  transition: color .15s;
}
.footer-bottom a:hover { color: var(--gold); }
.footer h5 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.footer ul a {
  color: rgba(250,242,226,0.75);
  font-size: 14px;
  transition: color .15s;
}
.footer ul a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(250,242,226,0.5);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom { margin-top: 32px; }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* === Reveal animations === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }

/* Scroll arrow */
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 56px;
}
.scroll-cue .ln {
  width: 56px; height: 1px; background: var(--muted);
  position: relative; overflow: hidden;
}
.scroll-cue .ln::after {
  content: '';
  position: absolute; left: -100%; top: 0; bottom: 0;
  width: 100%; background: var(--cocoa);
  animation: scroll-line 2.4s linear infinite;
}
@keyframes scroll-line {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Cursor follower (subtle) */
.cursor-glow {
  position: fixed;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,184,64,0.10) 0%, transparent 60%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: transform .12s ease-out;
  mix-blend-mode: multiply;
}

/* selection */
::selection { background: var(--accent); color: white; }

/* =====================================================================
   === Responsive layer — mobile nav, tablet/phone tightening (V2)  ===
   ===================================================================== */

/* --- Burger nav: hamburger button (hidden on desktop, visible on mobile) --- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: rgba(255, 251, 242, 0.92);
  color: var(--cocoa);
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: background .2s ease, border-color .2s ease;
}
.nav-toggle:hover { background: var(--cream); border-color: var(--rule-strong); }
.nav-toggle .nav-toggle-bar {
  width: 18px;
  height: 2px;
  background: var(--cocoa);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-wrap.is-open .nav-toggle .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-wrap.is-open .nav-toggle .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-wrap.is-open .nav-toggle .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

body.nav-locked { overflow: hidden; }

/* Mobile drawer — only kicks in below 880px */
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: flex;
    justify-content: space-between;
    padding: 6px 6px 6px 18px;
    gap: 8px;
  }
  .nav-brand { grid-column: auto; justify-self: auto; }
  .nav-brand img { height: 22px; }
  .nav-wrap .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    margin: 0 4px 0 auto;
    background: rgba(255, 251, 242, 0.98);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid var(--rule);
    border-radius: 22px;
    padding: 12px;
    box-shadow: 0 24px 60px -20px rgba(42,30,24,0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
    z-index: 10;
    max-width: 420px;
  }
  .nav-wrap.is-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear 0s;
  }
  .nav-wrap .nav-links a {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 14px;
    border-bottom: 1px solid var(--rule);
    background: transparent;
    color: var(--cocoa);
    margin-left: 0;
    transition: background .2s ease, color .2s ease;
  }
  .nav-wrap .nav-links a:last-child { border-bottom: none; }
  .nav-wrap .nav-links a::after { display: none; }
  .nav-wrap .nav-links a:hover { background: var(--cream); }
  .nav-wrap .nav-links a.nav-cta {
    position: static;
    transform: none;
    margin-top: 8px;
    background: var(--cocoa);
    color: var(--cream);
    text-align: center;
    font-weight: 600;
    border-bottom: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .nav-wrap .nav-links a.nav-cta:hover {
    background: var(--accent-dark);
    color: var(--cream);
  }
}

@media (max-width: 480px) {
  .nav { padding: 5px 5px 5px 14px; }
  .nav-brand img { height: 20px; }
}

/* --- Container padding (smaller on phone) --- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
}

/* --- Hide cursor glow + heavy 3D scene on touch / small screens --- */
@media (max-width: 1024px) {
  .cursor-glow { display: none; }
}
@media (max-width: 880px) {
  .scene .scene-obj { display: none; }
  .blob-3 { display: none; }
}
@media (hover: none) {
  .cursor-glow { display: none; }
}

/* --- Hero tightening --- */
@media (max-width: 1024px) {
  .hero { padding: 140px 0 80px; }
}
@media (max-width: 720px) {
  .hero { padding: 120px 0 56px; }
  .hero-sub { font-size: 17px; margin-top: 20px; }
  .hero-cta { margin-top: 26px; gap: 10px; }
  .hero-cta .btn-lg { padding: 14px 22px; font-size: 15px; }
  .hero-tag { margin-bottom: 18px; font-size: 12px; padding: 6px 12px; }
}
@media (max-width: 480px) {
  .hero { padding: 110px 0 40px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}

/* --- Section padding --- */
@media (max-width: 1024px) {
  .section { padding: 84px 0; }
}
@media (max-width: 480px) {
  .section { padding: 56px 0; }
}

/* --- Section head h2 --- */
@media (max-width: 720px) {
  .section-head { margin-bottom: 40px; }
}

/* --- Services 2-col → 1-col earlier --- */
@media (max-width: 880px) {
  .services { grid-template-columns: 1fr; }
  .service-card { padding: 28px; min-height: 0; }
  .service-card h3 { font-size: 22px; }
}

/* --- Webshots marquee smaller on mobile --- */
@media (max-width: 720px) {
  .webshot { width: 240px; }
  .webshots-marquee { padding: 8px 0 40px; }
}
@media (max-width: 480px) {
  .webshot { width: 200px; }
}

/* --- Trust strip --- */
@media (max-width: 720px) {
  .trust { padding: 48px 0 0; }
  .trust-label { font-size: 11px; margin-bottom: 24px; padding: 0 16px; }
  .partner-cell { height: 80px; padding: 14px 16px; }
  .partner-cell img { max-height: 38px; }
}
@media (max-width: 480px) {
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-cell:nth-child(3n) { border-right: 1px solid var(--rule); }
  .partner-cell:nth-child(2n) { border-right: none; }
  .partner-cell:nth-child(-n+4) { border-bottom: 1px solid var(--rule); }
}

/* --- Reviews carousel on mobile --- */
@media (max-width: 880px) {
  .reviews-track { gap: 14px; padding-bottom: 8px; }
  .reviews-track .review { padding: 24px; }
  .review .quote { font-size: 16px; }
}
@media (max-width: 720px) {
  .reviews-nav .rev-arrows { display: none; }
  .mk-testi-card { padding: 28px 24px 24px; }
}

/* --- Work / case studies grid --- */
@media (max-width: 720px) {
  .work-card { aspect-ratio: 5 / 4; }
  .work-card h4 { font-size: 22px; }
  .work-card .work-info { left: 20px; right: 20px; bottom: 20px; }
}

/* --- Process grid --- */
@media (max-width: 480px) {
  .process { padding: 48px 22px; border-radius: 24px; }
  .proc-step h4 { font-size: 19px; }
}

/* --- Collab tiles --- */
@media (max-width: 720px) {
  .ctile { padding: 28px 24px 30px; min-height: 0; }
  .ctile h3 { font-size: 20px; margin-top: 24px; }
  .ctile-icon { width: 56px; height: 56px; border-radius: 14px; }
  .ctile-icon svg { width: 30px; height: 30px; }
}

/* --- Benefits --- */
@media (max-width: 720px) {
  .benefit { padding: 22px; }
}

/* --- Reviews / collab title --- */
@media (max-width: 720px) {
  .collab-title {
    font-size: clamp(40px, 8.6vw, 56px);
    line-height: 1;
    letter-spacing: -0.045em;
    margin-bottom: 48px;
  }
}

/* --- FAQ --- */
@media (max-width: 720px) {
  .faq-item { padding: 18px 22px; }
  .faq-q { font-size: 16px; }
}

/* --- CTA Banner --- */
@media (max-width: 720px) {
  .cta-banner { padding: 56px 28px; border-radius: 24px; }
  .cta-banner h2 { font-size: clamp(34px, 9vw, 56px); }
  .cta-banner p { font-size: 16px; margin-top: 18px; }
  .cta-banner .btns { margin-top: 28px; }
  .cta-banner .btn-lg { padding: 14px 22px; font-size: 15px; }
}
@media (max-width: 480px) {
  .cta-banner .btns { flex-direction: column; align-items: stretch; width: 100%; }
  .cta-banner .btns .btn { justify-content: center; }
}

/* --- Footer (override flex/grid mix from earlier rules) --- */
@media (max-width: 880px) {
  .footer { padding: 64px 0 28px; }
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
    padding-bottom: 40px;
  }
  .footer-grid > div:not(.footer-brand) { text-align: left; }
  .footer-grid > div:not(.footer-brand) ul { align-items: flex-start; }
  .footer-brand { grid-column: 1 / -1; flex: none; margin-right: 0; }
  .footer-brand p { max-width: 48ch; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { padding-top: 20px; font-size: 12px; }
  .footer-bottom > div:last-child { width: 100%; }
}

/* --- Contact form (homepage contact section) --- */
@media (max-width: 720px) {
  .contact-info, .contact-form { padding: 36px 24px; }
  .contact-info h3 { font-size: 32px; }
}

/* --- Avoid horizontal overflow on tiny screens --- */
@media (max-width: 480px) {
  h1, h2 { letter-spacing: -0.035em; }
  .section-head .lede { font-size: 16px; }
}
