/* =========================================================
   zPROx.AI — v5 Alternating dark/light/red theme
   ========================================================= */

:root {
  --red-primary: #E63946;
  --red-deep: #CE1A30;
  --red-glow: #FF1F3A;
  --red-soft: #FF4D5F;
  --pink-tint: #FCE7E9;
  --pink-tint-soft: #FEF1F2;

  --dark-bg: #08080B;
  --dark-card: #14141B;
  --dark-text: #FFFFFF;
  --dark-text-body: rgba(255, 255, 255, 0.72);
  --dark-text-muted: rgba(255, 255, 255, 0.5);
  --dark-border: rgba(255, 255, 255, 0.08);

  --light-bg: #FFFFFF;
  --light-bg-2: #F7F7F9;
  --light-text: #0E0E13;
  --light-text-body: #555560;
  --light-text-muted: #8a8a95;
  --light-border: rgba(14, 14, 19, 0.08);
  --light-border-strong: rgba(14, 14, 19, 0.14);

  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter Tight', -apple-system, sans-serif;
  background: var(--dark-bg);
  color: var(--dark-text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
ul {
    padding-left: 0rem !important;
}
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--red-primary); color: #fff; }

.display, h1, h2, h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); }

.founders{
  text-align: center;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
section { position: relative; padding: 6.5rem 0; overflow: hidden; }
section.pinned-section { overflow: visible; }
@media (max-width: 768px) { section { padding: 4rem 0; } }

/* =========================================================
   THEME SECTIONS — dark / light / red alternating
   ========================================================= */
.theme-dark { background: var(--dark-bg); color: var(--dark-text-body); }
.theme-dark h1, .theme-dark h2, .theme-dark h3 { color: var(--dark-text); }
.theme-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(230, 57, 70, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(206, 26, 48, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.theme-dark > .container { position: relative; z-index: 2; }

.theme-light { background: var(--light-bg); color: var(--light-text-body); }
.theme-light h1, .theme-light h2, .theme-light h3 { color: var(--light-text); }

.theme-light-2 { background: var(--light-bg-2); color: var(--light-text-body); }
.theme-light-2 h1, .theme-light-2 h2, .theme-light-2 h3 { color: var(--light-text); }

.theme-red {
  background: linear-gradient(135deg, #15040A 0%, #1F0610 100%);
  color: rgba(255, 255, 255, 0.85);
  position: relative;
}
.theme-red::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 25% 30%, rgba(230, 57, 70, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(206, 26, 48, 0.3) 0%, transparent 60%);
  pointer-events: none;
}
.theme-red h1, .theme-red h2, .theme-red h3 { color: #fff; }
.theme-red > .container { position: relative; z-index: 2; }

/* =========================================================
   EYEBROW
   ========================================================= */
.hero-eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}



.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.4rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  clip-path: polygon(16px 0%, 100% 0%, calc(100% - 16px) 100%, 0% 100%);
  background: rgba(255, 255, 255, 0.05);
}

.theme-light .eyebrow,
.theme-light-2 .eyebrow {
  color: rgba(0, 0, 0, 0.8);
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.15);
}

.eyebrow-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--red-primary);
  flex-shrink: 0;
}

.eyebrow-arrow.right {
  border-left: 7px solid var(--red-primary);
  opacity: 0.4;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.btn-primary {
  background: var(--red-primary);
  color: #fff;
  box-shadow: 0 14px 36px -10px rgba(230, 57, 70, 0.5);
  border: var(--red-primary);
}

.theme-dark .btn-ghost,
.theme-red .btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.theme-dark .btn-ghost:hover,
.theme-red .btn-ghost:hover {
  border-color: var(--red-primary);
  background: rgba(230, 57, 70, 0.1);
  transform: translateY(-2px);
}
.theme-light .btn-ghost,
.theme-light-2 .btn-ghost {
  background: transparent;
  color: var(--light-text);
  border: 1px solid var(--light-border-strong);
}
.theme-light .btn-ghost:hover,
.theme-light-2 .btn-ghost:hover {
  border-color: var(--light-text);
  background: var(--light-bg-2);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.45);
}
.btn-whatsapp:hover { background: #1DA851!important; border:transparent!important;transform: translateY(-2px); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* =========================================================
   HEADER - always dark blur
   ========================================================= */
.header {
  position: fixed;
 
  top: 0; left: 0; right: 0;
  padding: 0.85rem 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(8, 8, 11, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: padding 0.3s var(--ease), background 0.3s ease;
}
.header.scrolled {
  padding: 0.7rem 0;
  background: rgba(8, 8, 11, 0.92);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { height: 70px !important; transition: height 0.3s var(--ease); }
.header.scrolled .logo { height: 60px !important }
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  font-weight: 500;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 1px; width: 0;
  background: var(--red-primary);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  position: relative;
}
.menu-btn span {
  position: absolute;
  left: 50%; top: 50%;
  width: 16px; height: 1.5px;
  background: #fff;
  transition: transform 0.3s var(--ease);
}
.menu-btn span:nth-child(1) { transform: translate(-50%, calc(-50% - 4px)); }
.menu-btn span:nth-child(2) { transform: translate(-50%, calc(-50% + 4px)); }
.menu-btn.open span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.menu-btn.open span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after {
  width: 100%;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(8, 8, 11, 0.96);
    backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 1.4rem;
  }
  .header-cta { display: none; }
}




/* =========================================================
   HERO - DARK CINEMATIC
   ========================================================= */
.hero {
  min-height: 100vh;
  padding: 9rem 0 4rem;
  display: flex;
  align-items: center;
  background: var(--dark-bg);
  color: var(--dark-text-body);
  position: relative;
}
.hero h1, .hero h2, .hero h3 { color: var(--dark-text); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(230, 57, 70, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(206, 26, 48, 0.15) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 3rem; } }

.hero-title {
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--dark-text);
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--red-glow) 0%, var(--red-soft) 50%, var(--red-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}
.hero-title .underline-svg {
  position: absolute;
  left: 0; right: 0;
  bottom: -10px;
  width: 100%;
  height: 16px;
}
.hero-title .underline-svg path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw-line 1.6s 0.9s var(--ease) forwards;
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }

/* Word-by-word reveal for hero title */
.split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(-30deg);
  transform-origin: bottom;
  animation: word-up 0.9s var(--ease) forwards;
}
@keyframes word-up {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

.hero-cta-inline {
  margin-top: 1.8rem;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.9s 0.6s var(--ease) forwards;
}
.hero-sub {
  margin-top: 1.8rem;
  font-size: 1.05rem;
  color: var(--dark-text-body);
  max-width: 560px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.9s 0.8s var(--ease) forwards;
}
.hl {
  background: linear-gradient(180deg, transparent 60%, rgba(230, 57, 70, 0.4) 60%, rgba(230, 57, 70, 0.4) 95%, transparent 95%);
  color: #fff;
  font-weight: 600;
  padding: 0 2px;
}
.hero-list {
  margin-top: 1.8rem;
  display: grid;
  gap: 0.7rem;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.9s 1s var(--ease) forwards;
}
.hero-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.98rem;
  color: var(--dark-text-body);
}
.hero-list .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid var(--red-primary);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hero-list .check svg { width: 11px; height: 11px; stroke: var(--red-primary); }
.hero-ctas {
  margin-top: 2.4rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.9s 1.2s var(--ease) forwards;
}
.hero-eyebrow {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.9s 0.1s var(--ease) forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin-left: auto;
  display: grid;
  place-items: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 31, 58, 0.2) 0%, transparent 70%);
  z-index: 0;
}
.orbit-stage { position: absolute; inset: 0; display: grid; place-items: center; }
.orbit {
  position: absolute;
  border: 1px solid rgba(230, 57, 70, 0.35);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.orbit-1 { width: 96%; height: 96%; }
.orbit-2 { width: 70%; height: 70%; border-style: dashed; border-color: rgba(230, 57, 70, 0.22); }
.orbit-3 { width: 48%; height: 48%; border-color: rgba(255, 31, 58, 0.55); }
.orbit-spin-1 { animation: spin 28s linear infinite; }
.orbit-spin-2 { animation: spin 22s linear infinite reverse; }
.orbit-spin-3 { animation: spin 16s linear infinite; }
@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.orbit-node {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--red-primary);
  box-shadow: 0 0 16px var(--red-glow);
  top: 50%; left: 50%;
}
.orbit-node.small { width: 6px; height: 6px; background: #fff; box-shadow: 0 0 8px #fff; }
.hex-core {
  position: relative;
  width: 36%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  z-index: 3;
}
.hex-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255, 31, 58, 0.55) 0%, transparent 60%);
  animation: pulse-glow 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}
.hexagon {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 30px rgba(255, 31, 58, 0.7));
  animation: float-hex 4s ease-in-out infinite alternate;
}
@keyframes float-hex {
  from { transform: translateY(-6px) rotate(-2deg); }
  to   { transform: translateY(6px)  rotate(2deg); }
}

/* Hero person image (replaces orbital hexagon) */
.hero-visual-person {
  display: grid;
  place-items: center;
  position: relative;
}
.hero-visual-person::before { display: none; }
.hero-person-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  /* No card background — image floats directly on the dark hero with a soft red glow */
  animation: hero-person-float 6s ease-in-out infinite alternate;
}
@keyframes hero-person-float {
  from { transform: translateY(-8px); }
  to   { transform: translateY(8px); }
}
.hero-person-glow {
  position: absolute;
  inset: -6%;
  background:
    radial-gradient(circle at 50% 60%, rgba(255, 31, 58, 0.32) 0%, rgba(255, 31, 58, 0.12) 35%, transparent 70%);
  filter: blur(28px);
  z-index: 0;
  animation: pulse-glow 3.5s ease-in-out infinite;
  pointer-events: none;
}
.hero-person-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 30px rgba(255, 31, 58, 0.2));
}
@media (max-width: 980px) {
  .hero-person-frame { max-width: 340px; }
}


.leaders{
  padding-top: 12px;
}

/* =========================================================
   MARQUEE - LIGHT
   ========================================================= */
