/* ==========================================================================
   TEXORA DIGITAL — main stylesheet
   ========================================================================== */

:root {
  --bg: #fcf7f3;
  --bg-2: #f8eee7;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --surface-hover: #ffffff;
  --border: #efe2d9;
  --border-strong: #e3cfc2;
  --text: #0f172a;
  --text-muted: #44516a;
  --text-dim: #586477;
  --blue: #d0450e;
  --orange: #d0450e;
  --orange-dark: #b23a0b;
  --cyan: #7c3aed;
  --violet: #db2777;
  --grad: linear-gradient(110deg, #f97316 0%, #db2777 50%, #7c3aed 100%);
  --grad-soft: linear-gradient(140deg, rgba(249, 115, 22, 0.1), rgba(124, 58, 237, 0.1));
  --glow: 0 10px 30px rgba(124, 58, 237, 0.18);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --radius: 20px;
  --radius-sm: 12px;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle grid + noise texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(124, 58, 237, 0.06), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(249, 115, 22, 0.05), transparent 60%),
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  font-weight: 700;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.2rem; }

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--cyan);
  color: #ffffff;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-alt {
  background: var(--bg-2);
}

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--grad);
}
.section-head.center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--grad);
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-muted); max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(242, 101, 34, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--orange-dark); box-shadow: 0 10px 26px rgba(242, 101, 34, 0.36); }
/* Arrow sits in a small white box, as on the reference design */
.btn-primary .icon {
  width: 26px;
  height: 26px;
  padding: 5px;
  margin-right: -12px;
  border-radius: 7px;
  background: #fff;
  color: var(--orange);
}
.btn-ghost {
  background: #fff;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-dark); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.92rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 600;
  font-family: var(--font-display);
}
.text-link .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.brand-logo { height: 46px; width: auto; }
.brand-tagline {
  padding-left: 14px;
  border-left: 1px solid var(--border-strong);
  font-size: 0.74rem;
  line-height: 1.3;
  max-width: 92px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.brand-footer .brand-logo { height: 56px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--text); background: rgba(15, 23, 42, 0.05); }
.main-nav a[aria-current="page"] { color: var(--text); background: rgba(249, 115, 22, 0.14); }
.main-nav .nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(15, 23, 42, 0.04);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
  overflow: hidden;
}
.hero-bg, .page-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 400px at 75% 40%, rgba(249, 115, 22, 0.22), transparent 70%),
    radial-gradient(500px 360px at 90% 80%, rgba(219, 39, 119, 0.18), transparent 70%),
    radial-gradient(400px 300px at 10% 10%, rgba(124, 58, 237, 0.08), transparent 70%);
  -webkit-mask: linear-gradient(#000 55%, transparent);
  mask: linear-gradient(#000 55%, transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero-visual { align-self: start; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  margin-bottom: 28px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(15, 23, 42, 0.03);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero-badge b {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero .lead { margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.5rem; }
.hero-micro { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--text-muted); font-size: 0.92rem; }
.hero-micro li { display: flex; align-items: center; gap: 8px; }
.hero-micro .icon { width: 18px; height: 18px; color: var(--cyan); }

/* 3D scene */
.scene {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  perspective: 1200px;
}
/* glow lives outside the 3D context so it is not clipped to a layer box */
.scene::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(249, 115, 22, 0.55), rgba(219, 39, 119, 0.25) 60%, transparent);
  filter: blur(30px);
}
.split-visual .scene:has(.cube-wrap)::before { inset: 25%; opacity: 0.6; }
.orb-stage {
  position: absolute;
  inset: 8%;
  transform-style: preserve-3d;
  transform: rotateX(14deg) rotateY(-12deg);
  transition: transform 0.6s var(--ease);
}
.orb-core {
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.9), rgba(255, 237, 213, 0.55) 8%, transparent 30%),
    radial-gradient(circle at 65% 70%, rgba(124, 58, 237, 0.85), transparent 55%),
    radial-gradient(circle at 40% 40%, #fdba74, #f97316 35%, #db2777 65%, #6d28d9 90%);
  box-shadow:
    inset -20px -30px 60px rgba(76, 29, 149, 0.45),
    inset 10px 10px 40px rgba(255, 255, 255, 0.15);
  animation: orb-pulse 6s ease-in-out infinite;
}
.orb-core::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: repeating-linear-gradient(0deg, transparent 0 9px, rgba(15, 23, 42, 0.07) 9px 10px);
  -webkit-mask: radial-gradient(closest-side, #000 85%, transparent 100%);
  mask: radial-gradient(closest-side, #000 85%, transparent 100%);
}
.ring {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1.5px solid rgba(124, 58, 237, 0.5);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.2), inset 0 0 20px rgba(124, 58, 237, 0.12);
  transform-style: preserve-3d;
}
.ring::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}
.ring.r1 { transform: rotateX(72deg); animation: spin-x 14s linear infinite; }
.ring.r2 { inset: 2%; border-color: rgba(219, 39, 119, 0.45); transform: rotateY(68deg) rotateX(20deg); animation: spin-y 20s linear infinite; }
.ring.r2::before { background: var(--violet); box-shadow: 0 0 14px var(--violet); }
.ring.r3 { inset: 16%; border-style: dashed; border-color: rgba(249, 115, 22, 0.4); transform: rotateX(60deg) rotateY(30deg); animation: spin-z 26s linear infinite; }
.ring.r3::before { display: none; }

