/* ============================================================
   STRAVIAM — FIXED & ENHANCED
   Footer improved • Contact form added • Green fixed • Three.js ready
   ============================================================ */
:root {
  /* Light premium base */
  --paper: #F4EFE7;
  --paper-2: #EBE5D7;
  --paper-3: #E0D8C5;
  --surface: #FFFFFF;
  --surface-2: #FAF6EC;

  /* Ink */
  --ink: #0C0E10;
  --ink-2: #1F2125;
  --ink-soft: #4A4D54;
  --muted: #807F76;
  --line: rgba(12, 14, 16, 0.08);
  --line-strong: rgba(12, 14, 16, 0.18);

  /* Vibrant accents */
  --pri: #2B4FFF;
  --pri-light: #5577FF;
  --vio: #7B5BFF;
  --orange: #FF6B35;
  --pink: #FF4FA0;
  --lime: #EEFF99; /* ULTRA LIGHT - vibrant, fresh, perfect! */
  --cyan: #2DD4DA;

  /* Fonts */
  --f-sans: 'Inter', -apple-system, system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --f-serif: 'Instrument Serif', Georgia, serif;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background: var(--ink); color: var(--paper); }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--f-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
  letter-spacing: -0.01em;
  font-feature-settings: "ss01", "cv11";
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; color: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }

/* Subtle paper grain */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pri);
}

/* ============================================================
   NAV — floating glass pill (KEEP AS IS)
   ============================================================ */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 32px);
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 22px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: top 0.3s var(--ease), box-shadow 0.3s;
  box-shadow: 0 2px 12px rgba(12, 14, 16, 0.04);
}
.nav.scrolled {
  top: 12px;
  box-shadow: 0 12px 32px rgba(12, 14, 16, 0.10);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.025em;
}
.logo svg { width: 24px; height: 24px; transition: transform 1s var(--ease); }
.logo:hover svg { transform: rotate(180deg); }

.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  padding: 9px 16px;
  font-size: 13px;
  color: var(--ink-2);
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: var(--paper);
}
.nav-links a.active { background: var(--ink); color: var(--paper); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.nav-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--pri) 0%, var(--vio) 100%);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease);
  z-index: -1;
}
.nav-cta:hover::before { transform: translateY(0); }
.nav-cta:hover { transform: translateY(-1px); }
.nav-cta .arrow { transition: transform 0.3s var(--ease); }
.nav-cta:hover .arrow { transform: translate(2px, -2px); }

.mobile-toggle { display: none; }
@media (max-width: 880px) {
  .nav { padding: 6px 6px 6px 18px; }
  .nav-links { display: none; }
  .mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 42px; height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    background: var(--paper);
  }
  .mobile-toggle span {
    width: 16px; height: 1.5px;
    background: var(--ink);
    transition: transform 0.3s var(--ease), opacity 0.2s;
  }
  .mobile-toggle.open span:nth-child(1) { transform: translateY(2.75px) rotate(45deg); }
  .mobile-toggle.open span:nth-child(2) { opacity: 0; }
  .mobile-toggle.open span:nth-child(3) { transform: translateY(-2.75px) rotate(-45deg); }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 99;
  display: none;
  flex-direction: column;
  padding: 100px 32px 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 8px;
  font-size: 24px;
  font-weight: 600;
  color: var(--paper);
  border-bottom: 1px solid rgba(244, 239, 231, 0.1);
  letter-spacing: -0.025em;
  transition: padding-left 0.3s, color 0.3s;
}
.mobile-menu a:hover, .mobile-menu a.active { padding-left: 12px; color: var(--lime); }
.mobile-menu a .num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: rgba(244, 239, 231, 0.4);
  font-weight: 500;
}
.mobile-menu .nav-cta { margin-top: 28px; justify-content: center; padding: 14px; font-size: 14px; }

/* ============================================================
   BUTTONS (KEEP AS IS)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn .arrow { transition: transform 0.3s var(--ease); display: inline-block; }
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 4px 14px rgba(12, 14, 16, 0.15);
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--pri) 0%, var(--vio) 100%);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease);
  z-index: -1;
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(43, 79, 255, 0.32);
}
.btn-primary:hover .arrow { transform: translate(3px, -3px); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--surface);
  transform: translateY(-2px);
}

/* ============================================================
   HERO — WITH THREE.JS CANVAS
   ============================================================ */
.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--paper);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

/* Three.js canvas background */
#threejs-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.4;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.mb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}
.mb1 { width: 50vw; height: 50vw; top: -15%; left: -8%; background: radial-gradient(circle, rgba(43, 79, 255, 0.28) 0%, transparent 60%); animation: floatA 22s ease-in-out infinite; }
.mb2 { width: 45vw; height: 45vw; top: 10%; right: -12%; background: radial-gradient(circle, rgba(123, 91, 255, 0.24) 0%, transparent 60%); animation: floatB 26s ease-in-out infinite; }
.mb3 { width: 40vw; height: 40vw; bottom: -25%; left: 30%; background: radial-gradient(circle, rgba(255, 107, 53, 0.18) 0%, transparent 60%); animation: floatA 30s ease-in-out infinite reverse; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero-text { display: flex; flex-direction: column; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 11px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-2);
  font-weight: 500;
  margin-bottom: 28px;
  align-self: flex-start;
  opacity: 0;
  animation: up 0.8s var(--ease) 0.1s forwards;
}
.hero-badge .live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulseLive 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
  max-width: 14ch;
}
.hero-title .rl { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-title .rl > span {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp 1.1s var(--ease) forwards;
}
.hero-title .rl:nth-child(1) > span { animation-delay: 0.25s; }
.hero-title .rl:nth-child(2) > span { animation-delay: 0.35s; }
.hero-title .rl:nth-child(3) > span { animation-delay: 0.45s; }
.hero-title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--pri) 0%, var(--vio) 50%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradShift 8s ease infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.55;
  opacity: 0;
  animation: up 0.8s var(--ease) 0.85s forwards;
}

.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  opacity: 0;
  animation: up 0.8s var(--ease) 1s forwards;
}

/* Hero Scene - KEEP EXACTLY AS IS */
.hero-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 540px;
  margin: 0 auto;
  opacity: 0;
  animation: up 1s var(--ease) 0.5s forwards;
}

.scene-orbit-outer,
.scene-orbit-mid,
.scene-orbit-inner {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px dashed var(--line-strong);
  transform: translate(-50%, -50%);
}
.scene-orbit-outer { width: 100%; height: 100%; animation: orbitSpin 60s linear infinite; }
.scene-orbit-mid { width: 70%; height: 70%; animation: orbitSpin 45s linear infinite reverse; }
.scene-orbit-inner { width: 42%; height: 42%; animation: orbitSpin 30s linear infinite; }
@keyframes orbitSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.scene-core {
  position: absolute;
  top: 50%; left: 50%;
  width: 28%; height: 28%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pri) 0%, var(--vio) 50%, var(--orange) 100%);
  background-size: 200% 200%;
  animation: gradShift 6s ease infinite, coreFloat 4s ease-in-out infinite;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 80px rgba(43, 79, 255, 0.35),
    0 20px 60px -10px rgba(43, 79, 255, 0.4),
    inset 0 4px 12px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 400;
  letter-spacing: -0.02em;
}
@keyframes coreFloat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -54%) scale(1.04); }
}
.scene-core::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pri), var(--vio), var(--orange));
  filter: blur(14px);
  opacity: 0.5;
  z-index: -1;
  animation: gradShift 6s ease infinite;
}