.marquee {
  background: var(--light-bg-2);
  padding: 1.8rem 0;
  overflow: hidden;
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(14, 14, 19, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}
.marquee-track span.solid { color: var(--light-text); -webkit-text-stroke: 0; }
.marquee-track span.red { color: var(--red-primary); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SECTION HEADS
   ========================================================= */
.section-head { max-width: 720px; margin-bottom: 3.5rem; }
.section-head h2 { margin-top: 1rem; }
.section-head p { margin-top: 1rem; font-size: 1.05rem; }
.theme-dark .section-head p, .theme-red .section-head p { color: var(--dark-text-body); }
.theme-light .section-head p, .theme-light-2 .section-head p { color: var(--light-text-body); }

/* =========================================================
   SERVICES V2 - DARK
   ========================================================= */
.svc-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 900px) { .svc-grid-v2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-grid-v2 { grid-template-columns: 1fr; } }

.svc-card-v2 {
  position: relative;
  border-radius: 22px;
  background: var(--dark-card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
  border: 1px solid var(--dark-border);
}
.svc-card-v2::before {
  content: attr(data-num);
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--dark-text-muted);
  z-index: 3;
  transition: color 0.3s ease;
}
.svc-card-v2::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  padding: 1.5px;
  background: conic-gradient(from 0deg at 50% 50%, transparent, var(--red-glow), var(--red-deep), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: spin-border 4s linear infinite;
  z-index: 0;
  pointer-events: none;
}
@keyframes spin-border { to { transform: rotate(360deg); } }
.svc-card-v2:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -20px rgba(255, 31, 58, 0.3);
}
.svc-card-v2:hover::after { opacity: 1; }
.svc-card-v2:hover::before { color: var(--red-primary); }

.svc-card-v2-inner {
  background: var(--dark-card);
  border-radius: 21px;
  padding: 2rem 1.8rem 1.6rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.svc-card-v2-inner::before {
  content: "";
  position: absolute;
  top: var(--my, 50%);
  left: var(--mx, 50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.svc-card-v2:hover .svc-card-v2-inner::before { opacity: 1; }

.svc-icon-v2 {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: rgba(230, 57, 70, 0.12);
  border: 1px solid rgba(230, 57, 70, 0.25);
  display: grid; place-items: center;
  margin-bottom: 1.6rem;
  position: relative;
  transition: transform 0.4s var(--ease), background 0.3s ease;
}
.svc-card-v2:hover .svc-icon-v2 {
  transform: rotate(-6deg) scale(1.08);
  background: var(--red-primary);
}
.svc-icon-v2 svg { width: 26px; height: 26px; stroke: var(--red-primary); transition: stroke 0.3s ease; }
.svc-card-v2:hover .svc-icon-v2 svg { stroke: #fff; }
.svc-card-v2 h3 { font-size: 1.18rem; margin-bottom: 0.6rem; color: var(--dark-text); }
.svc-card-v2 p { color: var(--dark-text-body); font-size: 0.94rem; line-height: 1.55; flex: 1; margin-bottom: 1.4rem; }

.svc-learn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red-primary);
  padding: 0.55rem 0;
  position: relative;
  transition: gap 0.3s var(--ease);
  align-self: flex-start;
}
.svc-learn::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--red-primary);
  transition: right 0.4s var(--ease);
}
.svc-learn:hover { gap: 0.8rem; }
.svc-learn:hover::after { right: 0; }
.svc-learn svg { width: 14px; height: 14px; stroke: currentColor; transition: transform 0.3s var(--ease); }
.svc-learn:hover svg { transform: translateX(3px); }

/* =========================================================
   TIMELINE - LIGHT
   ========================================================= */
.timeline {
  position: relative;
  display: grid;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--red-primary) 10%, var(--red-primary) 90%, transparent);
  opacity: 0.3;
}
.step {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4.5rem;
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: 0 2px 12px -2px rgba(14, 14, 19, 0.05);
}
.step:hover {
  transform: translateX(10px);
  border-color: var(--red-primary);
  box-shadow: 0 14px 30px -10px rgba(230, 57, 70, 0.25);
}
.step-num {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--red-primary);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  box-shadow: 0 0 0 6px rgba(230, 57, 70, 0.12), 0 4px 16px rgba(230, 57, 70, 0.45);
  z-index: 2;
  transition: transform 0.4s var(--ease-bounce);
}
.step:hover .step-num { transform: translateY(-50%) scale(1.15) rotate(-10deg); }
.step h3 { font-size: 1.1rem; margin-bottom: 0.3rem; color: var(--light-text); }
.step p { color: var(--light-text-body); font-size: 0.95rem; }

/* =========================================================
   WHY US - RED accent
   ========================================================= */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 720px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  display: flex;
  gap: 1.2rem;
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}
.why-card .why-num {
  font-family: 'Sora', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.6);
  line-height: 1;
  min-width: 50px;
  transition: all 0.3s ease;
}
.why-card:hover .why-num { color: #fff; -webkit-text-stroke: 0; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; color: #fff; }
.why-card p { color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; }

/* =========================================================
   DETAILED SERVICES - theme-adaptive
   ========================================================= */
.svc-group { margin-bottom: 3.5rem; }
.svc-group-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
}
.theme-dark .svc-group-head,
.theme-red .svc-group-head { border-bottom: 1px solid var(--dark-border); }
.theme-light .svc-group-head,
.theme-light-2 .svc-group-head { border-bottom: 1px solid var(--light-border); }

.svc-group-head .num { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; color: var(--red-primary); letter-spacing: 0.1em; }
.svc-group-head h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
.theme-dark .svc-group-head h3, .theme-red .svc-group-head h3 { color: var(--dark-text); }
.theme-light .svc-group-head h3, .theme-light-2 .svc-group-head h3 { color: var(--light-text); }
.svc-group-head .meta { font-size: 0.85rem; margin-left: auto; }
.theme-dark .svc-group-head .meta, .theme-red .svc-group-head .meta { color: var(--dark-text-muted); }
.theme-light .svc-group-head .meta, .theme-light-2 .svc-group-head .meta { color: var(--light-text-muted); }

.svc-tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
@media (max-width: 900px) { .svc-tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-tile-grid { grid-template-columns: 1fr; } }

.svc-tile {
  padding: 1.3rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.theme-dark .svc-tile,
.theme-red .svc-tile {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
}
.theme-light .svc-tile,
.theme-light-2 .svc-tile {
  background: #fff;
  border: 1px solid var(--light-border);
  box-shadow: 0 2px 12px -2px rgba(14, 14, 19, 0.04);
}
.theme-dark .svc-tile:hover,
.theme-red .svc-tile:hover {
  border-color: var(--red-primary);
  background: linear-gradient(135deg, var(--dark-card) 0%, rgba(230, 57, 70, 0.08) 100%);
  transform: translateY(-3px);
}
.theme-light .svc-tile:hover,
.theme-light-2 .svc-tile:hover {
  border-color: var(--red-primary);
  background: var(--pink-tint-soft);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -10px rgba(230, 57, 70, 0.25);
}
.svc-tile span { font-size: 0.95rem; font-weight: 500; }
.theme-dark .svc-tile span, .theme-red .svc-tile span { color: var(--dark-text); }
.theme-light .svc-tile span, .theme-light-2 .svc-tile span { color: var(--light-text); }
.svc-tile .arrow-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}
.theme-dark .svc-tile .arrow-icon,
.theme-red .svc-tile .arrow-icon { border: 1px solid rgba(255, 255, 255, 0.16); }
.theme-light .svc-tile .arrow-icon,
.theme-light-2 .svc-tile .arrow-icon { border: 1px solid var(--light-border-strong); }
.svc-tile:hover .arrow-icon { background: var(--red-primary); border-color: var(--red-primary); transform: rotate(-45deg); }
.svc-tile .arrow-icon svg { width: 12px; height: 12px; }
.theme-dark .svc-tile .arrow-icon svg, .theme-red .svc-tile .arrow-icon svg { stroke: #fff; }
.theme-light .svc-tile .arrow-icon svg, .theme-light-2 .svc-tile .arrow-icon svg { stroke: var(--light-text); }
.svc-tile:hover .arrow-icon svg { stroke: #fff; }

/* =========================================================
   INDUSTRIES - LIGHT
   ========================================================= */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 1100px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .ind-grid { grid-template-columns: 1fr; } }

.ind-card {
  padding: 1.8rem 1.4rem;
  background: var(--light-bg-2);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.4s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}
.ind-card:hover {
  background: #fff;
  border-color: var(--red-primary);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(230, 57, 70, 0.25);
}
.ind-card .ind-icon {
  width: 60px; height: 60px;
  margin: 0 auto 1.1rem;
  background: linear-gradient(145deg, #fff 0%, var(--pink-tint) 100%);
  border: 1px solid rgba(230, 57, 70, 0.18);
  border-radius: 16px;
  display: grid; place-items: center;
  color: var(--red-primary);
  box-shadow: 0 6px 16px -8px rgba(230, 57, 70, 0.35), inset 0 1px 0 rgba(255,255,255,0.6);
  transition: all 0.4s var(--ease);
}
.ind-card:hover .ind-icon {
  background: linear-gradient(145deg, var(--red-primary) 0%, #b91829 100%);
  border-color: var(--red-primary);
  color: #fff;
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 12px 26px -8px rgba(230, 57, 70, 0.5);
}
.ind-card .ind-icon svg { width: 30px; height: 30px; }
.ind-card span { display: block; font-size: 1.02rem; font-weight: 700; color: var(--light-text); margin-bottom: 0.5rem; }
.ind-desc {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--light-text-body);
  margin: 0;
}

/* =========================================================
   TEAM - theme-adaptive
   ========================================================= */
.team-grid { 
  display: grid; 
  /* grid-template-columns: repeat(3, 1fr);  */
  gap: 1.4rem; 
  margin-top: 2.5rem; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } }
/* Two-founder layout — center the pair, cap their width */
.team-grid-2 {
  grid-template-columns: repeat(3, minmax(0, 320px));
  justify-content: center;
}
@media (max-width: 900px) { .team-grid-2 { grid-template-columns: minmax(0, 360px); } }
/* Real photos fill the circular frame */
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.team-card {
  padding: 2.2rem;
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.theme-dark .team-card,
.theme-red .team-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
}
.theme-light .team-card,
.theme-light-2 .team-card {
  background: #fff;
  border: 1px solid var(--light-border);
  box-shadow: 0 2px 12px -2px rgba(14, 14, 19, 0.05);
}
.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--red-primary);
}
.theme-light .team-card:hover,
.theme-light-2 .team-card:hover {
  box-shadow: 0 20px 40px -15px rgba(230, 57, 70, 0.25);
}
.team-photo {
  width: 130px; height: 130px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.18), rgba(206, 26, 48, 0.08));
  border: 2px solid rgba(230, 57, 70, 0.3);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.theme-light .team-photo,
.theme-light-2 .team-photo {
  background: var(--pink-tint);
  border: 2px solid rgba(230, 57, 70, 0.2);
}
.team-card:hover .team-photo {
  border-color: var(--red-primary);
  transform: scale(1.05);
}
.team-initials {
  font-family: 'Sora', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--red-primary);
  transition: color 0.3s ease;
}
.team-card:hover .team-initials { color: var(--red-deep); }
.team-card h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.theme-dark .team-card h3, .theme-red .team-card h3 { color: var(--dark-text); }
.theme-light .team-card h3, .theme-light-2 .team-card h3 { color: var(--light-text); }
.team-card .role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--red-primary);
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  display: block;
}
.team-card p { font-size: 0.92rem; }
.theme-dark .team-card p, .theme-red .team-card p { color: var(--dark-text-body); }
.theme-light .team-card p, .theme-light-2 .team-card p { color: var(--light-text-body); }

