/* ───── Dark is the only theme now — tokens set directly, no light variant, no toggle. ───── */
:root {
  --bg-base:#17151A;
  --bg-surface:#221F26;
  --bg-subtle:#1C1A20;
  --bg-strong:#2C2830;
  --bg-dark:#0D0C10;

  --text-primary:#F3F1ED;
  --text-secondary:#B7B4BD;
  --text-muted:#8D8A93;
  --text-inverse:#FBF9F5;

  --burgundy:#D2564E;
  --burgundy-hover:#E17870;
  --burgundy-light:#DC6E67;
  --orange:#E8834A;
  --orange-hover:#F09A66;
  --orange-light:#EE9A63;
  --orange-soft:#3A2A20;
  --charcoal:#F3F1ED;

  --border:rgba(255,255,255,0.10);
  --border-strong:rgba(255,255,255,0.18);

  --ink-fixed:#2C2C2E;

  --gradient-brand:linear-gradient(135deg,#EE9A63 0%,#D2564E 100%);
  --gradient-soft:linear-gradient(180deg,#2A2018 0%,#17151A 100%);

  --r-sm:8px;
  --r-md:14px;
  --r-lg:24px;
  --r-xl:36px;

  --shadow-sm:0 1px 2px rgba(0,0,0,0.35),0 1px 3px rgba(0,0,0,0.3);
  --shadow-md:0 4px 14px rgba(0,0,0,0.4),0 2px 6px rgba(0,0,0,0.3);
  --shadow-lg:0 24px 48px -12px rgba(0,0,0,0.55);
}

* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  font-family:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background:var(--bg-base);
  color:var(--text-primary);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
  transition:background-color 0.3s ease, color 0.3s ease;
}
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }

.display { font-family:'Inter Tight', sans-serif; letter-spacing:-0.025em; line-height:1; font-weight:700; }

.container { width:100%; max-width:1280px; margin:0 auto; padding:0 32px; }
@media (max-width:720px) { .container { padding:0 20px; } }

