/* ==========================================================================
   PT. VISI PRIMA UTAMA (VPU) — Company Profile
   Design system: premium corporate trust — deep blue + gold/teal accents
   ========================================================================== */

:root {
  /* ---- Brand color foundation ---- */
  --navy-950: #071633;
  --navy-900: #0A2A57;
  --navy-800: #0F3B78;
  --navy-700: #164E96;
  --navy-midnight-900: #0A2E42;
  --navy-midnight-950: #051622;
  --blue-600: #1D63C4;
  --blue-500: #2E7DE1;

  --gold-600: #B9840D;
  --gold-500: #E0A526;
  --gold-400: #F0BB47;
  --gold-100: #FCF1D9;

  --teal-600: #0B7F80;
  --teal-500: #0FA3A4;
  --teal-100: #DFF6F5;

  --ink: #10203E;
  --ink-soft: #33456B;
  --gray-700: #4B5872;
  --gray-500: #7280A0;
  --gray-300: #C7D0E1;
  --gray-150: #E7ECF4;
  --gray-100: #F1F4F9;
  --white: #FFFFFF;
  --off-white: #F8FAFD;

  --success: #1E8E5A;

  /* ---- Semantic tokens ---- */
  --bg: var(--white);
  --bg-alt: var(--off-white);
  --bg-deep: var(--navy-900);
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --text-muted: var(--gray-500);
  --text-on-dark: #F3F6FC;
  --text-on-dark-muted: #AFC0DE;
  --border: rgba(16, 32, 62, 0.10);
  --border-strong: rgba(16, 32, 62, 0.18);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(16, 32, 62, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 32, 62, 0.10);
  --shadow-lg: 0 20px 50px rgba(16, 32, 62, 0.14);
  --shadow-gold: inset 0 0 0 1px rgba(240, 187, 71, 0.45);
  --shadow-hover-premium:
    0 14px 28px -10px rgba(16, 32, 62, 0.22),
    0 36px 72px -20px rgba(16, 32, 62, 0.16),
    var(--shadow-gold);

  --header-h: 88px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  /* Fast-out premium-snap curve — theme-switch and hover feedback only.
     Ambient/scroll-reveal motion keeps --ease-smooth (deliberately slower). */
  --ease-snappy: cubic-bezier(0.32, 0.72, 0, 1);
}

/* Dark mode: re-tints the semantic tokens only (bg/text/border), so anything
   already written against them (body, .bg-alt, .mesh-light, headings,
   info-card, etc.) adapts for free. Raw brand tokens (--white, --navy-*,
   --gold-*) are left untouched on purpose — also used as fixed literal
   colors elsewhere. Amethyst/indigo accent (--accent-dark*) is the dark-mode
   brand identity, wired into .btn-primary below and card hover glow further
   down. Ported from FE/src/styles/global.css (see project memory). */
