:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-alt: #e9eef3;
  --ink: #102033;
  --copy: #314255;
  --muted: #617286;
  --line: rgba(16, 32, 51, 0.1);
  --brand-red: #b9413c;
  --brand-blue: #2f6db2;
  --brand-dark: #182633;
  --brand-gray: #6f767d;
  --accent: #ef6c57;
  --success: #1f9d66;
  --shadow: 0 24px 80px rgba(16, 32, 51, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1240px;
  --glow-red: rgba(185, 65, 60, 0.16);
  --glow-blue: rgba(47, 109, 178, 0.16);
  --backdrop: rgba(248, 250, 252, 0.84);
  --card-bg: rgba(255, 255, 255, 0.82);
  --card-border: rgba(16, 32, 51, 0.07);
  --grid-line: rgba(255, 255, 255, 0.06);
  --dark-copy: rgba(239, 246, 253, 0.82);
}

[data-theme="dark"] {
  --bg: #0d1520;
  --surface: #13202f;
  --surface-alt: #162738;
  --ink: #eef5fb;
  --copy: rgba(232, 240, 248, 0.9);
  --muted: rgba(205, 217, 231, 0.72);
  --line: rgba(232, 240, 248, 0.1);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  --glow-red: rgba(185, 65, 60, 0.22);
  --glow-blue: rgba(47, 109, 178, 0.24);
  --backdrop: rgba(9, 17, 26, 0.76);
  --card-bg: rgba(19, 32, 47, 0.86);
  --card-border: rgba(232, 240, 248, 0.08);
  --grid-line: rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 350ms ease, color 250ms ease;
  background:
    radial-gradient(circle at top, var(--glow-blue), transparent 28%),
    linear-gradient(180deg, #fbfcfd 0%, var(--bg) 100%);
}

[data-theme="dark"] body {
  background:
    radial-gradient(circle at top, var(--glow-blue), transparent 28%),
    linear-gradient(180deg, #101925 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, var(--glow-red), transparent 26%),
    radial-gradient(circle at 88% 12%, var(--glow-blue), transparent 28%),
    radial-gradient(circle at 60% 84%, rgba(31, 157, 102, 0.08), transparent 20%);
  animation: ambientShift 18s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(185, 65, 60, 0.2), rgba(47, 109, 178, 0.26)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 20%);
  transform: scaleY(0);
  transform-origin: top;
  transition: opacity 360ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-enter::after,
body.page-leave::after {
  opacity: 1;
  transform: scaleY(1);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
li,
label,
input,
select,
textarea {
  letter-spacing: -0.01em;
}

p {
  color: var(--copy);
}

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: var(--backdrop);
  border-bottom: 1px solid var(--card-border);
  transition: background 250ms ease, border-color 250ms ease;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--glow-red), var(--glow-blue));
  padding: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  transition: transform 200ms ease;
}

.brand:hover .brand-mark {
  transform: scale(1.03);
}

.brand-copy strong {
  display: block;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: rgba(16, 32, 51, 0.05);
  border: 1px solid rgba(16, 32, 51, 0.06);
}

.lang-switch a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.lang-switch a.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(16, 32, 51, 0.08);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(16, 32, 51, 0.06);
  color: var(--ink);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.08);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .menu-toggle {
  background: rgba(255, 255, 255, 0.05);
}

.cta,
.ghost,
.whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.cta:hover,
.ghost:hover,
.whatsapp:hover,
.theme-toggle:hover {
  transform: translateY(-1px);
}

.cta {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-red), var(--accent));
  box-shadow: 0 18px 32px rgba(185, 65, 60, 0.22);
}

.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--card-border);
}