/* ───── PAGE LOADER — full-screen cream curtain with pulsing logo + shimmer bar ───── */
.page-loader {
  position:fixed; inset:0;
  z-index:9999;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  gap:28px;
  background:var(--bg-base);
  transition:opacity 0.6s ease, visibility 0s linear 0.6s;
}
.page-loader.is-done {
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.page-loader-logo {
  height:72px; width:auto;
  opacity:0.95;
  animation:plPulse 1.6s ease-in-out infinite;
}
@keyframes plPulse {
  0%,100% { opacity:0.7; transform:scale(1); }
  50%     { opacity:1;   transform:scale(1.06); }
}
.page-loader-bar {
  position:relative;
  width:180px; height:2px;
  border-radius:999px;
  background:rgba(217,101,31,0.14);
  overflow:hidden;
}
.page-loader-bar::after {
  content:"";
  position:absolute;
  top:0; left:-40%;
  width:40%; height:100%;
  background:linear-gradient(90deg, transparent, #D9651F 50%, transparent);
  animation:plBar 1.4s cubic-bezier(0.4,0,0.2,1) infinite;
}
@keyframes plBar {
  0%   { left:-40%; }
  100% { left:100%; }
}

/* Body intro — invisible until loader removes itself */
body { opacity:0; transition:opacity 0.5s ease; }
body.is-loaded { opacity:1; }

/* Hero intro — text + video fade up after load */
body:not(.is-loaded) .hero-video-bg { opacity:0; transform:scale(1.02); }
.hero-video-bg {
  transition:opacity 1.0s ease 0.2s, transform 1.4s cubic-bezier(0.16,1,0.3,1) 0.2s;
}
body:not(.is-loaded) .minav {
  opacity:0;
  transform:translateX(-50%) translateY(14px);
}
.minav {
  transition:opacity 0.8s ease, transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
/* Delay the intro fade per-property. A bare transition-delay here would also
   delay border-radius, leaving the bar stuck at its 999px pill radius while
   the mobile menu expands (which reads as a big circle before it snaps). */
body.is-loaded .minav {
  opacity:1;
  transform:translateX(-50%);
  transition:opacity 0.8s ease 0.55s, transform 0.9s cubic-bezier(0.16,1,0.3,1) 0.55s;
}

/* ───── HEADER (replaced by Dock — see .dock below) ───── */
header:not(.minav) { display:none !important; }
header.legacy-header-disabled {
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(251,249,245,0.85);
  backdrop-filter:blur(16px) saturate(180%);
  -webkit-backdrop-filter:blur(16px) saturate(180%);
  border-bottom:1px solid transparent;
  transition:opacity 0.4s ease, transform 0.4s ease, background 0.3s ease, padding 0.3s ease;
}
header.scrolled {
  border-bottom-color:var(--border);
  background:rgba(251,249,245,0.95);
}
/* Legacy rule for the old top header. Must exclude .minav — it is also a
   <header>, and this was silently disabling clicks on the whole navbar
   whenever the hero was in view. */
body.in-hero header:not(.minav) {
  opacity:0;
  transform:translateY(-12px);
  pointer-events:none;
}
.nav {
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 32px; max-width:1440px; margin:0 auto;
  transition:padding 0.3s ease;
}
header.scrolled .nav { padding:14px 32px; }

.logo {
  display:inline-flex; align-items:center;
  text-decoration:none;
}
.logo img {
  height:54px; width:auto;
  transition:transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.logo:hover img { transform:scale(1.04); }
header.scrolled .logo img { height:45px; }
.foot-brand .logo img { height:42px; }

.nav-links { display:flex; gap:36px; align-items:center; }
.nav-links a {
  font-size:15px; font-weight:500; color:var(--text-primary);
  position:relative; transition:color 0.2s;
}
.nav-links a::after {
  content:''; position:absolute; bottom:-4px; left:0;
  width:0; height:1.5px; background:var(--burgundy);
  transition:width 0.3s cubic-bezier(0.4,0,0.2,1);
}
.nav-links a:hover::after { width:100%; }

.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:12px 22px; border-radius:999px;
  font-family:'Inter', sans-serif; font-size:14px; font-weight:600;
  border:none; cursor:pointer;
  transition:all 0.25s cubic-bezier(0.4,0,0.2,1);
  white-space:nowrap;
}
.btn-primary {
  background:var(--burgundy); color:white;
  box-shadow:0 1px 0 rgba(255,255,255,0.1) inset, 0 4px 12px rgba(139,31,31,0.25);
}
.btn-primary:hover { background:var(--burgundy-hover); transform:translateY(-1px); box-shadow:0 1px 0 rgba(255,255,255,0.1) inset, 0 8px 20px rgba(139,31,31,0.35); }
.btn-secondary {
  background:transparent; color:var(--text-primary);
  border:1.5px solid var(--border-strong);
}
.btn-secondary:hover { border-color:var(--charcoal); background:var(--bg-subtle); }
.btn-dark { background:var(--ink-fixed); color:white; }
.btn-dark:hover { background:#000; }
.btn .arrow { transition:transform 0.25s; }
.btn:hover .arrow { transform:translateX(4px); }

.menu-toggle { display:none; background:none; border:none; cursor:pointer; padding:8px; }
.menu-toggle svg { width:24px; height:24px; }

@media (max-width:900px) {
  .nav-links { display:none; }
  .menu-toggle { display:block; }
}

/* ───── HERO — Instagram showcase ───── */
.igh-hero {
  position:relative;
  background:var(--bg-base);
  background-image:radial-gradient(circle at 1px 1px, rgba(139,31,31,0.05) 1px, transparent 0);
  background-size:24px 24px;
  overflow:hidden;
}

/* ─── Full-bleed hero photo — natural aspect ratio, no crop, full width ─── */
.igh-hero-bg {
  position:relative;
  width:100%;
  z-index:0;
  line-height:0;
  pointer-events:none;
}
.igh-hero-bg img {
  width:100%; height:auto;
  display:block;
}

/* Direct child only: .igh-logos-row has its own .container, and the absolute
   positioning below would yank it out of flow and drop the logos past the fold. */
.igh-hero > .container {
  position:relative;
  z-index:1;
}
@media (min-width:1201px) {
  /* flex-start, not center: the copy's position then depends only on this
     padding, so changing the logo strip's spacing below can't shove the
     headline around. padding-top IS the nav-to-headline offset. */
  .igh-hero > .container {
    position:absolute; inset:0;
    display:flex; flex-direction:column; justify-content:flex-start;
    padding-top:202px;
    padding-bottom:36px;
  }
  /* Pull the logo strip (and with it the whole rest of the page) up, so the
     tightened gap under the navbar isn't just re-added below. The image's
     bottom is flat --bg-base, so the overlap is invisible. */
  .igh-logos-row { margin-top:-216px; }
}

/* ─── Mobile / tablet hero — portrait photo on top, copy stacked underneath.
   dark-hero-bg-mobile.webp is composed for this and already fades out at the
   bottom. Its natural 1760x2320 is too tall for a phone once the copy and the
   bottom-docked navbar are accounted for, so it is capped at 44vh and anchored
   to the top. The ::after fade covers the cut edge whenever that cap bites
   higher up than the image's own built-in fade. ─── */
@media (max-width:1200px) {
  .igh-hero { padding:0 0 72px; }
  .igh-hero-bg img {
    width:100%;
    height:auto;
    aspect-ratio:1760 / 1972;
    max-height:44vh;
    object-fit:cover;
    object-position:center top;
  }
  .igh-hero-bg::after {
    content:'';
    position:absolute; left:0; right:0; bottom:0;
    height:130px;
    background:linear-gradient(to bottom, rgba(23,21,26,0) 0%, rgba(23,21,26,0.85) 65%, var(--bg-base) 100%);
  }
  .igh-hero > .container { padding-top:0; padding-bottom:0; }
}

/* Logo row — sits below the photo in normal flow, so it's never squeezed
   by the image's height like the overlaid copy is. */
.igh-logos-row {
  position:relative;
  z-index:1;
  padding:40px 0 56px;
}
/* Must come after the shorthand above, or it loses at equal specificity. */
@media (min-width:1201px) {
  .igh-logos-row { padding-top:56px; }
}
@media (max-width:1200px) {
  /* Was 0, which jammed the strip straight under the CTA row; the only
     apparent gap was the transparent margin inside the logo PNGs. */
  .igh-logos-row { padding:64px 0 56px; }
}

/* ─── Left-aligned hero copy ─── */
.hero3-center {
  position:relative; z-index:1;
  max-width:540px;
  text-align:left;
  display:flex; flex-direction:column; align-items:flex-start;
}
.hero3-headline {
  font-family:'Inter Tight', sans-serif;
  font-weight:800;
  font-size:clamp(38px, 6vw, 74px);
  line-height:1.1;
  letter-spacing:-0.03em;
  color:var(--text-primary);
}
.hero3-highlight {
  background:linear-gradient(135deg, #D9651F 0%, #B8511A 45%, #8B1F1F 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.hero3-sub {
  font-size:17px;
  color:var(--text-secondary);
  max-width:440px;
  margin:24px 0 0;
  line-height:1.6;
}
.hero3-stats {
  font-size:13.5px;
  font-weight:500;
  letter-spacing:0.01em;
  color:var(--text-muted);
  margin:18px 0 0;
}
.hero3-cta-row { display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; justify-content:flex-start; }
.btn-soft {
  background:var(--orange-soft);
  color:var(--burgundy);
}
.btn-soft:hover { background:#F5D9B8; }

/* ─── Logo strip ─── */
.igh-logos {
  position:relative; z-index:1;
  display:flex; align-items:center; justify-content:flex-start;
  gap:56px; flex-wrap:wrap;
}
.igh-logos img {
  height:60px; width:auto;
  display:block;
  filter:grayscale(1) invert(1) brightness(1.6);
  opacity:0.65;
  transition:opacity 0.25s ease;
}
/* Stay monochrome on hover; brighten to full white rather than revealing the
   logos' own colours. */
.igh-logos img:hover {
  opacity:1;
}
/* Plan-Épszer and Madách are supplied already light-on-transparent, so they
   must skip the invert the older dark logos in this strip rely on. */
.igh-logos img.is-light-logo { filter:grayscale(1) brightness(1.15); }

/* Mobile */
@media (max-width:900px) {
  .hero3-sub { font-size:16px; margin-top:18px; }
  .hero3-cta-row {
    flex-direction:column; align-items:stretch; gap:12px;
    margin:30px auto 0;
    width:100%; max-width:300px;
    align-self:center;
  }
  .hero3-cta-row .btn { justify-content:center; }
  /* Push the logo strip past the fold so the bottom-docked navbar never
     lands on top of it at first paint. */
  .igh-logos-row { padding-top:104px; }
  /* Logos stretch edge to edge: equal-width cells, each logo scaled to fit. */
  .igh-logos {
    flex-wrap:nowrap;
    justify-content:space-between;
    gap:10px;
    width:100%;
  }
  .igh-logos img {
    flex:1 1 0;
    min-width:0;
    width:auto;
    height:40px;
    object-fit:contain;
  }
}

/* ───── AWARDS — Dark spotlight card under hero ───── */
.awards {
  padding:56px 24px;
  background:var(--bg-subtle);
  position:relative;
}
.awards-card {
  position:relative;
  max-width:1200px;
  margin:0 auto;
  padding:64px 48px 56px;
  border-radius:28px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(217,101,31,0.18), transparent 70%),
    radial-gradient(ellipse 60% 60% at 100% 100%, rgba(139,31,31,0.20), transparent 70%),
    #100D14;
  border:1px solid rgba(255,255,255,0.06);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.03) inset,
    0 30px 80px -20px rgba(15,12,20,0.45),
    0 8px 24px rgba(15,12,20,0.18);
  overflow:hidden;
  isolation:isolate;
}
/* subtle dot grid pattern */
.awards-card::before {
  content:"";
  position:absolute; inset:0;
  background-image:radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size:20px 20px;
  -webkit-mask-image:radial-gradient(ellipse 70% 80% at 50% 50%, black 30%, transparent 90%);
  mask-image:radial-gradient(ellipse 70% 80% at 50% 50%, black 30%, transparent 90%);
  pointer-events:none;
  z-index:0;
}
.awards-card > * { position:relative; z-index:1; }

/* Centered headline */
.awards-headline {
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(22px, 2.6vw, 32px);
  font-weight:600;
  line-height:1.35;
  letter-spacing:-0.02em;
  text-align:center;
  color:rgba(255,255,255,0.92);
  max-width:780px;
  margin:0 auto 40px;
}
.awards-headline .hl {
  background:linear-gradient(110deg, #FFC56B 0%, #FF9248 50%, #D9651F 100%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
  font-weight:700;
}

/* Badges row */
.awards-badges {
  display:flex; align-items:center; justify-content:center;
  gap:clamp(24px, 5vw, 64px);
  flex-wrap:wrap;
  margin-bottom:44px;
}
.awards-badge {
  display:flex; flex-direction:column; align-items:center; gap:10px;
  text-align:center;
  opacity:0.92;
  transition:transform .35s ease, opacity .35s ease;
}
.awards-badge:hover { transform:translateY(-3px); opacity:1; }
.awards-badge-img {
  height:54px;
  display:flex; align-items:center; justify-content:center;
}
.awards-badge-img img {
  max-height:54px; max-width:130px; width:auto; height:54px;
  object-fit:contain;
  /* invert grayscales so dark logos stay visible on dark bg */
  filter:brightness(0) invert(1) opacity(0.92);
}
/* Google logo keeps brand colors */
.awards-badge.is-color .awards-badge-img img { filter:none; }
.awards-badge-label {
  font-size:11px; font-weight:600;
  color:rgba(255,255,255,0.55);
  text-transform:uppercase; letter-spacing:0.1em;
}

/* Stat boxes row */
.awards-stats {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
@media (max-width:780px) { .awards-stats { grid-template-columns:1fr; } }
.awards-stat {
  position:relative;
  padding:22px 22px 20px;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.02) 100%);
  border:1px solid rgba(255,255,255,0.07);
  overflow:hidden;
}
.awards-stat::before {
  content:"";
  position:absolute; top:0; left:0;
  width:60%; height:1px;
  background:linear-gradient(90deg, rgba(217,101,31,0.55), transparent);
}
.awards-stat-num {
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(34px, 4vw, 46px);
  font-weight:800;
  letter-spacing:-0.04em;
  line-height:1;
  background:linear-gradient(135deg, #FFC56B 0%, #D9651F 60%, #8B1F1F 100%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
  display:inline-block;
  margin-bottom:10px;
}
.awards-stat-label {
  font-size:13px;
  color:rgba(255,255,255,0.65);
  font-weight:500;
  line-height:1.45;
  max-width:240px;
}

/* ───── SECTION COMMON ───── */
section { position:relative; }
.section-pad { padding:64px 0; }
.section-pad-sm { padding:48px 0; }

.section-head {
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:48px; margin-bottom:64px;
}
.section-tag {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--bg-surface);
  border:1px solid var(--border);
  border-radius:999px;
  padding:7px 16px 7px 12px;
  font-size:12.5px; font-weight:700;
  letter-spacing:0.02em;
  color:var(--burgundy);
  box-shadow:var(--shadow-sm);
  margin-bottom:16px;
}
.section-tag::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--orange); flex-shrink:0; }
.section-title {
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(32px,4.5vw,56px);
  font-weight:700;
  letter-spacing:-0.025em;
  line-height:1.05;
  max-width:780px;
}
.section-sub {
  color:var(--text-secondary);
  font-size:17px;
  max-width:380px;
  flex-shrink:0;
}
@media (max-width:900px) {
  .section-head { flex-direction:column; align-items:flex-start; gap:24px; }
  .section-pad { padding:52px 0; }
}

/* ───── SERVICES BENTO — 5 large cards, animated illustrations ───── */
.services {
  background:var(--bg-base);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(139,31,31,0.05) 1px, transparent 0);
  background-size:24px 24px;
}

.bento {
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  grid-auto-rows:auto;
  gap:12px;
}
@media (max-width:1024px) {
  .bento { grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:640px) {
  .bento { grid-template-columns:1fr; gap:10px; }
}

/* ─────────────────────────────────────────── */
/* Features-8 style cards (Tailwind/shadcn → vanilla) */
/* ─────────────────────────────────────────── */
.feat-card {
  background:var(--bg-surface);
  border:1px solid var(--border);
  border-radius:14px;
  position:relative;
  overflow:hidden;
  transition:transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
  display:flex;
  flex-direction:column;
}
.feat-card:hover {
  border-color:rgba(139,31,31,0.18);
  transform:translateY(-2px);
  box-shadow:0 1px 2px rgba(27,27,30,0.04), 0 12px 28px rgba(27,27,30,0.06);
}

/* Sizes — Features-8 col-span-2 / col-span-3 */
.feat-card.col-2 { grid-column:span 2; }
.feat-card.col-3 { grid-column:span 3; }
@media (max-width:1024px) {
  .feat-card.col-2,
  .feat-card.col-3 { grid-column:span 2; }
}
@media (max-width:640px) {
  .feat-card.col-2,
  .feat-card.col-3 { grid-column:span 1; }
}

.feat-content {
  padding:24px;
  display:flex;
  flex-direction:column;
  gap:0;
  flex:1;
}

/* Card 1: Big number with hand-drawn doodle circle */
.feat-num-card .feat-content {
  align-items:center;
  text-align:center;
  padding:32px 24px 24px;
}
.feat-num-wrap {
  position:relative;
  width:224px;
  height:96px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:8px auto 0;
}
.feat-num-circle {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  color:var(--orange-soft);
}
.feat-num-text {
  position:relative;
  font-family:'Inter Tight', sans-serif;
  font-size:42px;
  font-weight:700;
  letter-spacing:-0.04em;
  color:var(--charcoal);
  z-index:1;
  white-space:nowrap;
}
.feat-num-text small {
  font-size:0.55em;
  color:var(--burgundy);
  margin-left:4px;
  font-weight:600;
}
.feat-card-title {
  font-family:'Inter Tight', sans-serif;
  font-size:22px;
  font-weight:600;
  letter-spacing:-0.02em;
  color:var(--charcoal);
  margin:24px 0 6px;
  text-align:center;
}
.feat-card-desc {
  font-size:13px;
  color:var(--text-secondary);
  text-align:center;
  line-height:1.5;
}

/* ───── REAL SERVICES — sticky stacking cards ───── */
.stack-wrap { position:relative; max-width:1180px; margin:0 auto; }
.stack-card {
  position:sticky;
  margin-bottom:28px;
  text-decoration:none;
  color:inherit;
  display:block;
}
.stack-inner {
  display:grid;
  grid-template-columns:1fr 0.85fr;
  gap:56px;
  align-items:center;
  background:var(--bg-surface);
  border:1px solid var(--border);
  border-radius:32px;
  box-shadow:var(--shadow-lg);
  padding:56px;
  min-height:440px;
}
.stack-num {
  display:block;
  font-family:'Inter Tight', sans-serif;
  font-weight:800;
  font-size:14px;
  letter-spacing:0.06em;
  color:var(--text-muted);
  margin-bottom:22px;
}
.stack-title {
  font-family:'Inter Tight', sans-serif;
  font-weight:700;
  font-size:clamp(24px, 2.4vw, 32px);
  letter-spacing:-0.02em;
  color:var(--charcoal);
  margin-bottom:16px;
}
.stack-desc {
  font-size:16px;
  color:var(--text-secondary);
  line-height:1.65;
  margin-bottom:24px;
  max-width:52ch;
}
.stack-bullets { display:flex; flex-direction:column; gap:10px; margin-bottom:28px; list-style:none; }
.stack-bullets li {
  display:flex; align-items:center; gap:10px;
  font-size:14.5px; color:var(--charcoal); font-weight:500;
}
.stack-bullets li::before {
  content:''; width:6px; height:6px; border-radius:50%;
  background:var(--orange); flex-shrink:0;
}
.stack-link {
  display:inline-flex; align-items:center; gap:8px;
  font-size:15px; font-weight:700; color:var(--burgundy);
}
.stack-link svg { width:15px; height:15px; transition:transform 0.25s; }
.stack-card:hover .stack-link svg { transform:translateX(3px); }

.stack-visual {
  position:relative;
  border-radius:24px;
  overflow:hidden;
  aspect-ratio:1/1;
  background:linear-gradient(135deg, var(--orange-soft) 0%, var(--bg-subtle) 100%);
}
.stack-visual img { width:100%; height:100%; object-fit:cover; display:block; }
.stack-visual .img-dark { display:block; }

@media (max-width:900px) {
  .stack-card { position:relative !important; top:auto !important; margin-bottom:20px; }
  .stack-inner { grid-template-columns:1fr; padding:32px 24px; gap:28px; min-height:auto; }
  .stack-visual { order:-1; aspect-ratio:4/3; }
  .stack-desc { max-width:none; }
}

/* Card 2: Concentric rings icon (Secure-style) */
.feat-rings-card .feat-content {
  padding:32px 24px 24px;
  align-items:center;
}
.feat-rings-icon {
  position:relative;
  width:128px;
  height:128px;
  border:1px solid var(--border);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto;
  flex-shrink:0;
}
.feat-rings-icon::before {
  content:'';
  position:absolute;
  inset:-10px;
  border:1px solid var(--border);
  border-radius:50%;
  pointer-events:none;
}
.feat-rings-svg {
  width:84px;
  height:62px;
}
.feat-rings-svg .ring-base { color:var(--text-muted); opacity:0.4; }
.feat-rings-svg .ring-grad-stop1 { stop-color:#E8732C; stop-opacity:0; }
.feat-rings-svg .ring-grad-stop2 { stop-color:#8B1F1F; stop-opacity:1; }
.feat-rings-svg .ring-line { color:var(--burgundy); }

/* Card 3: Browser/dashboard mockup */
.feat-browser-card .feat-content { padding:24px; }
.feat-browser {
  position:relative;
  background:var(--bg-subtle);
  border:1px solid var(--border);
  border-radius:10px;
  padding:24px 16px 16px;
  margin-bottom:6px;
}
.feat-browser-dots {
  position:absolute;
  top:8px; left:12px;
  display:flex; gap:4px;
}
.feat-browser-dots span {
  width:6px; height:6px;
  border-radius:50%;
  background:rgba(27,27,30,0.18);
}
.feat-browser-svg {
  width:100%;
  display:block;
}
.feat-browser-svg .area-fill { color:var(--orange); opacity:0.18; }
.feat-browser-svg .area-line { color:var(--burgundy); }
.feat-browser-svg .text { fill:var(--text-muted); font-family:inherit; }

/* Card 4 / 5: 3-col cards with side icon + visual */
.feat-split-card .feat-content {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  padding:24px;
}
@media (max-width:640px) {
  .feat-split-card .feat-content { grid-template-columns:1fr; }
}
.feat-split-left {
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:24px;
}
.feat-icon-circle {
  position:relative;
  width:48px;
  height:48px;
  border:1px solid var(--border);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.feat-icon-circle::before {
  content:'';
  position:absolute;
  inset:-8px;
  border:1px solid var(--border);
  border-radius:50%;
  pointer-events:none;
}
.feat-icon-circle svg { width:20px; height:20px; color:var(--charcoal); }
.feat-split-text h3 {
  font-family:'Inter Tight', sans-serif;
  font-size:18px;
  font-weight:600;
  letter-spacing:-0.015em;
  color:var(--charcoal);
  margin-bottom:6px;
}
.feat-split-text p {
  font-size:14px;
  color:var(--text-secondary);
  line-height:1.5;
}

/* Card 4 right side: chart visual */
.feat-chart-area {
  position:relative;
  margin:-24px -24px 0 0;
  border-left:1px solid var(--border);
  border-top:1px solid var(--border);
  border-top-left-radius:14px;
  padding:24px 16px;
}
.feat-chart-area::before {
  content:'';
  position:absolute;
  top:8px; left:12px;
  width:6px; height:6px;
  border-radius:50%;
  background:rgba(27,27,30,0.18);
  box-shadow:10px 0 0 rgba(27,27,30,0.18), 20px 0 0 rgba(27,27,30,0.18);
}
.feat-chart-svg {
  width:100%;
  display:block;
  margin-top:16px;
}
.feat-chart-svg .area-fill { color:var(--orange); opacity:0.2; }
.feat-chart-svg .area-line { color:var(--burgundy); }

/* Card 5 right side: contact bubbles */
.feat-bubbles-area {
  position:relative;
  /* Centred against the left column rather than pinned to the top, so the
     leftover height sits evenly above and below the three rows. */
  display:flex;
  align-items:center;
}
.feat-bubbles-inner {
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:24px;
  padding:24px 0;
  height:100%;
}
.feat-bubble {
  position:relative;
  display:flex;
  align-items:center;
  gap:8px;
}
.feat-bubble.right {
  width:calc(50% + 14px);
  justify-content:flex-end;
}
.feat-bubble.left {
  width:calc(50% + 14px);
  margin-left:calc(50% - 14px);
  flex-direction:row-reverse;
  justify-content:flex-end;
}
.feat-bubble-tag {
  background:var(--bg-surface);
  border:1px solid var(--border);
  border-radius:6px;
  padding:5px 10px;
  font-size:12px;
  color:var(--charcoal);
  font-weight:500;
  box-shadow:0 1px 2px rgba(0,0,0,0.04);
  white-space:nowrap;
}
.feat-bubble-avatar {
  width:32px;
  height:32px;
  border-radius:50%;
  background:var(--bg-surface);
  border:4px solid var(--bg-surface);
  box-shadow:0 0 0 1px var(--border);
  overflow:hidden;
  flex-shrink:0;
}
.feat-bubble-avatar img {
  width:100%; height:100%;
  object-fit:cover;
}

.bc {
  background:var(--bg-surface);
  border:1px solid rgba(27,27,30,0.04);
  border-radius:18px;
  padding:28px;
  position:relative; overflow:hidden;
  transition:transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s cubic-bezier(0.4,0,0.2,1);
  display:flex; flex-direction:column;
  cursor:pointer;
  box-shadow:0 1px 2px rgba(27,27,30,0.04), 0 4px 12px rgba(27,27,30,0.04);
}
.bc:hover {
  transform:translateY(-3px);
  box-shadow:0 1px 2px rgba(27,27,30,0.06), 0 12px 32px rgba(27,27,30,0.08), 0 24px 48px -12px rgba(139,31,31,0.12);
}

/* ── Stripe-style info hierarchy: eyebrow → title → desc → arrow link ── */
.bc-eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  font-size:11px; font-weight:600;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--text-secondary);
  margin-bottom:auto;
}
.bc-eyebrow::before {
  content:''; width:6px; height:6px; border-radius:50%;
  background:var(--orange);
  flex-shrink:0;
  box-shadow:0 0 8px rgba(232,115,44,0.45);
}
.bc-eyebrow .num {
  font-family:'SF Mono', Monaco, monospace;
  color:var(--text-muted);
  letter-spacing:0.06em;
}

.bc-arrow-link {
  display:inline-flex; align-items:center; gap:6px;
  font-size:13px; font-weight:600;
  color:var(--burgundy);
  margin-top:18px;
  width:fit-content;
  text-decoration:none;
  transition:gap 0.25s ease, color 0.25s ease;
  cursor:pointer;
}
.bc-arrow-link:hover { gap:10px; color:var(--burgundy-hover); }
.bc-arrow-link svg {
  width:14px; height:14px;
  transition:transform 0.25s ease;
}
.bc-arrow-link:hover svg { transform:translateX(3px); }
.bc-arrow-link-light {
  color:rgba(255,255,255,0.85);
  position:relative; z-index:5;
}
.bc-arrow-link-light:hover { color:white; }

/* ───────────────────────────────────────── */
/* Card 1 — DASHBOARD CHART (Stripe analytics) */
/* ───────────────────────────────────────── */
.bc-dashboard {
  padding:22px 24px;
  background:
    radial-gradient(circle at 95% 5%, rgba(232,115,44,0.05) 0%, transparent 55%),
    var(--bg-surface);
  overflow:hidden;
}
.dash-header {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:0;
}
.dash-live {
  display:inline-flex; align-items:center; gap:6px;
  font-size:11px; font-weight:600;
  color:var(--text-secondary);
  letter-spacing:0.04em;
}
.dash-live-dot {
  width:6px; height:6px; border-radius:50%;
  background:#22C55E;
  position:relative;
  box-shadow:0 0 8px rgba(34,197,94,0.5);
}
.dash-live-dot::after {
  content:''; position:absolute; inset:-3px;
  border-radius:50%;
  border:1.5px solid #22C55E;
  opacity:0.6;
  animation:liveRing 2s ease-out infinite;
}
@keyframes liveRing {
  0%   { transform:scale(1); opacity:0.6; }
  100% { transform:scale(2.4); opacity:0; }
}

.dash-title {
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(18px, 1.5vw, 22px);
  font-weight:700; letter-spacing:-0.02em;
  line-height:1.2;
  color:var(--charcoal);
  margin:14px 0 18px;
  max-width:92%;
}

/* 2×2 widget mini-dashboard */
.dash-widgets {
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:1fr 1fr;
  gap:10px;
  flex:1;
  margin-bottom:14px;
  min-height:0;
}
.dash-widget {
  background:rgba(255,255,255,0.7);
  border:1px solid rgba(27,27,30,0.06);
  border-radius:12px;
  padding:14px 16px;
  display:flex; flex-direction:column;
  gap:6px;
  position:relative;
  overflow:hidden;
  opacity:0;
  transform:translateY(10px);
  animation:widgetIn 0.6s cubic-bezier(0.4,0,0.2,1) forwards;
  transition:border-color 0.25s ease, transform 0.25s ease;
}
.dash-widget:hover {
  border-color:rgba(139,31,31,0.18);
  transform:translateY(-1px);
}
.dash-widget:nth-child(1) { animation-delay:0.10s; }
.dash-widget:nth-child(2) { animation-delay:0.20s; }
.dash-widget:nth-child(3) { animation-delay:0.30s; }
.dash-widget:nth-child(4) { animation-delay:0.40s; }
@keyframes widgetIn {
  to { opacity:1; transform:translateY(0); }
}

.dash-widget-label {
  display:flex; align-items:center; justify-content:space-between;
  font-size:10px; font-weight:600;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--text-muted);
}
.dash-widget-label .badge {
  display:inline-flex; align-items:center; gap:4px;
  font-size:9px;
  color:#22C55E;
  letter-spacing:0.04em;
}
.dash-widget-label .badge::before {
  content:''; width:5px; height:5px; border-radius:50%; background:#22C55E;
  box-shadow:0 0 6px rgba(34,197,94,0.6);
}

.dash-widget-num {
  font-family:'Inter Tight', sans-serif;
  font-weight:700; letter-spacing:-0.03em;
  font-size:clamp(26px, 2.4vw, 34px);
  line-height:1;
  color:var(--charcoal);
  display:inline-flex; align-items:baseline; gap:4px;
}
.dash-widget-num small {
  font-size:0.45em; font-weight:600;
  color:var(--burgundy);
}
.dash-widget-num .x {
  font-size:0.7em; font-weight:600;
  color:var(--burgundy);
  margin-left:1px;
}
.dash-widget-foot {
  font-size:11px;
  color:var(--text-muted);
  display:inline-flex; align-items:center; gap:6px;
  margin-top:auto;
}
.dash-widget-foot .delta-up   { color:#22C55E; font-weight:600; }
.dash-widget-foot .delta-down { color:#22C55E; font-weight:600; }
.dash-widget-foot svg { width:10px; height:10px; }

/* Widget 2 — sparkline */
.dash-widget-spark {
  width:100%; height:32px;
  display:block;
  margin-top:auto;
}
.dash-widget-spark .spark-area {
  fill:url(#widgetSparkArea);
  opacity:0;
  animation:widgetSparkAreaIn 1.2s ease 0.6s forwards;
}
.dash-widget-spark .spark-line {
  fill:none;
  stroke:url(#widgetSparkLine);
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:200;
  stroke-dashoffset:200;
  animation:widgetSparkIn 1.6s cubic-bezier(0.4,0,0.2,1) 0.3s forwards;
}
.dash-widget-spark .spark-end {
  fill:#E8732C;
  opacity:0;
  animation:widgetEndIn 0.4s cubic-bezier(0.34,1.56,0.64,1) 1.7s forwards;
}
@keyframes widgetSparkIn      { to { stroke-dashoffset:0; } }
@keyframes widgetSparkAreaIn  { to { opacity:1; } }
@keyframes widgetEndIn        { to { opacity:1; } }

/* Widget 3 — bar chart */
.dash-widget-bars {
  display:flex; align-items:flex-end;
  gap:3px;
  height:32px;
  margin-top:auto;
}
.dash-widget-bars .b {
  flex:1;
  background:linear-gradient(180deg, #E8732C, #B92E2E);
  border-radius:2px 2px 0 0;
  transform-origin:bottom;
  transform:scaleY(0);
  animation:widgetBarIn 0.6s cubic-bezier(0.4,0,0.2,1) forwards;
}
.dash-widget-bars .b:nth-child(1) { animation-delay:0.5s; --h:0.30; }
.dash-widget-bars .b:nth-child(2) { animation-delay:0.55s; --h:0.45; }
.dash-widget-bars .b:nth-child(3) { animation-delay:0.60s; --h:0.40; }
.dash-widget-bars .b:nth-child(4) { animation-delay:0.65s; --h:0.62; }
.dash-widget-bars .b:nth-child(5) { animation-delay:0.70s; --h:0.55; }
.dash-widget-bars .b:nth-child(6) { animation-delay:0.75s; --h:0.85; }
.dash-widget-bars .b:nth-child(7) { animation-delay:0.80s; --h:1; }
@keyframes widgetBarIn {
  to { transform:scaleY(var(--h, 1)); }
}

/* Widget 4 — donut chart */
.dash-widget-donut {
  position:relative;
  width:54px; height:54px;
  margin-top:auto;
  margin-left:auto;
  flex-shrink:0;
}
.dash-widget-donut svg { transform:rotate(-90deg); }
.dash-widget-donut svg circle {
  fill:none; stroke-width:6;
}
.dash-widget-donut .ring-bg { stroke:var(--bg-strong); }
.dash-widget-donut .ring-fg {
  stroke:url(#widgetDonutGrad);
  stroke-linecap:round;
  stroke-dasharray:138;
  stroke-dashoffset:138;
  animation:widgetDonutIn 1.4s cubic-bezier(0.4,0,0.2,1) 0.6s forwards;
}
@keyframes widgetDonutIn {
  to { stroke-dashoffset:30; } /* ~78% filled */
}
.dash-widget-donut-num {
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  font-family:'Inter Tight', sans-serif;
  font-weight:700; font-size:12px;
  color:var(--charcoal);
  letter-spacing:-0.02em;
}
.dash-widget-row {
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:8px;
  flex:1;
  min-height:0;
}

/* Image-dominant card (Stripe enterprise-story style) */
.bc-image {
  padding:0;
  border:none;
  background:#1B1B1E;
  color:white;
  min-height:480px;
}
.bc-image .bc-image-photo {
  position:absolute; inset:0;
  z-index:0;
}
.bc-image .bc-image-photo img {
  width:100%; height:100%;
  object-fit:cover;
  object-position:center 25%;
  filter:saturate(0.9) brightness(0.85);
  transition:transform 0.8s cubic-bezier(0.4,0,0.2,1), filter 0.4s ease;
}
.bc-image:hover .bc-image-photo img {
  transform:scale(1.05);
  filter:saturate(1) brightness(0.9);
}
.bc-image .bc-image-photo::after {
  content:''; position:absolute; inset:0;
  background:
    linear-gradient(180deg,
      rgba(10,10,15,0.4) 0%,
      rgba(10,10,15,0) 30%,
      rgba(10,10,15,0) 50%,
      rgba(10,10,15,0.85) 100%);
}
.bc-image-content {
  position:relative; z-index:2;
  padding:28px;
  display:flex; flex-direction:column;
  height:100%;
}
.bc-image .bc-eyebrow {
  color:rgba(255,255,255,0.85);
}
.bc-image .bc-eyebrow .num { color:rgba(255,255,255,0.5); }
.bc-image .bc-image-title {
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(24px, 2.1vw, 30px);
  font-weight:700; line-height:1.1;
  letter-spacing:-0.025em;
  color:white;
  margin-top:auto;
  max-width:90%;
}
.bc-image .bc-image-sub {
  font-size:14px; color:rgba(255,255,255,0.78);
  line-height:1.5; margin-top:10px;
  max-width:90%;
}
.bc-image .bc-arrow-link {
  color:white;
  margin-top:18px;
}
.bc-image .bc-arrow-link:hover { color:#FBE8D5; }

/* ── Card sizes (12-col grid) ── */
.bc-stratégia { grid-column:span 5; grid-row:span 2; padding:0; }
.bc-audit     { grid-column:span 7; grid-row:span 2; padding:0; }
.bc-perform   { grid-column:span 4; grid-row:span 1; }
.bc-stat      { grid-column:span 4; grid-row:span 1; }
.bc-channels  { grid-column:span 4; grid-row:span 1; padding:24px; }

@media (max-width:1100px) {
  .bc-stratégia { grid-column:span 6; grid-row:span 2; }
  .bc-audit     { grid-column:span 6; grid-row:span 2; }
  .bc-perform   { grid-column:span 3; }
  .bc-stat      { grid-column:span 3; }
  .bc-channels  { grid-column:span 6; }
}
@media (max-width:720px) {
  .bc { grid-column:span 1 !important; grid-row:auto !important; min-height:280px; }
  .bc-stratégia, .bc-audit { padding:0; }
}

/* ───────────────────────────────────────── */
/* Card 1 — STRATÉGIA (split + orbital rings) */
/* ───────────────────────────────────────── */
.bc-strat-top {
  flex:1.2; padding:32px;
  background:linear-gradient(135deg, #F4E8E8 0%, #EDD5D5 60%, #E5BFC0 100%);
  position:relative; overflow:hidden;
  display:flex; flex-direction:column; justify-content:space-between;
}
.bc-strat-bottom {
  flex:1; padding:24px 32px;
  background:linear-gradient(135deg, #FBE8D5 0%, #F4A876 50%, #E8732C 100%);
  display:flex; flex-direction:column; justify-content:space-between;
  color:var(--charcoal); position:relative; overflow:hidden;
}
.bc-mini-nav {
  display:flex; align-items:center; justify-content:space-between;
  font-size:12px; color:var(--text-secondary); font-weight:500;
}
.bc-mini-nav .brand-dot { display:flex; align-items:center; gap:6px; color:var(--charcoal); font-weight:600; }
.bc-mini-nav .brand-dot::before {
  content:''; width:7px; height:7px; border-radius:50%; background:var(--charcoal);
}
.bc-mini-nav .links { display:flex; gap:14px; color:var(--text-muted); }

.bc-headline {
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(24px, 2.4vw, 32px); font-weight:700; line-height:1.05;
  letter-spacing:-0.025em; color:var(--charcoal);
}
.bc-sub {
  font-size:14px; color:var(--text-secondary);
  line-height:1.5; margin-top:10px;
  max-width:340px;
}
.bc-pill {
  display:inline-flex; align-items:center; gap:6px;
  background:var(--ink-fixed); color:white;
  padding:11px 22px; border-radius:999px;
  font-size:13px; font-weight:600;
  margin-top:20px;
  width:fit-content;
  transition:all 0.25s;
  z-index:2;
}
.bc-pill:hover { background:#000; transform:translateY(-1px); }

.bc-strat-bottom h4 {
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(20px, 1.8vw, 26px); font-weight:700; letter-spacing:-0.02em;
  z-index:2; position:relative;
}

/* Animated target with flying arrow — Stratégia top */
.strat-target {
  position:absolute; right:-30px; top:-30px;
  width:240px; height:240px;
  pointer-events:none;
  opacity:0.92;
}
.strat-target .ring {
  fill:none; stroke:#2C2C2E; stroke-width:2.5;
  transform-origin:center;
  animation:targetPulse 4s ease-in-out infinite;
}
.strat-target .ring-1 { opacity:0.25; animation-delay:0s; }
.strat-target .ring-2 { opacity:0.45; animation-delay:0.4s; }
.strat-target .ring-3 { opacity:0.65; animation-delay:0.8s; }
.strat-target .bullseye { fill:#8B1F1F; opacity:0.92; }
.strat-target .bull-dot { fill:#FBF9F5; }
@keyframes targetPulse {
  0%, 100% { transform:scale(1); }
  50%      { transform:scale(1.04); }
}
.strat-target .arrow-group {
  transform-origin:110px 110px;
  animation:arrowFly 4.5s cubic-bezier(0.5, 0, 0.2, 1) infinite;
}
@keyframes arrowFly {
  0%       { transform:translate(90px, -70px) rotate(38deg); opacity:0; }
  10%      { opacity:1; }
  35%, 75% { transform:translate(0, 0) rotate(0deg); opacity:1; }
  85%, 100% { opacity:0; transform:translate(90px, -70px) rotate(38deg); }
}

/* Growth line — Stratégia bottom */
.strat-chart {
  position:absolute; right:24px; bottom:18px;
  width:170px; height:80px;
  pointer-events:none;
}
.strat-chart .line {
  fill:none; stroke:#2C2C2E; stroke-width:2.5;
  stroke-linecap:round; stroke-linejoin:round;
  stroke-dasharray:240;
  stroke-dashoffset:240;
  animation:lineGrow 3.5s ease-in-out infinite;
}
.strat-chart .end-dot {
  fill:#2C2C2E;
  opacity:0;
  animation:dotPop 3.5s ease-in-out infinite;
}
.strat-chart .end-arrow {
  fill:#2C2C2E;
  opacity:0;
  animation:dotPop 3.5s ease-in-out infinite;
}
@keyframes lineGrow {
  0%       { stroke-dashoffset:240; }
  60%, 90% { stroke-dashoffset:0; }
  100%     { stroke-dashoffset:240; }
}
@keyframes dotPop {
  0%, 55%   { opacity:0; transform:scale(0.6); }
  65%, 90%  { opacity:1; transform:scale(1); }
  100%      { opacity:0; transform:scale(0.6); }
}

/* ───────────────────────────────────────── */
/* Card 2 — AUDIT (clean checklist + booking CTA, Stripe-style) */
/* ───────────────────────────────────────── */
.bc-audit-inner {
  flex:1; padding:32px;
  background:
    radial-gradient(circle at 90% 110%, rgba(232,115,44,0.18) 0%, transparent 55%),
    radial-gradient(circle at 10% -10%, rgba(139,31,31,0.08) 0%, transparent 50%),
    var(--bg-surface);
  position:relative; overflow:hidden;
  display:flex; flex-direction:column;
}
.bc-audit-head {
  display:flex; align-items:center; justify-content:space-between;
  font-size:11px; font-weight:500;
  position:relative; z-index:2;
}
.bc-audit-head .pro-pill {
  display:inline-flex; align-items:center; gap:6px;
  background:rgba(232,115,44,0.12);
  color:var(--burgundy);
  padding:4px 12px 4px 8px; border-radius:999px;
  font-size:11px; font-weight:600;
  letter-spacing:-0.005em;
}
.bc-audit-head .pro-pill::before {
  content:''; width:6px; height:6px; border-radius:50%;
  background:var(--orange);
  box-shadow:0 0 8px rgba(232,115,44,0.6);
  animation:pulse 2s ease-in-out infinite;
}

.audit-title {
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(28px, 2.6vw, 38px);
  font-weight:700; letter-spacing:-0.025em;
  line-height:1.05;
  color:var(--charcoal);
  margin:24px 0 10px;
  max-width:88%;
  position:relative; z-index:2;
}
.audit-title em {
  font-style:normal;
  color:var(--burgundy);
  background:linear-gradient(180deg, transparent 70%, rgba(232,115,44,0.18) 70%);
}
.audit-sub {
  font-size:14px; color:var(--text-secondary);
  line-height:1.5;
  max-width:480px;
  margin:0 0 24px;
  position:relative; z-index:2;
}
.audit-sub strong { color:var(--charcoal); font-weight:600; }

/* Checklist — animated checks */
.audit-checks {
  list-style:none;
  padding:18px 22px;
  margin:0 0 22px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px 24px;
  background:rgba(255,255,255,0.55);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(27,27,30,0.06);
  border-radius:14px;
  position:relative; z-index:2;
}
@media (max-width:900px) {
  .audit-checks { grid-template-columns:1fr; }
}
.audit-check {
  display:flex; align-items:center; gap:10px;
  font-size:13px; font-weight:500;
  color:var(--charcoal);
  opacity:0;
  transform:translateY(6px);
  animation:auditCheckIn 0.5s cubic-bezier(0.4,0,0.2,1) forwards;
}
.audit-check:nth-child(1) { animation-delay:0.1s; }
.audit-check:nth-child(2) { animation-delay:0.2s; }
.audit-check:nth-child(3) { animation-delay:0.3s; }
.audit-check:nth-child(4) { animation-delay:0.4s; }
@keyframes auditCheckIn {
  to { opacity:1; transform:translateY(0); }
}
.audit-check-icon {
  width:22px; height:22px; border-radius:50%;
  background:linear-gradient(135deg, #E8732C, #8B1F1F);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  box-shadow:0 2px 6px rgba(139,31,31,0.18);
  position:relative;
  overflow:hidden;
}
.audit-check-icon svg {
  width:11px; height:11px;
  stroke:white;
  stroke-dasharray:18;
  stroke-dashoffset:18;
  animation:auditCheckDraw 0.5s cubic-bezier(0.4,0,0.2,1) forwards;
}
.audit-check:nth-child(1) .audit-check-icon svg { animation-delay:0.45s; }
.audit-check:nth-child(2) .audit-check-icon svg { animation-delay:0.55s; }
.audit-check:nth-child(3) .audit-check-icon svg { animation-delay:0.65s; }
.audit-check:nth-child(4) .audit-check-icon svg { animation-delay:0.75s; }
@keyframes auditCheckDraw {
  to { stroke-dashoffset:0; }
}

/* Bottom CTA row */
.audit-cta-row {
  display:flex; align-items:center; gap:18px;
  flex-wrap:wrap;
  margin-top:auto;
  position:relative; z-index:2;
}
.audit-cta-btn {
  display:inline-flex; align-items:center; gap:10px;
  background:var(--ink-fixed); color:white;
  padding:13px 24px; border-radius:999px;
  font-size:14px; font-weight:600;
  text-decoration:none;
  transition:all 0.25s ease;
  border:none; cursor:pointer;
  font-family:inherit;
}
.audit-cta-btn:hover { background:#000; transform:translateY(-1px); box-shadow:0 8px 24px rgba(0,0,0,0.18); }
.audit-cta-btn .arr {
  display:inline-flex; align-items:center; justify-content:center;
  width:22px; height:22px; border-radius:50%;
  background:var(--orange);
  transition:transform 0.25s ease;
}
.audit-cta-btn:hover .arr { transform:translateX(3px); }
.audit-cta-btn .arr svg { width:11px; height:11px; stroke:white; }

.audit-cta-meta {
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:500;
  color:var(--text-secondary);
  letter-spacing:-0.005em;
}
.audit-cta-meta svg {
  width:14px; height:14px;
  stroke:var(--orange);
}

/* Decorative scribble in the corner */
.audit-deco {
  position:absolute;
  right:-30px; top:-30px;
  width:180px; height:180px;
  pointer-events:none;
  z-index:1;
  opacity:0.55;
}
.audit-deco svg { width:100%; height:100%; }
.audit-deco circle {
  fill:none;
  stroke:rgba(139,31,31,0.18);
  stroke-width:1.5;
}

/* Floating particles for audit card */
.particle {
  position:absolute;
  width:8px; height:8px;
  background:rgba(255,255,255,0.6);
  border-radius:50%;
  filter:blur(1px);
  pointer-events:none;
}
.particle-1 { left:12%;  bottom:-10%; animation:floatUp 9s linear infinite; }
.particle-2 { left:32%;  bottom:-10%; animation:floatUp 11s linear infinite 1.5s; }
.particle-3 { left:58%;  bottom:-10%; animation:floatUp 13s linear infinite 0.5s; }
.particle-4 { left:78%;  bottom:-10%; animation:floatUp 10s linear infinite 2s; }
.particle-5 { left:90%;  bottom:-10%; animation:floatUp 14s linear infinite 3s; }
@keyframes floatUp {
  0%   { transform:translateY(0)   scale(0.6); opacity:0; }
  15%  { opacity:0.9; }
  85%  { opacity:0.5; }
  100% { transform:translateY(-340px) scale(1.4); opacity:0; }
}

/* ───────────────────────────────────────── */
/* Card 3 — PERFORMANCE (animated bar chart) */
/* ───────────────────────────────────────── */
.bc-perform { justify-content:space-between; }
.bc-perform-head {
  display:flex; align-items:center; justify-content:space-between;
  font-size:12px; color:var(--text-secondary); font-weight:500;
}
.bc-perform-head .num {
  font-family:'Inter Tight', sans-serif;
  font-weight:600; color:var(--charcoal);
}
.bc-perform-headline {
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(22px, 2vw, 28px); font-weight:700; letter-spacing:-0.02em;
  color:var(--charcoal); margin-top:10px;
}
.bc-perform-desc {
  font-size:13px; color:var(--text-secondary);
  line-height:1.5; margin-top:6px;
}

/* Bar chart animation — Performance card */
.chart-wrap {
  position:relative;
  margin-top:auto;
  padding-top:18px;
}
.chart-trend {
  position:absolute; right:8px; top:-6px;
  display:inline-flex; align-items:center; gap:4px;
  background:var(--orange-soft); color:var(--burgundy);
  padding:4px 10px; border-radius:999px;
  font-size:12px; font-weight:700; letter-spacing:-0.01em;
  z-index:2;
}
.chart-trend svg { width:11px; height:11px; }
.chart {
  display:flex; align-items:flex-end; gap:8px;
  height:88px;
  position:relative;
}
.chart .bar {
  flex:1; height:100%;
  background:linear-gradient(180deg, var(--orange-light) 0%, var(--burgundy) 100%);
  border-radius:6px 6px 2px 2px;
  transform-origin:bottom;
  animation:barPulse 3.4s ease-in-out infinite;
  min-width:0;
  box-shadow:0 2px 6px rgba(139,31,31,0.15);
}
.chart .bar:nth-child(1) { animation-delay:0s;    }
.chart .bar:nth-child(2) { animation-delay:0.15s; }
.chart .bar:nth-child(3) { animation-delay:0.3s;  }
.chart .bar:nth-child(4) { animation-delay:0.45s; }
.chart .bar:nth-child(5) { animation-delay:0.6s;  }
.chart .bar:nth-child(6) { animation-delay:0.75s; }
.chart .bar:nth-child(7) { animation-delay:0.9s;  }
@keyframes barPulse {
  0%, 100% { transform:scaleY(0.25); }
  20%      { transform:scaleY(0.45); }
  40%      { transform:scaleY(0.7);  }
  60%      { transform:scaleY(1);    }
  80%      { transform:scaleY(0.55); }
}

/* ───────────────────────────────────────── */
/* Card 4 — EREDMÉNY (clean Stripe-style stat + sparkline) */
/* ───────────────────────────────────────── */
.bc-stat {
  align-items:stretch; justify-content:space-between;
  text-align:left;
  padding:28px;
  position:relative; overflow:hidden;
  background:
    radial-gradient(circle at 90% 0%, rgba(232,115,44,0.06) 0%, transparent 55%),
    var(--bg-surface);
}
.bc-eyebrow-top {
  align-self:flex-start;
  margin-bottom:0;
}

/* Hero number block */
.stat-hero {
  display:flex; flex-direction:column;
  align-items:flex-start; gap:6px;
  margin:18px 0 14px;
}
.stat-num {
  font-family:'Inter Tight', sans-serif;
  font-weight:700; letter-spacing:-0.045em;
  font-size:clamp(44px, 4.5vw, 64px);
  line-height:0.9;
  color:var(--charcoal);
  display:flex; align-items:baseline; gap:8px;
}
.stat-num .num-suffix {
  font-size:0.42em;
  font-weight:600;
  color:var(--burgundy);
  letter-spacing:-0.01em;
}
.stat-label {
  font-size:13px;
  color:var(--text-secondary);
  line-height:1.4;
  max-width:90%;
}

/* Mini sparkline area chart */
.stat-spark {
  display:flex; flex-direction:column; gap:8px;
  margin-top:auto;
}
.stat-spark-svg {
  width:100%; height:48px;
  display:block;
}
.stat-spark-svg .spark-area {
  fill:url(#sparkGrad);
  opacity:0;
  animation:sparkAreaIn 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}
.stat-spark-svg .spark-line {
  fill:none;
  stroke:url(#sparkLineGrad);
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:280;
  stroke-dashoffset:280;
  animation:sparkLineIn 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.stat-spark-svg .spark-end {
  fill:var(--burgundy);
  opacity:0;
  transform-origin:center;
  animation:sparkEndIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s forwards;
}
.stat-spark-svg .spark-end-pulse {
  fill:var(--burgundy);
  opacity:0;
  transform-origin:center;
  animation:sparkPulse 2.4s ease-out 1.7s infinite;
}
@keyframes sparkLineIn {
  to { stroke-dashoffset:0; }
}
@keyframes sparkAreaIn {
  to { opacity:1; }
}
@keyframes sparkEndIn {
  to { opacity:1; transform:scale(1); }
  from { transform:scale(0); }
}
@keyframes sparkPulse {
  0%   { opacity:0.6; transform:scale(1);   }
  60%  { opacity:0;   transform:scale(3.5); }
  100% { opacity:0;   transform:scale(3.5); }
}

.stat-spark-meta {
  display:flex; align-items:center; justify-content:space-between;
  font-family:'SF Mono', Monaco, monospace;
  font-size:10px;
  color:var(--text-muted);
  letter-spacing:0.06em;
  text-transform:uppercase;
}
.stat-spark-meta .trend {
  display:inline-flex; align-items:center; gap:4px;
  color:var(--burgundy);
  font-weight:600;
  text-transform:none;
  font-family:'Inter', sans-serif;
  font-size:11px;
  letter-spacing:0;
}
.stat-spark-meta .trend svg {
  width:11px; height:11px;
}

/* ───────────────────────────────────────── */
/* Card 5 — CSATORNÁK (clean 2x2 platform grid) */
/* ───────────────────────────────────────── */
.bc-channels {
  background:linear-gradient(135deg, #1B1B1E 0%, #2C2C2E 100%);
  color:var(--text-inverse);
  border-color:transparent;
  position:relative; overflow:hidden;
  display:flex; flex-direction:column;
  gap:16px;
}
.bc-channels-head {
  display:flex; align-items:center; justify-content:space-between;
  font-size:12px; color:rgba(251,249,245,0.5); font-weight:500;
}
.bc-channels-head .label {
  display:flex; align-items:center; gap:10px;
  color:rgba(251,249,245,0.95); font-weight:600;
  font-size:11px; text-transform:uppercase; letter-spacing:0.1em;
}
.bc-channels-head .label .num {
  font-family:'SF Mono', Monaco, monospace;
  color:rgba(251,249,245,0.45);
  font-weight:500;
}
.bc-channels-head .label::before {
  content:''; width:6px; height:6px; border-radius:50%; background:var(--orange);
  box-shadow:0 0 8px var(--orange);
  animation:dotGlow 2s ease-in-out infinite;
}
.bc-channels-head .meta {
  font-family:'SF Mono', Monaco, monospace;
  font-size:10px; text-transform:uppercase;
  color:rgba(251,249,245,0.35); letter-spacing:0.08em;
}
@keyframes dotGlow {
  0%, 100% { box-shadow:0 0 8px var(--orange); }
  50%      { box-shadow:0 0 18px var(--orange); }
}
.bc-channels-head .meta {
  font-family:'SF Mono', Monaco, monospace;
  color:rgba(251,249,245,0.35);
  letter-spacing:0.04em;
}

.bc-channels-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  flex:1;
}
.platform {
  position:relative;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  display:flex; flex-direction:column;
  align-items:flex-start; justify-content:space-between;
  padding:12px 14px;
  transition:all 0.3s ease;
  overflow:hidden;
}
.platform:hover {
  background:rgba(255,255,255,0.09);
  border-color:rgba(255,255,255,0.18);
  transform:translateY(-1px);
}
.platform-icon {
  width:30px; height:30px; border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  background:white;
  flex-shrink:0;
}
.platform-icon svg { width:18px; height:18px; }
.platform-icon.icon-meta    { background:#1877F2; }
.platform-icon.icon-tiktok  { background:#0F0F10; border:1px solid rgba(255,255,255,0.15); }
.platform-icon.icon-shop    { background:#FF7A00; }
.platform-name {
  font-size:11px; font-weight:600;
  color:rgba(251,249,245,0.85);
  letter-spacing:-0.005em;
}
.platform-pulse {
  position:absolute; right:10px; top:10px;
  width:5px; height:5px; border-radius:50%;
  background:var(--orange);
  animation:miniPulse 2s ease-in-out infinite;
}
.platform.p-meta   .platform-pulse { animation-delay:0.4s; }
.platform.p-tiktok .platform-pulse { animation-delay:0.8s; }
.platform.p-shop   .platform-pulse { animation-delay:1.2s; }
@keyframes miniPulse {
  0%, 100% { opacity:0.35; transform:scale(0.8); }
  50%      { opacity:1;    transform:scale(1.2); }
}

/* ───── STATS BIG — elevated cards with trend badges ───── */
.stats {
  background:var(--gradient-soft);
}
.stat-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  max-width:1240px;
  margin:0 auto;
  padding:0 8px;
}
@media (max-width:900px) { .stat-grid { grid-template-columns:repeat(2,1fr); gap:20px; } }
@media (max-width:520px) { .stat-grid { grid-template-columns:1fr; gap:16px; } }
.stat-block {
  position:relative;
  padding:32px 28px 30px;
  background:var(--bg-surface);
  border:1px solid var(--border);
  border-radius:24px;
  box-shadow:var(--shadow-md);
  overflow:hidden;
  transition:transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease;
}
.stat-block::before {
  content:'';
  display:block;
  position:absolute;
  top:-50%; right:-25%;
  width:220px; height:220px;
  background:radial-gradient(circle, rgba(217,101,31,0.22), transparent 70%);
  filter:blur(20px);
  pointer-events:none;
}
.stat-block:hover {
  transform:translateY(-4px);
  box-shadow:var(--shadow-lg);
}
.stat-trend {
  position:relative; z-index:1;
  display:inline-flex; align-items:center; gap:5px;
  background:var(--orange-soft);
  color:var(--burgundy);
  font-size:13px; font-weight:700;
  letter-spacing:-0.01em;
  padding:6px 12px 6px 10px;
  border-radius:999px;
  margin-bottom:22px;
}
.stat-trend svg { width:11px; height:11px; flex-shrink:0; }
.stat-trend.is-down svg { transform:rotate(180deg); }
.stat-num {
  position:relative; z-index:1;
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(38px, 4.2vw, 54px);
  font-weight:800;
  letter-spacing:-0.04em;
  line-height:0.95;
  background:linear-gradient(135deg, #D9651F 0%, #B8511A 45%, #8B1F1F 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  margin-bottom:12px;
  display:block;
}
.stat-label {
  position:relative; z-index:1;
  font-size:15px;
  color:var(--text-primary);
  font-weight:500;
  line-height:1.4;
  letter-spacing:-0.005em;
}

/* ───── WORK / CASE STUDIES — Minimalist 3-card layout ───── */
.work { background:var(--bg-subtle); }
.work-grid {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
@media (max-width:900px)  { .work-grid { grid-template-columns:repeat(2, 1fr); } }
@media (max-width:580px)  { .work-grid { grid-template-columns:1fr; } }

.work-card {
  background:var(--bg-surface);
  border-radius:18px;
  padding:14px;
  display:flex; flex-direction:column;
  gap:14px;
  text-decoration:none;
  color:inherit;
  cursor:pointer;
  transition:transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease;
  box-shadow:0 1px 2px rgba(27,27,30,0.04), 0 4px 12px rgba(27,27,30,0.04);
}
.work-card:hover {
  transform:translateY(-3px);
  box-shadow:0 1px 2px rgba(27,27,30,0.06), 0 12px 28px rgba(27,27,30,0.08);
}

/* Top row: pill tag (left) + circular arrow button (right) */
.work-head {
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
  padding:4px 4px 0 6px;
}
.work-tag {
  display:inline-flex; align-items:center;
  background:transparent;
  border:1px solid var(--border-strong);
  color:var(--charcoal);
  padding:7px 16px;
  border-radius:999px;
  font-size:12px;
  font-weight:500;
  letter-spacing:-0.005em;
  white-space:nowrap;
}
.work-arrow {
  display:inline-flex; align-items:center; justify-content:center;
  width:32px; height:32px;
  border-radius:50%;
  background:var(--bg-surface);
  border:1px solid var(--border-strong);
  color:var(--charcoal);
  flex-shrink:0;
  transition:background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.work-arrow svg { width:13px; height:13px; }
.work-card:hover .work-arrow {
  background:var(--ink-fixed);
  color:#fff;
  transform:rotate(-12deg);
}

/* Title (middle) */
.work-title {
  font-family:'Inter Tight', sans-serif;
  font-size:18px;
  font-weight:600;
  letter-spacing:-0.02em;
  line-height:1.3;
  color:var(--charcoal);
  padding:0 6px;
  margin:0;
  /* clamp to 2-3 lines */
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:2.6em;
}

/* Image (bottom, rounded) */
.work-img {
  position:relative;
  border-radius:12px;
  overflow:hidden;
  aspect-ratio:1/1;
  background:var(--bg-strong);
  margin-top:auto;
}
.work-img img {
  width:100%; height:100%;
  object-fit:cover;
  transition:transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.work-card:hover .work-img img { transform:scale(1.05); }

/* Optional result badge (subtle, bottom-left of image) */
.work-result {
  position:absolute;
  bottom:10px; left:10px;
  z-index:2;
  background:rgba(255,255,255,0.94);
  color:var(--burgundy);
  padding:5px 11px;
  border-radius:999px;
  font-size:11px; font-weight:700;
  backdrop-filter:blur(8px);
  letter-spacing:-0.005em;
}

/* ───── PROCESS — Chess photo background, labels above each piece ───── */
.process {
  background:var(--bg-base);
  position:relative;
  overflow:hidden;
  color:var(--charcoal);
  isolation:isolate;
}
.process .container { position:relative; z-index:2; }
.process .section-head { display:none; }

/* Section head */
.proc-head {
  text-align:center;
  margin:0 auto 32px;
  max-width:820px;
}
.proc-eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--bg-surface);
  border:1px solid var(--border);
  padding:7px 16px 7px 12px;
  border-radius:999px;
  color:var(--burgundy);
  font-size:12.5px; font-weight:700;
  letter-spacing:0.02em;
  box-shadow:var(--shadow-sm);
  margin-bottom:16px;
}
.proc-eyebrow::before {
  content:""; width:6px; height:6px; border-radius:999px;
  background:var(--orange);
  flex-shrink:0;
}
.proc-h2 {
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(30px, 4vw, 48px);
  font-weight:700;
  letter-spacing:-0.025em;
  line-height:1.08;
  margin-bottom:10px;
}
.proc-h2 em {
  font-style:italic;
  background:linear-gradient(135deg, #D9651F 0%, #B8511A 45%, #8B1F1F 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.proc-sub {
  color:var(--text-muted);
  font-size:15px;
}

.proc-stage {
  position:relative;
  width:100%;
  margin-top:24px;
  padding-top:60px;
}

.proc-steps {
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:32px;
  position:relative;
  z-index:2;
  align-items:start;
}
.proc-step {
  position:relative;
  text-align:left;
  opacity:0;
  transform:translateY(14px);
  transition:opacity .7s ease, transform .8s cubic-bezier(.16,1,.3,1);
}
.proc-stage.in .proc-step { opacity:1; transform:none; }
.proc-stage.in .proc-step:nth-child(1) { transition-delay:.10s; }
.proc-stage.in .proc-step:nth-child(2) { transition-delay:.25s; }
.proc-stage.in .proc-step:nth-child(3) { transition-delay:.40s; }
.proc-stage.in .proc-step:nth-child(4) { transition-delay:.55s; }

.proc-icon {
  width:58px; height:58px;
  display:block;
  margin-bottom:18px;
  overflow:visible;
}

/* Step 1 — document lines draw in, checkmark badge pops */
.proc-icon-line { stroke-dasharray:1; stroke-dashoffset:1; }
.proc-stage.in .proc-icon-line { animation:procDraw .5s ease forwards; animation-delay:.15s; }
.proc-stage.in .proc-icon-delay1 { animation-delay:.28s; }
.proc-stage.in .proc-icon-delay2 { animation-delay:.41s; }
.proc-icon-badge, .proc-icon-check { opacity:0; }
.proc-icon-badge { transform:scale(.3); transform-origin:40px 40px; }
.proc-icon-check { stroke-dasharray:1; stroke-dashoffset:1; }
.proc-stage.in .proc-icon-badge { animation:procPop .5s cubic-bezier(.34,1.56,.64,1) forwards; animation-delay:.6s; }
.proc-stage.in .proc-icon-check { animation:procDraw .35s ease forwards, procFadeIn .01s forwards; animation-delay:.85s; }
@keyframes procDraw { to { stroke-dashoffset:0; } }
@keyframes procFadeIn { to { opacity:1; } }
@keyframes procPop { to { opacity:1; transform:scale(1); } }

/* Step 2 — signature draws itself, pen wiggles */
.proc-icon-sign { stroke-dasharray:1; stroke-dashoffset:1; }
.proc-stage.in .proc-icon-sign { animation:procDraw .8s ease forwards; animation-delay:.3s; }
.proc-icon-pen {
  opacity:0;
  transform-origin:36px 24px;
}
.proc-stage.in .proc-icon-pen {
  animation:procPenIn .4s ease forwards .3s, procWiggle 2.2s ease-in-out infinite 1.1s;
}
@keyframes procPenIn { to { opacity:1; } }
@keyframes procWiggle { 0%,100% { transform:rotate(0deg); } 50% { transform:rotate(-10deg); } }

/* Step 3 — speech bubble typing dots + gentle float */
.proc-icon-bubble-back {
  animation:procFloat 3.4s ease-in-out infinite;
  transform-origin:center;
}
.proc-icon-dot { opacity:.25; animation:procDotPulse 1.3s ease-in-out infinite; }
.proc-icon-dot1 { animation-delay:0s; }
.proc-icon-dot2 { animation-delay:.15s; }
.proc-icon-dot3 { animation-delay:.3s; }
@keyframes procDotPulse { 0%,60%,100% { opacity:.25; transform:translateY(0); } 30% { opacity:1; transform:translateY(-2px); } }
@keyframes procFloat { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-3px); } }

/* Step 4 — rocket floats, flame flickers, sparks twinkle */
.proc-icon-rocket {
  animation:procFloat 2.6s ease-in-out infinite;
  transform-origin:center;
}
.proc-icon-flame {
  transform-origin:28px 39px;
  animation:procFlicker 1s ease-in-out infinite;
}
@keyframes procFlicker { 0%,100% { transform:scaleY(1); opacity:.85; } 50% { transform:scaleY(.7); opacity:1; } }
.proc-icon-spark { opacity:0; animation:procTwinkle 2.4s ease-in-out infinite; }
.proc-icon-spark1 { animation-delay:.2s; }
.proc-icon-spark2 { animation-delay:1s; }
.proc-icon-spark3 { animation-delay:1.7s; }
@keyframes procTwinkle { 0%,100% { opacity:0; transform:scale(.6); } 50% { opacity:1; transform:scale(1); } }

.proc-num {
  display:block;
  font-family:'Inter Tight', sans-serif;
  font-size:42px;
  font-weight:800;
  line-height:1;
  letter-spacing:-0.04em;
  background:linear-gradient(135deg, #D9651F 0%, #8B1F1F 100%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
  margin-bottom:14px;
}
.proc-step-title {
  font-family:'Inter Tight', sans-serif;
  font-size:14px;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--charcoal);
  margin-bottom:8px;
}
.proc-step-desc {
  font-size:14px;
  line-height:1.55;
  color:var(--text-secondary);
  max-width:240px;
}

/* Mobile — stack labels */
@media (max-width:900px) {
  .proc-steps {
    grid-template-columns:1fr;
    gap:20px;
  }
  .proc-step-desc { max-width:none; }
}

/* ───── BLOG — horizontal carousel, bold colored cards ───── */
.blog-section { background:var(--bg-base); position:relative; }
.blog-head-row {
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:32px; margin-bottom:40px;
}
.blog-head-row .section-title { max-width:680px; }
.blog-arrows { display:inline-flex; gap:10px; flex-shrink:0; }
.blog-arrow {
  width:46px; height:46px; border-radius:999px;
  border:1px solid var(--border);
  background:var(--bg-surface);
  color:var(--charcoal);
  display:inline-flex; align-items:center; justify-content:center;
  cursor:pointer;
  transition:all .25s ease;
}
.blog-arrow:hover { background:var(--ink-fixed); color:#fff; border-color:var(--ink-fixed); }
.blog-arrow:disabled { opacity:0.3; cursor:not-allowed; }
.blog-arrow svg { width:18px; height:18px; }

/* Track aligns with container on the left, breaks out to viewport on the right */
.blog-track-wrap {
  position:relative;
  /* Negative right margin extends only the right edge to viewport */
  margin-right:calc((100vw - 100%) / -2);
  padding-bottom:8px;
}
.blog-grid {
  display:flex;
  gap:20px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  scrollbar-width:none;
  padding:0 0 8px;
}
.blog-grid::-webkit-scrollbar { display:none; }
/* Soft fade on the right edge — hint that content continues */
.blog-track-wrap::after {
  content:"";
  position:absolute;
  top:0; right:0; bottom:8px;
  width:80px;
  background:linear-gradient(90deg, transparent, var(--bg-base) 90%);
  pointer-events:none;
  z-index:2;
}
@media (max-width:720px) {
  .blog-track-wrap { margin-right:-20px; }
}

.blog-card {
  flex:0 0 auto;
  width:clamp(280px, 31%, 380px);
  border-radius:22px;
  overflow:hidden;
  display:flex; flex-direction:column;
  text-decoration:none; color:inherit;
  scroll-snap-align:start;
  transition:transform .35s cubic-bezier(0.4,0,0.2,1), box-shadow .35s ease;
  box-shadow:0 1px 2px rgba(27,27,30,0.04), 0 4px 14px rgba(27,27,30,0.05);
  aspect-ratio:3/4.05;
  position:relative;
}
.blog-card:hover { transform:translateY(-4px); box-shadow:0 1px 2px rgba(27,27,30,0.06), 0 18px 36px rgba(27,27,30,0.1); }

/* Top colored half */
.blog-info {
  padding:20px 22px 22px;
  flex:0 0 auto;
  display:flex; flex-direction:column;
  position:relative;
  min-height:200px;
}
.blog-pills {
  display:flex; gap:6px; margin-bottom:14px; flex-wrap:wrap;
}
.blog-pill {
  display:inline-flex; align-items:center;
  padding:5px 11px;
  background:rgba(255,255,255,0.92);
  color:var(--charcoal);
  border-radius:999px;
  font-size:11px; font-weight:600;
  letter-spacing:-0.005em;
}
.blog-info-icon {
  position:absolute; top:18px; right:18px;
  width:30px; height:30px; border-radius:999px;
  background:rgba(0,0,0,0.18);
  display:inline-flex; align-items:center; justify-content:center;
  color:#fff;
}
.blog-info-icon svg { width:13px; height:13px; }
.blog-title {
  font-family:'Inter Tight', sans-serif;
  font-size:24px; font-weight:700;
  letter-spacing:-0.025em; line-height:1.1;
  margin:0 0 10px;
}
.blog-desc {
  font-size:13px; line-height:1.45;
  font-weight:500;
  opacity:0.78;
  margin:0;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden;
}

/* Color variants — cycling brand palette */
.blog-card.v1 .blog-info { background:#D9651F; color:#fff; }
.blog-card.v1 .blog-pill { background:rgba(255,255,255,0.96); color:#7A2C0E; }
.blog-card.v2 .blog-info { background:#FBE8D5; color:#2C2C2E; }
.blog-card.v2 .blog-pill { background:#fff; color:#8B1F1F; }
.blog-card.v3 .blog-info { background:#8B1F1F; color:#FBE8D5; }
.blog-card.v3 .blog-pill { background:#FBE8D5; color:#8B1F1F; }
.blog-card.v4 .blog-info { background:#2C2C2E; color:#FBE8D5; }
.blog-card.v4 .blog-pill { background:#FBE8D5; color:#2C2C2E; }

/* Bottom image half */
.blog-img {
  flex:1;
  position:relative;
  overflow:hidden;
  background:var(--bg-strong);
}
.blog-img img {
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .8s cubic-bezier(0.4,0,0.2,1);
}
.blog-card:hover .blog-img img { transform:scale(1.06); }

/* Read More pill overlapping image */
.blog-link {
  position:absolute;
  bottom:18px; left:20px;
  display:inline-flex; align-items:center; gap:8px;
  padding:9px 16px 9px 18px;
  background:rgba(20,20,22,0.78);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  color:#fff;
  border-radius:999px;
  font-size:12px; font-weight:600;
  letter-spacing:-0.005em;
  z-index:2;
  transition:background .25s ease, transform .25s ease;
}
.blog-card:hover .blog-link { background:#0A0A0F; transform:translateX(2px); }
.blog-link .arrow {
  display:inline-flex; align-items:center; justify-content:center;
  width:18px; height:18px; border-radius:999px;
  background:#fff; color:#0A0A0F;
  font-size:11px;
  transition:transform .25s ease;
}
.blog-card:hover .blog-link .arrow { transform:rotate(-45deg); }

@media (max-width:780px) {
  .blog-card { width:78vw; }
}

/* ───── TESTIMONIALS — Light dual-row marquee ───── */
.testimonials {
  background:var(--bg-base);
  color:var(--charcoal);
  overflow:hidden;
}
.testimonials .section-title { color:var(--charcoal); text-align:center; max-width:none; }
.testimonials .section-head { justify-content:center; text-align:center; }

.tm-marquee {
  display:flex; flex-direction:column;
  gap:14px;
  margin-top:32px;
}
.tm-row {
  position:relative;
  width:100%;
  max-width:1280px;
  margin:0 auto;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image:linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.tm-row-track {
  display:flex;
  width:max-content;
  padding:18px 0;
  animation:tmScroll 36s linear infinite;
  will-change:transform;
}
.tm-row.is-reverse .tm-row-track {
  animation-direction:reverse;
}
.tm-row:hover .tm-row-track { animation-play-state:paused; }
@keyframes tmScroll {
  0%   { transform:translateX(0); }
  100% { transform:translateX(-50%); }
}

/* Individual card */
.tm-card {
  flex:0 0 auto;
  width:340px;
  margin:0 12px;
  padding:20px 22px;
  background:var(--bg-surface);
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:0 1px 2px rgba(27,27,30,0.04), 0 4px 14px rgba(27,27,30,0.05);
  transition:transform .25s ease, box-shadow .25s ease;
}
.tm-card:hover {
  transform:translateY(-2px);
  box-shadow:0 1px 2px rgba(27,27,30,0.06), 0 12px 28px rgba(27,27,30,0.10);
}
.tm-card-head {
  display:flex; align-items:center; gap:10px;
  margin-bottom:12px;
}
.tm-avatar {
  width:44px; height:44px;
  border-radius:999px;
  object-fit:cover; object-position:center top;
  flex-shrink:0;
  background:var(--bg-strong);
}
/* Company testimonials show the client's logo rather than a portrait. A circle
   crushes a horizontal wordmark, so these get a chip that takes its width from
   the mark itself - square logos stay compact, wide ones stay legible. */
.tm-logo {
  display:flex; align-items:center; justify-content:center;
  height:44px; padding:8px 11px; flex-shrink:0;
  border-radius:13px;
  background:rgba(255,255,255,0.05); border:1px solid var(--border);
}
.tm-logo img {
  height:100%; width:auto; max-width:86px; object-fit:contain; display:block;
  filter:grayscale(1) brightness(1.9);
}
.tm-meta { display:flex; flex-direction:column; min-width:0; }
.tm-name-row {
  display:inline-flex; align-items:center; gap:6px;
  font-family:'Inter Tight', sans-serif;
  font-size:14.5px; font-weight:600;
  color:var(--charcoal);
  letter-spacing:-0.01em;
}
.tm-verified {
  width:14px; height:14px;
  flex-shrink:0;
  display:inline-block;
}
.tm-handle {
  font-size:12px;
  color:var(--text-muted);
  font-weight:500;
}
.tm-quote {
  font-size:13.5px;
  line-height:1.5;
  color:var(--text-secondary);
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
  letter-spacing:-0.005em;
}
.tm-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}
@media (max-width:900px) { .tm-grid { grid-template-columns:1fr; } }
/* (legacy dark testimonials grid styles removed — see .tm-row marquee above) */

/* ───── TEAM — Big background headline + 16:9 video on top ───── */
.team {
  background:var(--bg-base);
  position:relative;
  overflow:hidden;
  padding-top:80px; padding-bottom:120px;
}
.team .container { position:relative; z-index:1; }

.team-cinema {
  position:relative;
  text-align:center;
  padding:0 8px;
}

/* Top small line: "Igazi nevek," */
.team-toptag {
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(28px, 3.6vw, 52px);
  font-weight:800;
  color:var(--charcoal);
  letter-spacing:-0.035em;
  line-height:1;
  margin-bottom:clamp(-32px, -2.5vw, -16px);
  position:relative;
  z-index:5;
  opacity:0; transform:translateY(20px);
  transition:opacity 0.9s ease, transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.team-cinema.in .team-toptag { opacity:1; transform:none; }

/* The huge background headline — sits behind the video */
.team-bigword {
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(110px, 18vw, 280px);
  font-weight:900;
  letter-spacing:-0.06em;
  line-height:0.85;
  color:#D8D2C7;
  text-align:center;
  position:relative;
  z-index:1;
  pointer-events:none;
  user-select:none;
  margin:0;
  white-space:nowrap;
  opacity:0;
  transform:scale(0.98);
  transition:opacity 1.2s ease 0.15s, transform 1.4s cubic-bezier(0.16,1,0.3,1) 0.15s;
}
.team-cinema.in .team-bigword { opacity:1; transform:scale(1); }

/* The 16:9 video — overlays the big word from the second line down */
.team-video-stage {
  position:absolute;
  left:50%;
  top:48%;
  transform:translate(-50%, -50%);
  width:min(72%, 820px);
  z-index:3;
  opacity:0;
  transition:opacity 1.2s ease 0.4s, transform 1.4s cubic-bezier(0.16,1,0.3,1) 0.4s;
}
.team-cinema.in .team-video-stage {
  opacity:1;
  transform:translate(-50%, -50%);
}
@media (max-width:780px) {
  .team-video-stage { position:relative; left:auto; top:auto; transform:none; width:100%; margin:24px auto 0; }
  .team-cinema.in .team-video-stage { transform:none; }
}

/* Soft warm glow behind the video */
.team-video-stage::before {
  content:"";
  position:absolute;
  inset:-12% -8%;
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(217,101,31,0.30), transparent 70%),
    radial-gradient(50% 50% at 80% 80%, rgba(139,31,31,0.22), transparent 70%);
  filter:blur(36px);
  z-index:-1;
  pointer-events:none;
}

/* The video itself — full 16:9, slightly rounded */
.team-video {
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  border-radius:18px;
  overflow:hidden;
  box-shadow:
    0 24px 70px rgba(27,27,30,0.18),
    0 8px 24px rgba(139,31,31,0.18),
    0 0 0 1px rgba(0,0,0,0.04);
  isolation:isolate;
  animation:teamFloat 9s ease-in-out infinite;
  animation-play-state:paused;
}
.team-cinema.in .team-video { animation-play-state:running; }
@keyframes teamFloat {
  0%,100% { transform:translateY(0); }
  50%     { transform:translateY(-6px); }
}
.team-video video {
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}
/* Warm cinematic overlay (soft) */
.team-video::after {
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(139,31,31,0.10) 100%),
    linear-gradient(45deg, rgba(217,101,31,0.05), transparent 55%);
  mix-blend-mode:soft-light;
  pointer-events:none;
  z-index:2;
}

/* Small "live" tag pinned to the video bottom-left */
.team-video-tag {
  position:absolute;
  bottom:14px; left:14px;
  z-index:3;
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 14px;
  background:rgba(20,20,22,0.62);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  color:#fff;
  font-size:12px; font-weight:600;
  letter-spacing:-0.005em;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.15);
}
.team-video-tag::before {
  content:""; width:6px; height:6px; border-radius:50%;
  background:#FF7A2E;
  box-shadow:0 0 0 0 rgba(255,122,46,0.7);
  animation:teamPulse 2s infinite;
}
@keyframes teamPulse {
  0%   { box-shadow:0 0 0 0 rgba(255,122,46,0.6); }
  70%  { box-shadow:0 0 0 10px rgba(255,122,46,0); }
  100% { box-shadow:0 0 0 0 rgba(255,122,46,0); }
}

/* Bottom credit */
.team-meta {
  margin-top:48px;
  display:flex; align-items:center; justify-content:center;
  gap:16px;
  flex-wrap:wrap;
  position:relative;
  z-index:4;
  opacity:0; transform:translateY(20px);
  transition:opacity 0.9s ease 0.7s, transform 0.9s cubic-bezier(0.16,1,0.3,1) 0.7s;
}
.team-cinema.in .team-meta { opacity:1; transform:none; }
.team-meta-avatar {
  width:42px; height:42px; border-radius:999px;
  overflow:hidden; flex-shrink:0;
  border:2px solid #fff;
  box-shadow:0 4px 14px rgba(0,0,0,0.12);
}
.team-meta-avatar img { width:100%; height:100%; object-fit:cover; object-position:center 28%; }
.team-meta-text {
  display:flex; flex-direction:column;
  text-align:left;
}
.team-meta-name {
  font-family:'Inter Tight', sans-serif;
  font-size:15px; font-weight:700; letter-spacing:-0.012em;
  color:var(--charcoal);
}
.team-meta-role {
  font-size:13px; color:var(--text-secondary); font-weight:500;
}
.team-meta-divider {
  width:1px; height:32px; background:rgba(27,27,30,0.12);
}
.team-meta-stat {
  font-family:'Inter Tight', sans-serif;
  font-size:13px; color:var(--text-secondary);
  text-align:left;
}
.team-meta-stat strong {
  display:block;
  font-size:16px; color:var(--burgundy);
  font-weight:700; letter-spacing:-0.02em;
}
.team-card {
  background:var(--bg-surface);
  border:1px solid var(--border);
  border-radius:var(--r-md);
  overflow:hidden;
  transition:all 0.3s;
}
.team-card:hover { transform:translateY(-4px); border-color:var(--orange); box-shadow:var(--shadow-md); }
.team-photo {
  aspect-ratio:4/5;
  background:linear-gradient(135deg, var(--bg-strong), var(--border));
  position:relative;
  overflow:hidden;
}
.team-photo img {
  width:100%; height:100%;
  object-fit:cover;
  filter:saturate(0.85);
  transition:filter 0.4s, transform 0.6s;
}
.team-card:hover .team-photo img { filter:saturate(1.1); transform:scale(1.04); }
.team-photo.team-photo-wide { aspect-ratio:8/5; }
.team-photo::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 50%, rgba(27,27,30,0.3) 100%);
  pointer-events:none;
}
.team-info { padding:18px 20px; }
.team-name { font-weight:700; font-size:15px; margin-bottom:2px; font-family:'Inter Tight'; }
.team-role { font-size:13px; color:var(--text-muted); }

/* ───── FAQ — 2-col card layout ───── */
.faq { background:var(--bg-base); }
.faq-card {
  position:relative;
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap:64px;
  align-items:start;
}
@media (max-width:900px) {
  .faq-card { grid-template-columns:1fr; gap:40px; }
}

.faq-left { position:sticky; top:32px; }
@media (max-width:900px) { .faq-left { position:static; } }

.faq-eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 14px 6px 12px;
  background:rgba(217,101,31,0.10);
  border:1px solid rgba(217,101,31,0.22);
  color:#B8511A;
  border-radius:999px;
  font-size:12.5px; font-weight:600;
  letter-spacing:-0.005em;
  margin-bottom:24px;
}
.faq-eyebrow svg { width:14px; height:14px; }
.faq-title {
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(36px, 4.4vw, 56px);
  font-weight:700;
  letter-spacing:-0.03em;
  line-height:1.05;
  color:var(--charcoal);
  margin:0 0 18px;
}
.faq-title .accent {
  color:var(--burgundy);
  font-style:italic;
  font-weight:600;
}
.faq-sub {
  font-size:15.5px; line-height:1.6;
  color:var(--text-secondary);
  max-width:420px;
  margin:0;
}

/* Right column — accordion list */
.faq-list { display:flex; flex-direction:column; gap:10px; }
.faq-item {
  background:var(--bg-base);
  border:1px solid transparent;
  border-radius:14px;
  padding:18px 22px;
  transition:background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.faq-item:hover { background:var(--bg-surface); border-color:var(--border); }
.faq-item.open {
  background:var(--bg-surface);
  border-color:rgba(217,101,31,0.20);
  box-shadow:0 6px 22px rgba(27,27,30,0.06);
}

.faq-q {
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
  cursor:pointer;
  font-family:'Inter Tight', sans-serif;
  font-size:16px; font-weight:600;
  letter-spacing:-0.015em;
  color:var(--charcoal);
  transition:color .2s ease;
  user-select:none;
}
.faq-q:hover { color:var(--burgundy); }
.faq-toggle {
  width:34px; height:34px; border-radius:999px;
  background:linear-gradient(180deg, var(--bg-strong) 0%, var(--bg-subtle) 100%);
  border:1px solid var(--border-strong);
  display:inline-flex; align-items:center; justify-content:center;
  flex-shrink:0;
  transition:all .25s ease;
  box-shadow:0 1px 0 rgba(255,255,255,0.85) inset, 0 2px 5px rgba(27,27,30,0.06);
}
.faq-toggle svg {
  width:14px; height:14px;
  stroke:var(--charcoal);
  transition:transform .3s ease, stroke .25s ease;
}
.faq-item.open .faq-toggle {
  background:linear-gradient(180deg, #FF8A3F 0%, #B8511A 100%);
  border-color:rgba(184,81,26,0.55);
  box-shadow:0 1px 0 rgba(255,255,255,0.4) inset, 0 4px 14px rgba(217,101,31,0.45);
}
.faq-item.open .faq-toggle svg { stroke:#fff; transform:rotate(45deg); }

.faq-a {
  max-height:0; overflow:hidden;
  transition:max-height .4s cubic-bezier(0.4,0,0.2,1), padding-top .25s ease;
  color:var(--text-secondary);
  font-size:14.5px; line-height:1.65;
}
.faq-item.open .faq-a {
  max-height:600px;
  padding-top:14px;
}

/* ───── BIG CTA — full-bleed, animated gradient background ───── */
.cta-big {
  position:relative;
  padding:68px 0;
  background:#0A0A10;
  overflow:hidden;
  isolation:isolate;
  color:#fff;
}
/* Animated gradient blobs that drift slowly — darker, deeper brand tones */
.cta-big::before {
  content:"";
  position:absolute;
  inset:-30%;
  z-index:0;
  background:
    radial-gradient(circle at 20% 30%, rgba(139,31,31,0.55) 0%, transparent 38%),
    radial-gradient(circle at 78% 72%, rgba(60,12,12,0.75) 0%, transparent 42%),
    radial-gradient(circle at 60% 20%, rgba(184,81,26,0.30) 0%, transparent 32%),
    radial-gradient(circle at 30% 80%, rgba(90,30,15,0.50) 0%, transparent 36%);
  filter:blur(70px);
  animation:ctaGradientDrift 22s ease-in-out infinite alternate;
  pointer-events:none;
}
@keyframes ctaGradientDrift {
  0%   { transform:translate(0%, 0%) rotate(0deg) scale(1); }
  33%  { transform:translate(6%, -4%) rotate(8deg) scale(1.05); }
  66%  { transform:translate(-5%, 6%) rotate(-6deg) scale(0.95); }
  100% { transform:translate(4%, 4%) rotate(4deg) scale(1.02); }
}
/* Subtle dot grid texture on top */
.cta-big::after {
  content:"";
  position:absolute; inset:0; z-index:0;
  background-image:radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size:22px 22px;
  pointer-events:none;
}
.cta-big > .container { position:relative; z-index:1; }

.cta-card {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap:48px;
  align-items:center;
  isolation:isolate;
}
@media (max-width:900px) {
  .cta-card { grid-template-columns:1fr; gap:28px; }
  .cta-big { padding:64px 0; }
}

/* Decorative sparkle scattered behind text */
.cta-card-sparks {
  position:absolute; inset:0; z-index:0;
  pointer-events:none;
}
.cta-card-sparks span {
  position:absolute;
  width:10px; height:10px;
  background:
    linear-gradient(transparent 47%, rgba(255,180,120,0.9) 50%, transparent 53%),
    linear-gradient(90deg, transparent 47%, rgba(255,180,120,0.9) 50%, transparent 53%);
  opacity:0.5;
  animation:ctaTwinkle 3.4s ease-in-out infinite;
}
@keyframes ctaTwinkle {
  0%,100% { opacity:0.15; transform:scale(0.6) rotate(0deg); }
  50%     { opacity:0.8;  transform:scale(1.05) rotate(45deg); }
}

/* LEFT — text column */
.cta-card-left {
  position:relative; z-index:2;
  display:flex; flex-direction:column;
  align-items:flex-start;
  text-align:left;
}
@media (max-width:900px) { .cta-card-left { align-items:center; text-align:center; } }

.cta-card-eyebrow {
  display:inline-flex; align-items:center; gap:10px;
  padding:6px 14px 6px 10px;
  border:1px solid rgba(255,146,72,0.35);
  border-radius:999px;
  background:linear-gradient(180deg, rgba(255,146,72,0.12), rgba(255,146,72,0.04));
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  font-size:11.5px; font-weight:600;
  color:#FFC79A;
  text-transform:uppercase;
  letter-spacing:0.12em;
  margin-bottom:22px;
}
.cta-card-eyebrow .dot {
  width:6px; height:6px; border-radius:999px;
  background:#FF9248;
  box-shadow:0 0 0 0 rgba(255,146,72,0.7);
  animation:ctaPulseDot 2s infinite;
}
@keyframes ctaPulseDot {
  0%   { box-shadow:0 0 0 0 rgba(255,146,72,0.6); }
  70%  { box-shadow:0 0 0 8px rgba(255,146,72,0); }
  100% { box-shadow:0 0 0 0 rgba(255,146,72,0); }
}

/* Trust micro-row under buttons */
.cta-card-trust {
  margin-top:24px;
  display:inline-flex; align-items:center; gap:12px;
  font-size:13px;
  color:rgba(255,255,255,0.65);
}
.cta-card-trust .stars {
  letter-spacing:1px;
  color:#FFC56B;
  text-shadow:0 0 10px rgba(255,197,107,0.45);
  font-size:13px;
}
.cta-card-trust .divider {
  width:1px; height:14px; background:rgba(255,255,255,0.18);
}
.cta-card-trust strong { color:#fff; font-weight:600; }

/* RIGHT — 4:3 video stage (taller, more presence) */
.cta-card-right {
  position:relative; z-index:2;
  width:100%;
  aspect-ratio:4/3;
  border-radius:20px;
  overflow:hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 28px 70px rgba(0,0,0,0.55),
    0 8px 22px rgba(139,31,31,0.30),
    0 0 0 1px rgba(255,255,255,0.06);
  isolation:isolate;
  animation:ctaFloat 9s ease-in-out infinite;
}
@keyframes ctaFloat {
  0%,100% { transform:translateY(0); }
  50%     { transform:translateY(-6px); }
}

/* Soft warm glow halo behind the video */
.cta-card-right::before {
  content:"";
  position:absolute;
  inset:-14% -10%;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(255,146,72,0.30), transparent 70%),
    radial-gradient(60% 60% at 80% 80%, rgba(139,31,31,0.28), transparent 70%);
  filter:blur(40px);
  z-index:-1;
  pointer-events:none;
}

/* Video — fills RIGHT column */
.cta-card-video {
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  z-index:0;
  filter:saturate(1.05) contrast(1.02);
  /* Safari fix: parent border-radius + transform animation breaks clipping
     for absolute children — apply radius directly to the video too */
  border-radius:inherit;
  -webkit-mask-image:-webkit-radial-gradient(white, black);
}
.cta-card-right::after {
  content:"";
  position:absolute; inset:0;
  z-index:1;
  background:
    linear-gradient(180deg, transparent 55%, rgba(139,31,31,0.18) 100%),
    radial-gradient(circle at 28% 18%, rgba(255,255,255,0.10), transparent 55%);
  mix-blend-mode:soft-light;
  pointer-events:none;
}

/* Floating "live · ND csapat" tag, top-left */
.cta-card-tag {
  position:absolute;
  top:24px; left:24px;
  z-index:3;
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 14px;
  background:rgba(20,20,22,0.55);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  color:#fff;
  font-size:12px; font-weight:600;
  letter-spacing:-0.005em;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.15);
}
.cta-card-tag::before {
  content:""; width:6px; height:6px; border-radius:50%;
  background:#FF7A2E;
  box-shadow:0 0 0 0 rgba(255,122,46,0.7);
  animation:ctaPulse 2s infinite;
}
@keyframes ctaPulse {
  0%   { box-shadow:0 0 0 0 rgba(255,122,46,0.6); }
  70%  { box-shadow:0 0 0 10px rgba(255,122,46,0); }
  100% { box-shadow:0 0 0 0 rgba(255,122,46,0); }
}

.cta-card h2 {
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(34px,3.8vw,56px);
  font-weight:800; letter-spacing:-0.035em;
  color:#fff;
  line-height:1.02;
  margin:0 0 18px;
  max-width:520px;
}
.cta-card h2 .accent {
  background:linear-gradient(110deg, #FFC56B 0%, #FF9248 50%, #D9651F 100%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
}
.cta-card p {
  color:rgba(255,255,255,0.72);
  font-size:16.5px;
  line-height:1.55;
  max-width:480px;
  margin:0 0 32px;
}
.cta-card .btn-primary,
.minav .btn-primary {
  background:var(--orange);
  color:#fff;
  box-shadow:0 1px 0 rgba(255,255,255,0.18) inset, 0 10px 28px rgba(217,101,31,0.5);
}
.cta-card .btn-primary:hover,
.minav .btn-primary:hover { background:var(--orange-light); transform:translateY(-1px); }
.cta-card .btn-secondary {
  border-color:rgba(255,255,255,0.28); color:#fff;
  background:rgba(255,255,255,0.04);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}
.cta-card .btn-secondary:hover { border-color:rgba(255,255,255,0.55); background:rgba(255,255,255,0.08); }
.cta-buttons { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* Founder credit pinned to bottom-left */
.cta-card-credit {
  position:absolute;
  bottom:24px; left:24px;
  z-index:3;
  display:inline-flex; align-items:center; gap:12px;
  padding:8px 14px 8px 8px;
  background:rgba(20,20,22,0.45);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
}
.cta-card-credit-avatar {
  width:32px; height:32px; border-radius:999px; overflow:hidden;
  border:1.5px solid rgba(255,255,255,0.85);
  flex-shrink:0;
}
.cta-card-credit-avatar img { width:100%; height:100%; object-fit:cover; object-position:center 28%; }
.cta-card-credit-text {
  display:flex; flex-direction:column; line-height:1.15;
  text-align:left;
}
.cta-card-credit-name { font-size:12.5px; font-weight:600; color:#fff; letter-spacing:-0.005em; }
.cta-card-credit-role { font-size:11px; color:rgba(255,255,255,0.7); }
@media (max-width:720px) { .cta-card-credit { display:none; } }

/* ───── FOOTER ───── */
footer {
  position:relative;
  background:var(--bg-base);
  padding:96px 0 32px;
  isolation:isolate;
  overflow:hidden;
  color:var(--charcoal);
}
/* WebGL canvas — sits behind footer content */
.foot-bg {
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:0;
  transition:opacity 1.6s ease;
}
.foot-bg.is-ready { opacity:0.55; }
.foot-bg canvas { display:block; width:100% !important; height:100% !important; }
/* Brand glows over the dot wave */
.foot-bg::before {
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(217,101,31,0.10), transparent 60%),
    radial-gradient(ellipse 80% 70% at 0% 100%, rgba(139,31,31,0.10), transparent 65%);
  pointer-events:none;
}
/* Soft top gradient fade — so wave fades into the page above */
.foot-bg::after {
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, var(--bg-base) 0%, transparent 18%, transparent 82%, var(--bg-base) 100%);
  pointer-events:none;
}
footer > .container { position:relative; z-index:1; }

.foot-grid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:48px;
  padding-bottom:48px;
  border-bottom:1px solid rgba(27,27,30,0.10);
}
@media (max-width:900px) { .foot-grid { grid-template-columns:1fr 1fr; } }

.foot-brand { max-width:340px; }
.foot-brand .logo { margin-bottom:20px; }
.foot-brand .logo img { filter:none; opacity:1; }
.foot-brand p { font-size:14px; color:var(--text-secondary); line-height:1.6; }

.foot-col h4 {
  font-size:13px; text-transform:uppercase;
  letter-spacing:0.08em;
  color:var(--text-muted);
  margin-bottom:16px; font-weight:600;
}
.foot-col ul { list-style:none; }
.foot-col li { margin-bottom:10px; color:var(--text-secondary); font-size:14px; }
.foot-col a { font-size:14px; color:var(--text-secondary); transition:color 0.2s; }
.foot-col a:hover { color:var(--orange); }

.foot-bottom {
  display:flex; align-items:center; justify-content:space-between;
  padding-top:24px;
  font-size:13px; color:var(--text-muted);
  flex-wrap:wrap; gap:16px;
}
.foot-social { display:flex; gap:12px; }
.foot-social a {
  width:36px; height:36px; border-radius:50%;
  border:1px solid rgba(27,27,30,0.18);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-secondary);
  transition:all 0.2s;
}
.foot-social a:hover { border-color:var(--orange); color:var(--orange); transform:translateY(-2px); }

/* DOCK removed — replaced by top-floating Mini-Navbar (.minav) below */
.dock { display:none !important; }
.dock-old {
  position:fixed;
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  z-index:200;
}
.dock-list {
  --icon-size:54px;
  --dock-offset-left:0px;
  --dock-offset-right:0px;
  display:flex;
  align-items:flex-end;
  gap:0;
  list-style:none;
  margin:0;
  padding:6px;
  border-radius:18px;
  border:1px solid rgba(27,27,30,0.08);
  background:linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(248,244,236,0.85) 100%);
  backdrop-filter:blur(20px) saturate(180%);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.85) inset,
    0 14px 38px rgba(27,27,30,0.18),
    0 4px 12px rgba(27,27,30,0.10);
}
.dock-icon {
  position:relative;
  display:flex; align-items:center; justify-content:center;
  width:var(--icon-size);
  height:var(--icon-size);
  padding:0 calc(var(--icon-size) * 0.075);
  cursor:pointer;
  transition:width 150ms cubic-bezier(0.25,1,0.5,1),
             height 150ms cubic-bezier(0.25,1,0.5,1),
             margin-top 150ms cubic-bezier(0.25,1,0.5,1);
}
.dock-icon:hover {
  width:calc(var(--icon-size) * 1.5);
  height:calc(var(--icon-size) * 1.5);
  margin-top:calc(var(--icon-size) * -0.5);
}
.dock-icon:hover + .dock-icon {
  width:calc(var(--icon-size) * 1.33 + var(--dock-offset-right));
  height:calc(var(--icon-size) * 1.33 + var(--dock-offset-right));
  margin-top:calc(var(--icon-size) * -0.33 - var(--dock-offset-right));
}
.dock-icon:hover + .dock-icon + .dock-icon {
  width:calc(var(--icon-size) * 1.17 + var(--dock-offset-right));
  height:calc(var(--icon-size) * 1.17 + var(--dock-offset-right));
  margin-top:calc(var(--icon-size) * -0.17 - var(--dock-offset-right));
}
.dock-icon:has(+ .dock-icon:hover) {
  width:calc(var(--icon-size) * 1.33 + var(--dock-offset-left));
  height:calc(var(--icon-size) * 1.33 + var(--dock-offset-left));
  margin-top:calc(var(--icon-size) * -0.33 - var(--dock-offset-left));
}
.dock-icon:has(+ .dock-icon + .dock-icon:hover) {
  width:calc(var(--icon-size) * 1.17 + var(--dock-offset-left));
  height:calc(var(--icon-size) * 1.17 + var(--dock-offset-left));
  margin-top:calc(var(--icon-size) * -0.17 - var(--dock-offset-left));
}

/* Each icon's clickable card */
.dock-link {
  position:relative;
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  border-radius:12px;
  background:linear-gradient(180deg, #ffffff 0%, #F5F0E8 100%);
  border:1px solid rgba(27,27,30,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 2px 6px rgba(27,27,30,0.08);
  text-decoration:none;
  transition:transform 0.2s ease, box-shadow 0.2s ease;
  padding:16%;
  isolation:isolate;
}
.dock-link::after {
  content:"";
  position:absolute; inset:0;
  border-radius:inherit;
  box-shadow:0 4px 12px rgba(27,27,30,0.10);
  pointer-events:none;
}
.dock-link svg {
  width:100%; height:100%;
  display:block;
}

/* Special accent card (CTA) */
.dock-icon.is-cta .dock-link {
  background:linear-gradient(180deg, #FF8A3F 0%, #B8511A 100%);
  border-color:rgba(184,81,26,0.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 4px 14px rgba(217,101,31,0.45);
}
.dock-icon.is-cta .dock-link::after {
  box-shadow:0 6px 16px rgba(217,101,31,0.35);
}

/* Tooltip (bubble that floats above on hover) */
.dock-tip {
  position:absolute;
  bottom:calc(100% + 12px);
  left:50%;
  transform:translateX(-50%) translateY(4px);
  padding:5px 11px;
  border-radius:8px;
  background:linear-gradient(180deg, #fff 0%, #F5F0E8 100%);
  border:1px solid rgba(27,27,30,0.08);
  font-family:'Inter Tight', sans-serif;
  font-size:12px; font-weight:600;
  color:var(--charcoal);
  letter-spacing:-0.005em;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.18s ease, transform 0.18s ease;
  box-shadow:0 6px 18px rgba(27,27,30,0.14);
}
.dock-icon:hover .dock-tip {
  opacity:1;
  transform:translateX(-50%) translateY(0);
}

/* Mobile — smaller dock, no cursor magnification (touch) */
@media (max-width:720px) {
  .dock-list { --icon-size:42px; padding:5px; gap:2px; border-radius:14px; }
  .dock-icon, .dock-icon:hover, .dock-icon:hover + .dock-icon, .dock-icon:hover + .dock-icon + .dock-icon,
  .dock-icon:has(+ .dock-icon:hover), .dock-icon:has(+ .dock-icon + .dock-icon:hover) {
    width:var(--icon-size); height:var(--icon-size); margin-top:0;
  }
  .dock-tip { display:none; }
  .dock { bottom:14px; }
}

/* ───── MINI-NAVBAR — top floating glass pill (port of mini-navbar component) ───── */
.minav {
  position:fixed;
  top:24px;
  left:50%;
  transform:translateX(-50%);
  z-index:200;
  display:flex; flex-direction:column; align-items:center;
  padding:12px 24px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(23,21,26,0.70);
  box-shadow:var(--shadow-md);
  backdrop-filter:blur(16px) saturate(180%);
  -webkit-backdrop-filter:blur(16px) saturate(180%);
  /* max-content, not auto: the shrink-to-fit width came out narrower than the
     row's real content, so the CTA spilled past the pill's right edge. */
  width:max-content;
  max-width:calc(100% - 24px);
  /* Keep this list in sync with the intro-fade rule near the top of the file:
     this declaration comes later and overrides it. border-radius is
     deliberately absent so it snaps when the menu opens. */
  transition:opacity 0.8s ease, transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.minav.is-open { border-radius:14px; }

.minav-row {
  display:flex; align-items:center; justify-content:space-between;
  width:100%; gap:32px;
}

/* Logo (left) */
.minav-logo {
  display:inline-flex; align-items:center;
  text-decoration:none;
  flex-shrink:0;
}
.minav-logo img {
  height:34px; width:auto;
  opacity:1;
  transition:opacity 0.2s ease;
}
/* The full lockup only appears inside the open mobile menu (see below). */
.minav-logo-full { display:none; }

/* Center nav links */
.minav-nav {
  display:flex; align-items:center;
  gap:24px;
}
.minav-link {
  position:relative;
  display:inline-block;
  height:20px;
  font-size:13.5px;
  font-weight:500;
  letter-spacing:-0.005em;
  text-decoration:none;
  overflow:hidden;
  line-height:20px;
}
.minav-link-stack {
  display:flex; flex-direction:column;
  transition:transform 0.4s cubic-bezier(0.25,1,0.5,1);
}
.minav-link span { display:block; height:20px; line-height:20px; }
.minav-link span:first-child  { color:var(--text-secondary); }
.minav-link span:last-child   { color:var(--text-primary); }
.minav-link:hover .minav-link-stack { transform:translateY(-50%); }

/* Dropdown groups (Szolgáltatásaink / Megoldásaink) */
.minav-dropdown { position:relative; }
.minav-dropdown-trigger {
  display:inline-flex; align-items:center; gap:5px;
  height:20px; line-height:20px;
  font-size:13.5px; font-weight:500; letter-spacing:-0.005em;
  color:var(--text-primary);
  background:none; border:none; padding:0; margin:0; cursor:pointer;
  font-family:inherit;
  transition:color 0.2s ease;
}
.minav-dropdown-trigger:hover,
.minav-dropdown.is-open .minav-dropdown-trigger { color:var(--burgundy); }
.minav-caret { width:9px; height:9px; color:var(--text-muted); transition:transform 0.25s ease, color 0.2s ease; flex-shrink:0; }
.minav-dropdown:hover .minav-caret,
.minav-dropdown.is-open .minav-caret { transform:rotate(180deg); color:var(--burgundy); }

.minav-dropdown-panel {
  position:absolute; top:calc(100% + 18px); left:50%;
  transform:translate(-50%, -6px);
  min-width:280px;
  background:var(--bg-surface);
  border:1px solid var(--border);
  border-radius:16px;
  box-shadow:var(--shadow-lg);
  padding:10px;
  display:flex; flex-direction:column; gap:2px;
  opacity:0; visibility:hidden;
  transition:opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index:50;
}
.minav-dropdown:hover .minav-dropdown-panel,
.minav-dropdown.is-open .minav-dropdown-panel {
  opacity:1; visibility:visible; transform:translate(-50%, 0);
}
.minav-dropdown-panel a {
  display:block;
  padding:9px 12px;
  border-radius:9px;
  font-size:13.5px; font-weight:500;
  color:var(--text-primary);
  text-decoration:none;
  white-space:nowrap;
  transition:background 0.15s ease, color 0.15s ease;
}
.minav-dropdown-panel a:hover { background:var(--bg-subtle); color:var(--burgundy); }

/* Mobile accordion groups.
   Rows are left-aligned and full-bleed so an open group reads as a distinct
   block rather than a centred wall of text. site.js keeps only one open. */
.minav-mobile-group { width:100%; }
.minav-mobile-group summary {
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  font-size:15px; color:var(--text-secondary);
  cursor:pointer; list-style:none;
  padding:9px 14px;
  border-radius:10px;
  transition:background 0.18s ease, color 0.18s ease;
}
.minav-mobile-group summary::-webkit-details-marker { display:none; }
.minav-mobile-group summary::after {
  content:'';
  width:7px; height:7px;
  border-right:1.6px solid currentColor; border-bottom:1.6px solid currentColor;
  transform:rotate(45deg) translate(-2px,-2px);
  transition:transform 0.25s ease;
  flex-shrink:0;
}
/* Open group: tinted row + accent bar, so which one is expanded is obvious. */
.minav-mobile-group[open] > summary {
  background:rgba(210,86,78,0.14);
  color:var(--text-primary);
  font-weight:600;
}
.minav-mobile-group[open] > summary::after {
  transform:rotate(-135deg) translate(-2px,-2px);
  color:var(--burgundy);
}
.minav-mobile-subnav {
  display:flex; flex-direction:column; align-items:stretch;
  margin:4px 0 6px 14px;
  padding-left:14px;
  border-left:2px solid rgba(210,86,78,0.35);
}
.minav-mobile-subnav a {
  font-size:14px; color:var(--text-muted); text-decoration:none;
  padding:7px 0;
  text-align:left;
}
.minav-mobile-subnav a:hover { color:var(--burgundy); }

/* Right buttons */
.minav-actions {
  display:inline-flex; align-items:center; gap:10px;
  flex-shrink:0;
}
.minav-btn {
  display:inline-flex; align-items:center; justify-content:center;
  padding:8px 16px;
  font-size:13px; font-weight:500;
  border-radius:999px;
  text-decoration:none;
  letter-spacing:-0.005em;
  white-space:nowrap;
  transition:all 0.22s ease;
  cursor:pointer;
  border:1px solid #333;
}
.minav-btn-ghost {
  background:rgba(31,31,31,0.62);
  color:rgba(255,255,255,0.78);
}
.minav-btn-ghost:hover { border-color:rgba(255,255,255,0.5); color:#fff; }

/* CTA — glow halo + brand-orange gradient */
.minav-cta-wrap {
  position:relative;
  display:inline-flex;
}
.minav-cta-wrap::before {
  content:"";
  position:absolute; inset:-8px;
  border-radius:999px;
  background:radial-gradient(closest-side, rgba(255,146,72,0.5), transparent 70%);
  filter:blur(14px);
  opacity:0.55;
  pointer-events:none;
  transition:opacity 0.3s ease, inset 0.3s ease, filter 0.3s ease;
}
.minav-cta-wrap:hover::before { opacity:0.85; inset:-12px; filter:blur(18px); }
.minav-cta {
  position:relative; z-index:1;
  padding:8px 16px;
  font-size:13px; font-weight:600;
  border-radius:999px;
  border:1px solid rgba(184,81,26,0.55);
  background:linear-gradient(180deg, #FF8A3F 0%, #B8511A 100%);
  color:#fff;
  text-decoration:none;
  letter-spacing:-0.005em;
  white-space:nowrap;
  box-shadow:0 1px 0 rgba(255,255,255,0.18) inset, 0 6px 16px rgba(217,101,31,0.45);
  transition:transform 0.22s ease, box-shadow 0.22s ease;
}
.minav-cta:hover { transform:translateY(-1px); box-shadow:0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 22px rgba(217,101,31,0.6); }

/* Mobile — hamburger + collapsing menu */
.minav-burger {
  display:none;
  width:32px; height:32px;
  align-items:center; justify-content:center;
  background:transparent; border:none;
  color:var(--charcoal);
  cursor:pointer;
  flex-shrink:0;
}
.minav-burger svg { width:22px; height:22px; }

.minav-mobile {
  display:none;
  flex-direction:column; align-items:center;
  width:100%;
  overflow:hidden;
  max-height:0; opacity:0; padding-top:0;
  transition:max-height 0.3s ease, opacity 0.3s ease, padding-top 0.3s ease;
  pointer-events:none;
}
.minav.is-open .minav-mobile {
  display:flex;
  max-height:calc(100vh - 120px); opacity:1; padding-top:18px;
  pointer-events:auto;
  overflow-y:auto;
}
.minav-mobile-nav {
  display:flex; flex-direction:column; align-items:stretch; gap:2px;
  width:100%;
}
.minav-mobile-nav > a {
  font-size:15px; color:var(--text-secondary); text-decoration:none;
  width:100%; text-align:left;
  padding:9px 14px;
  border-radius:10px;
  transition:color 0.2s ease, background 0.18s ease;
}
.minav-mobile-nav > a:hover { color:var(--burgundy); background:rgba(255,255,255,0.05); }
.minav-mobile-actions {
  display:flex; flex-direction:column; gap:10px; width:100%;
  margin-top:14px;
}
.minav-mobile-actions .minav-btn,
.minav-mobile-actions .minav-cta-wrap,
.minav-mobile-actions .minav-cta { width:100%; }
/* The primary button's glow reads as a smudge against the panel. */
.minav-mobile-actions .btn-primary { box-shadow:none; }
.minav-mobile-actions .btn-primary:hover { box-shadow:none; }

/* The full pill needs ~1076px. Below that, collapse to the burger rather than
   letting the links overflow it. Bottom-docking stays a phone-only thing. */
@media (max-width:1100px) {
  .minav-nav, .minav-actions { display:none; }
  .minav-burger { display:inline-flex; }
}

@media (max-width:780px) {
  /* Dock the navbar to the bottom of the viewport on mobile.
     column-reverse makes the collapsing menu open upwards, away from the edge. */
  .minav {
    top:auto;
    bottom:16px;
    flex-direction:column-reverse;
  }
  .minav.is-open {
    width:calc(100% - 32px);
    border-radius:20px;
  }
  /* Cap the panel so the page still shows above it and it reads as a sheet,
     not a full-screen takeover. Only the link list scrolls, so the CTA stays
     pinned at the bottom instead of being clipped mid-button. */
  .minav.is-open .minav-mobile {
    padding-top:0;
    padding-bottom:14px;
    max-height:calc(100vh - 210px);
    overflow:hidden;
  }
  .minav.is-open .minav-mobile-nav {
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overscroll-behavior:contain;
  }
  .minav-mobile-actions { flex-shrink:0; }

  /* Open menu: swap the bare mark for the full lockup and centre it in the
     bottom bar, with the close button pinned to the right. */
  .minav.is-open .minav-row { justify-content:center; position:relative; }
  .minav.is-open .minav-logo-mark { display:none; }
  .minav.is-open .minav-logo-full { display:block; height:22px; }
  .minav.is-open .minav-burger { position:absolute; right:0; top:50%; transform:translateY(-50%); }

  /* Keep the bottom bar from covering the last of the footer copy. */
  footer { padding-bottom:104px; }
}

/* ───── REVEAL ANIMATION ───── */
.reveal { opacity:0; transform:translateY(24px); transition:opacity 0.8s ease, transform 0.8s cubic-bezier(0.4,0,0.2,1); }
.reveal.in { opacity:1; transform:none; }


/* ───── SUBPAGE — shared hero + benefit grid (service/solution detail pages) ───── */
.svc-hero {
  padding:132px 0 52px;
  background:var(--bg-base);
  background-image:radial-gradient(circle at 1px 1px, rgba(139,31,31,0.05) 1px, transparent 0);
  background-size:24px 24px;
}
.svc-breadcrumb { font-size:13px; color:var(--text-muted); margin-bottom:22px; }
.svc-breadcrumb a { color:var(--text-muted); text-decoration:none; transition:color 0.2s ease; }
.svc-breadcrumb a:hover { color:var(--burgundy); }
.svc-breadcrumb span { color:var(--text-secondary); }
.svc-hero h1 {
  font-family:'Inter Tight', sans-serif;
  font-weight:800;
  font-size:clamp(34px, 5vw, 58px);
  line-height:1.1;
  letter-spacing:-0.03em;
  max-width:800px;
  margin-bottom:20px;
  color:var(--text-primary);
}
.svc-hero h1 .hl {
  background:linear-gradient(135deg, #D9651F 0%, #B8511A 45%, #8B1F1F 100%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
}
.svc-hero-sub {
  font-size:18px;
  color:var(--text-secondary);
  max-width:620px;
  line-height:1.6;
  margin-bottom:32px;
}
.svc-hero-cta { display:flex; gap:14px; flex-wrap:wrap; }

.svc-section-head { max-width:680px; margin-bottom:44px; }
.svc-section-head h2 {
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(26px, 3.2vw, 38px);
  font-weight:700;
  letter-spacing:-0.025em;
  line-height:1.15;
  margin-bottom:12px;
  color:var(--text-primary);
}
.svc-section-head p { font-size:16px; color:var(--text-secondary); line-height:1.6; }

.svc-benefits { display:grid; grid-template-columns:repeat(2, 1fr); gap:22px; }
.svc-benefit-card {
  background:var(--bg-surface);
  border:1px solid var(--border);
  border-radius:20px;
  padding:30px;
  box-shadow:var(--shadow-sm);
  transition:transform 0.25s ease, box-shadow 0.25s ease;
}
.svc-benefit-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); }
.svc-benefit-icon {
  width:42px; height:42px;
  border-radius:12px;
  background:var(--gradient-brand);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
  color:#fff;
  flex-shrink:0;
}
.svc-benefit-icon svg { width:20px; height:20px; }
.svc-benefit-card h3 { font-size:17.5px; font-weight:700; margin-bottom:8px; color:var(--text-primary); letter-spacing:-0.01em; }
.svc-benefit-card p { font-size:14.5px; color:var(--text-secondary); line-height:1.6; }

.svc-deliverables {
  background:var(--bg-surface);
  border:1px solid var(--border);
  border-radius:24px;
  padding:40px;
  box-shadow:var(--shadow-sm);
}
.svc-deliverables ul { display:grid; grid-template-columns:repeat(2, 1fr); gap:14px 28px; list-style:none; }
.svc-deliverables li {
  display:flex; align-items:flex-start; gap:10px;
  font-size:15px; color:var(--charcoal); font-weight:500; line-height:1.5;
}
.svc-deliverables li::before {
  content:'';
  width:7px; height:7px; border-radius:50%;
  background:var(--orange);
  flex-shrink:0; margin-top:8px;
}

.svc-pricing-note {
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
  background:var(--bg-surface);
  border:1px solid var(--border);
  border-radius:20px;
  padding:26px 30px;
  box-shadow:var(--shadow-sm);
}
.svc-pricing-note .price-note {
  display:block; margin-top:6px;
  font-size:13px; color:var(--text-muted); line-height:1.45;
}
.svc-pricing-note .price {
  font-family:'Inter Tight', sans-serif;
  font-weight:800;
  font-size:28px;
  background:linear-gradient(135deg, #D9651F 0%, #8B1F1F 100%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
}
.svc-pricing-note p { font-size:14.5px; color:var(--text-secondary); line-height:1.5; margin:0; }

@media (max-width:780px) {
  /* Navbar is docked to the bottom on mobile, so no top clearance needed. */
  .svc-hero { padding:40px 0 40px; }
  .svc-benefits { grid-template-columns:1fr; }
  .svc-deliverables ul { grid-template-columns:1fr; }
  .svc-deliverables { padding:28px 24px; }
}

/* ═══════════════════════ FORMS (Kapcsolat + Ajánlatkérés) ═══════════════════════ */
.ndform-card {
  max-width:none; margin:0;
  background:var(--bg-subtle);
  border:1px solid var(--border);
  border-radius:22px;
  padding:38px 40px;
}
@media (max-width:640px){ .ndform-card { padding:26px 20px; border-radius:18px; } }

.ndform { display:flex; flex-direction:column; gap:22px; }
.ndform-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:640px){ .ndform-row { grid-template-columns:1fr; gap:22px; } }

.ndfield { display:flex; flex-direction:column; gap:7px; }
.ndfield > label { font-size:13.5px; font-weight:600; color:var(--text-secondary); }
.ndfield .req { color:var(--burgundy); }

.ndinput, .ndtextarea {
  width:100%; font:inherit; font-size:15px;
  color:var(--text-primary);
  background:rgba(255,255,255,0.03);
  border:1px solid var(--border);
  border-radius:12px; padding:13px 15px;
  transition:border-color .18s ease, background .18s ease;
}
.ndtextarea { min-height:130px; resize:vertical; line-height:1.55; }
.ndinput::placeholder, .ndtextarea::placeholder { color:var(--text-muted); }
.ndinput:focus, .ndtextarea:focus {
  outline:none; border-color:var(--burgundy); background:rgba(255,255,255,0.055);
}
.ndinput.err, .ndtextarea.err { border-color:#e0564e; }

/* radio / checkbox groups */
.ndgroup { display:flex; flex-direction:column; gap:12px; }
.ndgroup-label { font-size:14px; font-weight:600; color:var(--text-primary); }

.ndgroup-label .req { color:var(--burgundy); }
.ndopt {
  display:flex; align-items:flex-start; gap:12px; cursor:pointer;
  font-size:14.5px; color:var(--text-secondary); line-height:1.45;
}
.ndopt:hover { color:var(--text-primary); }
.ndopt input {
  appearance:none; -webkit-appearance:none; margin:0; flex-shrink:0;
  width:20px; height:20px; margin-top:1px;
  border:1.6px solid var(--border); background:rgba(255,255,255,0.03);
  cursor:pointer; transition:border-color .15s, background .15s, box-shadow .15s;
}
.ndopt input[type=radio]{ border-radius:50%; }
.ndopt input[type=checkbox]{ border-radius:6px; }
.ndopt input:checked { border-color:var(--burgundy); background:var(--burgundy); }
.ndopt input[type=radio]:checked { box-shadow:inset 0 0 0 3px var(--bg-subtle); }
.ndopt input[type=checkbox]:checked {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size:13px; background-position:center; background-repeat:no-repeat;
}
.ndopt a { color:var(--burgundy); text-decoration:underline; }

.ndform-error {
  display:none; color:#e0564e; font-size:13.5px; font-weight:500;
  background:rgba(224,86,78,0.08); border:1px solid rgba(224,86,78,0.25);
  border-radius:10px; padding:11px 14px;
}
.ndform-error.show { display:block; }

.ndform button[type=submit]{ align-self:flex-start; margin-top:4px; }
@media (max-width:640px){ .ndform button[type=submit]{ width:100%; justify-content:center; } }
.ndform button[type=submit][disabled]{ opacity:.6; pointer-events:none; }

.ndform-note { font-size:12.5px; color:var(--text-muted); line-height:1.5; margin-top:2px; }

/* success state */
.ndform-success { display:none; text-align:center; padding:34px 12px; }
.ndform-success.show { display:block; }
.ndform-success .ok-ic {
  width:60px; height:60px; margin:0 auto 16px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(210,86,78,0.14); color:var(--burgundy);
}
.ndform-success .ok-ic svg { width:30px; height:30px; }
.ndform-success h3 { font-size:23px; font-weight:700; margin-bottom:8px; }
.ndform-success p { color:var(--text-secondary); font-size:15px; line-height:1.6; max-width:440px; margin:0 auto; }

/* Kapcsolat contact strip under the form */
.kapcsolat-contact {
  display:flex; flex-wrap:wrap; gap:14px 32px;
  justify-content:center; align-items:center;
  margin:26px 0 0; max-width:none;
  padding:20px 34px;
  border:1px solid var(--border); border-radius:18px;
  font-size:14.5px; color:var(--text-secondary);
}
.kapcsolat-contact a { color:var(--text-secondary); text-decoration:none; transition:color .15s ease; }
.kapcsolat-contact a:hover { color:var(--burgundy); }

/* Ajánlatkérés: bigger break before the consent block, tighter between the three. */
.ndconsent { display:flex; flex-direction:column; gap:11px; margin-top:42px; }

/* Thank-you page */
.ty-wrap { max-width:640px; margin:0 auto; text-align:center; }
.ty-ic {
  width:76px; height:76px; margin:0 auto 26px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(210,86,78,0.14); color:var(--burgundy);
}
.ty-ic svg { width:38px; height:38px; }
.ty-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:34px; }
@media (max-width:560px){ .ty-actions { flex-direction:column; } .ty-actions .btn { width:100%; justify-content:center; } }

/* ═════════════ SUBPAGE v2 — shared blocks for the redesigned detail pages ═════════════ */

/* Hero trust line under the CTAs */
.svc-hero-stats {
  font-size:13.5px; font-weight:500; letter-spacing:0.01em;
  color:var(--text-muted); margin-top:26px;
}

/* Narrative / story block (megoldás + csapatunk pages) */
.svc-narrative {
  background:var(--bg-surface);
  border:1px solid var(--border);
  border-radius:24px;
  padding:44px 48px;
  box-shadow:var(--shadow-sm);
}
.svc-narrative h2 {
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(24px, 2.8vw, 32px); font-weight:700;
  letter-spacing:-0.025em; line-height:1.2;
  margin-bottom:18px; color:var(--text-primary);
}
.svc-narrative p { font-size:16px; color:var(--text-secondary); line-height:1.75; }
.svc-narrative p + p { margin-top:16px; }
.svc-narrative p strong { color:var(--text-primary); font-weight:600; }
@media (max-width:780px){ .svc-narrative { padding:30px 24px; } }

/* Deliverables heading inside the card */
.svc-deliverables h2 {
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(23px, 2.6vw, 30px); font-weight:700;
  letter-spacing:-0.02em; margin-bottom:10px; color:var(--text-primary);
}
.svc-deliverables > p { font-size:15.5px; color:var(--text-secondary); line-height:1.6; margin-bottom:26px; max-width:720px; }

/* Pricing block */
.svc-pricing-note .price-label {
  display:block; font-size:13px; font-weight:600; letter-spacing:0.04em;
  text-transform:uppercase; color:var(--text-muted); margin-bottom:4px;
}

/* ─── Closing CTA band (Vágjunk bele) ─── */
/* ─── Closing CTA "stage" (subpages) ───
   A contained panel rather than a flat band: gradient-lit border, the page's
   own hero art blurred behind (set by site.js as --cta-art), drifting brand
   blobs, a slow aurora ring and a dot grid. Trust items become pills. */
.svc-cta { padding:64px 0 76px; background:var(--bg-base); }
.svc-cta-inner {
  position:relative; isolation:isolate; overflow:hidden;
  max-width:1120px; margin:0 auto; text-align:center;
  padding:88px 48px 64px;
  border-radius:32px;
  background:
    radial-gradient(70% 60% at 50% -10%, rgba(217,101,31,0.34) 0%, transparent 60%),
    radial-gradient(60% 55% at 50% 115%, rgba(139,31,31,0.42) 0%, transparent 62%),
    linear-gradient(180deg, #1d1a20 0%, #141216 100%);
  box-shadow:0 40px 90px -30px rgba(0,0,0,0.75), 0 1px 0 rgba(255,255,255,0.05) inset;
}
/* gradient-lit border ring */
.svc-cta-inner::before {
  content:''; position:absolute; inset:0; z-index:4; border-radius:inherit; padding:1px;
  pointer-events:none;
  background:linear-gradient(135deg, rgba(232,131,74,0.65) 0%, rgba(255,255,255,0.08) 35%, rgba(255,255,255,0.05) 65%, rgba(139,31,31,0.55) 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
}
/* page's own hero art, blurred and dimmed, as atmosphere */
.svc-cta-art {
  position:absolute; inset:-12%; z-index:0; pointer-events:none;
  background:var(--cta-art) center/cover no-repeat;
  filter:blur(28px) saturate(1.15);
  opacity:0.28;
  transform:scale(1.05);
  animation:heroDrift 30s ease-in-out infinite alternate;
}
/* drifting brand blobs */
.svc-cta-blobs {
  position:absolute; inset:-30%; z-index:1; pointer-events:none;
  background:
    radial-gradient(circle at 18% 28%, rgba(217,101,31,0.42) 0%, transparent 34%),
    radial-gradient(circle at 82% 70%, rgba(139,31,31,0.55) 0%, transparent 38%),
    radial-gradient(circle at 60% 15%, rgba(232,131,74,0.22) 0%, transparent 30%);
  filter:blur(60px);
  animation:ctaGradientDrift 24s ease-in-out infinite alternate;
}
/* slow aurora ring behind the headline */
.svc-cta-ring {
  position:absolute; z-index:2; pointer-events:none;
  width:min(920px, 130%); aspect-ratio:1; left:50%; top:-8%;
  transform:translateX(-50%);
  border-radius:50%;
  background:conic-gradient(from 0deg,
    transparent 0deg, rgba(232,131,74,0.0) 40deg, rgba(232,131,74,0.55) 90deg,
    transparent 150deg, transparent 220deg, rgba(210,86,78,0.45) 270deg, transparent 330deg, transparent 360deg);
  -webkit-mask:radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
          mask:radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  opacity:0.9;
  animation:ctaRing 28s linear infinite;
}
.svc-cta-ring::after {                    /* a second, inner, counter-rotating ring */
  content:''; position:absolute; inset:14%; border-radius:50%;
  background:conic-gradient(from 180deg, transparent 0deg, rgba(243,241,237,0.28) 60deg, transparent 120deg, transparent 240deg, rgba(232,131,74,0.35) 300deg, transparent 360deg);
  -webkit-mask:radial-gradient(farthest-side, transparent calc(100% - 1px), #000 calc(100% - 0.5px));
          mask:radial-gradient(farthest-side, transparent calc(100% - 1px), #000 calc(100% - 0.5px));
  animation:ctaRingRev 22s linear infinite;
}
@keyframes ctaRing    { to { transform:translateX(-50%) rotate(360deg); } }
@keyframes ctaRingRev { to { transform:rotate(-360deg); } }
/* dot grid over everything atmospheric */
.svc-cta-inner::after {
  content:''; position:absolute; inset:0; z-index:3; pointer-events:none;
  background-image:radial-gradient(circle, rgba(243,241,237,0.055) 1px, transparent 1px);
  background-size:22px 22px;
  -webkit-mask-image:radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
          mask-image:radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
}
.svc-cta-inner > *:not(.svc-cta-art):not(.svc-cta-blobs):not(.svc-cta-ring) { position:relative; z-index:5; }

.svc-cta h2 {
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(30px, 4vw, 50px); font-weight:800;
  letter-spacing:-0.035em; line-height:1.08;
  margin:0 auto 18px; max-width:820px; color:var(--text-primary);
  text-shadow:0 2px 24px rgba(0,0,0,0.45);
}
.svc-cta h2 .hl {
  background:linear-gradient(135deg, #F0A36A 0%, #D9651F 40%, #B8511A 70%, #8B1F1F 100%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.svc-cta p { font-size:17px; color:var(--text-secondary); line-height:1.65; max-width:620px; margin:0 auto; }
.svc-cta-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:34px; }
.svc-cta-actions .btn { padding:14px 26px; font-size:15px; }
.svc-cta-actions .btn-primary { box-shadow:0 1px 0 rgba(255,255,255,0.14) inset, 0 12px 34px rgba(210,86,78,0.42); }

/* trust row as pills; the old hairline dividers are hidden */
.svc-cta-trust {
  display:flex; gap:10px; justify-content:center; align-items:center; flex-wrap:wrap;
  margin-top:38px; font-size:13.5px; color:var(--text-secondary);
}
.svc-cta-trust > span:not(.divider) {
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 14px; border-radius:999px;
  background:rgba(255,255,255,0.045); border:1px solid rgba(255,255,255,0.09);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}
.svc-cta-trust strong { color:var(--text-primary); font-weight:700; }
.svc-cta-trust .stars { color:#E0A94E; letter-spacing:2px; }
.svc-cta-trust .divider { display:none; }

@media (max-width:760px){
  .svc-cta { padding:64px 0 80px; }
  .svc-cta-inner { padding:60px 22px 42px; border-radius:24px; }
  .svc-cta-ring { width:170%; top:-4%; }
  .svc-cta-actions { flex-direction:column; }
  .svc-cta-actions .btn { width:100%; justify-content:center; }
}

/* ─── Case-study cards (Esettanulmányok) ─── */
.cs-grid { display:grid; grid-template-columns:repeat(2, 1fr); gap:24px; }
@media (max-width:860px){ .cs-grid { grid-template-columns:1fr; } }
.cs-card {
  position:relative; display:flex; flex-direction:column;
  text-decoration:none; color:inherit;
  background:var(--bg-surface); border:1px solid var(--border);
  border-radius:22px; overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.cs-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:rgba(210,86,78,0.4); }
.cs-media {
  position:relative; aspect-ratio:16/10; overflow:hidden;
  background:linear-gradient(135deg, #241f26 0%, #1b181d 100%);
  display:flex; align-items:center; justify-content:center;
}
.cs-media img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s cubic-bezier(0.16,1,0.3,1); }
/* Four of the case studies are represented by a logo rather than a photograph.
   Those keep the tile's own dark surface and sit inside it as a white mark, so
   every logo tile reads identically instead of each carrying its own plate. */
.cs-media.is-logo img { object-fit:contain; padding:18% 22%; }
.cs-card:hover .cs-media.is-logo img { transform:scale(1.03); }
.cs-card:hover .cs-media img { transform:scale(1.045); }
/* Branded tile used until a real case-study photo exists. Designed to read as
   an intentional cover, not a missing image. */
.cs-media .cs-tag {
  position:absolute; top:14px; left:14px; z-index:2;
  font-size:11.5px; font-weight:600; letter-spacing:0.06em; text-transform:uppercase;
  padding:6px 12px; border-radius:999px;
  background:rgba(23,21,26,0.78); color:var(--text-primary);
  border:1px solid rgba(255,255,255,0.12);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}
.cs-body { padding:26px 28px 28px; display:flex; flex-direction:column; flex:1; }
.cs-body h3 {
  font-family:'Inter Tight', sans-serif; font-size:20px; font-weight:700;
  letter-spacing:-0.02em; line-height:1.25; margin-bottom:10px; color:var(--text-primary);
  transition:color .2s ease;
}
.cs-card:hover .cs-body h3 { color:var(--burgundy); }
.cs-body h3::after { content:' →'; opacity:0; transition:opacity .2s ease; }
.cs-card:hover .cs-body h3::after { opacity:1; }
.cs-body p { font-size:14.5px; color:var(--text-secondary); line-height:1.6; margin-bottom:20px; }
.cs-metrics { display:flex; gap:26px; flex-wrap:wrap; margin-top:auto; padding-top:18px; border-top:1px solid var(--border); }
.cs-metric .val {
  font-family:'Inter Tight', sans-serif; font-weight:800; font-size:22px; letter-spacing:-0.02em;
  background:linear-gradient(135deg, #D9651F 0%, #8B1F1F 100%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.cs-metric .lbl { display:block; font-size:12px; color:var(--text-muted); margin-top:2px; }
.cs-soon { font-size:13px; color:var(--text-muted); font-style:italic; margin-top:auto; padding-top:18px; border-top:1px solid var(--border); }

/* ─── Logo wall (Referenciák) ─── */
.ref-wall {
  display:grid; grid-template-columns:repeat(auto-fill, minmax(170px, 1fr)); gap:18px;
}
.ref-cell {
  display:flex; align-items:center; justify-content:center;
  min-height:110px; padding:22px 18px;
  background:var(--bg-surface); border:1px solid var(--border);
  border-radius:16px;
  transition:border-color .22s ease, transform .22s ease, background .22s ease;
}
.ref-cell:hover { border-color:rgba(210,86,78,0.42); transform:translateY(-3px); background:rgba(255,255,255,0.028); }
/* Two logo variants: most supplied logos are already light-on-transparent and
   only need desaturating; the dark ones additionally need inverting. */
.ref-cell img { max-width:100%; max-height:54px; width:auto; height:auto; display:block;
  filter:grayscale(1) brightness(1.1); opacity:0.72; transition:opacity .22s ease; }
.ref-cell img.is-dark-logo { filter:grayscale(1) invert(1) brightness(1.6); }
.ref-cell img.is-tall { max-height:72px; }
.ref-cell:hover img { opacity:1; }
.ref-cell .ref-name {
  font-family:'Inter Tight', sans-serif; font-weight:700; font-size:15.5px;
  letter-spacing:-0.01em; color:var(--text-secondary); text-align:center; line-height:1.3;
  transition:color .22s ease;
}
.ref-cell:hover .ref-name { color:var(--text-primary); }

/* ═════════════ Jogi oldalak (impresszum, adatkezelés) ═════════════ */
.svc-hero.legal-page { padding-bottom:92px; }
.legal { max-width:760px; margin-top:34px; color:var(--text-secondary); font-size:16px; line-height:1.75; }
.legal h2 {
  font-family:'Inter Tight', sans-serif; font-weight:700;
  font-size:clamp(19px,2.1vw,23px); letter-spacing:-0.02em; line-height:1.3;
  color:var(--text-primary); margin:38px 0 12px;
}
.legal h2:first-child { margin-top:0; }
.legal p { margin-bottom:14px; }
.legal ul { margin:0 0 16px; padding-left:22px; }
.legal li { margin-bottom:9px; }
.legal li::marker { color:var(--burgundy); }
.legal strong { color:var(--text-primary); font-weight:600; }
.legal a { color:var(--orange); text-decoration:underline; text-underline-offset:3px; }
.legal a:hover { color:var(--text-primary); }
/* Blocks of company details read as an address, not as prose. */
.legal .legal-block {
  background:var(--bg-surface); border:1px solid var(--border);
  border-radius:14px; padding:16px 20px; margin:0 0 18px;
}
.legal-data { display:flex; flex-direction:column; gap:2px; margin:0; }
.legal-row {
  display:grid; grid-template-columns:180px 1fr; gap:16px;
  padding:15px 20px; border:1px solid var(--border); border-radius:14px;
  background:var(--bg-surface);
}
.legal-row + .legal-row { margin-top:10px; }
.legal-row dt { font-weight:600; color:var(--text-muted); font-size:14.5px; }
.legal-row dd { margin:0; color:var(--text-primary); font-weight:500; }
@media (max-width:640px) {
  .legal-row { grid-template-columns:1fr; gap:4px; }
}

/* ─── Values grid (Csapatunk) ─── */
.val-grid { display:grid; grid-template-columns:repeat(2, 1fr); gap:22px; }
@media (max-width:780px){ .val-grid { grid-template-columns:1fr; } }
.val-card {
  position:relative; background:var(--bg-surface); border:1px solid var(--border);
  border-radius:20px; padding:32px; box-shadow:var(--shadow-sm);
  transition:transform .25s ease, box-shadow .25s ease;
}
.val-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); }
.val-num {
  font-family:'Inter Tight', sans-serif; font-weight:800; font-size:13px;
  letter-spacing:0.08em; color:var(--burgundy); margin-bottom:14px; display:block;
}
.val-card h3 { font-size:19px; font-weight:700; letter-spacing:-0.015em; margin-bottom:9px; color:var(--text-primary); }
.val-card p { font-size:14.5px; color:var(--text-secondary); line-height:1.65; }

/* ─── Stat strip (Csapatunk hero) ─── */
.stat-strip {
  display:grid; grid-template-columns:repeat(4, 1fr); gap:20px;
  background:var(--bg-surface); border:1px solid var(--border);
  border-radius:20px; padding:30px 34px; box-shadow:var(--shadow-sm);
}
@media (max-width:860px){ .stat-strip { grid-template-columns:repeat(2, 1fr); gap:26px 18px; padding:26px 22px; } }
.stat-strip .s-val {
  font-family:'Inter Tight', sans-serif; font-weight:800;
  font-size:clamp(24px, 2.6vw, 32px); letter-spacing:-0.025em; line-height:1;
  background:linear-gradient(135deg, #D9651F 0%, #8B1F1F 100%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.stat-strip .s-lbl { display:block; font-size:13px; color:var(--text-muted); margin-top:7px; line-height:1.4; }

/* ─── Video embed ─── */
.vid-frame {
  position:relative; aspect-ratio:16/9; width:100%;
  border-radius:22px; overflow:hidden;
  border:1px solid var(--border); box-shadow:var(--shadow-md);
  background:#0f0e11;
}
.vid-frame iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

/* ─── Case-study detail page ─── */
.cs-hero-meta {
  display:flex; flex-wrap:wrap; gap:8px; margin-bottom:26px;
}
.cs-chip {
  font-size:12.5px; font-weight:600; letter-spacing:0.02em;
  padding:6px 13px; border-radius:999px;
  background:rgba(255,255,255,0.05); border:1px solid var(--border);
  color:var(--text-secondary);
}
.cs-kpis { display:grid; grid-template-columns:repeat(auto-fit, minmax(190px,1fr)); gap:20px; }
.cs-kpi {
  background:var(--bg-surface); border:1px solid var(--border);
  border-radius:20px; padding:28px 26px; box-shadow:var(--shadow-sm);
}
.cs-kpi .k-val {
  font-family:'Inter Tight', sans-serif; font-weight:800;
  font-size:clamp(28px, 3.4vw, 40px); letter-spacing:-0.03em; line-height:1;
  background:linear-gradient(135deg, #D9651F 0%, #8B1F1F 100%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.cs-kpi .k-lbl { display:block; font-size:13.5px; color:var(--text-secondary); margin-top:10px; line-height:1.45; }

/* Long-form body copy for case studies + blog posts */
.prose { max-width:760px; }
.prose h2 {
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(24px, 2.9vw, 33px); font-weight:700;
  letter-spacing:-0.025em; line-height:1.2;
  margin:52px 0 16px; color:var(--text-primary);
}
.prose h2:first-child { margin-top:0; }
.prose h3 {
  font-size:19.5px; font-weight:700; letter-spacing:-0.015em;
  margin:34px 0 10px; color:var(--text-primary);
}
.prose p { font-size:16.5px; color:var(--text-secondary); line-height:1.75; margin-bottom:16px; }
.prose p strong, .prose li strong { color:var(--text-primary); font-weight:600; }
.prose ul { list-style:none; margin:0 0 20px; }
.prose li {
  position:relative; padding-left:22px; margin-bottom:11px;
  font-size:16px; color:var(--text-secondary); line-height:1.65;
}
.prose li::before {
  content:''; position:absolute; left:0; top:10px;
  width:7px; height:7px; border-radius:50%; background:var(--orange);
}
.prose .lead {
  font-size:18.5px; color:var(--text-primary); line-height:1.65;
  padding-left:20px; border-left:3px solid var(--burgundy);
  margin-bottom:26px;
}
.prose .pull {
  font-family:'Inter Tight', sans-serif; font-weight:700;
  font-size:clamp(21px, 2.4vw, 27px); letter-spacing:-0.02em; line-height:1.35;
  color:var(--text-primary);
  margin:38px 0; padding:26px 30px;
  background:var(--bg-surface); border:1px solid var(--border);
  border-radius:18px;
}
@media (max-width:640px){ .prose .pull { padding:22px 20px; } }

/* ═════════════ Időpontfoglalás (cal.com) ═════════════ */
.book-tabs {
  display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-bottom:34px;
}
.book-tab {
  flex:1 1 260px; max-width:340px; text-align:left;
  background:var(--bg-surface); border:1px solid var(--border);
  border-radius:18px; padding:22px 24px; cursor:pointer;
  transition:border-color .2s ease, background .2s ease, transform .2s ease;
  font:inherit; color:inherit;
}
.book-tab:hover { transform:translateY(-3px); border-color:rgba(210,86,78,0.45); }
.book-tab.is-active { border-color:var(--burgundy); background:rgba(210,86,78,0.10); }
.book-tab .bt-dur {
  display:inline-block; font-size:11.5px; font-weight:700; letter-spacing:0.06em;
  text-transform:uppercase; color:var(--burgundy); margin-bottom:9px;
}
.book-tab h3 { font-size:17.5px; font-weight:700; letter-spacing:-0.015em; margin-bottom:6px; color:var(--text-primary); }
.book-tab p { font-size:14px; color:var(--text-secondary); line-height:1.55; }
.book-embed {
  min-height:640px; border-radius:22px; overflow:hidden;
  border:1px solid var(--border); background:var(--bg-surface);
}
.book-embed[hidden] { display:none; }
.book-fallback { padding:40px 24px; text-align:center; }
.book-fallback p { color:var(--text-secondary); font-size:15px; margin-bottom:18px; }
@media (max-width:640px){ .book-tab { flex:1 1 100%; max-width:none; } }

/* Awards card intro (restored per the 2026.08.24 review doc) */
.awards-sub {
  text-align:center; font-size:13px; font-weight:600; letter-spacing:0.08em;
  text-transform:uppercase; color:var(--text-muted); margin:0 0 26px;
}

/* Wide photo band (Csapatunk, Kapcsolat) */
.photo-band {
  border-radius:24px; overflow:hidden;
  border:1px solid var(--border); box-shadow:var(--shadow-md);
  line-height:0;
}
.photo-band img { width:100%; height:auto; display:block; }
.photo-caption {
  font-size:13.5px; color:var(--text-muted); text-align:center;
  margin-top:14px; line-height:1.5;
}
.contact-call {
  display:grid; grid-template-columns:1fr auto; gap:34px; align-items:center;
  margin-top:26px; padding:30px 34px;
  background:var(--bg-subtle); border:1px solid var(--border); border-radius:22px;
}
.contact-call-title {
  font-family:'Inter Tight', sans-serif; font-weight:700;
  font-size:clamp(23px,2.6vw,30px); letter-spacing:-0.02em; line-height:1.2;
  margin-bottom:10px;
}
.contact-call-sub { font-size:16px; color:var(--text-secondary); line-height:1.7; max-width:640px; }
.contact-call .svc-hero-cta { margin:0; flex-shrink:0; }
@media (max-width:860px){
  .contact-call { grid-template-columns:1fr; gap:22px; padding:26px 22px; }
}

/* ═════════════ Csapatfelépítés — dedikált szekció ═════════════ */
.team-flow { padding:64px 0; background:var(--bg-subtle); position:relative; overflow:hidden; }
.team-flow::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(217,101,31,0.09) 0%, transparent 70%),
    radial-gradient(50% 50% at 50% 100%, rgba(139,31,31,0.10) 0%, transparent 70%);
}
.team-flow > .container { position:relative; z-index:1; }
.team-flow-head { max-width:660px; margin:0 auto 58px; text-align:center; }
.team-flow-head h2 {
  font-family:'Inter Tight', sans-serif;
  font-size:clamp(28px, 3.6vw, 44px); font-weight:800;
  letter-spacing:-0.03em; line-height:1.12; margin-bottom:16px; color:var(--text-primary);
}
.team-flow-head h2 .hl {
  background:linear-gradient(135deg, #D9651F 0%, #B8511A 45%, #8B1F1F 100%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.team-flow-head p { font-size:16.5px; color:var(--text-secondary); line-height:1.65; }

.orgchart { display:flex; flex-direction:column; align-items:center; max-width:1000px; margin:0 auto; }

/* Card */
.oc-card {
  position:relative; width:100%;
  background:var(--bg-surface); border:1px solid var(--border);
  border-radius:20px; padding:24px 26px; text-align:center;
  box-shadow:var(--shadow-sm);
  transition:transform .28s cubic-bezier(0.16,1,0.3,1), box-shadow .28s ease, border-color .28s ease;
}
.oc-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:rgba(210,86,78,0.45); }
.oc-role {
  display:inline-block; font-size:11px; font-weight:700; letter-spacing:0.11em;
  text-transform:uppercase; color:var(--burgundy); margin-bottom:9px;
}
.oc-name {
  display:block; font-family:'Inter Tight', sans-serif; font-weight:700;
  font-size:20px; letter-spacing:-0.02em; color:var(--text-primary);
}
.oc-desc { display:block; font-size:13.5px; color:var(--text-muted); margin-top:8px; line-height:1.5; }

/* Client + lead cards sit centred and narrower than the rail below */
.oc-top { width:100%; max-width:340px; }
.oc-lead { width:100%; max-width:420px; }
.oc-client {
  border-color:rgba(210,86,78,0.42);
  background:linear-gradient(180deg, rgba(210,86,78,0.13) 0%, rgba(210,86,78,0.05) 100%);
}
.oc-lead-inner { display:flex; align-items:center; gap:18px; text-align:left; justify-content:center; }
.oc-avatar {
  width:58px; height:58px; border-radius:50%; flex-shrink:0; overflow:hidden;
  border:2px solid rgba(210,86,78,0.55); background:var(--bg-base);
}
/* The source is a full-body portrait, so bias the crop to the face. */
.oc-avatar img { width:100%; height:100%; object-fit:cover; object-position:50% 14%; display:block; }

/* Connectors */
.oc-stem { width:2px; height:34px; background:linear-gradient(180deg, rgba(210,86,78,0.32), rgba(210,86,78,0.5)); }
.oc-fan { position:relative; width:100%; padding-top:34px; }
/* The rail has to stop exactly on the outer columns' centres. With a 20px gap
   each column is (100% - 40px)/3 wide, so its centre sits at
   (100% - 40px)/6 - not at a flat 16.667%, which overshot by ~7px a side. */
.oc-fan::before {                       /* horizontal rail */
  content:''; position:absolute; top:0;
  left:calc(16.6667% - 6.6667px); right:calc(16.6667% - 6.6667px);
  height:2px; background:linear-gradient(90deg, rgba(210,86,78,0.42), rgba(210,86,78,0.5), rgba(210,86,78,0.42));
}
/* The node where Dávid's stem meets the rail, so the join reads as a join. */
.oc-fan::after {
  content:''; position:absolute; top:-3px; left:50%; margin-left:-4px;
  width:8px; height:8px; border-radius:50%;
  background:var(--burgundy); box-shadow:0 0 0 4px var(--bg-subtle);
}
.oc-cols { display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; }
.oc-col { position:relative; display:flex; }
.oc-col::before {                        /* drop line into each card */
  content:''; position:absolute; top:-34px; left:50%; margin-left:-1px;
  width:2px; height:34px;
  background:linear-gradient(180deg, rgba(210,86,78,0.5), rgba(210,86,78,0.28));
}

/* Platform chips */
.oc-chips { display:flex; gap:8px; justify-content:center; flex-wrap:wrap; margin-top:14px; }
.oc-chip {
  display:inline-flex; align-items:center; gap:6px;
  font-size:12px; font-weight:600; letter-spacing:0.01em;
  padding:6px 12px; border-radius:999px;
  background:rgba(255,255,255,0.05); border:1px solid var(--border); color:var(--text-secondary);
}
.oc-chip svg { width:13px; height:13px; flex-shrink:0; }

@media (max-width:820px) {
  .team-flow { padding:76px 0; }
  .oc-fan { padding-top:0; }
  .oc-fan::before, .oc-fan::after { display:none; }
  .oc-cols { grid-template-columns:1fr; gap:0; }
  .oc-col { margin-top:34px; }
  .oc-col::before { top:-34px; height:34px; }
  .oc-top, .oc-lead { max-width:none; }
}

/* ═════════════ Aloldal hero háttérkép ═════════════ */
.svc-hero.has-bg { position:relative; overflow:hidden; }
.svc-hero.has-bg > .container { position:relative; z-index:2; }
.svc-hero-bg {
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background-size:cover; background-position:var(--bg-pos, center right);
  background-repeat:no-repeat;
}
/* Keep the headline legible: the art carries its own dark left side, and this
   veil guarantees contrast at every viewport width. */
.svc-hero-bg::after {
  content:''; position:absolute; inset:0;
  background:
    linear-gradient(90deg, var(--bg-base) 0%, rgba(23,21,26,0.92) 34%, rgba(23,21,26,0.55) 60%, rgba(23,21,26,0.30) 100%),
    linear-gradient(180deg, rgba(23,21,26,0.75) 0%, transparent 22%, transparent 68%, var(--bg-base) 100%);
}
/* Brightly-lit photos need a heavier veil than the darker abstract art,
   otherwise the accent-coloured words in the headline lose contrast. */
.svc-hero-bg.is-bright::after {
  background:
    linear-gradient(90deg, var(--bg-base) 0%, rgba(23,21,26,0.95) 40%, rgba(23,21,26,0.74) 66%, rgba(23,21,26,0.44) 100%),
    linear-gradient(180deg, rgba(23,21,26,0.78) 0%, transparent 24%, transparent 62%, var(--bg-base) 100%);
}

.ndform-lead {
  max-width:640px;
  margin:0 0 26px;
  font-size:18px;
  line-height:1.6;
  color:var(--text-secondary);
}

/* When the photo's subject is the point — the handshake and both people on
   the Referenciák / Ajánlatkérés heroes — a full-width veil would mute exactly
   what should be seen. Instead the scrim is an ellipse anchored to the left
   edge: opaque behind the copy, gone by the time it reaches the subjects. The
   copy column is narrowed to match, so the scrim never has to reach that far. */
.svc-hero.is-subject,
.svc-hero.is-aside {
  padding:120px 0 40px;
  /* Short copy would leave the section shorter than the art band, which then
     loses a chunk of the frame vertically. Hold a floor tied to the band's own
     aspect, capped so very wide viewports do not stretch the hero. */
  min-height:min(calc(41vw + 52px), 680px);
}
.svc-hero.is-subject h1,
.svc-hero.is-aside h1 { max-width:600px; }
.svc-hero.is-subject .svc-hero-sub,
.svc-hero.is-aside .svc-hero-sub { max-width:560px; }

/* `cover` is driven by the hero's height here, so a longer copy block would
   zoom the photo in and push the subject out of frame. Capping the art to a
   band of its own makes the crop independent of how the text wraps: at most
   ~6% comes off the right edge at any viewport width or copy length. */
.svc-hero.is-subject .svc-hero-bg {
  inset:auto 0 0 0;
  height:min(100%, 41vw);
}
.svc-hero.is-subject .svc-hero-bg::after {
  background:
    linear-gradient(90deg,
      var(--bg-base) 0%,
      var(--bg-base) 24%,
      rgba(23,21,26,0.93) 36%,
      rgba(23,21,26,0.58) 46%,
      rgba(23,21,26,0.22) 54%,
      rgba(23,21,26,0.06) 63%,
      rgba(23,21,26,0.02) 100%),
    linear-gradient(180deg, var(--bg-base) 0%, rgba(23,21,26,0.46) 10%, transparent 26%, transparent 80%, var(--bg-base) 100%);
}

/* On the service and solution heroes the photograph shows the whole team, and
   none of them may end up behind the copy. So the art is not stretched across
   the hero: it is held to the right at its own 2.357:1 frame, and --art-w says
   how much width it may take. That value is set per page from where the
   leftmost person in that particular image actually starts. */
.svc-hero.is-aside .svc-hero-bg {
  inset:auto 0 0 0;
  --art-w:76vw;
  --art-ar:2.357;                        /* per page, when the frame differs */
  height:min(100%, calc(var(--art-w) / var(--art-ar)));
  background-size:auto 100%;
  background-position:right center;
  -webkit-mask-image:linear-gradient(to left, #000 0, #000 calc(var(--art-w) - 210px), transparent calc(var(--art-w) - 18px));
          mask-image:linear-gradient(to left, #000 0, #000 calc(var(--art-w) - 210px), transparent calc(var(--art-w) - 18px));
}
/* The picture never reaches the text now, so it needs far less darkening. */
.svc-hero.is-aside .svc-hero-bg::after {
  background:
    linear-gradient(90deg,
      rgba(23,21,26,0.70) 0%,
      rgba(23,21,26,0.32) 24%,
      rgba(23,21,26,0.09) 44%,
      rgba(23,21,26,0.03) 100%),
    linear-gradient(180deg, var(--bg-base) 0%, rgba(23,21,26,0.42) 11%, transparent 28%, transparent 80%, var(--bg-base) 100%);
}

@media (max-width:900px) {
  .svc-hero.is-subject,
  .svc-hero.is-aside { padding:132px 0 52px; }
  .svc-hero.is-subject h1, .svc-hero.is-aside h1,
  .svc-hero.is-subject .svc-hero-sub, .svc-hero.is-aside .svc-hero-sub { max-width:none; }
  /* A wide frame in a phone-shaped hero can only show a slice, so centre that
     slice on the subject rather than on the middle of the photo. */
  .svc-hero.is-subject .svc-hero-bg,
  .svc-hero.is-aside .svc-hero-bg {
    inset:0; height:auto; background-size:cover; background-position:58% center;
    -webkit-mask-image:none; mask-image:none;
  }
  .svc-hero.is-subject .svc-hero-bg::after,
  .svc-hero.is-aside .svc-hero-bg::after {
    background:linear-gradient(180deg, rgba(23,21,26,0.89) 0%, rgba(23,21,26,0.84) 55%, var(--bg-base) 100%);
  }
}

@media (max-width:900px) {
  /* Restated so the sideways .is-bright veil does not out-specify the mobile
     one — here the copy spans the full width, so the veil must run downwards. */
  .svc-hero-bg.is-bright::after {
    background:linear-gradient(180deg, rgba(23,21,26,0.89) 0%, rgba(23,21,26,0.84) 55%, var(--bg-base) 100%);
  }
}

@media (max-width:900px) {
  /* On narrow screens the copy spans the full width, so darken more. */
  .svc-hero-bg { background-position:center; }
  .svc-hero-bg::after {
    background:linear-gradient(180deg, rgba(23,21,26,0.86) 0%, rgba(23,21,26,0.80) 55%, var(--bg-base) 100%);
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   CRAFT LAYER — the details that make a dark site feel bespoke rather
   than templated. Every rule here is additive and safe to remove.
   ═══════════════════════════════════════════════════════════════════════ */

/* 1. Film grain over the whole page. A fixed, blended noise field gives the
      flat #17151A ground a tactile, printed quality. */
.grain {
  position:fixed; inset:-50%; z-index:9000; pointer-events:none;
  width:200%; height:200%;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:240px 240px;
  opacity:0.055;
  mix-blend-mode:overlay;
  animation:grainShift 0.9s steps(4) infinite;
}
@keyframes grainShift {
  0%   { transform:translate(0,0); }
  25%  { transform:translate(-2%,1.5%); }
  50%  { transform:translate(1.5%,-2%); }
  75%  { transform:translate(-1%,-1%); }
  100% { transform:translate(0,0); }
}

/* 2. Scroll progress hairline: a thin brand-gradient line that grows across
      the very top of the viewport as you read. */
.scroll-progress {
  position:fixed; top:0; left:0; z-index:9100; pointer-events:none;
  width:100%; height:2px;
  background:linear-gradient(90deg, var(--orange) 0%, var(--burgundy) 60%, #8B1F1F 100%);
  transform-origin:0 50%; transform:scaleX(0);
  box-shadow:0 0 12px rgba(232,131,74,0.55);
}

/* 3. Brand-coloured text selection and keyboard focus rings. */
::selection { background:rgba(217,101,31,0.42); color:#fff; }
::-moz-selection { background:rgba(217,101,31,0.42); color:#fff; }
:focus-visible { outline:2px solid var(--orange); outline-offset:3px; border-radius:6px; }
.btn:focus-visible { outline-offset:4px; }

/* 4. Cursor-reactive surfaces. site.js tags card-like elements with
      data-glow and injects a .glow-spot child; the spot is a soft orange
      radial that tracks the pointer, plus a border that brightens nearest
      the cursor. Screen blend keeps text readable underneath. */
[data-glow] { isolation:isolate; }   /* position set per-element in JS so sticky cards keep sticking */
.glow-spot {
  position:absolute; inset:0; z-index:5; pointer-events:none;
  border-radius:inherit;
  opacity:0; transition:opacity .35s ease;
  background:
    radial-gradient(360px circle at var(--mx,50%) var(--my,50%),
      rgba(232,131,74,0.16) 0%, rgba(210,86,78,0.07) 34%, transparent 66%);
  mix-blend-mode:screen;
}
.glow-spot::after {                      /* border light that follows the cursor */
  content:''; position:absolute; inset:0; border-radius:inherit; padding:1px;
  background:radial-gradient(260px circle at var(--mx,50%) var(--my,50%),
    rgba(232,131,74,0.75), rgba(232,131,74,0.10) 45%, transparent 70%);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
}
[data-glow]:hover .glow-spot { opacity:1; }

/* 5. Primary button: light sweep on hover. */
.btn-primary { position:relative; overflow:hidden; }
.btn-primary::before {
  content:''; position:absolute; top:0; bottom:0; left:-70%; width:48%;
  background:linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  transform:skewX(-18deg); pointer-events:none;
  transition:left .6s cubic-bezier(0.16,1,0.3,1);
}
.btn-primary:hover::before { left:125%; }

/* 6. Section-tag dot: a slow, breathing ring. */
.section-tag::before {
  box-shadow:0 0 0 0 rgba(232,131,74,0.55);
  animation:tagBreath 2.8s cubic-bezier(0.33,1,0.68,1) infinite;
}
@keyframes tagBreath {
  0%   { box-shadow:0 0 0 0 rgba(232,131,74,0.55); }
  70%  { box-shadow:0 0 0 7px rgba(232,131,74,0); }
  100% { box-shadow:0 0 0 0 rgba(232,131,74,0); }
}

/* 7. Subpage hero art: a slow drift so the background feels alive. */
.svc-hero-bg { transform-origin:70% 40%; animation:heroDrift 26s ease-in-out infinite alternate; }
@keyframes heroDrift {
  from { transform:scale(1) translate3d(0,0,0); }
  to   { transform:scale(1.07) translate3d(-1.2%,-1%,0); }
}

/* 8. Case-study placeholder tiles: a diagonal sheen crawls across so the
      branded covers read as designed, not empty. */

/* 9. Footer: an outlined ghost wordmark anchors the page end. */
footer::before {
  content:'ND'; position:absolute; right:-1.5vw; bottom:-0.28em; z-index:0;
  font-family:'Inter Tight', sans-serif; font-weight:900;
  font-size:clamp(220px, 34vw, 520px); line-height:1; letter-spacing:-0.07em;
  color:transparent; -webkit-text-stroke:1px rgba(243,241,237,0.06);
  pointer-events:none; user-select:none;
}

/* 10. Testimonial marquee: fade the rows out at the edges. */
.tm-row {
  -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image:linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}

/* 11. Respect reduced-motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:0.01ms !important; animation-iteration-count:1 !important;
    transition-duration:0.01ms !important; scroll-behavior:auto !important;
  }
  .grain { animation:none; }
  .glow-spot { display:none; }
}

/* Face avatars in the team org chart */
.oc-face {
  width:64px; height:64px; border-radius:50%; margin:0 auto 12px;
  overflow:hidden; border:2px solid rgba(210,86,78,0.5); background:var(--bg-base);
}
.oc-face img { width:100%; height:100%; object-fit:cover; display:block; }
.oc-card .oc-role { margin-top:0; }

/* Reaction-time rows (bento card 5) */
.react-times { display:flex; flex-direction:column; gap:16px; width:100%; padding:4px 0; }
.rt-row { display:grid; grid-template-columns:1fr auto; gap:6px 14px; align-items:baseline; }
.rt-label { font-size:13.5px; color:var(--text-secondary); }
.rt-val { font-family:'Inter Tight',sans-serif; font-weight:800; font-size:22px; letter-spacing:-0.02em;
  background:linear-gradient(135deg,#D9651F 0%,#8B1F1F 100%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.rt-val small { font-size:11.5px; font-weight:600; letter-spacing:0.02em; -webkit-text-fill-color:var(--text-muted); }
.rt-bar { grid-column:1/-1; height:4px; border-radius:999px; background:rgba(255,255,255,0.07); overflow:hidden; }
.rt-bar i { display:block; height:100%; width:0; border-radius:inherit;
  background:linear-gradient(90deg,#E8834A,#D2564E);
  transition:width 1.1s cubic-bezier(0.16,1,0.3,1) .15s; }
.reveal.in .rt-bar i, .feat-card.in .rt-bar i { width:var(--w); }

/* Logo-led case studies on the homepage keep the tile's dark surface and hold
   the white mark inside it, matching the treatment on the listing page. */
.work-img.is-logo { background:linear-gradient(135deg,#241f26 0%,#1b181d 100%); }
.work-img.is-logo img { object-fit:contain; padding:20%; }

/* Case-study cover banner, directly under the hero on the detail pages. */
.cs-cover-sec { padding:0 0 42px; }
.cs-cover {
  position:relative; overflow:hidden; margin:0;
  aspect-ratio:21/9; border-radius:22px;
  border:1px solid var(--border); box-shadow:var(--shadow-md);
  background:linear-gradient(135deg,#241f26 0%,#1b181d 100%);
}
.cs-cover img { width:100%; height:100%; object-fit:cover; display:block; }
.cs-cover.is-logo img { object-fit:contain; padding:15% 28%; }
@media (max-width:720px) {
  .cs-cover { aspect-ratio:16/10; border-radius:16px; }
  .cs-cover-sec { padding-bottom:32px; }
}


/* "see all case studies" row under the homepage grid */
.work-more {
  display:flex; align-items:center; justify-content:center; gap:20px 26px;
  flex-wrap:wrap; margin-top:38px; text-align:center;
}
.work-more p { font-size:15.5px; color:var(--text-secondary); margin:0; max-width:460px; }
@media (max-width:640px){
  .work-more { flex-direction:column; gap:16px; }
  .work-more .btn { width:100%; justify-content:center; }
}
