/* ============================================================
   Dr. Martínez G. — Design tokens
   ============================================================ */
:root {
  --bg: #0A0A0B;
  --bg-alt: #121214;
  --surface: #18181B;
  --surface-2: #1D1D21;
  --border: #27272A;
  --border-light: #3A3A40;

  --gold: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-dim: #8A6F26;

  --white: #FFFFFF;
  --gray: #A1A1AA;
  --gray-soft: #BFBFC7;

  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;

  --ease-premium: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-corp: cubic-bezier(0.2, 0, 0, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  --dur-quick: 150ms;
  --dur-standard: 300ms;
  --dur-slow: 500ms;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-elev-1: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
  --shadow-elev-2: 0 4px 12px rgba(0,0,0,.5), 0 24px 48px -20px rgba(0,0,0,.7);
  --shadow-gold-glow: 0 0 0 1px rgba(212,175,55,.25), 0 12px 40px -12px rgba(212,175,55,.35);

  --container-w: 1240px;
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; }
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--bg);
  padding: 12px 20px; border-radius: 0 0 8px 0; z-index: 999; font-weight: 700;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--dark { background: linear-gradient(180deg, var(--bg-alt), var(--bg) 60%); }

/* ============================================================
   Shared: eyebrow, headings, accent line, buttons
   ============================================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-light); margin: 0 0 16px;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px 1px var(--gold); }

.section-head { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: clamp(40px, 6vw, 72px); }
.section-title {
  font-size: clamp(28px, 4.2vw, 44px);
  letter-spacing: 0.01em;
  color: var(--white);
  text-wrap: balance;
}
.section-title--left { margin: 0; }
.section-subtitle { color: var(--gray); font-size: 17px; margin-top: 18px; }

.accent-line {
  display: block; width: 64px; height: 2px; margin: 20px auto 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left center;
  transition: transform 700ms var(--ease-out-expo);
}
.accent-line--left { margin-inline: 0; }
.accent-line.is-visible { transform: scaleX(1); }

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; letter-spacing: 0.01em;
  border-radius: 999px; white-space: nowrap;
  transition: transform var(--dur-standard) var(--ease-corp),
              box-shadow var(--dur-standard) var(--ease-corp),
              border-color var(--dur-standard) var(--ease-corp),
              background var(--dur-standard) var(--ease-corp);
  cursor: pointer;
}
.btn .icon { width: 18px; height: 18px; transition: transform var(--dur-standard) var(--ease-corp); }
.btn:hover .icon { transform: translateX(3px); }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-md { padding: 14px 26px; font-size: 15px; }
.btn-sm { padding: 11px 20px; font-size: 14px; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-dim));
  color: #14110A;
  box-shadow: var(--shadow-gold-glow);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(212,175,55,.4), 0 20px 48px -14px rgba(212,175,55,.55); }
.btn-gold:active { transform: translateY(0); }

.btn-ghost {
  color: var(--white);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(212,175,55,.06); transform: translateY(-2px); }

.btn-outline {
  color: var(--gold-light);
  border: 1px solid var(--gold-dim);
  background: transparent;
}
.btn-outline:hover { background: rgba(212,175,55,.08); border-color: var(--gold); }

.btn-shimmer { overflow: hidden; isolation: isolate; }
.btn-shimmer::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%);
  transform: translateX(-140%);
  animation: shimmer-sweep 4.2s ease-in-out infinite;
  z-index: 1; pointer-events: none;
}
.btn-shimmer span, .btn-shimmer .icon { position: relative; z-index: 2; }
@keyframes shimmer-sweep {
  0%, 55% { transform: translateX(-140%); }
  75% { transform: translateX(140%); }
  100% { transform: translateX(140%); }
}

.icon-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border-light); color: var(--gray);
  transition: all var(--dur-standard) var(--ease-corp);
}
.icon-link svg { width: 20px; height: 20px; }
.icon-link:hover { color: var(--gold); border-color: var(--gold); background: rgba(212,175,55,.08); }

.icon-sm { width: 15px; height: 15px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  padding-block: 18px;
  background: rgba(10,10,11,.35);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-standard) var(--ease-corp),
              border-color var(--dur-standard) var(--ease-corp),
              padding-block var(--dur-standard) var(--ease-corp);
}
.site-header.is-scrolled {
  background: rgba(10,10,11,.82);
  border-bottom-color: var(--border);
  padding-block: 12px;
  box-shadow: var(--shadow-elev-1);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--white); }
.brand-accent { color: var(--gold); }
.brand-sub { font-size: 9.5px; letter-spacing: 0.18em; color: var(--gray); font-weight: 600; margin-top: 3px; }

.main-nav ul { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  font-size: 14.5px; font-weight: 600; color: var(--gray-soft);
  position: relative; padding-block: 4px;
  transition: color var(--dur-standard) var(--ease-corp);
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--gold); transition: width var(--dur-standard) var(--ease-corp);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }

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

.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border-radius: 10px;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--white); margin-inline: auto; transition: transform var(--dur-standard) var(--ease-corp), opacity var(--dur-standard) var(--ease-corp); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(320px, 82vw);
  background: rgba(18,18,20,.97); backdrop-filter: blur(16px);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-premium);
  z-index: 99; padding: 100px 32px 32px;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 26px; }
.mobile-nav a { font-size: 18px; font-weight: 600; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding-block: clamp(140px, 18vw, 200px) 90px; overflow: hidden; }

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(90px);
  opacity: .35;
}
.hero-glow--1 { width: 640px; height: 640px; top: -220px; right: -160px; background: radial-gradient(circle, var(--gold) 0%, transparent 70%); }
.hero-glow--2 { width: 420px; height: 420px; bottom: -160px; left: -120px; background: radial-gradient(circle, var(--gold-dim) 0%, transparent 70%); opacity: .22; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 75%);
}

.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-copy { width: 100%; max-width: 920px; display: flex; flex-direction: column; align-items: center; }

.hero-title {
  font-size: clamp(44px, 7.4vw, 96px); line-height: 1.03; letter-spacing: 0.01em;
  color: var(--white);
  background: linear-gradient(180deg, #FFFFFF 45%, #E7E7EA 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle { margin-top: 18px; font-size: clamp(16px, 1.9vw, 21px); color: var(--gold-light); font-weight: 600; }
.hero-promise { margin-top: 26px; font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 3vw, 32px); color: var(--white); max-width: 26ch; line-height: 1.35; }
.hero-lead { margin-top: 20px; color: var(--gray); font-size: 17px; max-width: 56ch; }

.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }

.hero-proof {
  margin: 44px auto 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px;
  font-size: 13.5px; color: var(--gray);
  padding: 14px 20px; border-radius: 999px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  backdrop-filter: blur(8px); width: fit-content;
}
.hero-proof strong { color: var(--gold-light); font-weight: 700; }
.proof-sep { color: var(--border-light); }

.portrait-frame {
  position: relative; width: min(380px, 80vw); aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-elev-2), var(--shadow-gold-glow);
  background: var(--surface);
}
.portrait-glow {
  position: absolute; inset: -30%; z-index: 0;
  background: radial-gradient(circle at 50% 30%, rgba(212,175,55,.35), transparent 65%);
}
.portrait-img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.portrait-ring {
  position: absolute; inset: 0; z-index: 2; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(243,229,171,.18), inset 0 -80px 100px -40px rgba(0,0,0,.65);
  pointer-events: none;
}
.portrait-frame--bio { width: min(420px, 80vw); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--border-light); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span { width: 4px; height: 8px; border-radius: 999px; background: var(--gold); animation: scroll-cue-move 1.8s var(--ease-corp) infinite; }
@keyframes scroll-cue-move {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ============================================================
   Stats panel
   ============================================================ */