.whatsapp {
  color: #fff;
  background: linear-gradient(135deg, #1f9d66, #35c883);
  box-shadow: 0 18px 32px rgba(31, 157, 102, 0.22);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 84px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: 24px;
  background: rgba(47, 109, 178, 0.18);
}

.hero::after {
  width: 360px;
  height: 360px;
  left: -100px;
  bottom: -80px;
  background: rgba(185, 65, 60, 0.12);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 36px;
  align-items: stretch;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 28px 0;
  transform: translateY(calc(var(--parallax-offset, 0px) * 0.12));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(16, 32, 51, 0.05);
  color: var(--brand-blue);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 18px 0 18px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero p.lead,
.page-hero p.lead {
  margin: 0 0 30px;
  max-width: 690px;
  font-size: 1.16rem;
  line-height: 1.7;
  color: var(--copy);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.metric {
  padding: 20px;
  border-radius: 22px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 26px rgba(16, 32, 51, 0.06);
}

.metric strong {
  display: block;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.metric span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  padding: 32px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(24, 38, 51, 0.96), rgba(28, 49, 68, 0.82)),
    linear-gradient(135deg, rgba(185, 65, 60, 0.2), rgba(47, 109, 178, 0.2));
  box-shadow: var(--shadow);
  transform: translateY(calc(var(--parallax-offset, 0px) * -0.08));
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto -12% -18% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
  animation: pulseFloat 9s ease-in-out infinite;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1), transparent 85%);
}

.visual-panel,
.glass-panel {
  position: relative;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.visual-panel {
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  color: #eaf0f7;
}

.signal-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}

.hero-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: rgba(234, 240, 247, 0.82);
}

.visual-panel {
  animation: heroLift 900ms ease both;
}

.signal-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.signal-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ad393;
  box-shadow: 0 0 0 8px rgba(58, 211, 147, 0.1);
}

.hero-stack {
  display: grid;
  gap: 18px;
  margin: 24px 0 18px;
}

.hero-scheme {
  position: relative;
  min-height: 300px;
  padding: 28px;
  overflow: hidden;
}

.hero-scheme::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(47, 109, 178, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px;
}

.hero-scheme::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.hero-scheme-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
  min-height: 244px;
}

.scheme-card {
  position: relative;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.scheme-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(116, 194, 255, 0.8), rgba(255, 255, 255, 0));
  opacity: 0.8;
}

.scheme-card:nth-child(odd) {
  animation: schemeFloat 7s ease-in-out infinite;
}

.scheme-card:nth-child(even) {
  animation: schemeFloat 7s ease-in-out infinite reverse;
}

.scheme-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.18);
}

.scheme-card strong,
.scheme-hub strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  color: #ffffff;
}

.scheme-card p,
.scheme-hub p {
  margin: 0;
  color: rgba(234, 240, 247, 0.8);
  line-height: 1.58;
}

.scheme-column {
  display: grid;
  gap: 16px;
}

.scheme-hub-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scheme-hub-wrap::before,
.scheme-hub-wrap::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 78px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.6));
  top: 50%;
}

.scheme-hub-wrap::before {
  left: -28px;
}

.scheme-hub-wrap::after {
  right: -28px;
}

.scheme-hub {
  width: 210px;
  min-height: 210px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 26px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.18), rgba(47, 109, 178, 0.16) 38%, rgba(14, 24, 35, 0.78) 72%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 0 0 18px rgba(255, 255, 255, 0.03),
    0 28px 48px rgba(0, 0, 0, 0.22);
  animation: hubPulse 6s ease-in-out infinite;
}

.hero-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-stage {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 150px;
}

.hero-stage strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.hero-stage h3,
.hero-insight h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.hero-stage h3 {
  font-size: 1.04rem;
}

.hero-stage p,
.hero-insight p,
.hero-float-card p {
  margin: 0;
  color: rgba(234, 240, 247, 0.8);
  line-height: 1.62;
}

.hero-insight {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-insight h3 {
  font-size: 1.24rem;
}

.hero-orbit {
  display: grid;
  gap: 10px;
  align-content: start;
}

.hero-orbit .tag {
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #f0f6fc;
}

.hero-float-card {
  position: relative;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(13, 22, 32, 0.84), rgba(19, 35, 54, 0.76)),
    rgba(13, 22, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
  transform: none;
}

.hero-float-card strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.08rem;
}