.scene-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(12, 14, 16, 0.08);
  z-index: 2;
}
.scene-tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.scene-tag .ico {
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.scene-tag.t1 { top: 8%; left: 6%; animation: floatTag1 5s ease-in-out infinite; }
.scene-tag.t2 { top: 12%; right: 4%; animation: floatTag2 6s ease-in-out infinite; }
.scene-tag.t3 { bottom: 22%; left: -2%; animation: floatTag3 5.5s ease-in-out infinite; }
.scene-tag.t4 { bottom: 8%; right: 8%; animation: floatTag4 6.5s ease-in-out infinite; }
.scene-tag.t1 .dot { background: var(--pri); }
.scene-tag.t2 .dot { background: var(--orange); }
.scene-tag.t3 .dot { background: var(--vio); }
.scene-tag.t4 .dot { background: var(--lime); }
@keyframes floatTag1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(6px, -10px); }
}
@keyframes floatTag2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, -6px); }
}
@keyframes floatTag3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, 8px); }
}
@keyframes floatTag4 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-6px, 8px); }
}

.scene-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 14px;
  border-radius: 50%;
  margin: -7px;
  box-shadow: 0 0 16px currentColor;
}
.scene-dot.d1 { color: var(--pri); background: var(--pri); animation: dotOrbit1 18s linear infinite; }
.scene-dot.d2 { color: var(--orange); background: var(--orange); animation: dotOrbit2 14s linear infinite reverse; }
.scene-dot.d3 { color: var(--lime); background: var(--lime); width: 10px; height: 10px; margin: -5px; animation: dotOrbit3 22s linear infinite; }

@keyframes dotOrbit1 {
  from { transform: rotate(0deg) translateX(48%) rotate(0deg); }
  to { transform: rotate(360deg) translateX(48%) rotate(-360deg); }
}
@keyframes dotOrbit2 {
  from { transform: rotate(60deg) translateX(34%) rotate(-60deg); }
  to { transform: rotate(420deg) translateX(34%) rotate(-420deg); }
}
@keyframes dotOrbit3 {
  from { transform: rotate(180deg) translateX(20%) rotate(-180deg); }
  to { transform: rotate(540deg) translateX(20%) rotate(-540deg); }
}

@media (max-width: 980px) {
  .hero-scene { max-width: 440px; }
  .scene-tag { padding: 8px 12px; font-size: 11px; }
}
@media (max-width: 560px) {
  .hero-scene { max-width: 320px; }
  .scene-core { font-size: 18px; }
  .scene-tag { padding: 7px 11px; font-size: 10px; }
  .scene-tag .ico { width: 14px; height: 14px; }
}

/* ============================================================
   STRIP MARQUEE (KEEP AS IS)
   ============================================================ */
.strip {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.strip-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.strip-track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: slide 45s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.strip-item {
  font-family: var(--f-serif);
  font-size: 26px;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.025em;
}
.strip-sep {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.strip-track > .strip-sep:nth-child(4n+2) { background: var(--pri); }
.strip-track > .strip-sep:nth-child(4n+4) { background: var(--orange); }
.strip-track > .strip-sep:nth-child(4n+6) { background: var(--vio); }
.strip-track > .strip-sep:nth-child(4n+8) { background: var(--lime); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS (KEEP AS IS)
   ============================================================ */
.section {
  padding: 120px 0;
  position: relative;
}
.section.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  text-align: center;
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  max-width: 18ch;
}
.section-title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--pri) 0%, var(--vio) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 560px;
  line-height: 1.55;
}

/* Services grid - KEEP AS IS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 880px) {
  .services-grid { grid-template-columns: 1fr; }
}

.svc {
  position: relative;
  border-radius: 28px;
  padding: 36px 36px 32px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  isolation: isolate;
}
.svc:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(12, 14, 16, 0.25);
}
.svc.s1 { background: linear-gradient(160deg, #3A5FFF 0%, #2847D9 100%); color: var(--paper); }
.svc.s2 { background: linear-gradient(160deg, #FF7A48 0%, #E85D2A 100%); color: var(--paper); }
.svc.s3 { background: linear-gradient(160deg, #8B6FFF 0%, #6E4FE0 100%); color: var(--paper); }
.svc.s4 { background: linear-gradient(160deg, #1A1C20 0%, #2A2D35 100%); color: var(--paper); }

.svc-halo {
  position: absolute;
  width: 130%; height: 130%;
  top: -15%; right: -40%;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: -1;
  transition: transform 0.8s var(--ease), opacity 0.6s;
}
.svc.s1 .svc-halo { background: var(--pri-light); }
.svc.s2 .svc-halo { background: #FFB084; }
.svc.s3 .svc-halo { background: #B89BFF; }
.svc.s4 .svc-halo { background: var(--lime); } /* FIXED - lighter green */
.svc:hover .svc-halo { transform: scale(1.15); opacity: 0.55; }

.svc-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.svc-num::before {
  content: '';
  width: 22px; height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.svc-title {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.svc-title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  opacity: 0.95;
}
.svc-desc {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
  max-width: 460px;
  margin-bottom: auto;
}
.svc-art {
  margin-top: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.svc-illo {
  width: 130px;
  height: 130px;
  flex-shrink: 0;
  transition: transform 0.6s var(--ease);
}
.svc:hover .svc-illo { transform: scale(1.06) rotate(-4deg); }

.svc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  align-self: flex-end;
  transition: gap 0.3s, background 0.3s, border-color 0.3s;
  color: white;
}
.svc.s4 .svc-cta {
  background: rgba(244, 239, 231, 0.1);
  border-color: rgba(244, 239, 231, 0.2);
}
.svc:hover .svc-cta { gap: 12px; background: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.4); }
.svc-cta .arrow { transition: transform 0.3s var(--ease); }
.svc:hover .svc-cta .arrow { transform: translate(3px, -3px); }

@media (max-width: 700px) {
  .svc { padding: 28px; min-height: 340px; }
  .svc-illo { width: 100px; height: 100px; }
}

/* Illustration animations - KEEP */
.illo-spin { animation: illoSpin 24s linear infinite; transform-origin: center; }
@keyframes illoSpin { to { transform: rotate(360deg); } }
.illo-pulse-soft { animation: illoPulseSoft 4s ease-in-out infinite; transform-origin: center; }
@keyframes illoPulseSoft {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.92; }
}
.illo-float-y { animation: illoFloatY 5s ease-in-out infinite; }
@keyframes illoFloatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ============================================================
   ABOUT SECTION — EMOTIONAL STORYTELLING
   Real • Human • Inspiring
   ============================================================ */