@keyframes spin-x { from { transform: rotateX(72deg) rotateZ(0); } to { transform: rotateX(72deg) rotateZ(360deg); } }
@keyframes spin-y { from { transform: rotateY(68deg) rotateX(20deg) rotateZ(0); } to { transform: rotateY(68deg) rotateX(20deg) rotateZ(360deg); } }
@keyframes spin-z { from { transform: rotateX(60deg) rotateY(30deg) rotateZ(0); } to { transform: rotateX(60deg) rotateY(30deg) rotateZ(-360deg); } }
@keyframes orb-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.float-card {
  position: absolute;
  z-index: 2;
  min-width: 170px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: float 7s ease-in-out infinite;
}
.float-card small { display: block; font-size: 0.72rem; color: var(--text-dim); letter-spacing: 0.06em; text-transform: uppercase; }
.float-card strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-top: 4px; }
.float-card .fc-row { display: flex; align-items: center; gap: 10px; }
.float-card .fc-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  color: var(--cyan);
}
.float-card .fc-icon .icon { width: 18px; height: 18px; }
.fc-1 { top: 8%; left: -2%; }
.fc-2 { top: 44%; right: -4%; animation-delay: -2.5s; }
.fc-3 { bottom: 6%; left: 8%; animation-delay: -4.5s; }
.fc-bars { display: flex; align-items: flex-end; gap: 5px; height: 34px; margin-top: 10px; }
.fc-bars span { width: 10px; border-radius: 3px; background: var(--grad); opacity: 0.85; }
.fc-line { margin-top: 10px; width: 140px; height: 34px; }
.fc-tags { display: flex; gap: 6px; margin-top: 8px; }
.fc-tags span { padding: 2px 8px; font-size: 0.7rem; border-radius: 6px; background: rgba(124, 58, 237, 0.12); color: var(--cyan); }

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid var(--border);
  background: var(--bg-2);
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
.ticker-track li::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--grad);
  transform: rotate(45deg);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s, box-shadow 0.4s;
  overflow: hidden;
  isolation: isolate;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(249, 115, 22, 0.16), transparent 50%);
  transition: opacity 0.4s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-hover); box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--text-muted); font-size: 0.97rem; }

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  color: var(--cyan);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.card-icon .icon { width: 26px; height: 26px; }
.card-num {
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-dim);
}

a.card { display: block; }
a.card .text-link { margin-top: 0.5rem; }

.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1rem; }
.chip {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.03);
}
.chip-accent { color: var(--cyan); border-color: rgba(124, 58, 237, 0.3); background: rgba(124, 58, 237, 0.06); }

.check-list { display: grid; gap: 9px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--text); }
.check-list .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--cyan); }
.check-list.two-col { grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }

.note-box {
  display: flex;
  gap: 12px;
  margin-top: 1.25rem;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(219, 39, 119, 0.3);
  background: rgba(219, 39, 119, 0.08);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.note-box .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--violet); }

.outcome-note {
  display: flex;
  gap: 14px;
  max-width: 860px;
  margin: 48px auto 0;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.02);
  font-size: 0.92rem;
  color: var(--text-muted);
}
.outcome-note .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--cyan); }
.outcome-note strong { color: var(--text); }