.hero-float-card::after {
  content: "01";
  justify-self: end;
  align-self: center;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2.3rem, 5vw, 3.2rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.14);
}

.system-diagram {
  margin: 24px 0;
  padding: 30px;
}

.system-diagram h3,
.visual-footer h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.45rem;
}

.diagram-lines {
  position: relative;
  min-height: 210px;
  margin-top: 24px;
}

.diagram-lines span,
.diagram-lines i {
  position: absolute;
  display: block;
}

.diagram-lines span {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.diagram-lines span:nth-child(1) {
  top: 8px;
  left: 0;
  background: radial-gradient(circle, rgba(185, 65, 60, 0.46), transparent 70%);
}

.diagram-lines span:nth-child(2) {
  top: 48px;
  right: 16px;
  background: radial-gradient(circle, rgba(47, 109, 178, 0.46), transparent 70%);
}

.diagram-lines span:nth-child(3) {
  left: 132px;
  bottom: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
}

.diagram-lines i {
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.82));
  transform-origin: left center;
}

.diagram-lines i:nth-child(4) {
  width: 140px;
  top: 74px;
  left: 92px;
  transform: rotate(14deg);
}

.diagram-lines i:nth-child(5) {
  width: 100px;
  top: 146px;
  left: 98px;
  transform: rotate(34deg);
}

.diagram-lines i:nth-child(6) {
  width: 110px;
  top: 150px;
  left: 208px;
  transform: rotate(-28deg);
}

.visual-footer {
  padding: 20px 24px;
}

.visual-footer p,
.section-copy p,
.feature-copy p {
  color: rgba(234, 240, 247, 0.78);
  line-height: 1.65;
}

.contact-card p,
.faq-item p,
.project-card p,
.stack-item p,
.service-card p,
.industry-item p,
.feature-item p,
.timeline-item p {
  color: var(--copy);
  line-height: 1.7;
}

.section {
  padding: 88px 0;
  transform: translateY(calc(var(--section-shift, 0px) * 1px));
}

.section-tight {
  padding-top: 64px;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.56));
}

[data-theme="dark"] .section-alt {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.02));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.6fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section-heading p,
.section-kicker {
  color: var(--muted);
}

.section-kicker {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.industry-grid,
.feature-grid,
.project-grid,
.stack-grid,
.contact-grid,
.service-grid,
.partners-grid,
.timeline,
.faq-grid,
.pages-grid {
  display: grid;
  gap: 18px;
}

.industry-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-grid,
.contact-grid,
.stack-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.partners-grid,
.timeline,
.faq-grid {
  grid-template-columns: 1fr;
}

.page-hero {
  padding: 42px 0 28px;
}

.page-hero-box {
  padding: 42px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(185, 65, 60, 0.1), rgba(47, 109, 178, 0.12)),
    var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 18px 54px rgba(16, 32, 51, 0.08);
}

.industry-item,
.feature-item,
.project-card,
.stack-item,
.contact-card,
.service-card,
.timeline-item,
.faq-item {
  position: relative;
  padding: 24px;
  border-radius: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.industry-item:hover,
.feature-item:hover,
.project-card:hover,
.stack-item:hover,
.contact-card:hover,
.service-card:hover,
.timeline-item:hover,
.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(16, 32, 51, 0.1);
}

.industry-item::before,
.feature-item::before,
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
  opacity: 0.86;
}

.industry-item h3,
.feature-item h3,
.project-card h3,
.service-card h3,
.stack-item h3,
.timeline-item h3,
.contact-card h3 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.35rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(16, 32, 51, 0.05);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.service-card strong,
.project-card strong,
.stack-item strong,
.timeline-item strong {
  color: var(--brand-blue);
}

.service-card strong,
.project-card strong {
  display: inline-block;
  margin-bottom: 10px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.media-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(13, 21, 32, 0.1), rgba(13, 21, 32, 0.78)),
    var(--image, linear-gradient(135deg, rgba(185, 65, 60, 0.34), rgba(47, 109, 178, 0.5)));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.16) 50%, transparent 80%);
  transform: translateX(-140%);
  transition: transform 700ms ease;
}