.about {
  padding: 0;
  position: relative;
  overflow: hidden;
  background: #FAFAF9;
  color: var(--ink);
}

/* Cinematic gradient sweep - LIGHT VERSION */
.about::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: 
    radial-gradient(ellipse 100% 50% at 50% 0%, rgba(43,79,255,0.08), transparent 50%),
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(255,107,53,0.06), transparent 60%),
    radial-gradient(ellipse 80% 60% at 80% 50%, rgba(123,91,255,0.06), transparent 60%);
  animation: atmosphereShift 20s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes atmosphereShift {
  0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  100% { transform: translate(2%, -2%) scale(1.05); opacity: 1; }
}

/* Subtle stars */
.about::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(1px 1px at 15% 25%, rgba(43,79,255,0.15), transparent),
    radial-gradient(1px 1px at 65% 75%, rgba(255,107,53,0.12), transparent),
    radial-gradient(1px 1px at 45% 15%, rgba(123,91,255,0.12), transparent),
    radial-gradient(1px 1px at 85% 40%, rgba(43,79,255,0.15), transparent),
    radial-gradient(1px 1px at 25% 85%, rgba(255,107,53,0.12), transparent),
    radial-gradient(1px 1px at 75% 55%, rgba(123,91,255,0.12), transparent);
  background-size: 400% 400%;
  animation: starsFloat 180s linear infinite;
  opacity: 0.4;
  pointer-events: none;
}

@keyframes starsFloat {
  0% { background-position: 0% 0%; opacity: 0.3; }
  50% { background-position: 100% 100%; opacity: 0.5; }
  100% { background-position: 0% 0%; opacity: 0.3; }
}

.about-container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 160px 40px;
}

/* Opening scene */
.about-opening {
  text-align: center;
  margin-bottom: 120px;
}

.about-opening .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(12,14,16,0.08);
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
  transition: all 0.6s var(--ease);
}

.about-opening .eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B35, #FF4FA0);
  box-shadow: 0 0 20px rgba(255,107,53,0.6);
  animation: pulseLive 3s ease-in-out infinite;
}

.about-hook {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 36px;
  color: var(--ink);
}

.about-hook .moment {
  display: block;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #FF6B35 0%, #FF4FA0 60%, #7B5BFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: shimmer 6s ease infinite;
  margin-top: 16px;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.about-intro {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto 60px;
}

/* Journey cards */
.about-journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 120px;
}

.journey-card {
  padding: 36px 28px;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(12,14,16,0.08);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  transition: all 0.6s var(--ease);
  position: relative;
  overflow: hidden;
}

.journey-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(43,79,255,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.journey-card:hover {
  transform: translateY(-8px);
  border-color: rgba(12,14,16,0.12);
  background: rgba(255,255,255,0.6);
  box-shadow: 0 24px 48px rgba(0,0,0,0.1);
}

.journey-card:hover::before {
  opacity: 1;
}

.journey-number {
  font-size: clamp(56px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #EEFF99 0%, #2DD4DA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
  transition: all 0.5s var(--ease);
}

.journey-card:hover .journey-number {
  transform: scale(1.1);
  opacity: 1;
}

.journey-card:nth-child(2) .journey-number {
  font-family: var(--f-serif);
  font-style: italic;
  background: linear-gradient(135deg, #FF6B35 0%, #FF4FA0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.journey-card:nth-child(3) .journey-number {
  background: linear-gradient(135deg, #2B4FFF 0%, #7B5BFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.journey-label {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 500;
}

/* The story - narrative flow */
.about-narrative {
  max-width: 750px;
  margin: 0 auto;
}

.story-beat {
  margin-bottom: 80px;
  position: relative;
}

.story-beat:last-child {
  margin-bottom: 0;
}

.beat-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #FF6B35;
  margin-bottom: 20px;
  font-weight: 600;
}

.beat-label::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: #FF6B35;
  transition: width 0.5s var(--ease);
}

.story-beat:hover .beat-label::before {
  width: 48px;
}

.story-beat:nth-child(2) .beat-label {
  color: #FF4FA0;
}

.story-beat:nth-child(2) .beat-label::before {
  background: #FF4FA0;
}

.story-beat:nth-child(3) .beat-label {
  color: #7B5BFF;
}

.story-beat:nth-child(3) .beat-label::before {
  background: #7B5BFF;
}

.story-beat:nth-child(4) .beat-label {
  color: #2DD4DA;
}

.story-beat:nth-child(4) .beat-label::before {
  background: #2DD4DA;
}

.beat-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--ink);
  transition: all 0.4s var(--ease);
}

.story-beat:hover .beat-title {
  color: var(--pri);
  transform: translateX(8px);
}

.beat-title .highlight {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #FF6B35 0%, #FF4FA0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.beat-text {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 16px;
  transition: color 0.3s var(--ease);
}

.story-beat:hover .beat-text {
  color: var(--ink);
}

.beat-quote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  color: var(--ink-2);
  line-height: 1.4;
  padding: 32px 0;
  margin: 32px 0;
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #FF6B35, #FF4FA0) 1;
  padding-left: 32px;
  letter-spacing: -0.01em;
}

@media (max-width: 920px) {
  .about-container { padding: 120px 28px; }
  .about-journey { grid-template-columns: 1fr; gap: 16px; }
  .story-beat { margin-bottom: 60px; }
  .beat-quote { font-size: clamp(20px, 5vw, 28px); padding-left: 24px; }
}

@media (max-width: 640px) {
  .about-container { padding: 100px 20px; }
  .about-opening { margin-bottom: 80px; }
  .about-narrative { margin-bottom: 60px; }
}

@media (max-width: 920px) {
  .about { padding: 100px 0; }
  .about-inner { grid-template-columns: 1fr; gap: 60px; }
  .meta-val { font-size: 44px; }
  .meta-card:nth-child(2) .meta-val { font-size: 52px; }
}

/* ============================================================
   NEW: EMBEDDED CONTACT FORM ON HOMEPAGE
   ============================================================ */
.contact-embed {
  padding: 140px 0;
  position: relative;
  background: var(--paper);
  overflow: hidden;
}
.contact-embed::before {
  content: '';
  position: absolute;
  top: -10%; left: 50%; transform: translateX(-50%);
  width: 100%; height: 600px;
  background:
    radial-gradient(circle at 30% 50%, rgba(43, 79, 255, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(123, 91, 255, 0.12) 0%, transparent 50%);
  filter: blur(80px);
  pointer-events: none;
}

.contact-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 64px;
  box-shadow: 0 24px 64px -12px rgba(12, 14, 16, 0.08);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-left h2 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.contact-left h2 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--pri) 0%, var(--vio) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-tag {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 400px;
  margin-bottom: 40px;
  line-height: 1.65;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.info-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.info-row:hover {
  transform: translateX(6px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 28px -12px rgba(12, 14, 16, 0.12);
}
.info-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pri) 0%, var(--vio) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(43, 79, 255, 0.25);
}
.info-text { display: flex; flex-direction: column; gap: 4px; }
.info-label {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 500;
}
.info-val { font-size: 16px; font-weight: 600; color: var(--ink); }
.info-val a:hover { color: var(--pri); }