html.dark {
  --bg: #07050C;
  --bg-alt: #0F0B1A;
  --off-white: #0F0B1A;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #B4BCDE;
  --ink: var(--text-on-dark);
  --ink-soft: var(--text-on-dark-muted);
  --gray-500: #8890A6;
  --gray-100: rgba(255, 255, 255, 0.06);
  --gray-150: rgba(255, 255, 255, 0.08);
  --border: rgba(168, 85, 247, 0.12);
  --border-strong: rgba(168, 85, 247, 0.25);

  --surface-dark: #141026;
  --surface-elevated: #1C1633;
  --surface-dark-hover:
    linear-gradient(155deg, rgba(240, 187, 71, 0.10), transparent 45%),
    linear-gradient(160deg, #232B45 0%, #1A2136 55%, #141928 100%);
  --shadow-glow-dark: 0 0 0 1px rgba(224, 165, 38, 0.18), 0 0 24px rgba(46, 125, 225, 0.28);

  --accent-dark: #A855F7;
  --accent-dark-hover: #C084FC;
  --accent-gradient-dark: linear-gradient(135deg, #A855F7, #6366F1);

  --shadow-sm: 0 2px 10px rgba(4, 6, 14, 0.35);
  --shadow-md: 0 10px 28px rgba(4, 6, 14, 0.4);
  --shadow-lg: 0 24px 56px rgba(4, 6, 14, 0.5);
}

/* ---- Reset ---- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input {
  font: inherit;
}

@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;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.22s var(--ease-snappy), color 0.22s var(--ease-snappy);
}

h1,
h2,
h3,
h4 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(32px, 4vw, 46px);
}

h3 {
  font-size: clamp(21px, 2.4vw, 25px);
}

.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.65;
  color: var(--text-soft);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 14px;
}

.section-kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold-500);
  display: inline-block;
}

/* ---- Layout helpers ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.section {
  padding: clamp(64px, 9vw, 128px) 0;
  scroll-margin-top: var(--header-h);
}

.section-tight {
  padding: clamp(40px, 5vw, 64px) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .section-kicker::before {
  display: none;
}

.bg-alt {
  background:
    radial-gradient(900px 520px at 86% -12%, rgba(223, 246, 245, 0.55), transparent 55%),
    radial-gradient(760px 480px at -8% 105%, rgba(252, 241, 217, 0.55), transparent 55%),
    var(--off-white);
}

html.dark .bg-alt {
  background:
    radial-gradient(900px 520px at 86% -12%, rgba(99, 102, 241, 0.16), transparent 55%),
    radial-gradient(760px 480px at -8% 105%, rgba(244, 114, 182, 0.10), transparent 55%),
    var(--off-white);
}

.mesh-light {
  background:
    radial-gradient(700px 420px at 92% 0%, rgba(223, 246, 245, 0.35), transparent 55%),
    radial-gradient(600px 380px at 4% 100%, rgba(252, 241, 217, 0.30), transparent 55%),
    var(--white);
}

html.dark .mesh-light {
  background:
    radial-gradient(700px 420px at 92% 0%, rgba(56, 189, 248, 0.14), transparent 55%),
    radial-gradient(600px 380px at 4% 100%, rgba(244, 114, 182, 0.10), transparent 55%),
    var(--bg);
}

.bg-deep {
  background:
    radial-gradient(1200px 640px at 85% -10%, rgba(46, 125, 225, 0.16), transparent 60%),
    radial-gradient(900px 560px at 8% 110%, rgba(15, 163, 164, 0.14), transparent 55%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 38%, var(--navy-midnight-900) 72%, var(--navy-midnight-950) 100%);
  color: var(--text-on-dark);
  transition: background 0.4s ease-in-out;
}

.bg-deep h2,
.bg-deep h3 {
  color: var(--white);
}

.bg-deep .lead {
  color: var(--text-on-dark-muted);
}

/* ---- Reveal-on-scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  filter: blur(6px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth), filter 0.8s var(--ease-smooth);
  transition-delay: calc(var(--stagger-i, 0) * 80ms);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 32px;
  border-radius: var(--radius-pill);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: all 0.4s ease-in-out;
  min-height: 56px;
}

.btn:active {
  transition: transform 0.15s ease-out;
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500) 55%, var(--gold-600));
  color: #3D2803;
  box-shadow: 0 10px 24px rgba(224, 165, 38, 0.28);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(224, 165, 38, 0.38);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500) 45%, var(--gold-600));
}

/* Dark-mode CTA swaps the gold gradient for the amethyst/indigo accent. */
html.dark .btn-primary {
  background: var(--accent-gradient-dark);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(168, 85, 247, 0.35);
}

html.dark .btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-dark-hover), #818CF8);
  box-shadow: 0 16px 32px rgba(168, 85, 247, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy-800);
  border: 2px solid var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--navy-800);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

html.dark .btn-secondary {
  background: var(--surface-dark);
  color: var(--text-on-dark);
}

html.dark .btn-secondary:hover {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-glow-dark);
  transition: border-color 0.24s var(--ease-snappy), box-shadow 0.24s var(--ease-snappy);
}

