/* ZoomApps 2026 v2 — Components (UnifiedInfotech-grade) */

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-6);
  min-height: var(--touch-min);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-snug);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--d-base) var(--ease-out);
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.btn--sm { padding: var(--sp-2) var(--sp-5); min-height: 40px; font-size: var(--fs-xs); }
.btn--lg { padding: var(--sp-5) var(--sp-8); font-size: var(--fs-base); }
.btn--xl { padding: var(--sp-6) var(--sp-10); font-size: var(--fs-md); }
.btn--full { width: 100%; }
.btn--icon-only { padding: var(--sp-3); min-width: var(--touch-min); }

.btn--primary {
  background: var(--text-primary);
  color: white;
}
.btn--primary:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--sh-accent);
}

.btn--accent {
  background: var(--accent);
  color: white;
}
.btn--accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--sh-accent-strong);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  background: var(--text-primary);
  color: white;
  border-color: var(--text-primary);
}

.btn--outline-light {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.24);
}
.btn--outline-light:hover {
  background: white;
  color: var(--text-primary);
  border-color: white;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--accent);
  transition: gap var(--d-fast);
}
.btn-arrow svg { width: 14px; height: 14px; transition: transform var(--d-fast); }
.btn-arrow:hover { gap: var(--sp-3); }
.btn-arrow:hover svg { transform: translateX(2px); }

/* ============= HERO v3 ============= */
.hero {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(48px, 8vw, 96px);
  position: relative;
  /* overflow: visible so iPhone + drop-shadow + glow can extend.
     .hero__bg keeps its own overflow:hidden to clip blob backgrounds. */
  overflow: visible;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero__bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero__bg-blob--1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #6366F1 0%, transparent 70%);
  opacity: 0.18;
  top: -120px; right: -120px;
}
.hero__bg-blob--2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #8B5CF6 0%, transparent 70%);
  opacity: 0.12;
  bottom: -80px; left: 20%;
}
.hero__bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(10,10,10,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,10,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }

.hero__usp-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}
.hero__usp {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
}
.hero__usp svg { width: 14px; height: 14px; color: var(--accent); }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: center;
}
.hero__grid--v3 {
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 6fr 5fr; gap: var(--sp-12); }
  .hero__grid--v3 { grid-template-columns: 6fr 5fr; }
}
.hero__content { max-width: 700px; }
.hero__title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: var(--ls-tighter);
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--sp-5);
}
.hero__title--v3 {
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: var(--ls-tighter);
}
.hero__title-accent {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.hero__lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 56ch;
  margin-bottom: var(--sp-8);
}
.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-5);
  margin-bottom: 0;
}
.btn-arrow--lg {
  font-size: var(--fs-md);
  padding: var(--sp-3) 0;
  color: var(--text-primary);
}
.btn-arrow--lg:hover { color: var(--accent); }
.btn-arrow--lg svg { width: 16px; height: 16px; }

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual {
  width: 100%;
  max-width: 600px;
  height: auto;
  filter: drop-shadow(0 32px 64px rgba(99, 102, 241, 0.18));
}

/* Mobile: hero visual smaller */
@media (max-width: 899px) {
  .hero__visual { max-width: 480px; margin: 0 auto; }
}

/* === HERO v4 (compact, premium) === */
.hero--v4 {
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(48px, 8vw, 96px);
}
.hero__grid--v4 {
  grid-template-columns: 1fr;
  gap: var(--sp-10);
}
@media (min-width: 900px) {
  .hero__grid--v4 { grid-template-columns: 1.1fr 1fr; gap: var(--sp-10); }
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  margin-bottom: var(--sp-6);
  box-shadow: var(--sh-xs);
}
.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero__title--v4 {
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: var(--ls-tighter);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-5);
}
.hero--v4 .hero__lead {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: var(--sp-6);
}
.hero--v4 .hero__usp-row {
  margin-bottom: var(--sp-8);
  gap: var(--sp-2);
}
.hero--v4 .hero__cta-row {
  margin-bottom: var(--sp-10);
}
.hero__metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-4);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
}
@media (max-width: 600px) {
  .hero__metrics-row { grid-template-columns: 1fr; gap: var(--sp-4); }
}
.hero__metric { display: flex; flex-direction: column; }
.hero__metric strong {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-tight);
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__metric span {
  font-size: var(--fs-2xs);
  color: var(--text-tertiary);
  line-height: 1.4;
}
.hero__visual--v4 {
  position: relative;
}
.hero__visual--v4 img {
  width: 100%;
  max-width: 640px;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(99, 102, 241, 0.16));
}
.hero__visual--v4 .iso-laptop { animation: isoFloat 9s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.hero__visual--v4 .iphone-17pm { animation: phoneFloat 7s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.hero__visual--v4 .float-card-1 { animation: floatCard 6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.hero__visual--v4 .float-card-2 { animation: floatCard 7s ease-in-out infinite; animation-delay: -1s; transform-origin: center; transform-box: fill-box; }
.hero__visual--v4 .float-card-3 { animation: floatCard 8s ease-in-out infinite; animation-delay: -2s; transform-origin: center; transform-box: fill-box; }
.hero__visual--v4 .float-card-4 { animation: floatCard 6.5s ease-in-out infinite; animation-delay: -3s; transform-origin: center; transform-box: fill-box; }
.hero__visual--v4 .float-card-5 { animation: floatCard 5s ease-in-out infinite; animation-delay: -2.5s; transform-origin: center; transform-box: fill-box; }
.hero__visual--v4 .chip-1 { animation: floatCard 4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.hero__visual--v4 .chip-2 { animation: floatCard 4.5s ease-in-out infinite; animation-delay: -1s; transform-origin: center; transform-box: fill-box; }
.hero__visual--v4 .chip-3 { animation: floatCard 5s ease-in-out infinite; animation-delay: -2s; transform-origin: center; transform-box: fill-box; }
.hero__visual--v4 .pulse-live { animation: pulseLive 1.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.hero__visual--v4 .dash-flow { animation: dashMove 1.2s linear infinite; }

@keyframes isoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes phoneFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulseLive { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.4); } }
@keyframes dashMove { to { stroke-dashoffset: -14; } }

/* === Mega menu "Для бизнеса" — premium 3-col === */
.mega-menu--biz {
  width: min(960px, 94vw);
  padding: var(--sp-7) var(--sp-7) var(--sp-5);
}
.mega-menu__head { margin-bottom: var(--sp-5); }
.mega-menu__head-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 6px 0 0;
  line-height: 1.5;
}
.mega-biz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: var(--sp-5);
}
.biz-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 14px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: white;
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--d-base) var(--ease-out);
  overflow: hidden;
}
.biz-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,168,118,0.05) 0%, rgba(99,102,241,0.04) 100%);
  opacity: 0;
  transition: opacity var(--d-base) var(--ease-out);
  pointer-events: none;
}
.biz-card:hover {
  border-color: #C8A876;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(200, 168, 118, 0.18), 0 4px 12px rgba(10, 10, 10, 0.06);
}
.biz-card:hover::before { opacity: 1; }