/* ---------- Split / dev section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-visual { position: relative; }

.cube-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 1000px;
}
.cube {
  --s: clamp(150px, 22vw, 230px);
  position: relative;
  width: var(--s);
  height: var(--s);
  transform-style: preserve-3d;
  animation: cube-spin 22s linear infinite;
}
.face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(124, 58, 237, 0.35);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(249, 115, 22, 0.1) 50%, rgba(219, 39, 119, 0.2));
  box-shadow: inset 0 0 40px rgba(249, 115, 22, 0.25), 0 0 30px rgba(249, 115, 22, 0.15);
  font-family: var(--font-display);
  font-size: calc(var(--s) * 0.2);
  font-weight: 600;
  color: #4c1d95;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.f-front  { transform: translateZ(calc(var(--s) / 2)); }
.f-back   { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.f-right  { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.f-left   { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.f-top    { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.f-bottom { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.f-top, .f-bottom, .f-back {
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.12) 1px, transparent 1px),
    linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(219, 39, 119, 0.18));
  background-size: 25% 25%, 25% 25%, 100% 100%;
}
.cube-shadow {
  position: absolute;
  bottom: 12%;
  width: 50%;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(249, 115, 22, 0.45), transparent);
  filter: blur(8px);
}
@keyframes cube-spin {
  from { transform: rotateX(-22deg) rotateY(0); }
  to   { transform: rotateX(-22deg) rotateY(360deg); }
}

.code-panel {
  position: absolute;
  z-index: 2;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(8, 12, 32, 0.85);
  border: 1px solid var(--border-strong);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-muted);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  animation: float 8s ease-in-out infinite;
}
.code-panel .k { color: #c4b5fd; }
.code-panel .s { color: #67e8f9; }
.code-panel .c { color: var(--text-dim); }
.cp-1 { top: 6%; right: 0; }
.cp-2 { bottom: 8%; left: 0; animation-delay: -3s; }
.cp-dots { display: flex; gap: 5px; margin-bottom: 8px; }
.cp-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.cp-dots span:first-child { background: #f87171; }
.cp-dots span:nth-child(2) { background: #fbbf24; }
.cp-dots span:nth-child(3) { background: #34d399; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 2rem 0; }
.stat-row div { padding: 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: rgba(15, 23, 42, 0.02); }
.stat-row strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.stat-row span { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process-grid::before {
  content: "";
  position: absolute;
  top: 54px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.process-step { text-align: left; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cyan);
  box-shadow: 0 0 0 6px var(--bg), var(--glow);
  position: relative;
}
.process-step .check-list { margin-top: 1rem; }
.process-step .check-list li { font-size: 0.88rem; color: var(--text-muted); }

/* ---------- Industries ---------- */
.industry-card .card-icon { width: 46px; height: 46px; margin-bottom: 18px; }
.industry-card .card-icon .icon { width: 22px; height: 22px; }
.industry-card h3 { font-size: 1.08rem; }
.industry-card p { font-size: 0.92rem; margin-bottom: 0.9rem; }
.industry-card .chip-list { margin: 0; }

/* ---------- Packages ---------- */
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.package-card { display: flex; flex-direction: column; padding: 34px 30px; }
.package-card h3 { font-size: 1.45rem; }
.package-card .pkg-for { min-height: 3.2em; }
.package-card .check-list { margin: 1rem 0 2rem; flex: 1; }
.package-card .btn { width: 100%; }
.pkg-label {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.pkg-price {
  padding: 14px 0;
  margin: 0.5rem 0 0.5rem;
  border-block: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
}
.pkg-price span { display: block; font-family: var(--font-body); font-size: 0.82rem; color: var(--text-dim); }
.package-card.featured {
  border-color: rgba(249, 115, 22, 0.55);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.07), var(--surface) 45%);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.2), 0 30px 70px rgba(124, 58, 237, 0.25);
}
.package-card.featured .pkg-label { color: var(--cyan); }

.pricing-factors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pricing-factors li {
  display: flex;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.02);
  color: var(--text-muted);
  font-size: 0.93rem;
}
.pricing-factors .icon { color: var(--cyan); width: 20px; height: 20px; margin-top: 2px; }
.pricing-factors strong { display: block; color: var(--text); font-family: var(--font-display); }