.stats { padding-block: 48px; border-block: 1px solid var(--border); background: var(--bg-alt); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  text-align: center; padding: 28px 16px; border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elev-1);
}
.stat-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4vw, 42px);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { margin-top: 8px; font-size: 13.5px; color: var(--gray); font-weight: 600; letter-spacing: 0.01em; }

/* ============================================================
   Bento grid
   ============================================================ */
.bento-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(200px, auto); gap: 20px;
}
.bento-card--lg { grid-column: span 2; }

.bento-card {
  position: relative; padding: 32px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface), var(--bg-alt) 120%);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--dur-standard) var(--ease-premium),
              box-shadow var(--dur-standard) var(--ease-premium),
              border-color var(--dur-standard) var(--ease-premium);
  transform-style: preserve-3d;
  will-change: transform;
}
.bento-card::before {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(212,175,55,.14), transparent 60%);
  transition: opacity var(--dur-standard) var(--ease-corp);
}
.bento-card:hover { border-color: var(--gold-dim); box-shadow: var(--shadow-elev-2), var(--shadow-gold-glow); }
.bento-card:hover::before { opacity: 1; }

.bento-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,.08); border: 1px solid rgba(212,175,55,.22);
  color: var(--gold-light);
  position: relative; z-index: 1;
}
.bento-icon svg { width: 24px; height: 24px; }
.bento-card h3 { font-size: 20px; color: var(--white); margin-bottom: 10px; position: relative; z-index: 1; }
.bento-card p { color: var(--gray); font-size: 15px; position: relative; z-index: 1; }