/* =========================================================
   FAQ - LIGHT
   ========================================================= */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: 14px;
  margin-bottom: 0.7rem;
  padding: 0 1.3rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item:hover { border-color: var(--red-primary); }
.faq-item.open { box-shadow: 0 12px 30px -10px rgba(14, 14, 19, 0.1); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--light-text);
  padding: 1.3rem 0;
  transition: color 0.3s ease;
}
.faq-q:hover { color: var(--red-primary); }
.faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--light-border-strong);
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: all 0.3s var(--ease);
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--light-text);
  transition: transform 0.3s var(--ease), background 0.3s ease;
}
.faq-icon::before { width: 12px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 12px; }
.faq-item.open .faq-icon { background: var(--red-primary); border-color: var(--red-primary); transform: rotate(180deg); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: #fff; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding-bottom: 1.3rem; color: var(--light-text-body); font-size: 0.98rem; line-height: 1.65; }

/* =========================================================
   CTA SECTION - RED accent
   ========================================================= */

.cta-section { text-align: center; }
.cta-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 2; }
.cta-inner h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin: 1.2rem 0; color: #fff; }
.cta-inner p { color: rgba(255, 255, 255, 0.85); margin-bottom: 2rem; }

/* =========================================================
   FOOTER - DARK
   ========================================================= */