/* ---------- Tools ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tool-group { padding: 22px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.tool-group h3 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; font-family: var(--font-body); font-weight: 600; }
.tool-group .chip-list { margin: 0; }
.tools-disclaimer { margin-top: 20px; font-size: 0.85rem; color: var(--text-dim); text-align: center; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); transition: border-color 0.3s, background 0.3s; }
.faq-item.is-open { border-color: var(--border-strong); background: var(--surface-hover); }
.faq-item h3 { margin: 0; font-size: 1.02rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.faq-icon { width: 20px; height: 20px; color: var(--cyan); transition: transform 0.3s var(--ease); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-a { padding: 0 22px 20px; color: var(--text-muted); font-size: 0.97rem; }
.faq-a p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 32px;
  align-items: center;
  padding: clamp(36px, 5vw, 64px);
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(120deg, rgba(124, 58, 237, 0.1), rgba(249, 115, 22, 0.14) 45%, rgba(219, 39, 119, 0.18));
  overflow: hidden;
  isolation: isolate;
}
.cta-glow {
  position: absolute;
  z-index: -1;
  right: -10%;
  top: -60%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(249, 115, 22, 0.45), transparent);
  filter: blur(20px);
}
.cta-band h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.cta-band p { color: var(--text-muted); margin: 0; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.page-hero-inner { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 40px; align-items: center; }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
.page-hero-visual .scene-sm { max-width: 300px; }
.mini-orb { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(14deg) rotateY(-12deg); }
.page-hero-visual .cube { --s: clamp(110px, 14vw, 160px); }

/* ---------- Sub-navigation chips ---------- */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-block: 1px solid var(--border);
}
.subnav ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.subnav a:hover, .subnav a.is-active { color: var(--text); border-color: rgba(124, 58, 237, 0.5); background: rgba(124, 58, 237, 0.08); }

/* ---------- Service detail ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(32px, 4vw, 48px);
  margin-bottom: 20px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.service-detail .card-icon { margin-bottom: 18px; }
.service-detail h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.service-detail p { color: var(--text-muted); }
.service-code { font-family: var(--font-display); font-size: 0.8rem; color: var(--text-dim); letter-spacing: 0.12em; margin-bottom: 10px; display: block; }
.service-detail h3 { font-size: 0.8rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}
.contact-item .card-icon { width: 44px; height: 44px; margin: 0; }
.contact-item .card-icon .icon { width: 20px; height: 20px; }
.contact-item small { display: block; color: var(--text-dim); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-item a, .contact-item span { font-weight: 500; overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--cyan); }
.placeholder-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; font-size: 0.68rem; border-radius: 6px; background: rgba(251, 191, 36, 0.14); color: #92400e; vertical-align: middle; font-weight: 600; letter-spacing: 0.04em; }

.form-card { padding: clamp(24px, 4vw, 40px); border-radius: 24px; border: 1px solid var(--border-strong); background: var(--surface); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 500; color: var(--text); }
.field label .req { color: var(--cyan); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.97rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a5aed0' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.field select option { background: var(--surface-solid); color: var(--text); }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #f87171; }
.field-error { min-height: 1.1em; font-size: 0.82rem; color: #dc2626; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--text-muted); }
.consent input { width: 18px; height: 18px; min-height: 0; margin-top: 3px; accent-color: var(--blue); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-hint { font-size: 0.85rem; color: var(--text-dim); margin: 0; flex: 1 1 240px; }
.form-status { margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-size: 0.92rem; }
.form-status.ok { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.35); color: #047857; }
.form-status.err { background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.35); color: #b91c1c; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1rem; }
.prose .placeholder-banner { padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.08); color: #78350f; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: clamp(80px, 12vw, 160px) 0; }
.not-found .big { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 10rem); font-weight: 700; line-height: 1; margin-bottom: 1rem; }
.not-found .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; padding-top: 72px; border-top: 1px solid var(--border); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { color: var(--text-muted); font-size: 0.93rem; margin: 18px 0; max-width: 340px; }
.footer-title { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-links span { color: var(--text-muted); font-size: 0.94rem; transition: color 0.2s; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--cyan); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 17px; height: 17px; margin-top: 4px; color: var(--cyan); }
.social-list { display: flex; flex-wrap: wrap; gap: 8px; }
.social-list a { display: block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); font-size: 0.82rem; color: var(--text-muted); transition: color 0.2s, border-color 0.2s; }
.social-list a:hover { color: var(--text); border-color: var(--cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid var(--border); font-size: 0.86rem; color: var(--text-dim); }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--text); }

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 91;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5); }

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 88px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  color: var(--cyan);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { border-color: var(--cyan); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.is-visible > *:nth-child(n+7) { transition-delay: 0.36s; }

/* ---------- Typography helpers ---------- */
.h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.h3 { font-size: 1.25rem; }
.center { text-align: center; }
.center-link { text-align: center; margin: 40px 0 0; }
.small-note { margin: 1rem 0 0; font-size: 0.84rem; color: var(--text-dim); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { margin-bottom: 28px; font-size: 0.86rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: flex; align-items: center; color: var(--text-dim); }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; color: var(--border-strong); }
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current] { color: var(--text); }