/* PREMIUM CONTACT FORM */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-heading {
  font-family: var(--f-serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 8px;
}
.form-heading-sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 500;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 15px 18px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  border-radius: 14px;
  width: 100%;
  font-family: inherit;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--pri);
  box-shadow: 0 0 0 3px rgba(43, 79, 255, 0.08);
}
.form-field textarea { resize: vertical; min-height: 110px; font-family: inherit; }
.form-field select {
  -webkit-appearance: none; appearance: none;
  background: var(--surface) url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%234A4D54' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center;
  padding-right: 52px;
  cursor: pointer;
}
.form-submit {
  margin-top: 12px;
  padding: 16px 32px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  box-shadow: 0 6px 18px rgba(12, 14, 16, 0.15);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  border: none;
  align-self: flex-start;
}
.form-submit::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--pri) 0%, var(--vio) 100%);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.form-submit:hover::before { transform: translateY(0); }
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(43, 79, 255, 0.35);
}
.form-submit .arrow { transition: transform 0.3s var(--ease); }
.form-submit:hover .arrow { transform: translate(4px, -4px); }

@media (max-width: 1000px) {
  .contact-card { grid-template-columns: 1fr; padding: 48px 40px; gap: 50px; border-radius: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 520px) {
  .contact-embed { padding: 100px 0; }
  .contact-card { padding: 36px 24px; }
}

/* ============================================================
   IMPROVED FOOTER — PREMIUM DARK
   ============================================================ */
footer {
  padding: 100px 0 48px;
  background: linear-gradient(180deg, #0A0A0A 0%, #18181B 100%);
  color: white;
  border-top: 1px solid rgba(43, 79, 255, 0.18);
  position: relative;
  overflow: hidden;
}

/* Glowing gradient accent line */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pri) 50%, transparent);
}

/* Ambient blue glow */
footer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(circle, rgba(43, 79, 255, 0.08) 0%, transparent 60%);
  filter: blur(100px);
  pointer-events: none;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 72px;
  position: relative;
  z-index: 1;
}
.footer-brand .logo { margin-bottom: 24px; color: var(--paper); }
.footer-brand .logo svg { color: var(--paper); }
.footer-brand p {
  font-size: 16px;
  color: rgba(244, 239, 231, 0.65);
  line-height: 1.7;
  max-width: 400px;
}
.footer-col h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(244, 239, 231, 0.4);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-col a {
  font-size: 16px;
  color: rgba(244, 239, 231, 0.75);
  font-weight: 500;
  transition: color 0.2s, padding-left 0.3s;
  display: inline-block;
}
.footer-col a:hover {
  color: var(--pri-light);
  padding-left: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 13px;
  color: rgba(244, 239, 231, 0.45);
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 36px;
  border-top: 1px solid rgba(244, 239, 231, 0.08);
  position: relative;
  z-index: 1;
}
.techionic { display: inline-flex; align-items: center; gap: 12px; }
.techionic .tx-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pri), var(--vio));
  box-shadow: 0 0 16px rgba(43, 79, 255, 0.8);
  animation: pulseLive 2s ease-in-out infinite;
}
.techionic a {
  font-weight: 600;
  background: linear-gradient(135deg, var(--pri-light), var(--vio));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 0.2s;
}
.techionic a:hover { opacity: 0.7; }

@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 50px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============================================================
   COMMON KEYFRAMES
   ============================================================ */
@keyframes pulseLive {
  0%, 100% { box-shadow: 0 0 0 0 rgba(43, 79, 255, 0.5); opacity: 1; }
  50% { box-shadow: 0 0 0 8px rgba(43, 79, 255, 0); opacity: 0.7; }
}
@keyframes floatA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8%, 6%) scale(1.1); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-6%, 8%) scale(1.08); }
}
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes up {
  to { opacity: 1; transform: translateY(0); }
  from { opacity: 0; transform: translateY(20px); }
}

/* SCROLL REVEAL */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.rv.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.1s !important;
  }
  .rv { opacity: 1; transform: none; }
}

/* CTA section */
.cta {
  padding: 100px 0;
  background: var(--paper-2);
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.cta h2 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--pri), var(--vio));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta p {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 440px;
  margin: 0 auto 32px;
  line-height: 1.55;
}

/* ============================================================
   SERVICES PAGE — UNIQUE DEEP DIVE LAYOUT
   ============================================================ */

/* Services Hero */
.services-hero {
  padding: 180px 0 100px;
  background: linear-gradient(180deg, #FAFAF9 0%, #F5F5F4 100%);
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(43,79,255,0.06), transparent 60%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.6; transform: translate(0, 0); }
  100% { opacity: 1; transform: translate(0, -3%); }
}

.services-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.services-hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 28px;
}

.services-hero h1 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #FF6B35 0%, #FF4FA0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto;
}

/* Service Deep Dives */
.services-detailed {
  padding: 120px 0;
  background: #FFFFFF;
}

.service-deep {
  margin-bottom: 140px;
  padding-bottom: 140px;
  border-bottom: 1px solid rgba(12,14,16,0.08);
}

.service-deep:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-deep-header {
  margin-bottom: 60px;
}

.service-deep-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.service-deep-number {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.service-deep-badge {
  padding: 6px 14px;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #FF6B35;
  font-weight: 600;
}

.service-deep h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 16px;
}

.service-deep-tagline {
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--ink-soft);
  font-weight: 500;
}

.service-deep-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.service-deep-description h3 {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 16px;
  margin-top: 40px;
}

.service-deep-description h3:first-child {
  margin-top: 0;
}

.service-deep-description p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.service-deep-benefits {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.service-deep-benefits li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 16px;
  padding-left: 28px;
  position: relative;
}

.service-deep-benefits li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #2B4FFF;
  font-weight: 700;
}

.service-deep-benefits li strong {
  color: var(--ink);
  font-weight: 700;
}

.service-deep-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.deliverable-tag {
  padding: 8px 16px;
  background: rgba(43,79,255,0.08);
  border: 1px solid rgba(43,79,255,0.2);
  border-radius: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink);
  font-weight: 500;
}

.service-deep-examples {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.example-card {
  padding: 28px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(12,14,16,0.08);
  border-radius: 16px;
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(10px);
}

.example-card:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(12,14,16,0.15);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(12,14,16,0.1);
}

.example-icon {
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1;
}

.example-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.example-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

/* How We Work */
.services-approach {
  padding: 120px 0;
  background: linear-gradient(180deg, #000000 0%, #0A0A14 50%, #000000 100%);
  position: relative;
}

.approach-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.approach-header h2 {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: var(--paper);
}

.approach-header h2 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  color: #FF6B35;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.approach-phase {
  padding: 40px;
  background: rgba(244,239,231,0.02);
  border: 1px solid rgba(244,239,231,0.08);
  border-radius: 20px;
  transition: all 0.5s var(--ease);
}