.biz-card__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: white;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 14px rgba(10, 10, 10, 0.10);
}
.biz-card__icon svg { width: 22px; height: 22px; }
.biz-card__icon--ecom      { background: linear-gradient(135deg, #C8A876 0%, #A8814E 100%); }
.biz-card__icon--delivery  { background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%); }
.biz-card__icon--fintech   { background: linear-gradient(135deg, #10B981 0%, #059669 100%); }
.biz-card__icon--utilities { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); }
.biz-card__icon--health    { background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%); }
.biz-card__icon--media     { background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%); }

.biz-card__body { flex: 1; min-width: 0; position: relative; z-index: 1; }
.biz-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.biz-card__title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.2;
  color: var(--text-primary);
}
.biz-card__count {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-tertiary);
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.biz-card__clients {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.1px;
}
.biz-card__arrow {
  position: absolute;
  top: 14px; right: 12px;
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--d-base) var(--ease-out);
  color: #C8A876;
  z-index: 2;
}
.biz-card__arrow svg { width: 16px; height: 16px; }
.biz-card:hover .biz-card__arrow { opacity: 1; transform: translateX(0); }

/* CTA band at bottom of mega menu */
.mega-menu__cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding: 18px 22px;
  background: linear-gradient(135deg, #0E0E10 0%, #1A1A1D 100%);
  border-radius: 14px;
  color: white;
}
.mega-menu__cta-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -0.2px;
}
.mega-menu__cta-sub {
  font-size: 12.5px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
  max-width: 480px;
}
.mega-menu__cta-band .btn--primary {
  background: linear-gradient(135deg, #C8A876 0%, #A8814E 100%);
  flex-shrink: 0;
}
.mega-menu__cta-band .btn--primary:hover {
  background: #A8814E;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(200, 168, 118, 0.42);
}

@media (max-width: 1024px) {
  .mega-menu--biz { padding: var(--sp-5); }
  .mega-biz-grid { grid-template-columns: 1fr 1fr; }
  .mega-menu__cta-band { flex-direction: column; align-items: flex-start; }
}

/* === Services grid stagger reveal === */
.services-grid--stagger .service-card {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    background var(--d-base) var(--ease-out),
    color var(--d-base) var(--ease-out);
  transition-delay: calc(var(--stagger-i, 0) * 90ms);
}
.services-grid--stagger.is-visible .service-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* Desktop: alternate from-left/from-right by column */
@media (min-width: 1024px) {
  .services-grid--stagger .service-card { transform: translateY(20px) scale(0.985); }
  /* col 1, col 4 — слева */
  .services-grid--stagger .service-card:nth-child(4n+1),
  .services-grid--stagger .service-card:nth-child(4n+4) {
    transform: translateX(-32px) translateY(8px) scale(0.985);
  }
  /* col 2, col 3 — справа */
  .services-grid--stagger .service-card:nth-child(4n+2),
  .services-grid--stagger .service-card:nth-child(4n+3) {
    transform: translateX(32px) translateY(8px) scale(0.985);
  }
  .services-grid--stagger.is-visible .service-card { transform: translate(0,0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .services-grid--stagger .service-card { transition: none; transform: none; opacity: 1; }
}

/* === iPhone 17 Pro Max — PURE CSS Pro frame === */
/* Real device: 440×956 pt, aspect 0.4602. Body bezel ~3.5mm = 1.8% of width.
   Screen radius: 12% of width. Dynamic Island: 27% × 3.5% of frame, top ~1.3%. */
.real-iphone {
  position: relative;
  width: 246px;
  height: 535px;          /* 246 × 956/440 ≈ 535. Was 290×630, scaled -15% */
  margin: 0 auto;
  filter:
    drop-shadow(0 42px 92px rgba(200, 168, 118, 0.22))
    drop-shadow(0 15px 34px rgba(99, 102, 241, 0.16))
    drop-shadow(0 6px 15px rgba(10, 10, 10, 0.32));
  transform: rotateY(-6deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.real-iphone.is-tilting {
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 768px) { .real-iphone { width: 272px; height: 591px; } }
@media (min-width: 1280px) { .real-iphone { width: 289px; height: 628px; } }
@media (max-width: 480px) { .real-iphone { width: 213px; height: 463px; } }
/* Outer titanium body */
.real-iphone__frame {
  position: absolute;
  inset: 0;
  background:
    /* subtle vertical brushing reflection */
    linear-gradient(105deg,
      #6B6B70 0%,
      #2A2A2E 12%,
      #38383C 24%,
      #1A1A1D 38%,
      #2C2C30 52%,
      #1F1F22 66%,
      #3A3A3E 78%,
      #1A1A1D 90%,
      #2A2A2E 100%);
  border-radius: 14%;
  /* Bezel thickness — 1.8% per side = 3.6% total */
  padding: 1.8%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.20),
    inset 0 -1.5px 1.5px rgba(0, 0, 0, 0.50);
}
/* Inner screen */
.real-iphone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0A0A0C;
  border-radius: 11.5%;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.8),
    inset 0 0 12px rgba(0, 0, 0, 0.4);
}
/* Dynamic Island */
.real-iphone__notch {
  position: absolute;
  top: 1.2%;
  left: 50%;
  transform: translateX(-50%);
  width: 27%;
  height: 3.4%;
  background: #050507;
  border-radius: 999px;
  z-index: 5;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.6),
    inset 0 0.5px 0.5px rgba(255, 255, 255, 0.05);
}
/* Camera lens dot inside island */
.real-iphone__notch::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 12%;
  transform: translateY(-50%);
  width: 20%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%,
      #4A4A50 0%,
      #1A1A1F 35%,
      #050507 70%);
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.4);
}
/* Subtle Face ID dot on left of island */
.real-iphone__notch::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 14%;
  transform: translateY(-50%);
  width: 8%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