/* ---------- Image hero & media ---------- */
.page-hero.has-image .page-hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); }
.page-hero.has-image h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.page-hero .hero-actions { margin: 1.75rem 0 0; }
.page-hero-media { position: relative; }
.media-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface-solid);
  aspect-ratio: 16 / 9;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(249, 115, 22, 0.1);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(249, 115, 22, 0.08), transparent 45%);
  pointer-events: none;
}
.page-hero-media .media-frame { transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); transition: transform 0.6s var(--ease); }
.page-hero-media:hover .media-frame { transform: perspective(1200px) rotateY(0) rotateX(0); }
.media-orb {
  position: absolute;
  z-index: -1;
  right: -8%;
  bottom: -14%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(124, 58, 237, 0.7), rgba(249, 115, 22, 0.5) 40%, rgba(219, 39, 119, 0.35) 70%, transparent 72%);
  filter: blur(28px);
  opacity: 0.7;
}
.media-frame-sm { margin-bottom: 22px; border-radius: 16px; box-shadow: none; }

/* ---------- Image cards ---------- */
a.card.media-card, .media-card { padding: 0; display: flex; flex-direction: column; }
.media-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--surface-solid); }
.media-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.media-card:hover .media-card-img img { transform: scale(1.05); }
.media-card-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; flex: 1; }
.media-card-body h3 { margin: 0; font-size: 1.15rem; }
.media-card-body .card-text { color: var(--text-muted); font-size: 0.93rem; flex: 1; }
.card-icon-sm { width: 40px; height: 40px; margin: -42px 0 4px; border-radius: 12px; background: var(--surface-solid); }
.card-icon-sm .icon { width: 20px; height: 20px; }
.card-all { display: flex; flex-direction: column; justify-content: center; background: var(--grad-soft); border-style: dashed; }
.post-meta { font-size: 0.8rem; color: var(--text-dim); letter-spacing: 0.02em; }
.post-meta a { color: var(--text-muted); }
.post-meta a:hover { color: var(--cyan); }

/* ---------- Service page blocks ---------- */
.split-top { align-items: start; }
.prose-block h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.prose-block p { color: var(--text-muted); font-size: 1.05rem; }
.problem-card h2 { margin-bottom: 1.1rem; }
.problem-list { display: grid; gap: 12px; }
.problem-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.x-icon { width: 18px; height: 18px; margin-top: 4px; color: #f87171; padding: 2px; border-radius: 50%; background: rgba(248, 113, 113, 0.12); }
.deliverable-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.deliverable-grid li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 500;
}
.deliverable-grid .icon { width: 20px; height: 20px; color: var(--cyan); margin-top: 2px; }
.benefit-card h3 { font-size: 1.1rem; }
.benefit-card::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  width: 40px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--grad);
}
ol.process-grid { list-style: none; margin: 0; padding: 0; }
.note-center { max-width: 860px; margin: 32px auto 0; }

.link-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 0 0 2rem; }
.link-list a { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; }
.link-list a::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }
.link-list a:hover { color: var(--cyan); }

.pill-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.pill-links-left { justify-content: flex-start; }
.pill-links a {
  display: block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.pill-links a:hover { border-color: var(--cyan); color: var(--cyan); }

.service-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-links a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  height: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.02);
  transition: border-color 0.2s, background 0.2s;
}
.service-links a:hover { border-color: var(--border-strong); background: var(--surface-hover); }
.service-links .card-icon-sm { margin: 0; flex: none; }
.service-links strong { display: block; font-family: var(--font-display); font-weight: 600; }
.service-links small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.heading-link:hover { color: var(--cyan); }