.media-card:hover::before {
  transform: translateX(140%);
}

.media-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 65%;
  background: linear-gradient(180deg, transparent, rgba(13, 21, 32, 0.86));
}

.media-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 24px;
  color: #f3f8fd;
}

.media-copy h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.4rem;
}

.media-copy p {
  margin: 0;
  color: rgba(243, 248, 253, 0.84);
}

.about-immersive {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 22px;
  align-items: stretch;
}

.about-stage {
  position: relative;
  min-height: 440px;
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(24, 38, 51, 0.94), rgba(28, 49, 68, 0.86)),
    linear-gradient(135deg, rgba(185, 65, 60, 0.18), rgba(47, 109, 178, 0.18));
  box-shadow: var(--shadow);
}

.about-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 34%, rgba(185, 65, 60, 0.48), transparent 18%),
    radial-gradient(circle at 76% 30%, rgba(47, 109, 178, 0.5), transparent 20%),
    radial-gradient(circle at 54% 74%, rgba(255, 255, 255, 0.16), transparent 18%);
  filter: blur(10px);
}

.about-stage-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(var(--grid-line) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.55;
}

.about-stage-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  color: #f4f9ff;
}

.about-stage-copy p {
  color: rgba(244, 249, 255, 0.84);
}

.story-points {
  display: grid;
  gap: 14px;
}

.story-point {
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}

.story-point strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-blue);
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-item {
  padding: 22px;
  border-radius: 22px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}

.detail-item strong {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-blue);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
}

.note-panel {
  padding: 28px;
  border-radius: 28px;
  color: #eff6fd;
  background:
    linear-gradient(135deg, rgba(185, 65, 60, 0.88), rgba(47, 109, 178, 0.9)),
    linear-gradient(135deg, rgba(16, 32, 51, 0.95), rgba(16, 32, 51, 0.82));
  box-shadow: var(--shadow);
}

.note-panel p {
  color: rgba(239, 246, 253, 0.82);
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.step-num {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 800;
}

.contact-card a,
.service-card a,
.project-card a,
.footer a {
  color: inherit;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 4px;
}

.form-panel {
  padding: 28px;
  border-radius: 28px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 18px 44px rgba(16, 32, 51, 0.08);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.93rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 16px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: rgba(255, 255, 255, 0.03);
}

textarea {
  min-height: 144px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(47, 109, 178, 0.24);
  border-color: rgba(47, 109, 178, 0.42);
}

.fineprint {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
}

.footer {
  padding: 28px 0 46px;
  background: #111c27;
  color: rgba(234, 240, 247, 0.74);
}

.footer-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
  padding: 22px 24px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(185, 65, 60, 0.18), rgba(47, 109, 178, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-banner h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.4rem;
}

.footer-banner p {
  margin: 0;
  color: rgba(234, 240, 247, 0.78);
}

.footer-banner .inline-actions {
  justify-content: flex-end;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.8fr));
  gap: 28px;
}

.footer h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}

.mobile-panel {
  display: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-parallax] {
  will-change: transform;
}

@keyframes ambientShift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(0, -14px, 0) scale(1.04);
  }
}

@keyframes pulseFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-12px, -18px, 0) scale(1.06);
  }
}