.footer {
  background: #08080B;
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--dark-border);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 60px; width: auto; margin-bottom: 1.2rem; }
.footer-about p { color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; max-width: 320px; }
.footer h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.2rem;
}
.footer ul { display: grid; gap: 0.6rem; }
.footer a { color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; }
.footer a:hover { color: var(--red-primary); padding-left: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.6rem; color: rgba(255, 255, 255, 0.7); font-size: 0.88rem; line-height: 1.5; }
.footer-contact svg { width: 16px; height: 16px; stroke: var(--red-primary); flex-shrink: 0; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  order: 0;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-social a svg {
  width: 16px;
  height: 16px;
}
.footer-social a:hover {
  color: #fff;
  border-color: var(--red-primary);
  background: var(--red-primary);
  transform: translateY(-2px);
}
@media (max-width: 700px) {
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-social { order: -1; width: 100%; justify-content: center; }
}
.ghost-brand {
  background: #050507;
  padding: 2rem 0 1.5rem;
  overflow: hidden;
  text-align: center;
}
.ghost-brand img { width: 100%; height: auto; max-width: 1400px; margin: 0 auto; opacity: 0.12; pointer-events: none; }

/* =========================================================
   FLOATING BUTTONS
   ========================================================= */
.float-whatsapp {
  position: fixed;
  bottom: 1.5rem; left: 1.5rem;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  z-index: 90;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  animation: pulse-wa 2s infinite;
  transition: transform 0.3s var(--ease);
}
.float-whatsapp:hover { transform: scale(1.08); }
.float-whatsapp svg { width: 26px; height: 26px; fill: #fff; }
@keyframes pulse-wa {
  0%   { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70%  { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =========================================================
   MODALS
   ========================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  pointer-events: none;
  transition: background 0.3s ease;
}
.modal-backdrop.open {
  background: rgba(8, 8, 11, 0.6);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  width: 100%;
  max-width: 460px;
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.4s var(--ease-bounce), opacity 0.3s var(--ease);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
}
.modal-backdrop.open .modal { transform: scale(1); opacity: 1; }
.modal h3 { margin-bottom: 0.4rem; font-size: 1.4rem; color: var(--light-text); }
.modal .sub { color: var(--light-text-body); font-size: 0.95rem; margin-bottom: 1.6rem; }
.modal-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--light-border-strong);
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease), background 0.3s ease;
}
.modal-close:hover { transform: rotate(90deg); background: var(--red-primary); border-color: var(--red-primary); }
.modal-close:hover svg { stroke: #fff; }
.modal-close svg { width: 14px; height: 14px; stroke: var(--light-text); transition: stroke 0.3s ease; }
.choice-list { display: grid; gap: 0.8rem; }
.choice {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem;
  background: var(--light-bg-2);
  border: 1px solid var(--light-border);
  border-radius: 14px;
  transition: all 0.3s var(--ease);
  text-align: left; width: 100%;
}
.choice:hover { border-color: var(--red-primary); background: #fff; transform: translateY(-2px); }
.choice .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.choice.wa .ico { background: #25D366; }
.choice.wa .ico svg { fill: #fff; width: 22px; height: 22px; }
.choice.fm .ico { background: var(--red-primary); }
.choice.fm .ico svg { stroke: #fff; width: 22px; height: 22px; }
.choice .text strong { display: block; font-size: 1rem; margin-bottom: 0.2rem; color: var(--light-text); }
.choice .text small { color: var(--light-text-muted); font-size: 0.82rem; }
.choice .go { margin-left: auto; flex-shrink: 0; }
.choice .go svg { stroke: var(--light-text); width: 18px; height: 18px; }

.form-row { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.form-row label { font-size: 0.85rem; color: var(--light-text); font-weight: 500; }
.form-row label .req { color: var(--red-primary); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--light-bg-2);
  border: 1px solid var(--light-border);
  border-radius: 10px;
  color: var(--light-text);
  font-size: 0.95rem;
}
.form-row textarea { min-height: 100px; resize: vertical; font-family: inherit; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--red-primary); background: #fff; }
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--light-text-muted); }
.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--red-primary);
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  transition: all 0.3s var(--ease);
}
.form-submit:hover { background: var(--red-deep); transform: translateY(-2px); }
.form-success { text-align: center; padding: 1.5rem 0; }
.form-success .check-big { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: var(--pink-tint); display: grid; place-items: center; }
.form-success .check-big svg { stroke: var(--red-primary); width: 28px; height: 28px; }

/* =========================================================
   ANIMATION VARIANTS - distinct per section
   ========================================================= */
.reveal { opacity: 0; transform: translateY(60px); transition: opacity 1s var(--ease), transform 1s var(--ease); will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-100px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(100px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale { opacity: 0; transform: scale(0.7); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease-bounce); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.reveal-rotate { opacity: 0; transform: translateY(50px) rotate(-4deg); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-rotate.visible { opacity: 1; transform: translateY(0) rotate(0); }

.reveal-flip { opacity: 0; transform: perspective(800px) rotateX(-30deg); transform-origin: top; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-flip.visible { opacity: 1; transform: perspective(800px) rotateX(0); }

.reveal-blur { opacity: 0; filter: blur(14px); transform: translateY(30px); transition: opacity 1s var(--ease), filter 1s var(--ease), transform 1s var(--ease); }
.reveal-blur.visible { opacity: 1; filter: blur(0); transform: translateY(0); }

.reveal-stagger > * { opacity: 0; transform: translateY(50px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.18s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.28s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.38s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.48s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.58s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.68s; }

.reveal-scale-stagger > * { opacity: 0; transform: scale(0.6) translateY(40px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease-bounce); }
.reveal-scale-stagger.visible > * { opacity: 1; transform: scale(1) translateY(0); }
.reveal-scale-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-scale-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-scale-stagger.visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-scale-stagger.visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-scale-stagger.visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-scale-stagger.visible > *:nth-child(6) { transition-delay: 0.55s; }

.reveal-rotate-stagger > * { opacity: 0; transform: perspective(1000px) rotateY(-30deg) translateY(40px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
.reveal-rotate-stagger.visible > * { opacity: 1; transform: perspective(1000px) rotateY(0) translateY(0); }
.reveal-rotate-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-rotate-stagger.visible > *:nth-child(2) { transition-delay: 0.28s; }
.reveal-rotate-stagger.visible > *:nth-child(3) { transition-delay: 0.46s; }

.reveal-flip-stagger > * { opacity: 0; transform: perspective(800px) rotateX(-25deg) translateY(20px); transform-origin: top center; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-flip-stagger.visible > * { opacity: 1; transform: perspective(800px) rotateX(0) translateY(0); }
.reveal-flip-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-flip-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-flip-stagger.visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-flip-stagger.visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-flip-stagger.visible > *:nth-child(5) { transition-delay: 0.45s; }

.reveal-alternate > *:nth-child(odd) { opacity: 0; transform: translateX(-100px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-alternate > *:nth-child(even) { opacity: 0; transform: translateX(100px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-alternate.visible > * { opacity: 1; transform: translateX(0); }
.reveal-alternate.visible > *:nth-child(1) { transition-delay: 0.08s; }
.reveal-alternate.visible > *:nth-child(2) { transition-delay: 0.24s; }
.reveal-alternate.visible > *:nth-child(3) { transition-delay: 0.4s; }
.reveal-alternate.visible > *:nth-child(4) { transition-delay: 0.56s; }
.reveal-alternate.visible > *:nth-child(5) { transition-delay: 0.72s; }

.reveal-zigzag > *:nth-child(odd) { opacity: 0; transform: translateX(-80px) translateY(40px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-zigzag > *:nth-child(even) { opacity: 0; transform: translateX(80px) translateY(40px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-zigzag.visible > * { opacity: 1; transform: translateX(0) translateY(0); }
.reveal-zigzag.visible > *:nth-child(1) { transition-delay: 0.08s; }
.reveal-zigzag.visible > *:nth-child(2) { transition-delay: 0.18s; }
.reveal-zigzag.visible > *:nth-child(3) { transition-delay: 0.28s; }
.reveal-zigzag.visible > *:nth-child(4) { transition-delay: 0.38s; }
.reveal-zigzag.visible > *:nth-child(5) { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-rotate, .reveal-flip, .reveal-blur,
  .reveal-stagger > *, .reveal-scale-stagger > *, .reveal-rotate-stagger > *, .reveal-flip-stagger > *,
  .reveal-alternate > *, .reveal-zigzag > * { opacity: 1; transform: none; filter: none; }
}

/* =========================================================
   CHATBOT
   ========================================================= */
.chat-fab {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-glow), var(--red-deep));
  display: grid; place-items: center;
  z-index: 95;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 31, 58, 0.45);
  animation: chat-pulse 2.4s infinite;
  transition: transform 0.3s var(--ease);
  border: 0;
}
.chat-fab:hover { transform: scale(1.07) rotate(-4deg); }
.chat-fab svg { width: 26px; height: 26px; stroke: #fff; fill: none; }
.chat-fab.hidden { opacity: 0; pointer-events: none; transform: scale(0.6); }
.chat-fab .ping {
  position: absolute;
  top: -4px; right: -4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--red-deep);
  display: grid; place-items: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--red-deep);
  font-family: 'JetBrains Mono', monospace;
}
@keyframes chat-pulse {
  0%   { box-shadow: 0 10px 30px rgba(255, 31, 58, 0.45), 0 0 0 0 rgba(255, 31, 58, 0.5); }
  70%  { box-shadow: 0 10px 30px rgba(255, 31, 58, 0.45), 0 0 0 18px rgba(255, 31, 58, 0); }
  100% { box-shadow: 0 10px 30px rgba(255, 31, 58, 0.45), 0 0 0 0 rgba(255, 31, 58, 0); }
}

.chat-window {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 380px;
  max-width: calc(100vw - 2rem);
  height: 580px;
  max-height: calc(100vh - 3rem);
  background: #fff;
  border-radius: 22px;
  z-index: 110;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.4);
}
.chat-window.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.chat-header {
  padding: 1.1rem 1.2rem;
  background: linear-gradient(135deg, var(--red-primary), var(--red-deep));
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); display: grid; place-items: center; flex-shrink: 0; position: relative; }
.chat-avatar::after { content: ""; position: absolute; bottom: 0; right: 0; width: 11px; height: 11px; border-radius: 50%; background: #25D366; border: 2px solid var(--red-primary); }
.chat-avatar svg { width: 18px; height: 18px; stroke: #fff; fill: none; }
.chat-header-info { flex: 1; min-width: 0; }
.chat-header-info h4 { font-family: 'Sora', sans-serif; font-size: 0.95rem; font-weight: 600; color: #fff; margin-bottom: 2px; }
.chat-header-info span { font-size: 0.75rem; color: rgba(255, 255, 255, 0.85); display: flex; align-items: center; gap: 0.35rem; }
.chat-header-info span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #25D366; display: inline-block; }
.chat-close { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.1); display: grid; place-items: center; transition: transform 0.3s var(--ease), background 0.2s ease; flex-shrink: 0; }
.chat-close:hover { background: rgba(255, 255, 255, 0.2); transform: rotate(90deg); }
.chat-close svg { width: 12px; height: 12px; stroke: #fff; }
.chat-body { flex: 1; overflow-y: auto; padding: 1rem 1rem 0.5rem; display: flex; flex-direction: column; gap: 0.6rem; background: var(--light-bg-2); }
.chat-body::-webkit-scrollbar { width: 5px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--light-border-strong); border-radius: 100px; }
.msg { max-width: 85%; padding: 0.7rem 0.95rem; border-radius: 16px; font-size: 0.92rem; line-height: 1.5; word-wrap: break-word; animation: msg-in 0.35s var(--ease); }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.msg.bot { background: #fff; border: 1px solid var(--light-border); color: var(--light-text); align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 2px 12px -2px rgba(14, 14, 19, 0.05); }
.msg.user { background: linear-gradient(135deg, var(--red-primary), var(--red-deep)); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; box-shadow: 0 4px 12px -2px rgba(230, 57, 70, 0.4); }
.msg strong { font-weight: 600; }
.msg ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.msg li { margin: 0.2rem 0; font-size: 0.88rem; color: var(--light-text-body); }
.msg li::marker { color: var(--red-primary); }
.typing { display: flex; gap: 4px; padding: 0.85rem 1rem; align-self: flex-start; background: #fff; border: 1px solid var(--light-border); border-radius: 16px; border-bottom-left-radius: 4px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--light-text-muted); animation: typing-bounce 1.4s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-options { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.3rem; padding: 0 0.2rem; align-self: stretch; animation: msg-in 0.4s 0.1s var(--ease) backwards; }
.chat-opt { padding: 0.7rem 0.95rem; background: #fff; border: 1px solid var(--light-border); border-radius: 12px; font-size: 0.88rem; font-weight: 500; color: var(--light-text); text-align: left; cursor: pointer; transition: all 0.25s var(--ease); display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; width: 100%; }
.chat-opt:hover { background: var(--pink-tint-soft); border-color: var(--red-primary); color: var(--red-primary); transform: translateX(4px); }
.chat-opt .arrow-r { opacity: 0.5; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); flex-shrink: 0; }
.chat-opt:hover .arrow-r { opacity: 1; transform: translateX(3px); }
.chat-opt .arrow-r svg { width: 12px; height: 12px; stroke: currentColor; }
.chat-opt.cta { background: linear-gradient(135deg, var(--red-primary), var(--red-deep)); color: #fff; border-color: var(--red-deep); font-weight: 600; justify-content: center; }
.chat-opt.cta:hover { background: linear-gradient(135deg, var(--red-deep), var(--red-primary)); color: #fff; transform: translateY(-2px); }
.chat-opt.ghost { background: transparent; border-color: var(--light-border); color: var(--light-text-muted); font-weight: 400; }
.chat-opt.ghost:hover { background: var(--light-bg-2); color: var(--light-text); border-color: var(--light-border-strong); transform: none; }
.chat-opt.wa { background: rgba(37, 211, 102, 0.1); border-color: rgba(37, 211, 102, 0.3); color: #1DA851; }
.chat-opt.wa:hover { background: #25D366; color: #fff; border-color: #25D366; }
.chat-opt.wa svg.wa-ico { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }
.chat-footer { padding: 0.8rem; border-top: 1px solid var(--light-border); background: #fff; }
.chat-input-row { display: flex; gap: 0.5rem; align-items: center; }
.chat-input { flex: 1; padding: 0.75rem 1rem; background: var(--light-bg-2); border: 1px solid var(--light-border); border-radius: 100px; color: var(--light-text); font-size: 0.9rem; outline: none; transition: border-color 0.2s ease, background 0.2s ease; }
.chat-input:focus { border-color: var(--red-primary); background: #fff; }
.chat-input::placeholder { color: var(--light-text-muted); }
.chat-send { width: 40px; height: 40px; border-radius: 50%; background: var(--red-primary); display: grid; place-items: center; cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s ease; border: 0; flex-shrink: 0; }
.chat-send:hover { background: var(--red-deep); transform: scale(1.06); }
.chat-send svg { width: 16px; height: 16px; stroke: #fff; fill: none; }
.chat-foot-note { text-align: center; font-size: 0.7rem; color: var(--light-text-muted); margin-top: 0.5rem; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.08em; }
.chat-foot-note span { color: var(--red-primary); }

@media (max-width: 480px) {
  .chat-window { width: 100%; height: 100%; max-height: 100vh; bottom: 0; right: 0; border-radius: 0; }
  .chat-fab { bottom: 1rem; right: 1rem; width: 54px; height: 54px; }
  .float-whatsapp { bottom: 1rem; left: 1rem; width: 50px; height: 50px; }
}

/* =========================================================
   WOW-FACTOR ENHANCEMENTS
   ========================================================= */

/* Scroll progress bar at the very top */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red-glow), var(--red-deep));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 200;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(255, 31, 58, 0.5);
}

/* Cursor-following gradient orb (desktop only) */
.cursor-orb {
  position: fixed;
  top: 0; left: 0;
  width: 400px; height: 400px;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.08) 0%, transparent 70%);
  mix-blend-mode: screen;
  filter: blur(40px);
  will-change: transform;
}

/* Service cards tilt - keep transition smooth */
.svc-card-v2, .team-card {
  transition: transform 0.3s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  transform-style: preserve-3d;
}

/* Hero parallax visual transition */
.hero-visual {
  transition: transform 0.6s var(--ease);
  will-change: transform;
}

/* Floating shapes in dark sections (subtle background) */
.theme-dark::after {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.06) 0%, transparent 70%);
  top: 20%; right: 5%;
  animation: float-shape 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.theme-dark > .container { position: relative; z-index: 2; }
@keyframes float-shape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.2); }
}

/* Hero title glow on red accent */
.hero-title .accent {
  text-shadow: 0 0 40px rgba(255, 31, 58, 0.4);
}

/* Animated dots in dark sections (subtle starfield) */
.theme-dark .container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 1px at 20% 30%, rgba(255, 255, 255, 0.3) 0, transparent 100%),
    radial-gradient(circle 1px at 60% 70%, rgba(255, 255, 255, 0.2) 0, transparent 100%),
    radial-gradient(circle 1px at 80% 20%, rgba(255, 255, 255, 0.3) 0, transparent 100%),
    radial-gradient(circle 1px at 30% 80%, rgba(255, 255, 255, 0.2) 0, transparent 100%),
    radial-gradient(circle 1px at 90% 60%, rgba(255, 255, 255, 0.25) 0, transparent 100%);
  pointer-events: none;
  animation: twinkle 8s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes twinkle {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* Improved button hover - shine sweep */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s var(--ease);
  pointer-events: none;
}
.btn-primary:hover::after { left: 100%; }

/* Service icon - extra wow on hover */
.svc-icon-v2 {
  position: relative;
}
.svc-icon-v2::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  background: conic-gradient(from 0deg, var(--red-glow), transparent 60%, var(--red-deep), transparent 90%);
  opacity: 0;
  animation: spin 3s linear infinite;
  z-index: -1;
  transition: opacity 0.4s ease;
}
.svc-card-v2:hover .svc-icon-v2::before { opacity: 0.7; }

/* Animated underline for navigation - already there but enhance */
.nav-links a {
  position: relative;
  transition: color 0.3s ease;
}

/* Hero list items - subtle slide on hover */
.hero-list li {
  transition: transform 0.3s var(--ease), color 0.3s ease;
}
.hero-list li:hover {
  transform: translateX(8px);
  color: #fff;
}
.hero-list li:hover .check {
  background: var(--red-primary);
  transform: rotate(360deg) scale(1.1);
  transition: all 0.5s var(--ease);
}
.hero-list li:hover .check svg { stroke: #fff; }

/-----------------------------------------------------------------------------------------------
resh · CSS
/* =========================================================
   zPROx.AI — v7 "DARK REFRESH" override layer
   Loads AFTER style.css. Keeps the dark cinematic identity
   (dark bg + red accent + Sora/mono type) while refining
   surfaces, depth and motion, and adds three SWAPPABLE image
   slots: hero (right), services (row thumbnails) and CTA bg.
 
   HOW TO ADD AN IMAGE:
   Just save a file to the path shown on each placeholder —
   no markup or code changes needed. While the file is absent,
   a labeled placeholder is shown instead.
      • Hero      → assets/images/hero/portrait.png   (transparent PNG, ~800×1000)
      • Services  → assets/images/services/01.jpg … 09.jpg  (square, ~400×400)
      • CTA       → assets/images/cta/cta-bg.jpg       (wide, ~1600×900)
   ========================================================= */
 
:root{
  --r7-glass:        rgba(255, 255, 255, 0.045);
  --r7-glass-strong: rgba(255, 255, 255, 0.07);
  --r7-line:         rgba(255, 255, 255, 0.10);
  --r7-ph-1:         #15151e;
  --r7-ph-2:         #1e1620;
}
 
/* ---------------------------------------------------------
   Reusable image slot + labeled placeholder
   The label (data-label) stays visible until a real image
   loads on top of it. If the file is missing or broken, the
   <img> hides itself (onerror) and the label remains.
   --------------------------------------------------------- */
.img-slot{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 18px;
  background:
    radial-gradient(130% 120% at 18% 0%, rgba(230, 57, 70, 0.14), transparent 55%),
    linear-gradient(150deg, var(--r7-ph-1), var(--r7-ph-2));
}
.img-slot::before{                 /* hairline frame + inner top highlight */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  border: 1px solid var(--r7-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.img-slot::after{                  /* the swap label */
  content: attr(data-label);
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-content: center;
  padding: 0.8rem;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.img-slot img{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.img-slot img.is-missing{ display: none; }   /* reveal the label when no file */
.img-slot--contain img{ object-fit: contain; }
.img-slot--mini::after{ font-size: 0.62rem; letter-spacing: 0.02em; opacity: 0.7; }
 
/* ---------------------------------------------------------
   HERO — image on the right, floating above the watermark
   --------------------------------------------------------- */
.hero-visual-shot{
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 1.05s var(--ease) forwards;
}
.hero-visual-shot::before{          /* soft red bloom behind the image */
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -1;
  background: radial-gradient(circle at 50% 58%,
              rgba(255, 31, 58, 0.34) 0%, rgba(255, 31, 58, 0.10) 38%, transparent 70%);
  filter: blur(34px);
  animation: pulse-glow 3.6s ease-in-out infinite;
}
.hero-visual-shot__inner{
  animation: hero-person-float 6s ease-in-out infinite alternate;
}
.hero-visual-shot .img-slot{
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
}
.hero-visual-shot .img-slot::after{ font-size: 0.8rem; }
.hero-visual-shot .img-slot:hover img{ transform: scale(1.03); }
@media (max-width: 980px){
  .hero-visual-shot{ max-width: 360px; margin: 0 auto; }
}
 
/* ---------------------------------------------------------
   SERVICES — small swappable thumbnail per staircase row
   --------------------------------------------------------- */
.svc-stair-card{
  grid-template-columns: auto 76px 1fr auto;
  gap: 1.25rem;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: linear-gradient(150deg, var(--r7-glass), rgba(255, 255, 255, 0.015));
  border-color: var(--r7-line);
}
.svc-stair-card:hover{
  background: linear-gradient(150deg, rgba(230, 57, 70, 0.10), rgba(230, 57, 70, 0.03));
  box-shadow: 0 24px 60px -28px rgba(230, 57, 70, 0.45);
}
.svc-stair-thumb{
  width: 76px;
  height: 76px;
  border-radius: 14px;
  align-self: center;
}
.svc-stair-card:hover .svc-stair-thumb img{ transform: scale(1.07); }
@media (max-width: 800px){
  .svc-stair-card{ grid-template-columns: auto 1fr auto; }
  .svc-stair-thumb{ display: none; }   /* removed from grid flow on small screens */
}
 
/* ---------------------------------------------------------
   CTA — full-bleed background image with readability overlay
   --------------------------------------------------------- */
.hero-visual-shot{
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 5;          /* gives the glow an area to fill */
  margin-left: auto;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 1.05s var(--ease) forwards;
}
.hero-visual-shot::before{       /* the red bloom */
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 50% 58%,
              rgba(255, 31, 58, 0.34) 0%, rgba(255, 31, 58, 0.10) 38%, transparent 70%);
  filter: blur(34px);
  animation: pulse-glow 3.6s ease-in-out infinite;
}
@media (max-width: 980px){
  .hero-visual-shot{ max-width: 360px; margin: 0 auto; }
}
.cta-section{
  position: relative;
  overflow: hidden;
  /* 👇 set this to the EXACT background color of the section above (and below) */
  --cta-edge: #08080B;
}

.cta-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  /* red lives only in the middle; edges = neighbor color → no visible seam */
  background:
    radial-gradient(ellipse 95% 75% at 50% 50%, rgba(206, 26, 48, 0.32), transparent 70%),
    var(--cta-edge);
}

/* optional: keeps the headline crisp without re-introducing a hard edge */
.cta-bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 60% at 50% 38%, transparent, rgba(0,0,0,.35));
}


.cta-bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transform: scale(1.04);
}
.cta-bg img.is-missing{ display: none; }
.cta-bg-label{
  position: absolute;
  left: 1rem;
  bottom: 0.9rem;
  z-index: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.3);
}
.cta-section .container{ position: relative; z-index: 2; }

.cta-section{ position: relative; overflow: hidden; }


.cta-waves{
  opacity: 0.55;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 75%;
  min-height: 260px;
  display: block;
}

/* each layer drifts at its own speed → rolling wave */
.cta-waves use{
  animation: cta-wave-move 12s cubic-bezier(.55,.5,.45,.5) infinite;
}
.cta-waves use:nth-child(1){ animation-delay: -2s; animation-duration: 9s;  }
.cta-waves use:nth-child(2){ animation-delay: -3s; animation-duration: 13s; }
.cta-waves use:nth-child(3){ animation-delay: -4s; animation-duration: 17s; }
.cta-waves use:nth-child(4){ animation-delay: -5s; animation-duration: 23s; }

@keyframes cta-wave-move{
  0%   { transform: translate3d(-90px, 0, 0); }
  100% { transform: translate3d( 85px, 0, 0); }
}



.cta-section .container{ position: relative; z-index: 2; }

@media (prefers-reduced-motion: reduce){
  .cta-waves use{ animation: none; }
}
 
/* ---------------------------------------------------------
   REFRESH — surface, depth & motion polish (dark identity)
   --------------------------------------------------------- */
 
/* Why-cards: subtle glass + inner highlight */
.why-card{
  background: linear-gradient(150deg, var(--r7-glass), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
 
/* Header: refined hairline + a faint red baseline once scrolled */
.header{ border-bottom-color: rgba(255, 255, 255, 0.06); }

.header.scrolled{
  box-shadow: 0 1px 0 rgba(230, 57, 70, 0.25), 0 16px 40px -24px rgba(0, 0, 0, 0.8);
}
 
/* Primary button: soft ambient ring for a more premium feel */
.btn-primary{
  box-shadow: 0 14px 36px -10px rgba(230, 57, 70, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
 
/* Eyebrow chip on dark: faint glass fill */
.theme-dark .eyebrow,
.hero .eyebrow{
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
 
/* Brand-toned custom scrollbar */
*{ scrollbar-width: thin; scrollbar-color: rgba(230, 57, 70, 0.55) transparent; }
::-webkit-scrollbar{ width: 11px; height: 11px; }
::-webkit-scrollbar-track{ background: #0c0c11; }
::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, var(--red-soft), var(--red-deep));
  border: 3px solid #0c0c11;
  border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover{ background: var(--red-glow); }
 
/* ---------------------------------------------------------
   Reduced motion — calm the new infinite/entrance animations
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  .hero-visual-shot{ opacity: 1; transform: none; animation: none; }
  .hero-visual-shot__inner{ animation: none; }
  .hero-visual-shot::before{ animation: none; }
  .img-slot img,
  .cta-bg img{ transition: none; }
}



/* Step number ripple effect */
.step-num {
  overflow: visible;
}
.step-num::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--red-primary);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.6s var(--ease);
}
.step:hover .step-num::after {
  opacity: 1;
  animation: ripple 1.2s ease-out infinite;
}
@keyframes ripple {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Industry icons - extra glow */
.ind-card:hover .ind-icon {
  box-shadow: 0 8px 24px -4px rgba(230, 57, 70, 0.5);
}

/* FAQ - smooth chevron rotate already there, add background sweep */
.faq-item {
  position: relative;
  overflow: hidden;
}
.faq-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--red-glow), var(--red-deep));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.faq-item.open::before { transform: scaleY(1); }

/* Team initials - pulse on hover */
.team-card:hover .team-initials {
  animation: pulse-text 1.5s ease-in-out infinite;
}
@keyframes pulse-text {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* CTA section - more dramatic glow */
.cta-section::after {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 31, 58, 0.25) 0%, transparent 60%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-glow-big 4s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}
@keyframes pulse-glow-big {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

/* Marquee items - hover pause */
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Why-card 3D tilt enhancement */
.why-card {
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.why-card:hover {
  box-shadow: 0 20px 50px -15px rgba(255, 31, 58, 0.4);
}

/* Word-by-word reveal - smoother */
.split-word {
  display: inline-block;
  margin-right: 0.2em;
}

/* Float-shape variants for dark sections */
section.theme-dark:nth-of-type(odd)::after {
  top: 60%; left: 5%; right: auto;
  animation-delay: -3s;
  animation-duration: 14s;
}

/* Shimmer removed - replaced with solid color in v6 overrides */

/* Eyebrow pulse - subtle */
.eyebrow {
  transition: transform 0.3s var(--ease);
}
.eyebrow:hover { transform: scale(1.05); }

/* Animate-in for buttons globally on visible */
.btn {
  transform-style: preserve-3d;
}

/* Smooth backdrop blur on FAQ panels when open */
.faq-item.open .faq-a-inner {
  animation: panelIn 0.5s var(--ease);
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CSSEOF marker */

/* =========================================================
   V6 OVERRIDES — bigger logo, smooth transitions, new layouts
   ========================================================= */

@media (max-width: 700px) {
  .logo { height: 44px !important; }
  .header.scrolled .logo { height: 40px !important; }
}

/* 2) Hero watermark — VERTICAL column on the right side, rotated 90deg, BIG font */
.hero { position: relative; overflow: hidden; }
.hero-watermark {
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%) rotate(90deg) scale(1.15);
  transform-origin: center center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(6rem, 13vw, 13rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  -webkit-text-stroke: 2px rgba(255, 77, 95, 0.30);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
}
@media (max-width: 980px) {
  .hero-watermark {
    font-size: 5rem;
    right: -0.5rem;
    opacity: 0.6;
  }
}

/* About / Contact page-hero watermark - even bigger */
.page-hero .hero-watermark {
  font-size: clamp(11rem, 24vw, 24rem);
}

/* Make sure hero content stays above the watermark */
.hero .container { position: relative; z-index: 2; }

/* 3) Clear hero divider between CTA and description */
.hero-divider {
  margin: 2.4rem 0 1.6rem;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--red-primary), transparent);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  animation: divider-in 0.8s 0.5s var(--ease) forwards;
}
@keyframes divider-in {
  to { opacity: 1; transform: scaleX(1); }
}

/* 4) Hero title accent — matte logo red, no glow */
.hero-title .accent,
.hero-title .accent-matte {
  color: #E63946;
  background: none;
  -webkit-text-fill-color: #E63946;
  text-shadow: none;
  display: inline-block;
  position: relative;
}

/* split-words inside accent inherit the matte logo red */
.hero-title .accent .split-word,
.hero-title .accent-matte .split-word {
  color: #E63946;
  -webkit-text-fill-color: #E63946;
}

/* 5) Smooth dark → light → red gradient transitions between sections */
.theme-dark + .marquee,
.theme-dark + .theme-light,
.theme-dark + .theme-light-2 {
  position: relative;
}
section.theme-dark { position: relative; }
section.theme-dark::before {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(230, 57, 70, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(206, 26, 48, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, transparent 0%, transparent 90%, rgba(255, 255, 255, 0.04) 100%);
}

/* Smooth fade for theme-red coming after theme-dark */
section.theme-dark + section.theme-red,
section.theme-light + section.theme-red,
section.theme-light-2 + section.theme-red {
  background: linear-gradient(180deg, transparent 0%, #15040A 8%, #15040A 92%, transparent 100%), linear-gradient(135deg, #15040A 0%, #1F0610 100%);
}

/* 6) Remove the mouse-tracking red spotlight on cards */
.svc-card-v2-inner::before {
  display: none !important;
}
.cursor-orb { display: none !important; }

/* 7) New services layout — left intro / right tiles */
.services-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .services-split { grid-template-columns: 1fr; gap: 2.5rem; }
}
.services-split-left h2 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.services-split-left p {
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
  color: var(--dark-text-body);
}
.services-cta {
  margin-top: 0.5rem;
}

.services-split-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
@media (max-width: 600px) { .services-split-right { grid-template-columns: 1fr; } }

.svc-rect {
  padding: 1.5rem 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  color: var(--dark-text);
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.01em;
  cursor: default;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.svc-rect::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--ease);
}
.svc-rect:hover {
  background: rgba(230, 57, 70, 0.08);
  border-color: var(--red-primary);
  transform: translateX(4px);
}
.svc-rect:hover::before { transform: scaleY(1); }

/* 8) Pinned / stacking timeline */
.pinned-section { padding: 5rem 0 8rem; }
.pinned-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: stretch;
  position: relative;
}
@media (max-width: 900px) {
  .pinned-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Heading column stretches to full height; heading inside is sticky */
.pinned-heading-col {
  position: relative;
}
.pinned-heading {
  position: sticky;
  top: 11rem;
  padding-top: 2.5rem;
}
.pinned-heading h2 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: var(--light-text);
}
.pinned-heading p { color: var(--light-text-body); font-size: 1.05rem; }
.pinned-team-photo {
  margin: 1.8rem 0 0;
  max-width: 380px;
}
.pinned-team-photo img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--light-border);
  box-shadow: 0 10px 30px -12px rgba(14, 14, 19, 0.18);
  display: block;
}
.pinned-team-photo figcaption {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--light-text-body);
  font-style: italic;
}
@media (max-width: 900px) {
  .pinned-heading { position: static; }
  .pinned-heading-col { height: auto; }
}

.pinned-steps {
  display: flex;
  flex-direction: column;
  /* Give each card its own scroll-snap slot — vertical space so they stack one over the other */
  padding-bottom: 0;
}

.pin-step {
  position: sticky;
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: 20px;
  padding: 2.4rem 2.2rem 2.4rem 5.2rem;
  min-height: 8.5rem;
  box-shadow: 0 6px 24px -8px rgba(14, 14, 19, 0.08);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  /* Reduced stacking distance — cards still slide over each other but the gap is tighter */
  margin-bottom: 9vh;
}
/* Last card doesn't need extra space below it */
.pin-step:last-child { margin-bottom: 0; }

/* All cards stick at the same top position so they overlap as you scroll past each one */
.pin-step[data-step="01"] { top: 8rem; }
.pin-step[data-step="02"] { top: 8.5rem; }
.pin-step[data-step="03"] { top: 9rem; }
.pin-step[data-step="04"] { top: 9.5rem; }
.pin-step[data-step="05"] { top: 10rem; }

@media (max-width: 900px) {
  .pin-step {
    position: static;
    top: auto !important;
    margin-bottom: 1rem;
    padding: 1.8rem 1.6rem 1.8rem 4.6rem;
    min-height: auto;
  }
}

.pin-step:hover {
  transform: translateX(6px);
  box-shadow: 0 14px 30px -10px rgba(230, 57, 70, 0.25);
}

.pin-num {
  position: absolute;
  left: 1.6rem;
  top: 2.2rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--red-primary);
  color: #fff;
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 0 0 6px rgba(230, 57, 70, 0.12);
}
.pin-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--light-text);
}
.pin-step p { color: var(--light-text-body); font-size: 0.95rem; }

/* 9) Why-us — row-based slide from left/right with row delays */
.reveal-rows .why-card {
  opacity: 0;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-rows .why-card[data-side="left"]  { transform: translateX(-80px); }
.reveal-rows .why-card[data-side="right"] { transform: translateX(80px); }
.reveal-rows.visible .why-card {
  opacity: 1;
  transform: translateX(0);
}
/* Row delays — row 1 fast, 2 slight delay, 3 most */
.reveal-rows.visible .why-card[data-row="1"] { transition-delay: 0.05s; }
.reveal-rows.visible .why-card[data-row="2"] { transition-delay: 0.35s; }
.reveal-rows.visible .why-card[data-row="3"] { transition-delay: 0.65s; }

/* 10) Marquee — give the outlined text more visible weight on light bg */
.marquee {
  background: var(--light-bg-2);
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}
.marquee-track span {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(14, 14, 19, 0.55);
  font-weight: 700;
}
.marquee-track span.solid {
  -webkit-text-stroke: 0;
  color: var(--light-text);
}
/* Hashtag tags (# Enterprise Ready, etc.) — bold and red */
.marquee-track span.hash {
  -webkit-text-stroke: 0;
  color: var(--red-primary);
  font-weight: 800;
}

/* 11) Smooth transition into ghost brand at bottom */
.ghost-brand {
  background: #08080B;
  padding: 1rem 0 0.5rem;
  position: relative;
}
.ghost-brand::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(180deg, #08080B, transparent);
}
.ghost-brand img {
  opacity: 0.6;
  max-width: 1100px;
  margin: 0 auto;
  display: block;
}


#shorts .container {
  display: flex;
  flex-direction: column;
  align-items: center;   /* forces centering even if container is flex */
}

.shorts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6.5rem;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;        /* keep as fallback for block-level parents */
}

@media (max-width: 900px) {
  .shorts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }
}

@media (max-width: 768px) {
  .shorts-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 520px) {
  .shorts-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

.short-card {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;   /* keeps proper Shorts proportions */
  border-radius: 16px;
  overflow: hidden;
}
.short-card:hover{
  transform: translateY(-6px);
  border-color: var(--red-primary);
  box-shadow: 0 30px 70px -28px rgba(230,57,70,.45);
}
.short-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/*-------------------------------------------------------------------------


/* 12) Hide modals not needed on home (form modal kept for compatibility) */
/* The contact-choice modal will be removed from HTML, no css needed */


/* =========================================================
   V6 — ABOUT / CONTACT PAGES
   ========================================================= */

/* Page hero (smaller than home hero) */
/* Page hero */
.page-hero {
  /* padding: 14rem 0 5rem; */
  position: relative;
  overflow: hidden;
  text-align: left;
  min-height: 100svh;
  
}

.page-hero {
  min-height: 100vh;       /* fallback for older browsers */
  min-height: 100svh;      /* modern mobile-correct value */
}

/* ---- Section + background wrapper ---- */
.page-hero-process {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh; /* correct mobile viewport height (avoids URL-bar jump) */
}
 
.page-hero-process .page-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #08080B; /* fills letterbox bars on mobile + loading fallback */
  z-index: 0;
}
 
/* ---- The image itself ---- */
.page-hero-process .page-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* desktop default: fills the box */
  object-position: center center;
  opacity: 0.85;
}
 
@media (max-width: 768px) {
  .page-hero-process .page-hero-bg img {
    object-fit: cover;        /* mobile: fill the hero, crop sides */
  }
}
 
/* ---- Dark readability overlay above image, below text ---- */
.page-hero-process .page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.60);
}
 
/* ---- Hero text content sits above everything ---- */
.page-hero-process .container {
  position: relative;
  z-index: 2;
}

@media(min-width:768px){
  .process_container{
    margin-top: 10%;
  }
}
 
/* Keep the generous desktop padding, but ease it back on mobile
   so the heading isn't pushed too far down the (now letterboxed) image */
@media (max-width: 768px) {
  .page-hero-process {
    padding: 9rem 0 4rem;
  }
}






.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-top: 1rem;
  margin-bottom: 1.4rem;
  max-width: 900px;
  color: var(--dark-text);
}
.page-hero h1 .accent {
  color: #E63946;
  background: none;
  -webkit-text-fill-color: #E63946;
  text-shadow: none;
}
.page-hero-sub {
  font-size: 1.1rem;
  color: var(--dark-text-body);
  max-width: 720px;
  line-height: 1.7;
}







@media (max-width: 768px) {
  .page-hero {
    min-height: 100svh;
    padding: 8rem 0 4rem;
  }


  
 
}


/* =============================================
   PAGE HERO VIDEO — FINAL CLEAN OVERRIDE
   ============================================= */

.page-hero {
  position: relative !important;
  overflow: hidden !important;
  min-height: 100vh;
  min-height: 100svh;
  padding: 14rem 0 5rem;
}





.page-hero .container {
  position: relative !important;
  z-index: 2 !important;
}

/* =============================================
   PAGE HERO VIDEO — FINAL CLEAN OVERRIDE
   ============================================= */

   /* ===========================================================
   MOBILE — full-bleed blurred backdrop + fully-visible video
   =========================================================== */
.page-hero-bg,
.page-hero-bg_contact {
  position: absolute !important;
  inset: 0 !important;
  overflow: hidden !important;
  background: #08080B; /* fallback while video loads */
}

/* Backdrop copy — fills the entire screen, cropped is fine here
   because it's blurred and purely atmospheric, not the content. */



/* Main copy — always shows the FULL, uncropped video */


.page-hero-overlay { z-index: 2 !important; }
.page-hero .container { z-index: 3 !important; }


.page-hero {
  position: relative !important;
  overflow: hidden !important;
  min-height: 100vh;
  min-height: 100svh;
  padding: 14rem 0 5rem;
}


/* ===========================================================
   MOBILE FIX — show the FULL video on narrow/portrait screens
   Cover crops a landscape video hard when the box turns portrait,
   so on mobile we switch to contain (whole frame visible,
   letterboxed) and fill the bars with the dark bg color.
*/



.page-hero .container {
  position: relative !important;
  z-index: 2 !important;
}

@media (max-width: 768px) {

  #hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}


.page-hero .container {
  position: relative;
  z-index: 1;
}


/* Make the Get-in-touch section black */
.contact-section.theme-light{
  background: #0f0f0f;
}

/* light text on the black background */
.contact-section .contact-info h2,


.contact-section .eyebrow{
  color: rgba(255, 255, 255, 0.92);
}
.contact-section .contact-info-item strong{ color: #fff; }
.contact-section .contact-info-item p,
.contact-section .contact-info-item a{ color: rgba(255, 255, 255, 0.65); }
.contact-section .contact-info-item a:hover{ color: #E63946; }

/* icon chips readable on black */
.contact-section .ci-ico{
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.3);
}
.contact-section .ci-ico svg{ stroke: #E63946; }

/* eyebrow chip */
.contact-section .eyebrow{
  background: rgba(230, 57, 70, 0.12);
  border-color: rgba(230, 57, 70, 0.3);
}
.connect-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.connect-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}
.contact-section {
  position: relative;
  overflow: hidden;
  background: #1a0608;
}

.contact-section #contact-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-section h2,
.contact-section p,
.contact-section strong,
.contact-section .contact-info > p {
  color: rgba(255, 255, 255, 0.9);
}

.contact-section .contact-info-item p,
.contact-section .contact-info-item a {
  color: rgba(255, 255, 255, 0.65);
}

.contact-section .contact-info-item a:hover {
  color: #E63946;
}

.contact-section .contact-info-item strong {
  color: #fff;
}

.contact-section .ci-ico {
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.25);
}

.contact-section .ci-ico svg {
  stroke: #E63946;
}

.contact-section .eyebrow {
  background: rgba(230, 57, 70, 0.12);
  border-color: rgba(230, 57, 70, 0.3);
  color: rgba(255, 255, 255, 0.85);
}

.connect-hero-bg .page-hero-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.75) 100%
  ); */
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--light-text-body);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 420px;
}
.contact-info-list { display: grid; gap: 1.4rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.ci-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--pink-tint);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.ci-ico svg { width: 20px; height: 20px; stroke: var(--red-primary); }
.contact-info-item strong {
  display: block;
  color: var(--light-text);
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.contact-info-item p, .contact-info-item a {
  color: var(--light-text-body);
  font-size: 0.95rem;
  line-height: 1.55;
}
.contact-info-item a:hover { color: var(--red-primary); }

.contact-info-wa {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: #25D366;
  color: #fff;
  border-radius: 14px;
  margin-top: 1rem;
  box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.5);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-info-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(37, 211, 102, 0.6);
}
.contact-info-wa svg { width: 28px; height: 28px; flex-shrink: 0; }
.contact-info-wa strong { display: block; font-size: 1.02rem; }
.contact-info-wa small { color: rgba(255, 255, 255, 0.85); font-size: 0.82rem; }