/* ============================================================
   Radar 360
   ============================================================ */
.radar { display: flex; justify-content: center; margin-bottom: 72px; }
.radar-quadrants {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
  width: min(680px, 100%); aspect-ratio: 1.5/1;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
  background: var(--border);
  box-shadow: var(--shadow-elev-2);
}
.quadrant {
  position: relative; padding: 28px; text-align: left;
  background: linear-gradient(160deg, var(--surface), var(--bg-alt));
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: background var(--dur-standard) var(--ease-corp);
  min-height: 140px;
}
.quadrant-label {
  font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--white);
  transition: color var(--dur-standard) var(--ease-corp);
}
.quadrant-items {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin-top: 10px;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-premium), opacity var(--dur-standard) var(--ease-corp) 60ms;
}
.quadrant-items li { font-size: 12.5px; color: var(--gray); position: relative; padding-left: 12px; }
.quadrant-items li::before { content: ''; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.quadrant:hover, .quadrant[aria-expanded="true"] { background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.quadrant:hover .quadrant-label, .quadrant[aria-expanded="true"] .quadrant-label { color: var(--gold-light); }
.quadrant:hover .quadrant-items, .quadrant[aria-expanded="true"] .quadrant-items { max-height: 120px; opacity: 1; }

.radar-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #14110A;
  background: conic-gradient(from 0deg, var(--gold-light), var(--gold), var(--gold-light));
  box-shadow: 0 0 0 6px var(--bg), var(--shadow-gold-glow);
  z-index: 2; pointer-events: none;
}

.pipeline-title { text-align: center; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); margin-bottom: 28px; font-weight: 700; }
.pipeline-track {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0;
}
.pipeline-node {
  padding: 12px 18px; border-radius: 999px; border: 1px solid var(--border-light);
  background: var(--surface); font-size: 13px; font-weight: 700; color: var(--white);
  white-space: nowrap;
}
.pipeline-node--final { border-color: var(--gold); color: #14110A; background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.pipeline-connector { position: relative; width: 48px; height: 2px; background: var(--border-light); margin-inline: 4px; overflow: visible; }
.pipeline-connector .pulse {
  position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 10px 2px rgba(212,175,55,.8);
  animation: pulse-travel 2.4s linear infinite;
  animation-play-state: paused;
}
.pipeline-track.is-active .pulse { animation-play-state: running; }
.pipeline-connector:nth-child(4n) .pulse { animation-delay: .5s; }
.pipeline-connector:nth-child(4n+2) .pulse { animation-delay: 1s; }
@keyframes pulse-travel {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}

/* ============================================================
   Audience segmentation
   ============================================================ */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience-card {
  padding: 40px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface), var(--bg-alt) 130%);
  border: 1px solid var(--border);
  transition: transform var(--dur-standard) var(--ease-premium), box-shadow var(--dur-standard) var(--ease-premium), border-color var(--dur-standard) var(--ease-premium);
}
.audience-card:hover { border-color: var(--gold-dim); box-shadow: var(--shadow-elev-2), var(--shadow-gold-glow); }
.audience-icon {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,.08); border: 1px solid rgba(212,175,55,.22); color: var(--gold-light);
}
.audience-icon svg { width: 26px; height: 26px; }
.audience-card h3 { font-size: 24px; color: var(--white); margin-bottom: 12px; }
.audience-card p { color: var(--gray); font-size: 15.5px; margin-bottom: 26px; max-width: 44ch; }

/* ============================================================
   Profile
   ============================================================ */
.profile-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.profile-visual { display: flex; justify-content: center; }
.profile-text { color: var(--gray); font-size: 16.5px; margin-top: 20px; max-width: 56ch; }
.profile-actions { display: flex; align-items: center; gap: 18px; margin-top: 32px; }