@keyframes heroLift {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hubPulse {
  0% {
    transform: scale(1);
    box-shadow:
      0 0 0 18px rgba(255, 255, 255, 0.03),
      0 28px 48px rgba(0, 0, 0, 0.22);
  }
  100% {
    transform: scale(1.03);
    box-shadow:
      0 0 0 24px rgba(255, 255, 255, 0.02),
      0 30px 54px rgba(0, 0, 0, 0.24);
  }
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================
 * Monumental redesign — hero-visual stepper (.hv),
 * lifecycle flow infographic, scroll-driven color
 * transitions, staggered reveal. 2025 refresh.
 * ============================================ */

:root {
  --tone-bg-a: var(--glow-red);
  --tone-bg-b: var(--glow-blue);
  --scroll-tilt: 0;
}

body {
  transition: background 600ms cubic-bezier(0.22, 1, 0.36, 1), color 250ms ease;
}

body::before {
  background:
    radial-gradient(circle at 12% 20%, var(--tone-bg-a, var(--glow-red)), transparent 32%),
    radial-gradient(circle at 88% 12%, var(--tone-bg-b, var(--glow-blue)), transparent 32%),
    radial-gradient(circle at 60% 84%, rgba(31, 157, 102, 0.08), transparent 22%);
  transition: background 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-underline {
  position: relative;
  display: inline-block;
  color: var(--brand-blue);
  white-space: nowrap;
}

.hero-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.08em;
  height: 0.24em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-red), var(--accent), var(--brand-blue));
  opacity: 0.9;
  transform-origin: left;
  animation: underlineDraw 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

@keyframes underlineDraw {
  0%   { transform: scaleX(0); opacity: 0.4; }
  100% { transform: scaleX(1); opacity: 0.9; }
}

/* --- Hero visual: new stepper panel --- */
.hv {
  position: relative;
  min-height: 640px;
  padding: 28px;
  border-radius: 36px;
  overflow: hidden;
  color: #eaf0f7;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(47, 109, 178, 0.35), transparent 55%),
    radial-gradient(120% 90% at 0% 100%, rgba(185, 65, 60, 0.3), transparent 55%),
    linear-gradient(155deg, #0f1b2a 0%, #0b1624 45%, #0a1320 100%);
  box-shadow:
    0 40px 80px rgba(8, 14, 22, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(calc(var(--parallax-offset, 0px) * -0.08));
}

.hv::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1), transparent 88%);
  pointer-events: none;
}

.hv::after {
  content: "";
  position: absolute;
  inset: auto -16% -20% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
  animation: pulseFloat 10s ease-in-out infinite;
  pointer-events: none;
}

.hv-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.hv-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
  color: rgba(234, 240, 247, 0.78);
}

.hv-signal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hv-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ad393;
}

.hv-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(58, 211, 147, 0.3);
  animation: hvPing 2.2s ease-out infinite;
}

@keyframes hvPing {
  0%   { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hv-status {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: rgba(234, 240, 247, 0.62);
}

.hv-heading {
  padding: 6px 4px 4px;
}

.hv-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(234, 240, 247, 0.78);
}

.hv-heading h2 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}

.hv-heading p {
  margin: 0;
  color: rgba(234, 240, 247, 0.78);
  line-height: 1.6;
  max-width: 46ch;
}

.hv-stepper {
  position: relative;
  list-style: none;
  margin: 6px 0 4px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.hv-stepper::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 30px;
  width: 2px;
  background: linear-gradient(180deg, rgba(116, 194, 255, 0.7), rgba(255, 130, 118, 0.6));
  border-radius: 999px;
  opacity: 0.55;
}

.hv-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px 14px 12px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.hv-step:hover {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.14);
}

.hv-step-num {
  position: absolute;
  top: 14px;
  left: 18px;
  width: 24px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(234, 240, 247, 0.55);
  text-align: center;
}

.hv-step-icon {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(116, 194, 255, 0.45), rgba(47, 109, 178, 0.35) 60%, rgba(9, 16, 26, 0.9) 100%);
  color: #cfe4fb;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hv-step-body {
  grid-column: 2;
  padding-top: 2px;
}

.hv-step-body strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.02rem;
  color: #fff;
  letter-spacing: -0.005em;
}

.hv-step-body p {
  margin: 0;
  color: rgba(234, 240, 247, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
}

.hv-footline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
  margin-top: auto;
}

.hv-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(234, 240, 247, 0.86);
  font-size: 0.82rem;
  font-weight: 700;
}

/* --- Lifecycle flow infographic --- */
.section-lifecycle {
  position: relative;
  padding: 72px 0 88px;
}