.bg-deep .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.bg-deep .btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.btn-whatsapp {
  background: #1EAD59;
  color: var(--white);
  box-shadow: 0 10px 22px rgba(30, 173, 89, 0.28);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(30, 173, 89, 0.4);
  background: #189249;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: height 0.4s var(--ease-smooth), background 0.4s var(--ease-smooth), border-color 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

/* backdrop-filter blur/saturate is inherited from .site-header above,
   unaffected by this override — only the background token changes. */
html.dark .site-header {
  background: rgba(7, 5, 12, 0.72);
}

html.dark .site-header.is-scrolled {
  background: rgba(7, 5, 12, 0.92);
}

.site-header-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  height: 40px;
  width: auto;
  transition: height 0.4s var(--ease-smooth);
}

.site-header.is-scrolled .brand-logo {
  height: 34px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}

.nav a {
  position: relative;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink-soft);
  border-radius: var(--radius-pill);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav a:hover {
  color: var(--ink);
  background: var(--gray-100);
}

.nav a.active {
  color: var(--ink);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 5px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold-500);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav a.mobile-only {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

/* ==========================================================================
   THEME TOGGLE
   ========================================================================== */
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--gold-600);
  transition: background 0.24s var(--ease-snappy), border-color 0.24s var(--ease-snappy),
    color 0.24s var(--ease-snappy), box-shadow 0.24s var(--ease-snappy), transform 0.2s var(--ease);
}

.theme-toggle:hover {
  transform: scale(1.08) rotate(-8deg);
  border-color: var(--gold-500);
}

.theme-toggle:active {
  transform: scale(0.9);
  transition-duration: 0.15s;
}

.theme-toggle.is-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--gold-400);
}

.theme-toggle.is-dark:hover {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 1px rgba(224, 165, 38, 0.28), 0 0 22px rgba(46, 125, 225, 0.35);
}

.theme-toggle-icon {
  position: absolute;
  display: flex;
  transition: opacity 0.26s var(--ease-snappy), transform 0.26s var(--ease-snappy);
}

.theme-toggle-icon svg {
  width: 20px;
  height: 20px;
}

.theme-toggle-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.4);
}

.theme-toggle.is-dark .theme-toggle-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.4);
}

.theme-toggle.is-dark .theme-toggle-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle,
  .theme-toggle-icon {
    transition: none;
  }
}

.header-actions .btn-primary {
  padding: 11px 22px;
  font-size: 15px;
  min-height: 44px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy-900);
}

.header-phone svg {
  width: 20px;
  height: 20px;
  color: var(--teal-600);
}

.nav-toggle-input {
  display: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
}

.nav-toggle-label span {
  display: block;
  height: 2.5px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-smooth), opacity 0.35s var(--ease-smooth);
}

@media (max-width: 900px) {
  .header-phone {
    display: none;
  }

  .nav-toggle-label {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease-smooth), opacity 0.35s var(--ease-smooth);
  }

  html.dark .nav {
    background: var(--surface-dark);
  }

  .site-header.is-scrolled .nav {
    top: 72px;
  }

  .nav a {
    padding: 14px 16px;
    text-align: left;
    font-size: 17px;
  }

  .nav a.mobile-only {
    display: block;
    margin-top: 6px;
    background: var(--gold-500);
    color: #3D2803;
    font-weight: 700;
    text-align: center;
  }

  .nav-toggle-input:checked~.nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle-input:checked~.nav-toggle-label span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .nav-toggle-input:checked~.nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle-input:checked~.nav-toggle-label span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .header-actions .btn-primary {
    display: none;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(16px, 8vw, 48px));
  padding-bottom: clamp(64px, 8vw, 96px);
  background:
    radial-gradient(1100px 620px at 82% -10%, rgba(46, 125, 225, 0.12), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(224, 165, 38, 0.10), transparent 55%),
    var(--off-white);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--gray-150) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-150) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 55% at 60% 0%, black 5%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse 90% 55% at 60% 0%, black 5%, transparent 65%);
  opacity: 0.4;
  pointer-events: none;
}

/* Dark mode swaps the static grid texture for the animated particle canvas
   below — showing both would just be visual noise. */