.approach-phase:hover {
  background: rgba(244,239,231,0.04);
  border-color: rgba(244,239,231,0.15);
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}

.phase-number {
  font-family: var(--f-mono);
  font-size: 14px;
  font-weight: 700;
  color: rgba(244,239,231,0.3);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.approach-phase h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--paper);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.approach-phase p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(244,239,231,0.7);
  margin: 0;
}

/* Services CTA */
.services-cta {
  padding: 100px 0;
  background: #000000;
}

.cta-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px;
  background: linear-gradient(135deg, rgba(43,79,255,0.08) 0%, rgba(123,91,255,0.08) 100%);
  border: 1px solid rgba(43,79,255,0.2);
  border-radius: 24px;
  text-align: center;
}

.cta-card h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--paper);
  margin-bottom: 20px;
}

.cta-card p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(244,239,231,0.7);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 920px) {
  .service-deep-body {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .approach-grid {
    grid-template-columns: 1fr;
  }
  .cta-card {
    padding: 40px 32px;
  }
}

@media (max-width: 640px) {
  .services-hero {
    padding: 140px 0 80px;
  }
  .services-detailed {
    padding: 80px 0;
  }
  .service-deep {
    margin-bottom: 80px;
    padding-bottom: 80px;
  }
}


/* ============================================================
   CONTACT PAGE — UNIQUE MULTI-METHOD LAYOUT
   ============================================================ */

/* Contact Hero */
.contact-hero {
  padding: 180px 0 100px;
  background: linear-gradient(180deg, #FAFAF9 0%, #F5F5F4 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(ellipse 50% 35% at 50% 0%, rgba(255,79,160,0.06), transparent 60%);
  animation: contactGlow 10s ease-in-out infinite alternate;
}

@keyframes contactGlow {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.contact-hero h1 {
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 24px;
}

.contact-hero h1 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #FF4FA0 0%, #7B5BFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-hero p {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 48px;
}

.contact-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(238,255,153,0.08);
  border: 1px solid rgba(238,255,153,0.2);
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #FF9999;
  font-weight: 600;
}

.contact-guarantee::before {
  content: '⚡';
  font-size: 16px;
}

/* Contact Methods Grid */
.contact-methods {
  padding: 100px 0;
  background: #000000;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 80px;
}

.method-card {
  padding: 40px 32px;
  background: rgba(244,239,231,0.02);
  border: 1px solid rgba(244,239,231,0.08);
  border-radius: 20px;
  text-align: center;
  transition: all 0.5s var(--ease);
  cursor: pointer;
}

.method-card:hover {
  background: rgba(244,239,231,0.04);
  border-color: rgba(244,239,231,0.15);
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}

.method-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43,79,255,0.1);
  border-radius: 16px;
  font-size: 28px;
  transition: all 0.4s var(--ease);
}

.method-card:hover .method-icon {
  background: rgba(43,79,255,0.15);
  transform: scale(1.1);
}

.method-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--paper);
  margin-bottom: 10px;
}

.method-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(244,239,231,0.65);
  margin-bottom: 20px;
}

.method-link {
  font-family: var(--f-mono);
  font-size: 13px;
  color: #2B4FFF;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.method-link:hover {
  color: #FF6B35;
  transform: translateX(4px);
}

/* Enhanced Contact Form - Premium Light Design */
.contact-form-section {
  padding: 120px 0 140px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--paper-2) 100%);
  position: relative;
  overflow: hidden;
}

.contact-form-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(43,79,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.contact-form-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(255,107,53,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.form-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.form-header {
  text-align: center;
  margin-bottom: 70px;
}

.form-header h2 {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.1;
}

.form-header p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto;
}

.enhanced-form {
  display: grid;
  gap: 28px;
  background: rgba(255,255,255,0.6);
  padding: 50px;
  border-radius: 24px;
  border: 1px solid rgba(12,14,16,0.06);
  box-shadow: 0 20px 60px rgba(0,0,0,0.04);
  backdrop-filter: blur(10px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-2);
  margin-bottom: 12px;
  font-family: var(--f-mono);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 18px 22px;
  background: var(--surface);
  border: 2px solid rgba(12,14,16,0.08);
  border-radius: 14px;
  font-family: var(--f-sans);
  font-size: 15px;
  color: var(--ink);
  transition: all 0.3s var(--ease);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--pri);
  box-shadow: 0 0 0 4px rgba(43,79,255,0.08), 0 4px 12px rgba(43,79,255,0.1);
  transform: translateY(-1px);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
}

.budget-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.budget-option {
  padding: 16px;
  background: var(--surface);
  border: 2px solid rgba(12,14,16,0.08);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
}