/* ============================================================
   Tech ecosystem grid
   ============================================================ */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tech-card {
  position: relative; padding: 28px 26px; border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--surface), var(--bg-alt) 130%);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: transform var(--dur-standard) var(--ease-premium), box-shadow var(--dur-standard) var(--ease-premium), border-color var(--dur-standard) var(--ease-premium);
  transform-style: preserve-3d;
}
.tech-card:hover { border-color: var(--gold-dim); box-shadow: var(--shadow-elev-2), var(--shadow-gold-glow); }
.tech-card--flagship { border-color: rgba(212,175,55,.4); background: linear-gradient(160deg, #201a0d, var(--bg-alt) 140%); }
.tech-badge {
  position: absolute; top: 18px; right: 18px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em;
  color: #14110A; background: linear-gradient(135deg, var(--gold-light), var(--gold));
  padding: 5px 10px; border-radius: 999px; text-transform: uppercase;
}
.tech-logo {
  width: 48px; height: 48px; margin-bottom: 18px; border-radius: 50%;
  object-fit: cover; border: 1px solid rgba(212,175,55,.3);
  filter: drop-shadow(0 4px 12px rgba(212,175,55,.2));
}
.tech-card h3 { font-size: 18px; color: var(--white); margin-bottom: 8px; }
.tech-card p { font-size: 14px; color: var(--gray); flex-grow: 1; margin-bottom: 18px; }
.tech-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--gold-light); }
.tech-card:hover .tech-link .icon-sm { transform: translate(2px, -2px); }
.tech-link .icon-sm { transition: transform var(--dur-standard) var(--ease-corp); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-block: 64px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .footer-tagline { color: var(--gold-light); font-size: 13px; font-weight: 600; margin-top: 6px; letter-spacing: 0.06em; }
.footer-disclaimer { margin-top: 20px; font-size: 12.5px; color: var(--gray); line-height: 1.6; max-width: 40ch; }
.footer-col h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--gray); transition: color var(--dur-quick) var(--ease-corp); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--gray); }

/* ============================================================
   WhatsApp FAB + modal
   ============================================================ */
.wa-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border-light);
  box-shadow: var(--shadow-elev-2);
  transition: transform var(--dur-standard) var(--ease-back);
}
.wa-fab svg { width: 34px; height: 34px; position: relative; z-index: 1; }
.wa-fab:hover { transform: scale(1.08) translateY(-2px); }
.wa-pulse {
  position: absolute; inset: 0; border-radius: 50%; background: rgba(37,211,102,.45);
  animation: wa-pulse 2.4s var(--ease-corp) infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .6; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { opacity: 0; }
}

.wa-modal-overlay {
  position: fixed; inset: 0; z-index: 95; background: rgba(10,10,11,.7); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity var(--dur-standard) var(--ease-corp);
}
.wa-modal-overlay.is-open { opacity: 1; pointer-events: auto; }

.wa-modal {
  position: fixed; right: 24px; bottom: 100px; z-index: 96; width: min(380px, calc(100vw - 48px));
  background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-elev-2), var(--shadow-gold-glow);
  transform: translateY(16px) scale(.97); opacity: 0; pointer-events: none;
  transition: transform var(--dur-standard) var(--ease-back), opacity var(--dur-standard) var(--ease-corp);
}
.wa-modal.is-open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.wa-modal h3 { font-size: 21px; color: var(--white); margin-bottom: 20px; }
.wa-modal-close { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gray); transition: color var(--dur-quick) var(--ease-corp), background var(--dur-quick) var(--ease-corp); }
.wa-modal-close:hover { color: var(--white); background: rgba(255,255,255,.06); }
.wa-modal-close svg { width: 18px; height: 18px; }

.wa-routes { display: flex; flex-direction: column; gap: 10px; }
.wa-route {
  display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-alt);
  transition: border-color var(--dur-quick) var(--ease-corp), background var(--dur-quick) var(--ease-corp), transform var(--dur-quick) var(--ease-corp);
}
.wa-route:hover { border-color: var(--gold-dim); background: rgba(212,175,55,.06); transform: translateX(3px); }
.wa-route-icon {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,.1); color: var(--gold-light);
}
.wa-route-icon svg { width: 18px; height: 18px; }
.wa-route strong { display: block; font-size: 14px; color: var(--white); }
.wa-route small { display: block; font-size: 12px; color: var(--gray); margin-top: 2px; }

/* ============================================================
   Scroll reveal
   ============================================================ */
[data-reveal] { opacity: 0; will-change: transform, opacity; }
[data-reveal="fade-up"] { transform: translateY(28px); transition: opacity 600ms var(--ease-premium), transform 600ms var(--ease-premium); }
[data-reveal="scale-in"] { transform: scale(.94); transition: opacity 600ms var(--ease-premium), transform 600ms var(--ease-premium); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================
   3D tilt (JS sets --rx / --ry / --mx / --my)
   ============================================================ */
[data-tilt] {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-actions, .profile-text { margin-inline: auto; }
  .profile-copy { text-align: center; }
  .accent-line--left { margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-card--lg { grid-column: span 2; }
  .audience-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .radar-quadrants { grid-template-columns: 1fr; aspect-ratio: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .pipeline-node { font-size: 11.5px; padding: 10px 14px; }
  .pipeline-connector { width: 26px; }
}

@media (max-width: 480px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card--lg { grid-column: span 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .wa-modal { right: 12px; left: 12px; width: auto; bottom: 92px; }
}