.contact-form-card {
  background: #fff;
  border-radius: 22px;
  padding: 2.4rem;
  border: 1px solid var(--light-border);
  box-shadow: 0 20px 50px -20px rgba(14, 14, 19, 0.12);
}
.contact-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  color: var(--light-text);
}
.contact-form-card .sub {
  color: var(--light-text-body);
  margin-bottom: 1.6rem;
  font-size: 0.95rem;
}

/* MAP */
.map-section { padding: 5rem 0 6rem; }
.map-wrap {
  border-radius: 22px;
  overflow: hidden;
  height: 460px;
  border: 1px solid var(--light-border);
  box-shadow: 0 20px 50px -20px rgba(14, 14, 19, 0.15);
  filter: grayscale(0.2) contrast(1.05);
}
.map-wrap iframe { width: 100%; height: 100%; display: block; }

.contact-illustration {
  margin: 1.8rem 0;
  border-radius: 16px;
  overflow: hidden;
}

.contact-illustration svg {
  width: 100%;
  height: auto;
  display: block;
  animation: float-card 4s ease-in-out infinite;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}




/* =========================================================
   FOCUS — accessibility
   ========================================================= */
.btn:focus-visible,
.nav-links a:focus-visible,
.svc-rect:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--red-primary);
  outline-offset: 3px;
}