/* Screenshot slides — fit fully into screen, no crop */
.real-iphone__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  animation: castlyCarousel 21s infinite;
}
.real-iphone__slide:nth-child(1) { animation-delay: 0s; }
.real-iphone__slide:nth-child(2) { animation-delay: 3s; }
.real-iphone__slide:nth-child(3) { animation-delay: 6s; }
.real-iphone__slide:nth-child(4) { animation-delay: 9s; }
.real-iphone__slide:nth-child(5) { animation-delay: 12s; }
.real-iphone__slide:nth-child(6) { animation-delay: 15s; }
.real-iphone__slide:nth-child(7) { animation-delay: 18s; }

@keyframes castlyCarousel {
  0%   { opacity: 0; transform: translateY(12px) scale(1.03); }
  3%   { opacity: 1; transform: translateY(0) scale(1); }
  14.3% { opacity: 1; transform: translateY(0) scale(1); }
  17%  { opacity: 0; transform: translateY(-12px) scale(0.97); }
  100% { opacity: 0; transform: translateY(-12px) scale(0.97); }
}

/* Realistic side buttons */
.real-iphone__btn {
  position: absolute;
  background: linear-gradient(90deg, #3A3A3E 0%, #1A1A1D 50%, #3A3A3E 100%);
  z-index: -1;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.real-iphone__btn--volume-up,
.real-iphone__btn--volume-down,
.real-iphone__btn--mute {
  left: -1.5%;
  width: 1.5%;
  border-radius: 2px 0 0 2px;
}
.real-iphone__btn--mute { top: 16%; height: 4.5%; }
.real-iphone__btn--volume-up { top: 23%; height: 8%; }
.real-iphone__btn--volume-down { top: 33%; height: 8%; }
.real-iphone__btn--power {
  right: -1.5%;
  top: 26%; height: 11%;
  width: 1.5%;
  border-radius: 0 2px 2px 0;
}

/* Iphone-stage container for floating cards */

/* Floating live cards around real-iphone */
.iphone-stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  /* Generous top/bottom padding so drop-shadow + glow fully visible */
  padding: 60px 14% 80px;
  perspective: 2400px;
  perspective-origin: 50% 40%;
}
/* Volumetric studio glow behind phone */
.iphone-stage::before {
  content: '';
  position: absolute;
  top: 8%; left: 0; right: 0; bottom: 8%;
  background:
    radial-gradient(ellipse 60% 50% at 30% 35%, rgba(200, 168, 118, 0.42) 0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 70% 65%, rgba(99, 102, 241, 0.36) 0%, transparent 60%),
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.92;
  animation: glowBreath 8s ease-in-out infinite;
}
@keyframes glowBreath {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50%      { transform: scale(1.06); opacity: 1; }
}
.iphone-stage__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(200, 168, 118, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(99, 102, 241, 0.18) 0%, transparent 55%);
  z-index: 0;
  border-radius: 50%;
  filter: blur(40px);
}
.iphone-stage__phone {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 auto;
}
.float-stage-card {
  position: absolute;
  z-index: 3;
  background: white;
  border: 1px solid rgba(99,102,241,0.12);
  border-radius: 16px;
  padding: 12px 16px;
  font-family: var(--font-body);
  box-shadow: 0 12px 32px rgba(10,10,10,0.10);
  animation: cardFloat 6s ease-in-out infinite;
}
.float-stage-card--app-store {
  top: 10%; left: -8%;
  width: 167px;
  padding: 10px 13px;
  animation-delay: -1s;
}
.float-stage-card--rating {
  top: 38%; right: -10%;
  width: 143px;
  padding: 10px 13px;
  animation-delay: -2s;
}
.float-stage-card--match {
  bottom: 30%; left: -10%;
  width: 156px;
  padding: 10px 13px;
  background: linear-gradient(135deg, #C8A876 0%, #A8814E 100%);
  color: #0E0E10;
  animation-delay: -3s;
}
.float-stage-card--code {
  bottom: 6%; right: -2%;
  width: 187px;
  padding: 10px 13px;
  background: #0A0A0A;
  color: white;
  font-family: var(--font-mono);
  animation-delay: -4s;
}
.float-stage-card .label { font-size: 8.5px; }
.float-stage-card .value { font-size: 16px; }
.float-stage-card .value-small { font-size: 11px; }
.float-stage-card .value-trend { font-size: 9.5px; }
.float-stage-card .label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px;
  color: #8C8C8C; text-transform: uppercase; margin-bottom: 4px;
}
.float-stage-card--match .label { color: rgba(14,14,16,0.65); }
.float-stage-card .value {
  font-size: 18px; font-weight: 800; letter-spacing: -0.4px;
  color: #0A0A0A;
}
.float-stage-card--match .value { color: #0E0E10; }
.float-stage-card .value-small {
  font-size: 13px; font-weight: 700;
  color: #0A0A0A; line-height: 1.3;
}
.float-stage-card .value-trend {
  font-size: 11px; font-weight: 600;
  color: #10B981; font-family: var(--font-mono);
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

/* Hide on small mobiles for cleanness */
@media (max-width: 700px) {
  .float-stage-card { display: none; }
  .iphone-stage__phone { height: 100%; }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-8px) translateX(2px); }
}
@keyframes blobMorph {
  0%, 100% { transform: scale(1) rotate(0deg); }
  33% { transform: scale(1.02) rotate(2deg); }
  66% { transform: scale(0.99) rotate(-1deg); }
}