.budget-option:hover {
  background: var(--surface-2);
  border-color: rgba(12,14,16,0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.budget-option.selected {
  background: linear-gradient(135deg, var(--pri) 0%, var(--vio) 100%);
  border-color: var(--pri);
  color: var(--surface);
  box-shadow: 0 6px 20px rgba(43,79,255,0.3);
}

.urgency-selector {
  display: flex;
  gap: 12px;
}

.urgency-option {
  flex: 1;
  padding: 20px 16px;
  background: var(--surface);
  border: 2px solid rgba(12,14,16,0.08);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.urgency-option:hover {
  background: var(--surface-2);
  border-color: rgba(12,14,16,0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.urgency-option.selected {
  background: linear-gradient(135deg, var(--orange) 0%, var(--pink) 100%);
  border-color: var(--orange);
  box-shadow: 0 6px 20px rgba(255,107,53,0.3);
}

.urgency-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: 8px;
  font-family: var(--f-mono);
}

.urgency-option.selected .urgency-label {
  color: var(--surface);
}

.urgency-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.urgency-option.selected .urgency-text {
  color: var(--surface);
}

.form-submit {
  margin-top: 20px;
}

/* Contact Form Responsive */
@media (max-width: 768px) {
  .contact-form-section {
    padding: 80px 0 100px;
  }
  
  .enhanced-form {
    padding: 35px 25px;
    gap: 22px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  
  .budget-selector {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .urgency-selector {
    flex-direction: column;
  }
  
  .form-header h2 {
    font-size: clamp(32px, 8vw, 48px);
  }
}

@media (max-width: 480px) {
  .enhanced-form {
    padding: 28px 20px;
  }
  
  .budget-selector {
    grid-template-columns: 1fr;
  }
}

/* FAQ Section */
.contact-faq {
  padding: 100px 0;
  background: #000000;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-header h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--paper);
  margin-bottom: 16px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  padding: 32px;
  background: rgba(244,239,231,0.02);
  border: 1px solid rgba(244,239,231,0.08);
  border-radius: 16px;
  transition: all 0.4s var(--ease);
}

.faq-item:hover {
  background: rgba(244,239,231,0.04);
  border-color: rgba(244,239,231,0.12);
}

.faq-question {
  font-size: 18px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 12px;
}

.faq-answer {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(244,239,231,0.7);
  margin: 0;
}

/* Responsive */
@media (max-width: 920px) {
  .methods-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .budget-selector {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .contact-hero {
    padding: 140px 0 80px;
  }
  .contact-methods,
  .contact-form-section,
  .contact-faq {
    padding: 80px 0;
  }
  .budget-selector {
    grid-template-columns: 1fr;
  }
  .urgency-selector {
    flex-direction: column;
  }
}

/* ============================================================
   LANGUAGE TOGGLE — ARABIC/ENGLISH
   ============================================================ */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  margin: 0 8px;
}

.lang-toggle:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}

.lang-option {
  padding: 4px 8px;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  color: var(--muted);
}

.lang-option.active {
  background: var(--ink);
  color: var(--paper);
}

.lang-separator {
  color: var(--line-strong);
  font-weight: 400;
}

/* RTL Support */
[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .nav {
  direction: rtl;
}

[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-grid {
  direction: rtl;
}

[dir="rtl"] .hero-text {
  text-align: right;
}

[dir="rtl"] .hero-cta {
  justify-content: flex-end;
}

[dir="rtl"] .services-grid {
  direction: rtl;
}

[dir="rtl"] .footer-inner {
  direction: rtl;
}

[dir="rtl"] .about-opening {
  direction: rtl;
}

[dir="rtl"] .about-journey {
  direction: rtl;
}

[dir="rtl"] .about-narrative {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .beat-label::before {
  margin-left: 10px;
  margin-right: 0;
}

[dir="rtl"] .story-beat:hover .beat-title {
  transform: translateX(-8px);
}

[dir="rtl"] .beat-quote {
  border-left: none;
  border-right: 3px solid;
  border-image: linear-gradient(180deg, #FF6B35, #FF4FA0) 1;
  padding-left: 0;
  padding-right: 32px;
}

[dir="rtl"] .service-deep-body {
  direction: rtl;
}

[dir="rtl"] .service-deep-benefits li {
  padding-left: 0;
  padding-right: 28px;
}

[dir="rtl"] .service-deep-benefits li::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .contact-hero-content {
  direction: rtl;
}

[dir="rtl"] .methods-grid {
  direction: rtl;
}

[dir="rtl"] .form-container {
  direction: rtl;
}

/* Mobile language toggle */
@media (max-width: 880px) {
  .lang-toggle {
    margin: 0 4px;
    padding: 6px 10px;
  }
  
  .lang-option {
    padding: 3px 6px;
    font-size: 11px;
  }
}

/* LIGHT THEME OVERRIDES FOR ABOUT SECTION */
.about .eyebrow {
  background: rgba(12,14,16,0.04);
  border-color: rgba(12,14,16,0.1);
  color: rgba(12,14,16,0.5);
}

.about-hook {
  color: var(--ink);
}

.about-intro {
  color: var(--ink-soft);
}

.journey-card {
  background: rgba(255,255,255,0.6);
  border-color: rgba(12,14,16,0.08);
  backdrop-filter: blur(20px);
}

.journey-card:hover {
  background: rgba(255,255,255,0.8);
  border-color: rgba(12,14,16,0.15);
}

.journey-label {
  color: var(--muted);
}

.beat-title {
  color: var(--ink);
}

.beat-text {
  color: var(--ink-soft);
}

.beat-quote {
  color: var(--ink);
}

/* LIGHT THEME FOR CONTACT PAGE */
.contact-methods {
  background: #FFFFFF;
}

.method-card {
  background: rgba(255,255,255,0.6);
  border-color: rgba(12,14,16,0.08);
  backdrop-filter: blur(10px);
}

.method-card:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(12,14,16,0.15);
}

.method-card h3 {
  color: var(--ink);
}

.method-card p {
  color: var(--ink-soft);
}

.contact-form-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F4 50%, #FFFFFF 100%);
}

.form-header h2 {
  color: var(--ink);
}

.form-header p {
  color: var(--ink-soft);
}

.contact-faq {
  background: #FFFFFF;
}

.faq-header h2 {
  color: var(--ink);
}

.faq-item {
  background: rgba(255,255,255,0.6);
  border-color: rgba(12,14,16,0.08);
}

.faq-item:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(12,14,16,0.12);
}

.faq-question {
  color: var(--ink);
}

.faq-answer {
  color: var(--ink-soft);
}

.services-approach {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F4 50%, #FFFFFF 100%);
}

.approach-header h2 {
  color: var(--ink);
}

.approach-phase {
  background: rgba(255,255,255,0.6);
  border-color: rgba(12,14,16,0.08);
}

.approach-phase:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(12,14,16,0.15);
}

.phase-number {
  color: var(--muted);
}

.approach-phase h3 {
  color: var(--ink);
}

.approach-phase p {
  color: var(--ink-soft);
}

.services-cta {
  background: #FFFFFF;
}

.cta-card {
  background: linear-gradient(135deg, rgba(43,79,255,0.05) 0%, rgba(123,91,255,0.05) 100%);
  border-color: rgba(43,79,255,0.15);
}

.cta-card h2 {
  color: var(--ink);
}

.cta-card p {
  color: var(--ink-soft);
}
/* ============================================================
   CRITICAL FIXES - Hover States & Visibility
   ============================================================ */

/* About Section - Fix hover text visibility */
.about .beat-title:hover {
  color: var(--pri) !important; /* Blue instead of white */
  transform: translateX(8px);
}

.about .beat-text:hover {
  color: var(--ink) !important; /* Dark instead of white */
}

.about .journey-card:hover .journey-number {
  transform: scale(1.1);
  opacity: 1;
  filter: brightness(1.1);
}

/* Services Section - Fix all hover states */
.service-deep-description p:hover {
  color: var(--ink) !important;
}

.example-card:hover h4 {
  color: var(--pri) !important;
}

.example-card:hover p {
  color: var(--ink) !important;
}

/* Contact Section - Fix hover visibility */
.method-card:hover h3 {
  color: var(--pri) !important;
}

.method-card:hover p {
  color: var(--ink) !important;
}

.faq-item:hover .faq-question {
  color: var(--pri) !important;
}

.faq-item:hover .faq-answer {
  color: var(--ink) !important;
}

.approach-phase:hover h3 {
  color: var(--pri) !important;
}

.approach-phase:hover p {
  color: var(--ink) !important;
}

/* ============================================================
   SMOOTH TRANSITIONS - Add to all elements
   ============================================================ */

.about-hook,
.about-intro,
.journey-card,
.journey-number,
.journey-label,
.beat-label,
.beat-title,
.beat-text,
.beat-quote {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-deep h2,
.service-deep-tagline,
.service-deep-description p,
.service-deep-description h3,
.example-card,
.example-card h4,
.example-card p {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.method-card,
.method-card h3,
.method-card p,
.faq-item,
.faq-question,
.faq-answer,
.approach-phase,
.approach-phase h3,
.approach-phase p {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   RTL LAYOUT STABILITY - Prevent jumps
   ============================================================ */

/* Force consistent width/height during transitions */
.about-container,
.services-hero-content,
.contact-hero-content,
.service-deep,
.method-card,
.approach-phase {
  min-height: fit-content;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Prevent text from causing layout shifts */
h1, h2, h3, h4, h5, h6, p, span, a, button {
  transition: transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
  transform-origin: center center;
}

/* RTL specific stability */
[dir="rtl"] * {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Prevent content jumps during language switch */
.hero-text,
.about-opening,
.about-journey,
.about-narrative,
.service-deep-body,
.methods-grid {
  transition: transform 0.5s ease, opacity 0.3s ease;
}

/* Smooth language transition */
body.transitioning * {
  pointer-events: none;
}

/* ============================================================
   ENHANCED ANIMATIONS - Scroll reveals
   ============================================================ */

/* Fade in from bottom */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade in with scale */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Slide in from left */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide in from right */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Apply animations to elements */
.about-opening {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.journey-card {
  animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.journey-card:nth-child(1) { animation-delay: 0.1s; }
.journey-card:nth-child(2) { animation-delay: 0.2s; }
.journey-card:nth-child(3) { animation-delay: 0.3s; }

.story-beat {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.story-beat:nth-child(1) { animation-delay: 0.1s; }
.story-beat:nth-child(2) { animation-delay: 0.2s; }
.story-beat:nth-child(3) { animation-delay: 0.3s; }
.story-beat:nth-child(4) { animation-delay: 0.4s; }

.example-card {
  animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.example-card:nth-child(1) { animation-delay: 0.1s; }
.example-card:nth-child(2) { animation-delay: 0.2s; }
.example-card:nth-child(3) { animation-delay: 0.3s; }

.method-card {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.method-card:nth-child(1) { animation-delay: 0.1s; }
.method-card:nth-child(2) { animation-delay: 0.2s; }
.method-card:nth-child(3) { animation-delay: 0.3s; }

.approach-phase {
  animation: fadeInScale 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.approach-phase:nth-child(1) { animation-delay: 0.1s; }
.approach-phase:nth-child(2) { animation-delay: 0.2s; }
.approach-phase:nth-child(3) { animation-delay: 0.3s; }
.approach-phase:nth-child(4) { animation-delay: 0.4s; }

/* ============================================================
   MICRO-INTERACTIONS - Enhanced hover effects
   ============================================================ */

.journey-card {
  position: relative;
  overflow: hidden;
}

.journey-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2B4FFF, #7B5BFF, #FF6B35);
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-card:hover::after {
  transform: translateX(0);
}

.example-card,
.method-card,
.approach-phase,
.faq-item {
  position: relative;
  overflow: hidden;
}

.example-card::before,
.method-card::before,
.approach-phase::before,
.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(43,79,255,0.05), transparent);
  transition: left 0.5s ease;
}

.example-card:hover::before,
.method-card:hover::before,
.approach-phase:hover::before,
.faq-item:hover::before {
  left: 100%;
}

/* ============================================================
   BUTTON ANIMATIONS
   ============================================================ */

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

/* ============================================================
   LOADING ANIMATION - For language switch
   ============================================================ */

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

body.lang-switching {
  position: relative;
}

body.lang-switching::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #2B4FFF, transparent);
  background-size: 1000px 100%;
  animation: shimmer 1s linear;
  z-index: 9999;
}

/* ============================================================
   NAVBAR FIXES - Prevent overlapping
   ============================================================ */

/* Fix navbar spacing and prevent overlap */
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 8px 12px;
}

.logo {
  grid-column: 1;
}

.nav-links {
  grid-column: 2;
  justify-self: center;
  margin: 0;
}

.lang-toggle {
  grid-column: 3;
  flex-shrink: 0;
}

.nav-cta {
  grid-column: 4;
  flex-shrink: 0;
}

.mobile-toggle {
  grid-column: 5;
  flex-shrink: 0;
}

/* Ensure language toggle doesn't overlap */
.lang-toggle {
  min-width: 80px;
  justify-content: center;
}

/* Fix for smaller screens */
@media (max-width: 1100px) {
  .nav {
    grid-template-columns: auto 1fr auto auto;
    gap: 8px;
  }
  
  .nav-links {
    gap: 0;
  }
  
  .nav-links a {
    padding: 9px 12px;
    font-size: 12px;
  }
}

@media (max-width: 880px) {
  .nav {
    grid-template-columns: auto 1fr auto auto;
    padding: 6px 6px 6px 18px;
  }
  
  .logo {
    grid-column: 1;
  }
  
  .lang-toggle {
    grid-column: 2;
    justify-self: end;
    margin-right: 8px;
  }
  
  .nav-cta {
    grid-column: 3;
  }
  
  .mobile-toggle {
    grid-column: 4;
  }
}

/* RTL navbar fixes */
[dir="rtl"] .nav {
  direction: rtl;
}

[dir="rtl"] .nav-links {
  direction: rtl;
}

[dir="rtl"] .logo {
  direction: ltr;
}

/* Prevent text from wrapping in navbar */
.nav-links a,
.nav-cta,
.lang-toggle {
  white-space: nowrap;
}

/* ============================================================
   PROPER RTL FIXES - Arabic text formatting
   ============================================================ */

/* Fix Arabic punctuation and alignment */
[dir="rtl"] {
  text-align: right;
  direction: rtl;
}

[dir="rtl"] p,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] span,
[dir="rtl"] a {
  direction: rtl;
  unicode-bidi: embed;
}

/* Fix period placement in Arabic */
[dir="rtl"] .beat-quote::after,
[dir="rtl"] p::after {
  content: none;
}

/* Ensure proper text direction for mixed content */
[dir="rtl"] .hero-title,
[dir="rtl"] .section-title,
[dir="rtl"] .beat-title,
[dir="rtl"] .service-deep h2 {
  text-align: right;
  direction: rtl;
}

/* Fix list alignment */
[dir="rtl"] ul,
[dir="rtl"] ol {
  padding-right: 0;
  padding-left: 0;
  text-align: right;
}

[dir="rtl"] li {
  text-align: right;
  direction: rtl;
}

/* Fix button text alignment */
[dir="rtl"] .btn,
[dir="rtl"] .nav-cta {
  direction: rtl;
  text-align: center;
}

/* Keep arrows at the end */
[dir="rtl"] .arrow {
  order: 2;
  margin-left: 0;
  margin-right: 8px;
}

/* Fix navigation alignment */
[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

/* Fix footer alignment */
[dir="rtl"] .footer-inner {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .footer-col ul {
  text-align: right;
}

/* Fix form alignment */
[dir="rtl"] .form-field label,
[dir="rtl"] .form-field input,
[dir="rtl"] .form-field textarea,
[dir="rtl"] .form-field select {
  text-align: right;
  direction: rtl;
}

/* Fix service cards alignment */
[dir="rtl"] .svc {
  text-align: right;
  direction: rtl;
}

/* Fix about section alignment */
[dir="rtl"] .about-opening,
[dir="rtl"] .about-intro,
[dir="rtl"] .journey-card,
[dir="rtl"] .story-beat {
  text-align: right;
  direction: rtl;
}

/* Fix stats alignment */
[dir="rtl"] .journey-label,
[dir="rtl"] .stat-label {
  direction: rtl;
}

/* Fix contact cards */
[dir="rtl"] .method-card,
[dir="rtl"] .faq-item {
  text-align: right;
  direction: rtl;
}

/* Prevent English text from reversing */
.logo span,
.stat-number,
.journey-number {
  direction: ltr !important;
  display: inline-block;
}
/* ============================================================
   FINAL FIXES - Hover visibility & Smooth transitions
   ============================================================ */

/* Remove all white-on-white hover issues */
.about .beat-title {
  transition: color 0.3s ease, transform 0.3s ease;
}

.about .beat-title:hover {
  color: var(--pri) !important;
  transform: translateX(8px);
}

.about .beat-text {
  transition: color 0.3s ease;
}

.about .beat-text:hover {
  color: var(--ink) !important;
}

.about .journey-card {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about .journey-number {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Service page hover fixes */
.service-deep h2 {
  transition: color 0.3s ease;
}

.service-deep h2:hover {
  color: var(--pri) !important;
}

.service-deep-description h3 {
  transition: color 0.3s ease;
}

.service-deep-description h3:hover {
  color: var(--pri) !important;
}

.service-deep-description p {
  transition: color 0.3s ease;
}

.service-deep-description p:hover {
  color: var(--ink) !important;
}

.example-card h4 {
  transition: color 0.3s ease;
}

.example-card:hover h4 {
  color: var(--pri) !important;
}

.example-card p {
  transition: color 0.3s ease;
}

.example-card:hover p {
  color: var(--ink) !important;
}

.example-card {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Contact page hover fixes */
.method-card h3 {
  transition: color 0.3s ease;
}

.method-card:hover h3 {
  color: var(--pri) !important;
}

.method-card p {
  transition: color 0.3s ease;
}

.method-card:hover p {
  color: var(--ink) !important;
}

.method-card {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-question {
  transition: color 0.3s ease;
}

.faq-item:hover .faq-question {
  color: var(--pri) !important;
}

.faq-answer {
  transition: color 0.3s ease;
}

.faq-item:hover .faq-answer {
  color: var(--ink) !important;
}

.faq-item {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.approach-phase h3 {
  transition: color 0.3s ease;
}

.approach-phase:hover h3 {
  color: var(--pri) !important;
}

.approach-phase p {
  transition: color 0.3s ease;
}

.approach-phase:hover p {
  color: var(--ink) !important;
}

.approach-phase {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Add smooth transitions to ALL elements */
* {
  transition-property: color, background-color, border-color, transform, box-shadow, opacity;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

/* Specific smooth transitions */
.hero-badge,
.hero-title,
.hero-sub,
.hero-cta,
.section-title,
.section-sub,
.eyebrow {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc,
.journey-card,
.story-beat,
.service-deep,
.method-card,
.approach-phase,
.faq-item {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a,
.nav-cta,
.footer-col a {
  transition: all 0.3s ease;
}

/* Keep service cards hover intact */
.svc:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(12, 14, 16, 0.25);
}

/* Journey cards nice lift */
.journey-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.15);
}

/* Story beats smooth slide */
.story-beat:hover {
  transform: translateX(8px);
}

/* Example cards lift */
.example-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(12,14,16,0.12);
}

/* Method cards lift */
.method-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.15);
}

/* Approach cards lift */
.approach-phase:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.2);
}

/* FAQ smooth reveal */
.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(12,14,16,0.1);
}

/* Button interactions */
.btn:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(43, 79, 255, 0.32);
}

/* Navigation smooth */
.nav-links a:hover {
  transform: translateY(-1px);
}

.nav-cta:hover {
  transform: translateY(-2px);
}

/* Footer links slide */
.footer-col a:hover {
  padding-left: 8px;
  color: var(--pri-light);
}

/* ============================================================
   NAVBAR - Clean English-only version
   ============================================================ */

/* Reset navbar to original clean layout */
.nav {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  justify-content: space-between;
  gap: 0 !important;
}

.nav-links {
  justify-self: auto !important;
  margin: 0;
}

/* Remove language toggle styles */
.lang-toggle {
  display: none !important;
}

/* Clean spacing */
.nav {
  padding: 8px 8px 8px 22px !important;
}

@media (max-width: 880px) {
  .nav {
    padding: 6px 6px 6px 18px !important;
  }
}

/* ============================================================
   MOBILE SCALE FIX + SMOOTH TRANSITIONS
   ============================================================ */

/* Mobile menu: smooth slide-fade instead of instant toggle */
.mobile-menu {
  display: flex !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-20px) scale(0.98);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s linear 0.35s;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s;
}

/* Smooth nav scroll state */
.nav {
  transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              background 0.4s ease !important;
}

/* Smooth service card reveal */
.svc {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Scroll reveal smooth */
.rv {
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ── Mobile scale reduction ── */
@media (max-width: 768px) {
  /* Sections: cut vertical breathing room */
  .section        { padding: 72px 0; }
  .contact-embed  { padding: 72px 0; }
  .services-hero  { padding: 130px 0 64px; }
  .services-detailed { padding: 72px 0; }
  .services-approach { padding: 72px 0; }
  .services-cta   { padding: 64px 0; }
  .contact-hero   { padding: 130px 0 64px; }
  .contact-methods,
  .contact-form-section,
  .contact-faq    { padding: 64px 0; }

  /* About */
  .about-container {
    padding: 80px 20px;
  }
  .about-opening { margin-bottom: 60px; }
  .about-journey { margin-bottom: 60px; }

  /* Hero: don't force 90vh on phone */
  .hero {
    min-height: auto;
    padding: 100px 0 48px;
  }

  /* Hero scene: hide on small screens — text is enough */
  .hero-scene { display: none; }

  /* Service cards: shorter on mobile */
  .svc { min-height: 280px; padding: 24px; }
  .svc-illo { width: 80px; height: 80px; }

  /* Contact card: tighter */
  .contact-card { padding: 32px 20px; gap: 36px; border-radius: 20px; }

  /* Footer */
  footer { padding: 64px 0 36px; }

  /* Section headings */
  .section-head { margin-bottom: 40px; gap: 14px; }

  /* Strip marquee text a bit smaller */
  .strip-item { font-size: 20px; }

  /* Info rows */
  .info-row { padding: 14px 16px; }
}

@media (max-width: 480px) {
  .section        { padding: 56px 0; }
  .contact-embed  { padding: 56px 0; }
  .hero           { padding: 88px 0 40px; }
  .about-container { padding: 64px 20px; }
  .contact-card   { padding: 28px 16px; }
  .svc            { min-height: 240px; padding: 20px; }
  .svc-art        { margin-top: 20px; }
  footer          { padding: 52px 0 28px; }
}