/* =========================================================
   SERVICES — STAIRCASE LAYOUT (each card indented from above)
   ========================================================= */
.svc-stair {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.svc-stair-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.6rem 1.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  transition: all 0.4s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

/* Staircase indent — each card pushed further right than the one above */
.svc-stair-card[data-svc="01"] { margin-left: 0%;    margin-right: 16%; }
.svc-stair-card[data-svc="02"] { margin-left: 2%;    margin-right: 14%; }
.svc-stair-card[data-svc="03"] { margin-left: 4%;    margin-right: 12%; }
.svc-stair-card[data-svc="04"] { margin-left: 6%;    margin-right: 10%; }
.svc-stair-card[data-svc="05"] { margin-left: 8%;    margin-right: 8%; }
.svc-stair-card[data-svc="06"] { margin-left: 10%;   margin-right: 6%; }
.svc-stair-card[data-svc="07"] { margin-left: 12%;   margin-right: 4%; }
.svc-stair-card[data-svc="08"] { margin-left: 14%;   margin-right: 2%; }
.svc-stair-card[data-svc="09"] { margin-left: 16%;   margin-right: 0; }

@media (max-width: 800px) {
  .svc-stair-card { margin-left: 0 !important; margin-right: 0 !important; padding: 1.3rem 1.4rem; }
}

.svc-stair-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.svc-stair-card:hover {
  background: rgba(230, 57, 70, 0.06);
  border-color: var(--red-primary);
  transform: translateX(-8px);
}
.svc-stair-card:hover::before { transform: scaleY(1); }

.svc-stair-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.2rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(230, 57, 70, 0.6);
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
  transition: all 0.3s var(--ease);
}
.svc-stair-card:hover .svc-stair-num {
  color: var(--red-primary);
  -webkit-text-stroke: 0;
}