/* ============= STATS PRO (premium 2026 — light variant) ============= */
.stats-pro {
  position: relative;
  padding: clamp(72px, 10vw, 140px) 0;
  background: #FAFAF8;
  color: #0A0A0C;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid rgba(10, 10, 16, 0.06);
  border-bottom: 1px solid rgba(10, 10, 16, 0.06);
}
/* Background: subtle gold mist + dot grid (light) */
.stats-pro__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.stats-pro__bg::before {
  content: '';
  position: absolute;
  top: -20%; right: -25%;
  width: 80%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(232, 184, 95, 0.18) 0%, transparent 60%);
  filter: blur(50px);
}
.stats-pro__bg::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -20%;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(200, 168, 118, 0.10) 0%, transparent 60%);
  filter: blur(50px);
}
.stats-pro__grain {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(10, 10, 16, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  opacity: 0.6;
}
.stats-pro .container { position: relative; z-index: 1; }

/* === Header === */
.stats-pro__head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.stats-pro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
  color: #8C7A52;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid rgba(200, 168, 118, 0.42);
  border-radius: 999px;
  background: rgba(232, 184, 95, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.stats-pro__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #C8A876;
  box-shadow: 0 0 10px rgba(229, 200, 150, 0.85);
  animation: statsProPulse 1.8s ease-in-out infinite;
}
@keyframes statsProPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}
.stats-pro__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 5.4vw, 56px);
  font-weight: 200;
  letter-spacing: -1.8px;
  line-height: 1.05;
  color: #0A0A0C;
}
.stats-pro__title em {
  font-style: normal;
  font-weight: 300;
  background: linear-gradient(135deg, #E5C896 0%, #C8A876 50%, #8C7A52 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* === Grid === */
.stats-pro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 540px) { .stats-pro__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1024px) { .stats-pro__grid { grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(10, 10, 16, 0.08); border-bottom: 1px solid rgba(10, 10, 16, 0.08); } }

/* === Single stat plate (light) === */
.stat-pro {
  position: relative;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 32px);
  border: 1px solid rgba(10, 10, 16, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  transition: border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
  transform: translateY(28px);
  transition-property: opacity, transform, border-color, background, box-shadow;
  transition-duration: 0.9s, 0.9s, 0.5s, 0.5s, 0.5s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 0.12s);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
[data-stats-pro].is-visible .stat-pro {
  opacity: 1;
  transform: translateY(0);
}
.stat-pro:hover {
  border-color: rgba(200, 168, 118, 0.55);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px -12px rgba(232, 184, 95, 0.20), 0 6px 14px -4px rgba(10, 10, 16, 0.06);
}

/* On desktop: borderless plates with vertical dividers */
@media (min-width: 1024px) {
  .stat-pro {
    border: none;
    border-right: 1px solid rgba(10, 10, 16, 0.08);
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    padding: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 40px);
  }
  .stat-pro:last-child { border-right: none; }
  .stat-pro:hover {
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(200, 168, 118, 0.55);
    box-shadow: 0 18px 44px -12px rgba(232, 184, 95, 0.18);
  }
}

/* Hover sheen sweep */
.stat-pro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    transparent 30%,
    rgba(232, 184, 95, 0.18) 50%,
    transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.stat-pro:hover::before { transform: translateX(100%); }

.stat-pro__index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: rgba(10, 10, 16, 0.32);
  margin-bottom: 16px;
}
.stat-pro--accent .stat-pro__index { color: #8C7A52; }

/* The huge LIGHT-weight number */
.stat-pro__num {
  font-family: var(--font-display);
  font-size: clamp(56px, 9.5vw, 96px);
  font-weight: 200;
  line-height: 0.95;
  letter-spacing: -3.4px;
  color: #0A0A0C;
  margin-bottom: 18px;
}
.stat-pro--accent .stat-pro__num {
  background: linear-gradient(135deg, #C8A876 0%, #A8814E 50%, #6F5630 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(200, 168, 118, 0.30));
}

/* Gold underline (animated draw) */
.stat-pro__line {
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, #C8A876 0%, #6F5630 100%);
  border-radius: 2px;
  margin-bottom: 14px;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i, 0) * 0.12s + 0.4s);
  box-shadow: 0 0 10px rgba(200, 168, 118, 0.45);
}
[data-stats-pro].is-visible .stat-pro__line { transform: scaleX(1); }
.stat-pro:hover .stat-pro__line { width: 56px; transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1); }

.stat-pro__label {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.1px;
  color: #0A0A0C;
  line-height: 1.35;
}
.stat-pro__sub {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05px;
  color: rgba(10, 10, 16, 0.50);
  line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
  .stat-pro, .stat-pro__line { transition: none !important; opacity: 1; transform: none; }
}