.mini-title { margin: 1rem 0 0.5rem; font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }
.mini-links { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.25rem; }
.mini-links a { display: block; padding: 4px 11px; border-radius: 999px; font-size: 0.82rem; color: var(--cyan); border: 1px solid rgba(124, 58, 237, 0.3); background: rgba(124, 58, 237, 0.06); transition: background 0.2s; }
.mini-links a:hover { background: rgba(124, 58, 237, 0.14); }
a.chip { display: inline-block; transition: background 0.2s; }
a.chip:hover { background: rgba(124, 58, 237, 0.14); }
.industry-card { scroll-margin-top: calc(var(--header-h) + 24px); }
.industry-card:target { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), var(--glow); }

.facts { display: grid; gap: 14px; margin: 0; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.facts a { color: var(--cyan); }

.form-title { font-size: 1.6rem; }
.form-card { scroll-margin-top: calc(var(--header-h) + 24px); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status:focus { outline: none; }
button[disabled] { opacity: 0.7; cursor: progress; }
.form-intro { color: var(--text-muted); }

/* ---------- Blog ---------- */
.blog-heading { margin-bottom: 24px; }
.post-tag {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cyan);
  border: 1px solid rgba(124, 58, 237, 0.3);
  background: rgba(124, 58, 237, 0.06);
}
.article-hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 40px; overflow: hidden; }
.article-container { max-width: 860px; }
.article-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.article-hero .post-meta { margin: 1.5rem 0 2rem; font-size: 0.88rem; }
.article-image { margin-top: 8px; }
.article-body { font-size: 1.06rem; line-height: 1.8; color: var(--text-muted); }
.article-body h2 { margin-top: 2.6rem; font-size: clamp(1.4rem, 2.6vw, 1.8rem); color: var(--text); }
.article-body p, .article-body ul, .article-body ol, .article-body table { margin: 0 0 1.25rem; }
.article-body ul, .article-body ol { padding-left: 1.3rem; }
.article-body ul { list-style: disc; }
.article-body li { margin-bottom: 0.45rem; }
.article-body strong { color: var(--text); }
.article-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article-body code { font-size: 0.9em; padding: 2px 6px; border-radius: 6px; background: rgba(15, 23, 42, 0.06); color: var(--text); }
.article-body table { width: 100%; border-collapse: collapse; font-size: 0.95rem; display: block; overflow-x: auto; }
.article-body th, .article-body td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.article-body thead th { background: var(--surface); color: var(--text); }
.article-body tbody th { color: var(--text); font-weight: 600; }
.article-related { margin: 48px 0 24px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border-strong); background: var(--surface); }

.not-found .lead { margin: 0 auto 2rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1500px) {
  .site-header .brand-tagline { display: none; }
  .main-nav a { padding: 8px 10px; font-size: 0.9rem; }
}