html.dark .hero::after {
  display: none;
}

.hero-particle-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 26px;
}

.hero-badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 4px var(--teal-100);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(20px, 5.4vw, 38px);
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero-title .accent {
  background: linear-gradient(100deg, var(--navy-800), var(--blue-600) 45%, var(--teal-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 36px;
}

.hero-actions {
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.hero-trust-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hero-trust-item strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
}

.hero-trust-item span {
  font-size: 14.5px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero visual: feature panel */
.hero-visual {
  position: relative;
}

.hero-panel {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  gap: 4px;
  transition: transform 0.5s var(--ease-smooth);
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: -28px;
  right: -28px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--gold-400), var(--gold-600) 70%, transparent 100%);
  border-radius: 50%;
  filter: blur(20px);
  z-index: -1;
  opacity: 0.55;
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.hero-feature:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.hero-feature:hover {
  background: var(--gray-100);
  transform: translateX(4px);
}

.hero-feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  box-shadow: 0 8px 18px -6px rgba(16, 32, 62, 0.4);
  color: var(--white);
}

.hero-feature-icon svg {
  width: 24px;
  height: 24px;
}

.hero-feature:nth-child(2) .hero-feature-icon {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
}

.hero-feature:nth-child(3) .hero-feature-icon {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
  color: #3D2803;
}

.hero-feature:nth-child(4) .hero-feature-icon {
  background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
}

.hero-feature-title {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 2px;
}

.hero-feature-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 520px;
    margin: 40px auto 0;
  }
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip {
  position: relative;
  background:
    radial-gradient(600px 200px at 90% 50%, rgba(15, 163, 164, 0.16), transparent 65%),
    linear-gradient(120deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-midnight-900) 100%);
  padding: 22px 0;
}

.trust-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-on-dark);
  white-space: nowrap;
}

.trust-strip-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold-400);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .trust-strip .container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
  }

  .trust-strip-item {
    white-space: normal;
  }
}

/* ==========================================================================
   METRICS
   ========================================================================== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.6s var(--ease-smooth), box-shadow 0.6s var(--ease-smooth);
}

.metric-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover-premium);
}

.metric-number {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 4vw, 50px);
  color: var(--ink);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.metric-number .suffix {
  color: var(--gold-500);
}

.metric-label {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
}

.metric-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

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

@media (max-width: 560px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CARDS — Journey
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.6s var(--ease-smooth), box-shadow 0.6s var(--ease-smooth), background 0.6s var(--ease-smooth);
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover-premium);
  background: var(--white);
}

html.dark .info-card:hover {
  background: var(--surface-dark-hover);
  border-color: rgba(240, 187, 71, 0.35);
  box-shadow: var(--shadow-hover-premium), var(--shadow-glow-dark);
}

.info-card-eyebrow {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--teal-600);
  background: var(--teal-100);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.info-card h3 {
  margin-bottom: 10px;
}

.info-card p {
  color: var(--text-soft);
  font-size: 16px;
}

@media (max-width: 980px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Bento rhythm: opener spans wide, two singles alongside, closer spans full —
   a visual-variety device, not a claim that any one card outranks the others. */
.card-grid .info-card:nth-child(1) { grid-column: span 2; }
.card-grid .info-card:nth-child(2) { grid-column: span 1; }
.card-grid .info-card:nth-child(3) { grid-column: span 1; }
.card-grid .info-card:nth-child(4) { grid-column: span 4; }

@media (max-width: 980px) {
  .card-grid .info-card:nth-child(1) { grid-column: span 2; }
  .card-grid .info-card:nth-child(2),
  .card-grid .info-card:nth-child(3) { grid-column: span 1; }
  .card-grid .info-card:nth-child(4) { grid-column: span 2; }
}

@media (max-width: 560px) {
  .card-grid .info-card:nth-child(1),
  .card-grid .info-card:nth-child(2),
  .card-grid .info-card:nth-child(3),
  .card-grid .info-card:nth-child(4) {
    grid-column: span 1;
  }
}