/* ============= MARQUEE ============= */
.marquee {
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  overflow: hidden;
  position: relative;
}
.marquee__label {
  text-align: center;
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--text-tertiary);
  margin-bottom: var(--sp-8);
}
.marquee__track {
  display: flex;
  gap: clamp(40px, 6vw, 80px);
  animation: marquee var(--d-marquee) linear infinite;
  width: max-content;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  flex-shrink: 0;
  height: 32px;
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: var(--fw-bold);
  color: var(--text-tertiary);
  letter-spacing: var(--ls-tight);
  opacity: 0.7;
  transition: opacity var(--d-fast);
}
.marquee__item:hover { opacity: 1; color: var(--text-primary); }
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 1;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--bg-soft) 0%, transparent 100%); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--bg-soft) 0%, transparent 100%); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============= SERVICES GRID ============= */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--border);
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  background: white;
  text-decoration: none;
  color: var(--text-primary);
  min-height: 320px;
  transition: background var(--d-base) var(--ease-out);
}
.service-card:hover { background: var(--bg-soft); color: var(--text-primary); }
.service-card__icon {
  width: 64px; height: 64px;
  margin-bottom: var(--sp-8);
  color: var(--text-primary);
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--sp-3);
  line-height: 1.2;
}
.service-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: var(--sp-6);
  flex: 1;
}
.service-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
}
.service-card__price { font-family: var(--font-mono); font-weight: var(--fw-medium); }
.service-card__arrow {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  background: var(--text-primary);
  color: white;
  transition: all var(--d-base) var(--ease-out);
  transform: translateX(0);
}
.service-card__arrow svg { width: 14px; height: 14px; }
.service-card:hover .service-card__arrow {
  background: var(--accent);
  transform: translateX(4px);
}

/* ============= CASE CARDS ============= */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 768px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cases-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); } }

.case-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--d-base) var(--ease-out);
}
.case-card:hover {
  border-color: var(--text-primary);
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  color: var(--text-primary);
}
.case-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--grad-mesh), var(--bg-soft);
  overflow: hidden;
}
.case-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--d-slow) var(--ease-out);
}
.case-card:hover .case-card__media img { transform: scale(1.04); }

.case-card__tag {
  position: absolute;
  top: var(--sp-4); left: var(--sp-4);
  padding: var(--sp-1) var(--sp-3);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--r-full);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--text-primary);
}

.case-card__body {
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.case-card__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--sp-3);
  line-height: 1.2;
}
.case-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: var(--sp-6);
  flex: 1;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--border);
  margin-bottom: var(--sp-5);
}
.case-metric__num {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-tight);
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--sp-1);
}
.case-metric__label {
  font-size: var(--fs-2xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
}

.case-card__platforms {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
}
.platform-chip svg { width: 12px; height: 12px; }

/* === Premium portfolio cards (real photos from legacy) === */
.cases-grid--premium {
  gap: var(--sp-6);
}
@media (min-width: 768px) { .cases-grid--premium { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .cases-grid--premium { grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); } }

.case-card--premium {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color var(--d-base) var(--ease-out),
    box-shadow var(--d-base) var(--ease-out);
  transition-delay: calc(var(--stagger-i, 0) * 70ms);
}
[data-reveal].is-visible .case-card--premium {
  opacity: 1;
  transform: translateY(0);
}
.case-card--premium:hover {
  border-color: transparent;
  box-shadow: 0 24px 56px rgba(10, 10, 10, 0.10), 0 4px 12px rgba(10,10,10,0.06);
  transform: translateY(-6px);
}
.case-card--premium .case-card__media {
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, #F8F7F4 0%, #EFEEE9 100%);
}
.case-card--premium .case-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 50%, rgba(10,10,10,0.18) 100%);
  pointer-events: none;
  z-index: 1;
}
.case-card--premium .case-card__tag {
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.8px;
  background: rgba(10,10,10,0.85);
  color: white;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.12);
}
.case-card--premium .case-card__body {
  padding: 22px 22px 24px;
}
.case-card--premium .case-card__title {
  font-size: 18px;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
  line-height: 1.25;
}
.case-card--premium .case-card__title span {
  font-weight: 500;
  color: var(--text-tertiary);
  font-size: 13px;
  letter-spacing: 0.1px;
  display: block;
  margin-top: 2px;
}
.case-card--premium .case-card__desc {
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 16px;
  color: var(--text-secondary);
  /* Limit to 3 lines for symmetry */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-card--premium .case-metrics {
  padding: 12px 0 14px;
  margin-bottom: 14px;
  gap: 12px;
}
.case-card--premium .case-metric__num { font-size: 18px; }
.case-card--premium .case-metric__label { font-size: 9px; }
.case-card--premium .case-card__platforms { gap: 6px; }
.case-card--premium .platform-chip {
  font-size: 10px;
  padding: 4px 9px;
  letter-spacing: 0.3px;
}

/* CTA arrow when hover */
.case-card--premium::after {
  content: '↗';
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  font-size: 17px;
  color: var(--text-primary);
  z-index: 2;
  opacity: 0;
  transform: translateY(-4px) scale(0.9);
  transition: all var(--d-base) var(--ease-out);
}
.case-card--premium:hover::after {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .case-card--premium { opacity: 1; transform: none; transition: none; }
}

/* ============= PROCESS ZIGZAG ============= */
.process {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 96px);
}
.process-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (min-width: 1024px) {
  .process-step { grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
  .process-step:nth-child(even) .process-step__content { order: 2; }
  .process-step:nth-child(even) .process-step__visual { order: 1; }
}
.process-step__visual {
  position: relative;
  aspect-ratio: 5 / 4;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.process-step__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-mesh);
  opacity: 0.5;
}
.process-step__num {
  position: absolute;
  top: var(--sp-6); left: var(--sp-6);
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 160px);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-tightest);
  color: var(--accent);
  line-height: 0.9;
  opacity: 0.18;
  pointer-events: none;
}
.process-step__icon {
  position: relative;
  width: clamp(80px, 10vw, 140px);
  height: clamp(80px, 10vw, 140px);
  color: var(--text-primary);
}
.process-step__icon svg { width: 100%; height: 100%; }