.lifecycle-flow {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  counter-reset: lc;
}

.lifecycle-flow::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(185, 65, 60, 0.6),
    rgba(239, 108, 87, 0.8),
    rgba(47, 109, 178, 0.8),
    rgba(31, 157, 102, 0.7));
  border-radius: 999px;
  opacity: 0.55;
  z-index: 0;
}

[data-theme="dark"] .lifecycle-flow::before {
  opacity: 0.6;
}

.lc-node {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 10px;
  padding: 22px 18px 24px;
  border-radius: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.06);
  text-align: center;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease, border-color 240ms ease;
}

.lc-node:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(16, 32, 51, 0.12);
  border-color: rgba(47, 109, 178, 0.3);
}

.lc-index {
  display: inline-block;
  justify-self: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-red), var(--accent));
  color: #fff;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  box-shadow: 0 6px 14px rgba(185, 65, 60, 0.28);
}

.lc-node:nth-child(3n+2) .lc-index {
  background: linear-gradient(135deg, var(--brand-blue), #5da2e5);
  box-shadow: 0 6px 14px rgba(47, 109, 178, 0.28);
}

.lc-node:nth-child(3n+3) .lc-index {
  background: linear-gradient(135deg, #1f9d66, #35c883);
  box-shadow: 0 6px 14px rgba(31, 157, 102, 0.28);
}

.lc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(47, 109, 178, 0.1), rgba(185, 65, 60, 0.1));
  border: 1px solid rgba(47, 109, 178, 0.18);
  color: var(--brand-blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .lc-icon {
  background: linear-gradient(135deg, rgba(47, 109, 178, 0.22), rgba(185, 65, 60, 0.18));
  color: #cfe4fb;
  border-color: rgba(255, 255, 255, 0.12);
}

.lc-node h3 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.14rem;
  letter-spacing: -0.01em;
}

.lc-node p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* --- Staggered reveal --- */
[data-reveal-stagger] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms cubic-bezier(0.22, 1, 0.36, 1), transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal-stagger].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Section tone variables driven by JS --- */
/* NOTE: defaults intentionally omitted so the specific [data-section-tone="…"]
   rules below (specificity 0-1-0) win; JS in applySectionTone() has its own
   fallback when a computed value is empty. */

[data-section-tone="hero"]        { --section-tone-a: rgba(47, 109, 178, 0.22); --section-tone-b: rgba(185, 65, 60, 0.18); }
[data-section-tone="lifecycle"]   { --section-tone-a: rgba(31, 157, 102, 0.18); --section-tone-b: rgba(47, 109, 178, 0.2); }
[data-section-tone="industries"]  { --section-tone-a: rgba(47, 109, 178, 0.2);  --section-tone-b: rgba(185, 65, 60, 0.14); }
[data-section-tone="advantages"]  { --section-tone-a: rgba(185, 65, 60, 0.18);  --section-tone-b: rgba(239, 108, 87, 0.14); }
[data-section-tone="clients"]     { --section-tone-a: rgba(31, 157, 102, 0.14); --section-tone-b: rgba(47, 109, 178, 0.14); }
[data-section-tone="process"]     { --section-tone-a: rgba(47, 109, 178, 0.24); --section-tone-b: rgba(185, 65, 60, 0.22); }
[data-section-tone="partners"]    { --section-tone-a: rgba(255, 255, 255, 0.04); --section-tone-b: rgba(47, 109, 178, 0.14); }
[data-section-tone="visual"]      { --section-tone-a: rgba(185, 65, 60, 0.18);  --section-tone-b: rgba(47, 109, 178, 0.22); }
[data-section-tone="faq"]         { --section-tone-a: rgba(47, 109, 178, 0.14); --section-tone-b: rgba(31, 157, 102, 0.12); }
[data-section-tone="cta"]         { --section-tone-a: rgba(185, 65, 60, 0.24);  --section-tone-b: rgba(239, 108, 87, 0.2);  }