@media (max-width: 1180px) {
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1200px) {
  .site-header .brand-tagline { display: block; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    margin: 0;
    padding: 24px;
    background: #ffffff;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { padding: 14px 16px; font-size: 1.1rem; border-radius: 12px; }
  .main-nav .nav-cta-mobile { display: inline-flex; padding: 0 24px; font-size: 1rem; color: #fff; border-radius: 999px; }
  body.nav-open { overflow: hidden; }
  .site-header.menu-open { background: #ffffff; }
}

@media (max-width: 1024px) {
  .hero-grid, .split, .faq-wrap, .contact-grid, .page-hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .page-hero-visual { display: none; }
  .card-grid, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .package-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .package-card .pkg-for { min-height: 0; }
  .service-detail { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-factors { grid-template-columns: repeat(2, 1fr); }
  .split-visual { order: -1; }
  .page-hero.has-image .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-media .media-frame { transform: none; }
  .deliverable-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  :root { --header-h: 68px; }
  .container { padding: 0 16px; }
  .site-header .brand-tagline { display: none; }
  .brand-logo { height: 40px; }
  .card-grid, .card-grid.cols-2, .card-grid.cols-4, .process-grid, .pricing-factors, .tools-grid { grid-template-columns: 1fr; }
  .check-list.two-col { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-row { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .card { padding: 24px; }
  .float-card { min-width: 0; padding: 10px 12px; }
  .float-card strong { font-size: 0.88rem; }
  .fc-1 { left: 0; top: 2%; }
  .fc-2 { right: 0; }
  .fc-3 { left: 2%; bottom: 2%; }
  .fc-line { width: 110px; }
  .code-panel { font-size: 0.7rem; padding: 10px 12px; }
  .service-detail { padding: 24px; }
  .deliverable-grid, .service-links, .link-list { grid-template-columns: 1fr; }
  .breadcrumb { margin-bottom: 20px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 8px; }
  .ticker-track li[aria-hidden="true"] { display: none; }
  .ticker { -webkit-mask: none; mask: none; }
}

/* ---------- Plan pricing cards ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan-grid .package-card { padding: 28px 24px; }
.plan-grid .package-card h3 { font-size: 1.3rem; }
.plan-price { margin: 0.25rem 0 0.5rem; padding: 14px 0; border-block: 1px solid var(--border); }
.plan-amount { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; color: var(--text); line-height: 1.1; }
.plan-unit { display: block; margin-top: 4px; font-size: 0.82rem; color: var(--text-dim); }
@media (max-width: 1180px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .plan-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Live Help Centre
   ========================================================================== */
.page-hero-compact { padding: clamp(32px, 5vw, 64px) 0 clamp(20px, 3vw, 32px); }
.page-hero-compact h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.model-card .model-price, .benefit-card .model-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--text); margin: 0.5rem 0 1rem; }
.model-price span { display: block; font-family: var(--font-body); font-size: 0.82rem; font-weight: 400; color: var(--text-dim); }

/* Catalogue */
.catalogue-search { max-width: 520px; margin-bottom: 32px; }
.catalogue-search label { display: block; font-weight: 600; margin-bottom: 6px; }
.catalogue-search input { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border-strong); background: #fff; font: inherit; color: var(--text); }
.catalogue-group { margin-bottom: 40px; scroll-margin-top: calc(var(--header-h) + 72px); }
.catalogue-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.catalogue-head .card-icon { margin: 0; flex: none; }
.catalogue-head p { margin: 0; color: var(--text-muted); }
.svc-table { display: grid; gap: 10px; }
.svc-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px 24px; align-items: center; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.svc-row h3 { font-size: 1.05rem; margin: 0 0 4px; }
.svc-row h3 a:hover { color: var(--orange-dark); }
.svc-row p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }
.svc-meta { text-align: right; }
.svc-meta strong { display: block; font-family: var(--font-display); }
.svc-meta small { color: var(--text-dim); font-size: 0.8rem; }

/* Booking form */
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.book-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.book-form { scroll-margin-top: calc(var(--header-h) + 16px); }
.stepper { display: none; list-style: none; padding: 0; margin: 0 0 28px; gap: 6px; flex-wrap: wrap; }
.is-stepped .stepper { display: flex; }
.stepper li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; font-size: 0.82rem; color: var(--text-dim); background: var(--bg-2); cursor: default; }
.stepper li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1px solid var(--border-strong); font-weight: 600; font-size: 0.78rem; }
.stepper li.is-done { color: var(--text); cursor: pointer; }
.stepper li.is-done span { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.stepper li.is-current { color: #fff; background: var(--orange); }
.stepper li.is-current span { color: var(--orange); border-color: #fff; }
.step { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.is-stepped .step { margin-bottom: 0; }
.step legend { display: block; width: 100%; padding: 0; margin-bottom: 18px; font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; }
.step legend:focus { outline: none; }
.step-count { display: block; font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 4px; }
.step-hint { color: var(--text-muted); }
.js-only { display: none; }
.js .js-only { display: inline; }
.step-nav { display: none; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.is-stepped .step-nav { display: flex; }
.step-nav [data-step-next] { margin-left: auto; }
.label { display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 7px; }
.field-help { font-size: 0.8rem; color: var(--text-dim); }
.js-step-error { margin-top: 16px; font-weight: 500; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border-strong); background: #fff; cursor: pointer; font-size: 0.92rem; }
.choice input { accent-color: var(--orange); width: 16px; height: 16px; min-height: 0; flex: none; }
.choice:has(input:checked) { border-color: var(--orange); background: rgba(208, 69, 14, 0.06); }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.choice-card { align-items: flex-start; }
.choice-card input { margin-top: 3px; }
.choice-card span { display: grid; gap: 2px; }
.choice-card em { font-style: normal; font-weight: 700; font-family: var(--font-display); color: var(--orange-dark); }
.choice-card small { color: var(--text-dim); font-size: 0.8rem; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.tile-grid-4 { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin-bottom: 20px; }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tile-body { display: grid; gap: 6px; align-content: start; height: 100%; padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.tile-body .icon { width: 26px; height: 26px; color: var(--cyan); }
.tile-body small { color: var(--text-muted); font-size: 0.84rem; }
.tile input:checked + .tile-body { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(208, 69, 14, 0.25); background: rgba(208, 69, 14, 0.04); }
.tile input:focus-visible + .tile-body { outline: 2px solid var(--cyan); outline-offset: 2px; }
.tile input:disabled + .tile-body { opacity: 0.45; cursor: not-allowed; }
.svc-group { margin-bottom: 18px; }
.svc-option { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 14px 16px; margin-bottom: 8px; border-radius: 10px; border: 1px solid var(--border); background: #fff; cursor: pointer; }
.svc-option[hidden] { display: none; }
.svc-option input { margin-top: 4px; accent-color: var(--orange); width: 18px; height: 18px; min-height: 0; }
.svc-option span { display: grid; gap: 2px; }
.svc-option small { color: var(--text-muted); font-size: 0.84rem; }
.svc-option em { font-style: normal; font-size: 0.85rem; font-weight: 600; white-space: nowrap; color: var(--orange-dark); }
.svc-option:has(input:checked) { border-color: var(--orange); background: rgba(208, 69, 14, 0.04); }
.svc-other-note { display: none; }
.is-stepped .svc-other-note:not([hidden]) { display: block; }
.pricing-panel { margin-top: 18px; }
.file-preview { margin-top: 10px; display: grid; gap: 4px; font-size: 0.88rem; color: var(--text-muted); }

/* Price summary & checkout */
.price-summary .facts { margin-bottom: 18px; }
.price-table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: 0.96rem; }
.price-table th, .price-table td { padding: 10px 0; border-bottom: 1px solid var(--border); text-align: left; font-weight: 400; }
.price-table td { text-align: right; white-space: nowrap; padding-left: 16px; }
.price-table .pt-sub th, .price-table .pt-sub td { color: var(--text-muted); }
.price-table .pt-total th, .price-table .pt-total td { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; border-bottom: 0; color: var(--text); }
.price-notes { display: grid; gap: 6px; padding-left: 1.1rem; list-style: disc; font-size: 0.86rem; color: var(--text-muted); margin-bottom: 1rem; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px; align-items: start; }
.facts-inline { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin-bottom: 16px; }
.amount-due { font-family: var(--font-display); font-size: 1.4rem; color: var(--orange-dark); }
.pay-box { padding: 16px 18px; margin: 14px 0; border-radius: var(--radius-sm); border: 1px dashed var(--border-strong); background: var(--bg-2); }
.pay-ref-form { margin-top: 18px; display: grid; gap: 12px; }
.checkout-links { margin-top: 18px; }
.mobile-only { display: none; }
.confirm-card-wrap { display: grid; place-items: center; }
.confirm-card { max-width: 680px; width: 100%; }
.confirm-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(4, 120, 87, 0.1); color: #047857; margin-bottom: 18px; }
.confirm-icon .icon { width: 28px; height: 28px; }
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; background: var(--bg-2); color: var(--text-muted); border: 1px solid var(--border); }
.status-awaiting_payment, .status-unpaid, .status-quote_requested { background: #fff7ed; color: #9a3412; border-color: #fed7aa; }
.status-payment_review, .status-pending_verification { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.status-paid, .status-confirmed, .status-completed { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.status-cancelled, .status-refunded { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.plan-grid-3 { grid-template-columns: repeat(3, 1fr); }
.plan-facts { margin: 0 0 1.25rem; padding-top: 12px; border-top: 1px solid var(--border); }
.plan-terms { margin-top: 24px; }

@media (max-width: 1024px) {
  .book-layout, .checkout-grid { grid-template-columns: 1fr; }
  .book-aside { position: static; }
  .plan-grid-3 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 680px) {
  .svc-row { grid-template-columns: 1fr; }
  .svc-meta { text-align: left; }
  .stepper li { font-size: 0; padding: 4px; }
  .stepper li span { font-size: 0.78rem; }
  .mobile-only { display: inline-flex; }
  .step-nav .btn { flex: 1; }
}

/* The hidden attribute always wins over component display rules. */
[hidden] { display: none !important; }
.main-nav a { white-space: nowrap; }