.process-step__content { padding: var(--sp-4) 0; }
.process-step__index {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.process-step__title {
  font-size: clamp(28px, 3vw, 49px);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-tighter);
  line-height: 1.05;
  margin-bottom: var(--sp-5);
}
.process-step__desc {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: var(--sp-6);
  max-width: 50ch;
}
.process-step__deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.deliverable-chip {
  padding: var(--sp-2) var(--sp-4);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

/* ============= TECH STACK GRID ============= */
.tech-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}
@media (min-width: 768px) { .tech-stack { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .tech-stack { grid-template-columns: repeat(4, 1fr); gap: var(--sp-8); } }

.tech-category__title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--accent);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
}
.tech-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.tech-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  transition: all var(--d-fast);
}
.tech-item:hover { background: var(--bg-soft); color: var(--text-primary); }
.tech-item__logo {
  width: 22px; height: 22px;
  flex-shrink: 0;
  filter: grayscale(1) opacity(0.7);
  transition: filter var(--d-fast);
}
.tech-item:hover .tech-item__logo { filter: grayscale(0) opacity(1); }

/* ============= TESTIMONIALS ============= */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  position: relative;
}
.testimonial__quote-mark {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: var(--sp-4);
  font-weight: var(--fw-extrabold);
}
.testimonial__quote {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--text-primary);
  margin-bottom: var(--sp-8);
  flex: 1;
}
.testimonial__rating {
  display: inline-flex;
  gap: 2px;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}
.testimonial__rating svg { width: 16px; height: 16px; }
.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
}
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  background: var(--bg-soft);
  flex-shrink: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  font-size: var(--fs-sm);
}
.testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial__name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
}
.testimonial__role {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
}

/* ============= FAQ PREMIUM ============= */
.faq {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding: clamp(20px, 2vw, 32px) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tight);
  color: var(--text-primary);
  transition: color var(--d-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  transition: all var(--d-base);
}
.faq-item__icon::before, .faq-item__icon::after {
  content: '';
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--d-base);
}
.faq-item__icon::before { width: 12px; height: 1.5px; }
.faq-item__icon::after { width: 1.5px; height: 12px; position: absolute; }
.faq-item[open] .faq-item__icon { background: var(--text-primary); color: white; border-color: var(--text-primary); }
.faq-item[open] .faq-item__icon::after { transform: scaleY(0); }
.faq-item__body {
  padding: 0 0 var(--sp-8);
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 78ch;
}

/* ============= PRICING ============= */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.price-card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 48px);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  position: relative;
  transition: all var(--d-base);
}
.price-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.price-card--popular {
  border: 1.5px solid var(--text-primary);
  background: var(--text-primary);
  color: white;
}
.price-card--popular .price-card__price { color: white; }
.price-card--popular .price-card__desc { color: var(--text-on-dark-2); }
.price-card--popular .price-card__features li { color: white; }
.price-card--popular .price-card__features li::before { background: var(--accent); }
.price-card__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: var(--sp-1) var(--sp-4);
  background: var(--accent);
  color: white;
  border-radius: var(--r-full);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
}
.price-card__name {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--text-tertiary);
  margin-bottom: var(--sp-3);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  font-size: var(--fs-2xs);
}
.price-card--popular .price-card__name { color: var(--text-on-dark-2); }
.price-card__price {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 49px);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-tighter);
  line-height: 1;
  margin-bottom: var(--sp-3);
  color: var(--text-primary);
}
.price-card__price-suffix { font-size: var(--fs-md); font-weight: var(--fw-medium); color: var(--text-tertiary); }
.price-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--sp-8);
}
.price-card__features {
  list-style: none;
  margin: 0 0 var(--sp-8);
  flex: 1;
}
.price-card__features li {
  position: relative;
  padding-left: var(--sp-7);
  margin-bottom: var(--sp-3);
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--text-primary);
}
.price-card__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 10px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1 5L6 9L15 1' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1 5L6 9L15 1' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ============= CITIES PILLS ============= */
.cities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
}
.city-pill {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-3) var(--sp-5);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--d-fast);
}
.city-pill:hover {
  background: var(--text-primary);
  color: white;
  border-color: var(--text-primary);
  transform: translateY(-1px);
}
.city-pill--featured {
  background: var(--text-primary);
  color: white;
  border-color: var(--text-primary);
  font-weight: var(--fw-semibold);
}
.city-pill--featured:hover { background: var(--accent); border-color: var(--accent); }
.city-pill--intl {
  background: var(--accent-tint);
  color: var(--accent);
  border-color: transparent;
}

/* ============= BREADCRUMBS ============= */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  margin-bottom: var(--sp-8);
}
.breadcrumbs a { color: var(--text-tertiary); transition: color var(--d-fast); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs__sep { color: var(--text-quaternary); }

/* ============= CTA BAND ============= */
.cta-band {
  position: relative;
  padding: clamp(64px, 10vw, 128px) 0;
  background: var(--bg-dark);
  color: white;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-dark-mesh);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: grid;
  gap: var(--sp-10);
  align-items: center;
}
@media (min-width: 1024px) {
  .cta-band__inner { grid-template-columns: 1.5fr 1fr; gap: var(--sp-16); }
}
.cta-band__title {
  font-size: clamp(36px, 5vw, 65px);
  font-weight: var(--fw-extrabold);
  line-height: 1.0;
  letter-spacing: var(--ls-tighter);
  color: white;
  margin-bottom: var(--sp-6);
}
.cta-band__sub {
  font-size: var(--fs-md);
  color: var(--text-on-dark-2);
  line-height: 1.55;
  max-width: 56ch;
  margin-bottom: var(--sp-8);
}
.cta-band__form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-2xl);
  padding: clamp(28px, 3vw, 40px);
  backdrop-filter: blur(8px);
}

/* ============= FORM ============= */
.form-row {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.form-row__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--text-on-dark-2);
}
.form-row input,
.form-row textarea {
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.04);
  color: white;
  font-size: var(--fs-base);
  transition: all var(--d-fast);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--text-on-dark-3); }
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(99,102,241,0.08);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-legal {
  font-size: var(--fs-2xs);
  color: var(--text-on-dark-3);
  text-align: center;
  margin-top: var(--sp-4);
}
.form-legal a { color: var(--accent); }