/* --- Scroll progress bar at top --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 200;
  pointer-events: none;
  background: transparent;
}

.scroll-progress::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: calc(var(--scroll-progress, 0) * 100%);
  background: linear-gradient(90deg, var(--brand-red), var(--accent), var(--brand-blue));
  box-shadow: 0 0 16px rgba(47, 109, 178, 0.5);
  transition: width 120ms linear;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal-stagger] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hv::after,
  .hv-dot::after,
  .visual-panel,
  body::before {
    animation: none !important;
  }
  .hero-underline::after {
    animation: none !important;
    transform: scaleX(1);
  }
}

/* --- Responsive --- */
@media (max-width: 1120px) {
  .lifecycle-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lifecycle-flow::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .lifecycle-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hv.hero-visual {
    min-height: auto;
    padding: 22px;
    border-radius: 28px;
  }
  .hv-topline {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hv-status {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .lifecycle-flow {
    grid-template-columns: 1fr;
  }
  .hv-stepper::before {
    left: 22px;
  }
  .hv-step-num {
    display: none;
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .section-heading,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .service-grid,
  .project-grid,
  .contact-grid,
  .stack-grid,
  .media-grid,
  .about-immersive,
  .detail-list {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-rail,
  .hero-insight,
  .hero-scheme-grid,
  .hero-float-card,
  .footer-banner {
    grid-template-columns: 1fr;
  }

  .scheme-hub-wrap::before,
  .scheme-hub-wrap::after {
    display: none;
  }
}

@media (max-width: 920px) {
  .nav,
  .header-actions .ghost,
  .header-actions .cta {
    display: none;
  }

  .brand-copy span {
    display: none;
  }

  .brand-copy strong {
    font-size: 0.94rem;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-panel {
    display: none;
    padding: 0 0 18px;
  }

  .mobile-panel.open {
    display: block;
  }

  .mobile-panel nav {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(16, 32, 51, 0.08);
  }

  [data-theme="dark"] .mobile-panel nav {
    background: rgba(19, 32, 47, 0.96);
    border-color: rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 22px), var(--max));
  }

  .hero {
    padding: 24px 0 64px;
  }

  .hero-copy {
    padding-top: 10px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.4rem, 14vw, 4.2rem);
  }

  .hero-metrics,
  .industry-grid,
  .form-grid.two,
  .hero-rail,
  .scheme-column {
    grid-template-columns: 1fr;
  }

  .page-hero-box,
  .hero-visual,
  .note-panel,
  .form-panel,
  .contact-card,
  .project-card,
  .service-card,
  .industry-item,
  .feature-item,
  .timeline-item,
  .faq-item {
    padding: 22px;
    border-radius: 24px;
  }

  .topbar-inner {
    gap: 12px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    padding: 6px;
  }

  .lang-switch {
    display: none;
  }

  .brand-copy strong {
    font-size: 0.86rem;
    letter-spacing: 0.03em;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .topbar-inner {
    gap: 10px;
    padding: 10px 0;
  }

  .brand {
    gap: 8px;
  }

  .hero-scheme {
    min-height: auto;
    padding: 20px;
  }

  .scheme-hub {
    width: 176px;
    min-height: 176px;
    padding: 18px;
  }

  .hero-float-card::after {
    justify-self: start;
    font-size: 2rem;
  }

  .footer-banner .inline-actions {
    justify-content: stretch;
  }

  .footer-banner .inline-actions a {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(calc(100% - 18px), var(--max));
  }

  .topbar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .header-actions {
    gap: 8px;
  }

  .hero-actions a,
  .inline-actions a {
    width: 100%;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.1rem, 12vw, 3.4rem);
  }

  .hero p.lead,
  .page-hero p.lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-insight,
  .hero-float-card,
  .visual-panel,
  .hero-scheme {
    padding: 16px;
  }

  .scheme-card {
    padding: 14px 15px;
  }

  .scheme-hub {
    width: 158px;
    min-height: 158px;
    padding: 16px;
  }

  .footer-grid h4 {
    margin-bottom: 10px;
  }
}