.svc-stair-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
  color: var(--dark-text);
}
.svc-stair-body p {
  color: var(--dark-text-body);
  font-size: 0.95rem;
  line-height: 1.5;
}

.svc-stair-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}
.svc-stair-card:hover .svc-stair-arrow {
  background: var(--red-primary);
  border-color: var(--red-primary);
  transform: rotate(-45deg);
}
.svc-stair-arrow svg { width: 16px; height: 16px; stroke: rgba(255, 255, 255, 0.7); transition: stroke 0.3s ease; }
.svc-stair-card:hover .svc-stair-arrow svg { stroke: #fff; }

/* Cascading staggered entrance — each card from right with progressive delay */
.svc-stair-card.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.svc-stair-card.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.svc-stair-card[data-svc="01"].reveal-right.visible { transition-delay: 0.05s; }
.svc-stair-card[data-svc="02"].reveal-right.visible { transition-delay: 0.18s; }
.svc-stair-card[data-svc="03"].reveal-right.visible { transition-delay: 0.31s; }
.svc-stair-card[data-svc="04"].reveal-right.visible { transition-delay: 0.44s; }
.svc-stair-card[data-svc="05"].reveal-right.visible { transition-delay: 0.57s; }
.svc-stair-card[data-svc="06"].reveal-right.visible { transition-delay: 0.70s; }
.svc-stair-card[data-svc="07"].reveal-right.visible { transition-delay: 0.83s; }
.svc-stair-card[data-svc="08"].reveal-right.visible { transition-delay: 0.96s; }
.svc-stair-card[data-svc="09"].reveal-right.visible { transition-delay: 1.09s; }


/* =========================================================
   CLIENTS PAGE — LOGOS GRID
   ========================================================= */
.logo-marquee{
  position: relative;
  overflow: hidden;
  border: 1px solid var(--light-border);
  border-radius: 18px;
  background: #fff;
  /* fade the left/right edges so logos appear/disappear softly */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-track{
  display: flex;
  width: max-content;
  animation: logo-scroll 34s linear infinite;
}
.logo-marquee:hover .logo-track{ animation-play-state: paused; }

/* one full set = 50% of the track, so -50% loops seamlessly */
@keyframes logo-scroll{
  from{ transform: translate3d(0,0,0); }
  to  { transform: translate3d(-50%,0,0); }
}

/* reuse your card styling, sized for a row */
.logo-marquee .client-logo{
  flex: 0 0 auto;
  width: 200px;
  min-height: 120px;
  border: 0;                 /* grid had cell borders; not needed in a row */
}
.logo-marquee .client-logo img{
  max-width: 130px;
  max-height: 48px;
  width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .65;
  transition: filter .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease);
}
.logo-marquee .client-logo:hover img{
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce){
  .logo-track{ animation: none; }
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  background: var(--light-border);
  border: 1px solid var(--light-border);
  border-radius: 18px;
  overflow: hidden;
}
.client-logo {
  background: #fff;
  display: grid;
  place-items: center;
  padding: 2.4rem 1.2rem;
  min-height: 110px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.client-logo span {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--light-text-muted, #6b6b75);
  letter-spacing: -0.01em;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.client-logo:hover {
  background: var(--light-bg-2);
}
.client-logo:hover span {
  opacity: 1;
  color: var(--red-primary);
}

/* =========================================================
   CLIENTS PAGE — TESTIMONIALS
   ========================================================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -12px rgba(230, 57, 70, 0.18);
  border-color: rgba(230, 57, 70, 0.35);
}
.testimonial-quote {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--light-text);
  font-style: italic;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid var(--light-border);
  padding-top: 1.2rem;
}
.testimonial-author strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--light-text);
}
.testimonial-author span {
  display: block;
  font-size: 0.85rem;
  color: var(--light-text-body);
  margin-top: 2px;
}
.t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-primary), var(--red-deep, #b91829));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* =========================================================
   ENGAGEMENT MODEL (process page)
   ========================================================= */
.engage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}
@media (max-width: 980px)  { .engage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .engage-grid { grid-template-columns: 1fr; } }

.engage-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.engage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px -14px rgba(230, 57, 70, 0.22);
  border-color: rgba(230, 57, 70, 0.4);
}
.engage-step {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red-primary);
  background: rgba(230, 57, 70, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.engage-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 0.6rem;
}
.engage-card p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--light-text-body);
}

/* =========================================================
   PLACEHOLDER MARKER (remove .ph styling once real content is in)
   ========================================================= */
.ph {
  background: rgba(230, 57, 70, 0.12);
  color: #b91829;
  border-bottom: 1px dashed rgba(230, 57, 70, 0.6);
  padding: 0 2px;
  border-radius: 3px;
}
.theme-dark .ph, .page-hero .ph {
  background: rgba(255, 77, 95, 0.18);
  color: #ff9aa6;
  border-bottom-color: rgba(255, 77, 95, 0.6);
}
.team-note {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--light-text-body);
  font-style: italic;
  text-align: center;
}

/* =========================================================
   STAT BAR (about page)
   ========================================================= */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 1.8rem 1rem;
  background: rgba(255,255,255,0.02);
}
@media (max-width: 720px) { .stat-bar { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; } }
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #fff;
  line-height: 1.1;
}
.stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
}

/* =========================================================
   FOUNDING STORY (about page)
   ========================================================= */
.story-image {
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  display: block;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.story-head h2 { margin-top: 0.6rem; }
.story-body p { color: var(--light-text-body); line-height: 1.7; margin-bottom: 1rem; }

/* =========================================================
   TEAM GRID (about page)
   ========================================================= */
.team-grid {
  display: grid;
  /* grid-template-columns: repeat(3, 1fr); */
  gap: 1.6rem;
  margin-top: 2.5rem;
}
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: 18px;
  padding: 1.4rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -14px rgba(230,57,70,0.18); }