/* ============= TAGS / CHIPS ============= */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  background: var(--bg-soft);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.chip--accent { background: var(--accent-tint); color: var(--accent); border-color: transparent; }
.chip--dark { background: var(--text-primary); color: white; border-color: var(--text-primary); }

/* ============= LONGREAD ============= */
.longread { max-width: var(--reading-max); }
.longread h2 { margin: clamp(48px, 6vw, 80px) 0 var(--sp-6); font-size: clamp(28px, 3.5vw, 49px); }
.longread h3 { margin: clamp(32px, 4vw, 48px) 0 var(--sp-5); font-size: clamp(21px, 2.5vw, 28px); }
.longread p { font-size: var(--fs-md); line-height: 1.7; color: var(--text-primary); margin-bottom: var(--sp-5); }
.longread ul, .longread ol { margin: var(--sp-5) 0; padding-left: var(--sp-7); }
.longread ul li, .longread ol li { font-size: var(--fs-md); line-height: 1.7; color: var(--text-primary); margin-bottom: var(--sp-2); }
.longread strong { font-weight: var(--fw-semibold); color: var(--text-primary); }
.longread blockquote {
  border-left: 3px solid var(--accent);
  padding-left: var(--sp-6);
  margin: var(--sp-8) 0;
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.55;
}
.longread code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: var(--r-xs);
  color: var(--text-primary);
}

/* ============= INDUSTRIES GRID ============= */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--border);
}
@media (min-width: 768px) { .industries-grid { grid-template-columns: repeat(4, 1fr); } }
.industry-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-8);
  background: white;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  transition: background var(--d-fast);
}
.industry-item:hover { background: var(--accent-tint); }
.industry-item__icon {
  font-size: var(--fs-xl);
  color: var(--accent);
}

/* ============= PHILOSOPHY / WHY US ============= */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-10); } }
.why-card {
  padding-top: var(--sp-6);
  border-top: 1px solid var(--text-primary);
}
.why-card__index {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--accent);
  margin-bottom: var(--sp-5);
}
.why-card__title {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  line-height: 1.15;
  margin-bottom: var(--sp-4);
}
.why-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============= SCROLL PROGRESS ============= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  z-index: var(--z-toast);
  transition: width 60ms linear;
}

/* ============= LEAD MODAL ============= */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.45s;
}
.lead-modal[hidden] {
  display: flex; /* keep flex so transitions work */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
body.is-lead-open .lead-modal,
.lead-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
body.is-lead-open .lead-modal__backdrop,
.lead-modal.is-open .lead-modal__backdrop { opacity: 1; }
.lead-modal__panel {
  position: relative;
  background: white;
  width: 100%;
  max-width: 420px;
  border-radius: 22px 22px 0 0;
  padding: 22px 22px 18px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 -10px 60px -10px rgba(10, 10, 16, 0.30);
  transform: translateY(100%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
body.is-lead-open .lead-modal__panel,
.lead-modal.is-open .lead-modal__panel {
  transform: translateY(0);
}
@media (min-width: 700px) {
  .lead-modal { align-items: center; }
  .lead-modal__panel {
    border-radius: 22px;
    max-height: 86vh;
    padding: 26px 26px 22px;
    transform: translateY(40px) scale(0.96);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s;
    opacity: 0;
  }
  body.is-lead-open .lead-modal__panel,
  .lead-modal.is-open .lead-modal__panel {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.lead-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(10, 10, 16, 0.05);
  color: rgba(10, 10, 16, 0.55);
  display: grid; place-items: center;
  transition: all 0.22s ease-out;
  border: none;
  cursor: pointer;
}
.lead-modal__close:hover { background: #0A0A0C; color: white; transform: scale(1.05); }
.lead-modal__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.6px;
  margin-bottom: 6px;
  line-height: 1.15;
  color: #0A0A0C;
}
.lead-modal__sub { font-size: 13px; color: rgba(10, 10, 16, 0.55); margin-bottom: 18px; line-height: 1.45; }

/* Premium pill (gold, compact) */
.lead-modal__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  background: rgba(232, 184, 95, 0.08);
  color: #8C7A52;
  border: 1px solid rgba(229, 200, 150, 0.42);
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  margin-bottom: 12px;
}
.lead-modal__pill-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #C8A876;
  box-shadow: 0 0 8px rgba(200, 168, 118, 0.85);
  animation: pulse 2s ease-in-out infinite;
}
.lead-modal__head { margin-bottom: 6px; }

/* Form fields — compact premium */
.lead-field {
  display: block;
  position: relative;
  margin-bottom: 10px;
}
.lead-field__label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(10, 10, 16, 0.55);
  text-transform: uppercase;
  margin-bottom: 5px;
}
.lead-field__opt { font-weight: 500; color: rgba(10, 10, 16, 0.35); text-transform: none; letter-spacing: 0; }
.lead-field input,
.lead-field textarea {
  width: 100%;
  padding: 11px 13px;
  background: rgba(10, 10, 16, 0.03);
  border: 1px solid rgba(10, 10, 16, 0.10);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: #0A0A0C;
  transition: all 0.22s ease-out;
  resize: vertical;
}
.lead-field input::placeholder,
.lead-field textarea::placeholder { color: rgba(10, 10, 16, 0.30); }
.lead-field input:focus,
.lead-field textarea:focus {
  outline: none;
  border-color: #C8A876;
  background: white;
  box-shadow: 0 0 0 3px rgba(232, 184, 95, 0.16);
}

/* Captcha — compact, gold-accent */
.lead-captcha {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px 8px 10px;
  border: 1px solid rgba(10, 10, 16, 0.10);
  border-radius: 999px;
  cursor: pointer;
  margin: 6px 0 14px;
  transition: all 0.22s ease-out;
  background: rgba(10, 10, 16, 0.02);
}
.lead-captcha:hover { border-color: rgba(229, 200, 150, 0.55); background: rgba(232, 184, 95, 0.05); }
.lead-captcha input { position: absolute; opacity: 0; pointer-events: none; }
.lead-captcha__box {
  width: 18px; height: 18px;
  border-radius: 5px;
  border: 1.5px solid rgba(10, 10, 16, 0.20);
  background: white;
  display: grid; place-items: center;
  color: white;
  flex-shrink: 0;
  transition: all 0.22s ease-out;
}
.lead-captcha__box svg { opacity: 0; transform: scale(0.5); transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.lead-captcha input:checked + .lead-captcha__box {
  background: linear-gradient(135deg, #C8A876, #8C7A52);
  border-color: #8C7A52;
}
.lead-captcha input:checked + .lead-captcha__box svg { opacity: 1; transform: scale(1); }
.lead-captcha__label {
  font-size: 12.5px;
  font-weight: 600;
  color: #0A0A0C;
}

/* Compact submit — small, dark, gold sheen */
.lead-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: 44px;
  background: #0A0A0C;
  color: white;
  border: none;
  border-radius: 11px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.1px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 22px -6px rgba(10, 10, 16, 0.40);
  transition: transform 0.18s ease-out;
}
.lead-form__submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(232, 184, 95, 0.32) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.lead-form__submit:hover::before { transform: translateX(100%); }
.lead-form__submit:active { transform: scale(0.98); }
.lead-form__submit svg { transition: transform 0.3s; }
.lead-form__submit:active svg { transform: translateX(2px); }

/* OR divider */
.lead-modal__or {
  position: relative;
  text-align: center;
  margin: 16px 0 12px;
}
.lead-modal__or::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: rgba(10, 10, 16, 0.08);
}
.lead-modal__or span {
  position: relative;
  background: white;
  padding: 0 12px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(10, 10, 16, 0.40);
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

/* Social row — gold compact circles */
.lead-modal__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}
.lead-modal__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(229, 200, 150, 0.32);
  background: rgba(232, 184, 95, 0.06);
  color: #C8A876;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.lead-modal__social-btn:hover {
  transform: translateY(-2px);
  background: rgba(232, 184, 95, 0.18);
  border-color: rgba(229, 200, 150, 0.55);
  color: #8C7A52;
  box-shadow: 0 8px 18px -4px rgba(200, 168, 118, 0.40);
}