/* ==========================================================================
   WHY VPU — split numbered list
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.split-intro {
  position: sticky;
  top: 120px;
}

.why-list {
  display: flex;
  flex-direction: column;
}

.why-list-item {
  display: flex;
  flex-direction: row;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(231, 236, 244, 0.7);
  transition: background 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}

html.dark .why-list-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.why-list-item:first-child {
  padding-top: 0;
}

.why-list-item:last-child {
  border-bottom: none;
}

.why-list-num {
  flex-shrink: 0;
  width: 64px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  color: var(--gold-500);
}

.why-list-body h3 {
  margin-bottom: 10px;
}

.why-list-body p {
  color: var(--text-soft);
  font-size: 16px;
}

@media (hover: hover) and (pointer: fine) {
  .why-list-item:hover {
    background: rgba(224, 165, 38, 0.06);
    transform: translateX(6px);
  }

  html.dark .why-list-item:hover {
    background: rgba(224, 165, 38, 0.08);
  }
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split-intro {
    position: static;
  }
}

@media (max-width: 640px) {
  .why-list-item {
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
  }
}

/* ==========================================================================
   PROJECTS / CLIENT LOGOS
   ========================================================================== */
.project-group {
  margin-top: 56px;
}

.project-group:first-of-type {
  margin-top: 0;
}

.project-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--border);
}

.tag-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 6px;
}

.project-group-head h3 {
  margin: 0;
}

.project-count {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  background: var(--navy-800);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.logo-tile {
  aspect-ratio: 1.5 / 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
}

.logo-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover-premium);
}

.logo-tile img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.5s var(--ease-smooth);
}

.logo-tile:hover img {
  filter: grayscale(0%) opacity(1);
}

@media (max-width: 1100px) {
  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

@media (max-width: 480px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   ARTICLES
   ========================================================================== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.6s var(--ease-smooth), box-shadow 0.6s var(--ease-smooth);
}

.article-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover-premium);
}

html.dark .hero-badge,
html.dark .hero-panel,
html.dark .metric-card,
html.dark .logo-tile,
html.dark .article-card {
  background: var(--surface-dark);
}

/* Amethyst hover-lift for the elevated interactive cards: base rules above
   only cover background; add background-color/border-color/box-shadow here
   at the snappy curve, layered on top of (not replacing) each card's own
   transform transition. */
html.dark .metric-card,
html.dark .article-card {
  transition: transform 0.6s var(--ease-smooth), background-color 0.24s var(--ease-snappy),
    border-color 0.24s var(--ease-snappy), box-shadow 0.24s var(--ease-snappy);
}

html.dark .logo-tile {
  transition: transform 0.5s var(--ease-smooth), background-color 0.24s var(--ease-snappy),
    border-color 0.24s var(--ease-snappy), box-shadow 0.24s var(--ease-snappy);
}

html.dark .metric-card:hover,
html.dark .article-card:hover,
html.dark .logo-tile:hover {
  background: var(--surface-elevated);
  border-color: var(--border-strong);
  box-shadow: 0 10px 30px -10px rgba(168, 85, 247, 0.25);
}

html.dark .logo-tile img {
  filter: grayscale(0%) opacity(0.85);
}

html.dark .logo-tile:hover img {
  opacity: 1;
}

.article-banner {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.article-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 18% -20%, rgba(255, 255, 255, 0.28), transparent 55%);
  pointer-events: none;
}

.article-banner .banner-icon {
  position: relative;
  width: 76px;
  height: 76px;
  opacity: 0.95;
  transition: transform 0.5s var(--ease-smooth);
}

.article-card:hover .banner-icon {
  transform: scale(1.06);
}

.banner-ai {
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
}

.banner-consulting {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
}

.banner-ml {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
}

.article-card-body {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-body .tag-label {
  margin-bottom: 12px;
}

.article-card-body h3 {
  margin-bottom: 12px;
}

.article-card-body p {
  color: var(--text-muted);
  font-size: 15.5px;
  margin-bottom: 20px;
  flex: 1;
}

.article-meta {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

.article-read-more {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-soft);
  transition: color 0.4s ease-in-out;
}

.article-card:hover .article-read-more {
  color: var(--gold-600);
}

.article-read-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease-smooth);
}