.team-photo { margin-bottom: 1rem; }
.team-photo img, .team-photo-ph {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  object-fit: cover;
}
.team-photo-ph {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.2rem;
  background: repeating-linear-gradient(45deg, #f4f4f6, #f4f4f6 10px, #ececf0 10px, #ececf0 20px);
  border: 1px dashed #c9c9d2;
  color: #9a9aa6;
}
.team-photo-ph span {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #b9b9c4;
}
.team-photo-ph small { font-size: 0.7rem; letter-spacing: 0.15em; }
.team-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  color: var(--light-text);
  margin-bottom: 0.2rem;
}
.team-role {
  display: block;
  font-size: 0.85rem;
  color: var(--red-primary);
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.team-card p { font-size: 0.9rem; line-height: 1.6; color: var(--light-text-body); }

/* =========================================================
   CASE STUDIES (work page)
   ========================================================= */
.case-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 1rem;
}
.case-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: 20px;
  padding: 2rem 2rem 2rem 5.2rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.case-card:hover {
  transform: translateX(5px);
  box-shadow: 0 16px 40px -14px rgba(230,57,70,0.2);
  border-color: rgba(230,57,70,0.35);
}
.case-num {
  position: absolute;
  left: 1.6rem;
  top: 2rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--red-primary);
  opacity: 0.5;
}
.case-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--light-text-body);
  margin-bottom: 1.2rem;
}
.case-rows { display: grid; gap: 0.9rem; }
.case-row { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; align-items: start; }
@media (max-width: 560px) { .case-card { padding-left: 1.6rem; } .case-num { position: static; display:block; margin-bottom: 0.6rem; } .case-row { grid-template-columns: 1fr; gap: 0.2rem; } }
.case-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-primary);
  padding-top: 0.15rem;
}
.case-row p { font-size: 0.96rem; line-height: 1.6; color: var(--light-text); margin: 0; }

/* =========================================================
   ABOUT — TEAM GROUP PHOTO + CASE STUDY
   ========================================================= */
.team-group-photo {
  margin: 0 0 3rem;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px -20px rgba(14, 14, 19, 0.25);
  border: 1px solid var(--light-border);
}
.team-group-photo img { width: 100%; height: auto; display: block; }

.case-study {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: 22px;
  padding: 2.6rem 2.4rem;
  box-shadow: 0 20px 60px -28px rgba(14, 14, 19, 0.22);
}
.case-study-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.case-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red-primary);
  background: rgba(230, 57, 70, 0.08);
  border: 1px solid rgba(230, 57, 70, 0.18);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.case-title {
  font-size: 1.6rem;
  color: var(--light-text);
  margin-bottom: 1.6rem;
  line-height: 1.2;
}
.case-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-bottom: 2rem;
}
@media (max-width: 740px) { .case-blocks { grid-template-columns: 1fr; gap: 1.2rem; } }
.case-block h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-text-body);
  margin-bottom: 0.5rem;
}
.case-block p { font-size: 0.95rem; line-height: 1.55; color: var(--light-text); }
.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
  margin-bottom: 1.4rem;
}
@media (max-width: 740px) { .case-stats { grid-template-columns: 1fr; gap: 1.2rem; text-align: center; } }
.case-stat-num {
  display: block;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--red-primary);
  line-height: 1.1;
}
.case-stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--light-text-body);
  margin-top: 0.25rem;
}
.case-note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--light-text-body);
}


/* css for video — contact page hero */



/* Video fills the entire hero band, full width, no left shift */
.page-hero-bg_contact {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  z-index: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}





/* Keep text above the video */
.page-hero_contact .container {
  position: relative;
  z-index: 2;
  margin-top: 200px;
}

@media(max-width:768px){
  .page-hero_contact .container {
  position: relative;
  z-index: 2;
  margin-top: 60px;
}
}




.page-hero-overlay_contact {
  position: absolute;
  inset: 0;
  z-index: 1;                /* above video (0), below text (2) */
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0.35) 100%
  );
}


/* =========================================================
   HERO VIDEO — FULL FIX (paste at very bottom of style.css)
   ========================================================= */

/* Remove all conflicting page-hero-bg rules and define once cleanly */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
}

/* ===========================================================
   PAGE HERO VIDEO — single source of truth
   Desktop: cover (video is wide enough, no crop issue)
   Mobile: contain + blurred cover backdrop (full video visible,
   no dead black bars)
   =========================================================== */
.page-hero,
.page-hero-process,
.page-hero_contact {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
}

.page-hero-bg{
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #08080B;
  z-index: 0;
}

/* Desktop default: single sharp video, fills the box */
.page-hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  margin-top: 120px;
}

.page-hero-bg_contact .hero-bg-blur {
  filter: blur(45px) brightness(0.5) saturate(1.15);
  transform: scale(1.2);
  z-index: 0;
  display: none;
}
.page-hero-bg_contact .hero-bg-main {
  object-fit: cover; /* desktop default */
  z-index: 1;
}

@media (max-width: 768px) {
  .page-hero-bg_contact .hero-bg-blur {
    display: none; /* main video covers fully, backdrop not needed */
  }
  .page-hero-bg_contact .hero-bg-main {
    object-fit: cover; /* mobile: fill the hero, crop sides */
  }
}




/* Blurred backdrop copy — hidden on desktop, shown on mobile only */
.hero-bg-blur {
  filter: blur(45px) brightness(0.5) saturate(1.15);
  transform: scale(1.2);
  z-index: 0;
  display: none;
}

/* Sharp foreground copy — full, uncropped video */
.hero-bg-main {
  object-fit: cover; /* desktop */
  z-index: 1;
}

.page-hero-overlay,
.page-hero-overlay_contact {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
}

.page-hero .container,
.page-hero_contact .container {
  position: relative;
  z-index: 3;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 8rem 0 4rem;
  }
  .hero-bg-blur {
    display: none; /* main video covers fully, backdrop not needed */
  }
  .hero-bg-main {
    object-fit: cover; /* mobile: fill the hero, crop sides */
  }
}


/* Mobile — identical rules, forced */
@media (max-width: 768px) {
  .page-hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 8rem 0 4rem;
  }

  

}

/* Text sits above video on all screen sizes */
.page-hero .container {
  position: relative !important;
  z-index: 2 !important;
}

.page-hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.60) !important;
  z-index: 1 !important;
}

.btn:hover {
    color: var(--bs-btn-hover-color);
     background-color: var(--red-primary); 
     border-color: var(--red-primary); 
}




.yt_shorts iframe{
  max-width: 75%;
  margin: auto;

}

.yt_shorts iframe {
  width: 75%;
  height: 300px;   /* reduce height here */
  margin: auto;
  display: block;
}




/* ===========================================================
   CONTACT PAGE HERO VIDEO — single source of truth
   Targets the actual class in the HTML: .sales_video
   Desktop: cover (fills screen, no crop issue on wide screens)
   Mobile: contain (shows the FULL landscape video, letterboxed
   top/bottom instead of cropped left/right)
   =========================================================== */
.page-hero-bg_contact {
  position: absolute !important;
  inset: 0 !important;
  overflow: hidden !important;
  background: #08080B; /* letterbox fill color */
  z-index: 0 !important;
}

.page-hero-bg_contact video.sales_video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 768px) {
  .page-hero-bg_contact video.sales_video {
    object-fit: cover; /* mobile: fill the hero, crop sides */
  }
}

.page-hero-overlay_contact {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-hero_contact .container {
  position: relative;
  z-index: 2;
}
/* Mobile CTA inside hamburger menu */
.nav-cta-mobile { display: none; }
@media (max-width: 900px) {
  .nav-links.mobile-open .nav-cta-mobile { display: block; margin-top: 0.5rem; }
}

/* ---- Aspect-ratio guards (img width/height attrs must never distort) ---- */
picture { display: contents; }
img { height: auto; }
.logo, .header.scrolled .logo { width: auto !important; }

/* Industries / generic page-hero background image: fill and cover like the videos */
.page-hero .page-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
@media (max-width: 768px) {
  .page-hero .page-hero-bg img { object-fit: cover; }
}


/* =========================================================
   FINAL MOBILE MEDIA OVERRIDES — single source of truth.
   Supersedes all legacy hero-fix blocks above. Do not add
   hero media rules anywhere else; edit here only.
   ========================================================= */

/* Hero videos and hero background images: always fill the hero, no bands, no split */
#hero-video,
.hero-bg-main,
.page-hero-bg video,
.page-hero-bg img,
.page-hero-bg_contact video,
.page-hero-process .page-hero-bg img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* The blurred duplicate layer is never needed: hidden everywhere */
.hero-bg-blur { display: none !important; }

/* Logos always keep their aspect ratio at any header height */
.logo, .footer-logo, .header.scrolled .logo { width: auto !important; }
.ghost-brand img { width: 100% !important; height: auto !important; }

/* Any other image: never distort */
img { height: auto; }


/* Mobile: stronger overlay so hero text stays readable over the portrait video */
@media (max-width: 768px) {
  .page-hero-overlay { background: rgba(0, 0, 0, 0.72) !important; }
  .page-hero-overlay_contact {
    background: linear-gradient(to bottom,
      rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.62) 55%, rgba(0,0,0,0.45) 100%) !important;
  }
}


/* =========================================================
   OPTION 2 — STACKED MOBILE HERO (About, Contact, Process)
   Mobile only: compact dark hero with the headline, then the
   full uncropped video/image as a natural-width band below.
   Desktop untouched. Supersedes the cover overrides above.
   ========================================================= */
@media (max-width: 768px) {
  .page-hero,
  .page-hero_contact,
  .page-hero-process {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 6.5rem 0 0 !important;
    background: #08080B !important;
  }
  .page-hero .container,
  .page-hero_contact .container,
  .page-hero-process .container {
    order: 1;
    position: relative !important;
    margin-top: 0 !important;
    padding-bottom: 1.75rem;
    z-index: 1 !important;
  }
  .page-hero-bg,
  .page-hero-bg_contact,
  .page-hero-process .page-hero-bg {
    position: static !important;
    inset: auto !important;
    order: 2;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }
  #hero-video,
  .hero-bg-main,
  .page-hero-bg video,
  .page-hero-bg img,
  .page-hero-bg_contact video,
  .page-hero-bg_contact video.sales_video,
  .page-hero-process .page-hero-bg img {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
  .page-hero-overlay,
  .page-hero-overlay_contact,
  .page-hero-process .page-hero-overlay {
    display: none !important;
  }
}


/* Industries hero sits on a red image: switch red text accents to white for contrast */
.hero-on-red h1 .accent {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}
.hero-on-red .eyebrow .dot { background: #ffffff !important; box-shadow: none !important; }
.hero-on-red .eyebrow {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}