.lead-modal__legal {
  font-size: 10.5px;
  color: rgba(10, 10, 16, 0.40);
  text-align: center;
  margin: 4px 0 0;
  line-height: 1.5;
}
.lead-modal__legal a { color: #8C7A52; text-decoration: none; border-bottom: 1px dotted currentColor; }

/* Success state */
.lead-form__success { text-align: center; padding: 24px 0 8px; }
.lead-form__success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C8A876, #8C7A52);
  margin: 0 auto 14px;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px -6px rgba(200, 168, 118, 0.40);
}
.lead-form__success h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 0 0 6px;
  color: #0A0A0C;
}
.lead-form__success p { color: rgba(10, 10, 16, 0.55); font-size: 13px; margin: 0; }

/* ============= AUTHOR / PERSON ============= */
.author-card {
  display: flex;
  gap: var(--sp-6);
  padding: clamp(24px, 3vw, 40px);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  align-items: center;
}
.author-card__photo {
  width: 80px; height: 80px;
  border-radius: var(--r-full);
  background: var(--bg-soft);
  flex-shrink: 0;
  overflow: hidden;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}
.author-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.author-card__role {
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--accent);
  margin-bottom: var(--sp-2);
}
.author-card__name {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--sp-2);
}
.author-card__bio { font-size: var(--fs-sm); color: var(--text-secondary); line-height: 1.55; }

/* ============= MEDIA / FORBES MENTION ============= */
.media-mentions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  align-items: center;
  justify-content: center;
}
.media-mention {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-6);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  font-size: var(--fs-sm);
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--d-base);
}
.media-mention:hover { border-color: var(--text-primary); transform: translateY(-2px); }
.media-mention__brand { font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); }
.media-mention__quote { color: var(--text-secondary); font-style: italic; }

/* ============= UTILITIES ============= */
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: initial; } .hide-desktop { display: none; } }
.text-center { text-align: center; }
.flex { display: flex; gap: var(--sp-3); }
.flex-wrap { flex-wrap: wrap; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.mt-auto { margin-top: auto; }
.opacity-60 { opacity: 0.6; }
.no-wrap { white-space: nowrap; }

/* === About Link Block (internal SEO links to /o-kompanii from service+city pages) === */
.about-link-block { padding: clamp(40px, 6vw, 72px) 0; }
.about-link {
  position: relative;
  padding: 36px 40px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.06) 0%, rgba(212, 175, 55, 0.02) 100%);
  border-radius: 18px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.about-link:hover { border-color: rgba(212, 175, 55, 0.48); box-shadow: 0 24px 60px -20px rgba(212, 175, 55, 0.18); }
.about-link__lead { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55; color: var(--text-primary); margin: 0; flex: 1; min-width: 280px; }
.about-link__lead a { color: #B8932E; text-decoration: none; border-bottom: 1px dashed rgba(184, 147, 46, 0.35); transition: border-color 0.3s ease; }
.about-link__lead a:hover { border-bottom-color: #B8932E; }
.about-link__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 99px;
  background: linear-gradient(135deg, #D4AF37, #B8932E);
  color: #0A0A0C; font-weight: 500; font-size: 14px; letter-spacing: 0.01em;
  text-decoration: none; flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px -10px rgba(212, 175, 55, 0.45);
}
.about-link__cta:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -12px rgba(212, 175, 55, 0.6); }
@media (max-width: 680px) {
  .about-link { padding: 24px 22px; flex-direction: column; align-items: stretch; text-align: left; }
  .about-link__cta { align-self: flex-start; }
}