.article-card:hover .article-read-more svg {
  transform: translateX(4px);
}

@media (max-width: 980px) {
  .article-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CONTACT / FINAL CTA
   ========================================================================== */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(224, 165, 38, 0.18), transparent 70%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.contact-section .lead {
  max-width: 640px;
  margin-bottom: 40px;
}

.contact-section .actions {
  margin-bottom: 52px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-card b {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  transition: color 0.4s ease-in-out;
}

.contact-link:hover {
  color: var(--gold-400);
}

.contact-link svg {
  width: 22px;
  height: 22px;
  color: #25D366;
  flex-shrink: 0;
}

.contact-plain {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: var(--text-on-dark-muted);
  padding: 36px 0;
  text-align: center;
  font-size: 14.5px;
}

/* ==========================================================================
   FLOATING WHATSAPP + BACK TO TOP
   ========================================================================== */
.float-stack {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.float-whatsapp {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1EAD59;
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15.5px;
  box-shadow: 0 10px 24px rgba(30, 173, 89, 0.32);
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
  animation: pulse-glow 3s ease-in-out infinite;
  will-change: transform, box-shadow;
}

.float-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 32px rgba(30, 173, 89, 0.42);
  animation-play-state: paused;
}

.float-whatsapp svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.float-whatsapp .label {
  display: inline;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 10px 24px rgba(30, 173, 89, 0.32);
  }

  50% {
    box-shadow: 0 10px 24px rgba(30, 173, 89, 0.55), 0 0 0 8px rgba(30, 173, 89, 0.1);
  }
}

.back-to-top {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-800);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth), background 0.4s ease-in-out, color 0.4s ease-in-out;
  will-change: opacity, transform;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--navy-900);
  color: var(--white);
  transform: translateY(-2px);
}

html.dark .back-to-top {
  background: var(--surface-dark);
  border-color: var(--border-strong);
  color: var(--text-on-dark-muted);
}

html.dark .back-to-top:hover {
  background: var(--surface-dark-hover);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-glow-dark);
  transition: background 0.24s var(--ease-snappy), color 0.24s var(--ease-snappy),
    box-shadow 0.24s var(--ease-snappy), transform 0.4s var(--ease-smooth);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 560px) {
  .float-whatsapp .label {
    display: none;
  }

  .float-whatsapp {
    padding: 16px;
  }
}

/* ==========================================================================
   ARTICLE PAGE
   ========================================================================== */
.article-page-hero {
  padding-top: calc(var(--header-h) + 40px);
}

.article-content {
  max-width: 760px;
  margin: 0 auto;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  transition: color 0.4s ease-in-out;
}

.article-back:hover {
  color: var(--gold-600);
}

.article-header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.article-header-meta .tag-label {
  margin-bottom: 0;
}

.article-title {
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 28px;
}

.article-hero-banner {
  height: 240px;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}

.article-hero-banner .banner-icon {
  width: 100px;
  height: 100px;
}

.article-body {
  font-size: 18px;
  color: var(--text-soft);
}

.article-body p {
  margin-bottom: 22px;
}

.article-body h2 {
  font-size: clamp(24px, 3vw, 30px);
  margin: 44px 0 18px;
  color: var(--ink);
}

.article-body h3 {
  margin: 32px 0 14px;
  color: var(--ink);
}

.article-body ul {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding-left: 4px;
}

.article-body li {
  position: relative;
  padding-left: 30px;
  color: var(--text-soft);
}

.article-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--gold-500);
}

.article-body li strong {
  color: var(--ink);
}

.article-body blockquote {
  margin: 36px 0;
  padding: 28px 32px;
  border-left: 4px solid var(--gold-500);
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
}

.article-footer-nav {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

/* ==========================================================================
   RESPONSIVE — global
   ========================================================================== */
@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .btn {
    width: 100%;
  }

  .actions {
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 20px 28px;
  }
}