/* ProspectLab21 — Landing styles */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
section { position: relative; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  z-index: 100;
  transition: background var(--dur-base) var(--ease-standard),
              backdrop-filter var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard);
  border-bottom: 1px solid transparent;
}
.nav.dark { color: var(--pl-white); }
.nav.scrolled.light {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--pl-fog);
}
.nav.scrolled.dark {
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,0.08);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: inherit;
  text-decoration: none;
}
.nav-brand img { width: 26px; height: 26px; object-fit: contain; }
.nav.dark .nav-brand img { filter: invert(1); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: inherit;
  font-size: 14px;
  font-weight: 500;
  border: none;
  opacity: 0.75;
  transition: opacity var(--dur-fast) var(--ease-standard);
  cursor: pointer;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--dur-base) var(--ease-standard);
  border: 1px solid currentColor;
}
.nav.light .nav-cta { background: var(--pl-black); color: var(--pl-white); border-color: var(--pl-black); }
.nav.light .nav-cta:hover { background: var(--accent); border-color: var(--accent); }
.nav.dark .nav-cta { background: var(--pl-white); color: var(--pl-black); border-color: var(--pl-white); }
.nav.dark .nav-cta:hover { background: var(--accent); color: var(--pl-white); border-color: var(--accent); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--pl-black);
  color: var(--pl-white);
  overflow: hidden;
  padding: 120px 48px 120px;
  display: flex;
  align-items: center;
}
.hero-grid {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-copy {
  min-width: 0;
  max-width: 640px;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: ""; width: 32px; height: 1px; background: rgba(255,255,255,0.4);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.028em;
  color: #fff;
  margin: 0 0 32px;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--pl-blue-300); }
.hero h1 .rotator {
  display: inline-block;
  position: relative;
  color: var(--pl-blue-300);
  white-space: nowrap;
  border-bottom: 2px solid rgba(92,133,255,0.4);
  padding-bottom: 4px;
  vertical-align: baseline;
  overflow: hidden;
}
.hero h1 .rotator-measure {
  display: inline-block;
  visibility: hidden;
  white-space: nowrap;
  pointer-events: none;
}
.hero h1 .rotator-track {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  transition:
    transform 620ms cubic-bezier(.22,1,.36,1),
    opacity 420ms cubic-bezier(.22,1,.36,1),
    filter 420ms cubic-bezier(.22,1,.36,1);
  will-change: transform, opacity, filter;
}

/* ---- Hero intro animation ---- */
.hero h1.headline-intro {
  text-wrap: pretty;
  perspective: 1000px;
}
.hero h1.headline-intro .iw-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: baseline;
}
.hero h1.headline-intro .iw-space {
  display: inline-block;
  width: 0.28em;
  white-space: pre;
}
.hero h1.headline-intro .iw {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%) rotate(2deg);
  filter: blur(10px);
  transition:
    opacity 800ms cubic-bezier(.22,1,.36,1),
    transform 900ms cubic-bezier(.22,1,.36,1),
    filter 700ms cubic-bezier(.22,1,.36,1);
  will-change: transform, opacity, filter;
}
.hero h1.headline-intro .iw.is-in {
  opacity: 1;
  transform: translateY(0) rotate(0);
  filter: blur(0);
}

.hero h1.headline-intro .rotator-wrap {
  opacity: 0;
  transform: translateY(110%);
  filter: blur(10px);
  transition:
    opacity 800ms cubic-bezier(.22,1,.36,1),
    transform 900ms cubic-bezier(.22,1,.36,1),
    filter 700ms cubic-bezier(.22,1,.36,1);
}
.hero h1.headline-intro .rotator-wrap.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.hero h1.headline-intro.is-settling {
  animation: headline-settle 900ms cubic-bezier(.22,1,.36,1);
}
@keyframes headline-settle {
  0%   { transform: translateX(0); }
  18%  { transform: translateX(-3px); }
  42%  { transform: translateX(2px); }
  68%  { transform: translateX(-1px); }
  100% { transform: translateX(0); }
}

.intro-fade {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 700ms cubic-bezier(.22,1,.36,1), transform 700ms cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.intro-fade.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero h1.headline-intro .iw,
  .hero h1.headline-intro .rotator-wrap,
  .intro-fade {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .hero h1.headline-intro.is-settling { animation: none !important; }
  .hero h1 .rotator-track { transition: opacity 200ms linear !important; }
}
.hero-sub {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin: 0 0 40px;
}
.hero-ctas { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--dur-base) var(--ease-standard);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary { background: var(--pl-white); color: var(--pl-black); border-color: var(--pl-white); }
.btn-primary:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--pl-black); color: #fff; border-color: var(--pl-black); }
.btn-dark:hover { background: var(--accent); border-color: var(--accent); }
.btn-outline-dark { background: transparent; color: var(--pl-black); border-color: var(--pl-black); }
.btn-outline-dark:hover { background: var(--pl-black); color: #fff; }
.btn-audit {
  background: transparent;
  color: #fff;
  border-color: rgba(184,164,255,0.45);
  position: relative;
  overflow: hidden;
}
.btn-audit::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(75,0,130,0.18), rgba(124,58,237,0.10));
  opacity: 0; transition: opacity var(--dur-base) var(--ease-standard);
  pointer-events: none;
}
.btn-audit:hover { border-color: #b8a4ff; transform: translateY(-1px); }
.btn-audit:hover::before { opacity: 1; }
.btn-audit-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #b8a4ff;
  box-shadow: 0 0 0 0 rgba(184,164,255,0.5);
  animation: btn-audit-pulse 2.4s ease-out infinite;
  position: relative; z-index: 1;
}
.btn-audit-free {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(184,164,255,0.18);
  color: #d9ccff;
  margin-left: 4px;
  position: relative; z-index: 1;
}
@keyframes btn-audit-pulse {
  0% { box-shadow: 0 0 0 0 rgba(184,164,255,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(184,164,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(184,164,255,0); }
}

.hero-spline {
  position: relative;
  width: 100%;
  height: clamp(480px, 70vh, 720px);
  aspect-ratio: 4 / 5;
  max-height: 80vh;
  margin-inline: auto;
  z-index: 2;
}
.hero-spline canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}
.hero-spline-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(0,71,255,0.18), transparent 60%);
}
.hero-loader {
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,0.15);
  border-top-color: var(--pl-blue-300);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* spotlight overlay (aceternity-like) */
.spotlight {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  width: 80%; height: 100%;
  top: -40%; left: 20%;
  opacity: 0;
  animation: spotlight 2s ease 0.2s 1 forwards;
}
@keyframes spotlight {
  0% { opacity: 0; transform: translate(-72%, -62%) scale(0.5); }
  100% { opacity: 1; transform: translate(-50%, -40%) scale(1); }
}

.hero-meta {
  position: absolute;
  bottom: 32px; left: 48px; right: 48px;
  display: flex; justify-content: space-between; align-items: end;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  z-index: 3;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 48px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.4));
  z-index: 3;
  overflow: hidden;
}
.hero-scroll-indicator::before {
  content: ""; position: absolute; top: -48px; left: 0;
  width: 100%; height: 48px;
  background: var(--pl-blue-300);
  animation: scrollDot 2.4s var(--ease-standard) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(96px); opacity: 0; }
}
.hero-meta .live { display: flex; align-items: center; gap: 8px; }
.hero-meta .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--pl-blue-300);
  box-shadow: 0 0 0 0 var(--pl-blue-300);
  animation: pulse 1.6s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(92,133,255,0.6); }
  50% { box-shadow: 0 0 0 8px rgba(92,133,255,0); }
}

/* ============ MARQUEE ============ */
.marquee-section {
  background: var(--pl-black);
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 32px 0;
  overflow: hidden;
  position: relative;
}
.marquee-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
}
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 90s linear infinite;
  gap: 96px;
}
.marquee-item {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.015em;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  display: flex; align-items: center; gap: 96px;
  transition: color 400ms var(--ease-standard);
}
.marquee:hover { animation-play-state: paused; }
.marquee-item:hover { color: rgba(255,255,255,0.95); }
.marquee-item::after {
  content: "✦"; color: rgba(255,255,255,0.2); font-size: 14px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ SECTIONS ============ */
.section {
  padding: 160px 48px;
  background: var(--bg);
}
.section.dark {
  background: var(--pl-black);
  color: #fff;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-secondary);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.section.dark .section-eyebrow { color: rgba(255,255,255,0.5); }
.section-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.5;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  max-width: 900px;
  text-wrap: balance;
}
.section .lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-secondary);
  max-width: 640px;
  margin: 0;
}
.section.dark .lead { color: rgba(255,255,255,0.65); }

/* ============ MAILS SECTION ============ */
.mails-section { padding: 160px 48px 200px; }
.mails-section > .section-inner > h2 { margin-bottom: 24px; }
.mails-section > .section-inner > .lead { max-width: 640px; margin-bottom: 56px; }
.mails-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
  margin-top: 96px;
}
.phone-stage {
  position: sticky;
  top: 96px;
  align-self: start;
  display: flex; justify-content: center;
  height: calc(100vh - 96px);
  min-height: 480px;
  align-items: center;
}
/* Shrink phone gracefully on short viewports so it never bleeds into the nav */
@media (max-height: 760px) {
  .phone-stage .phone { transform: scale(0.88); transform-origin: center; }
}
@media (max-height: 660px) {
  .phone-stage .phone { transform: scale(0.78); transform-origin: center; }
}
.phone {
  width: 308px;
  height: 632px;
  background: #0a0a0a;
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,0.35),
    0 12px 24px -8px rgba(0,0,0,0.18),
    0 0 0 1px rgba(0,0,0,0.08),
    inset 0 0 0 2px #1a1a1a;
  position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 28px; background: #000; border-radius: 16px; z-index: 5;
  box-shadow: inset 0 0 0 1px #1a1a1a;
}
.phone-bezel-glow {
  position: absolute; inset: 0;
  border-radius: 44px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 30%, transparent 70%, rgba(255,255,255,0.04));
}
.phone-screen {
  width: 100%; height: 100%;
  background: #fff;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", sans-serif;
}
.phone-statusbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 28px 6px;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  height: 50px;
  letter-spacing: -0.01em;
}
.phone-statusbar .sb-time { justify-self: start; }
.phone-statusbar .sb-notch { width: 96px; height: 22px; }
.phone-statusbar .icons { justify-self: end; display: flex; gap: 5px; align-items: center; }

.phone-mailheader {
  padding: 6px 16px 10px;
  display: flex; align-items: center; justify-content: space-between;
  background: #fff;
  position: relative;
}
.phone-mailheader::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: #ececec;
}
.phone-mailheader .mh-back {
  color: #0a84ff; font-size: 15px; font-weight: 400;
  display: flex; align-items: center; gap: 2px;
  letter-spacing: -0.01em;
}
.phone-mailheader .mh-badge {
  margin-left: 8px;
  background: #ff3b30; color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 1px 7px; border-radius: 999px;
  line-height: 1.4;
}
.phone-mailheader .mh-actions {
  display: flex; gap: 18px; color: #0a84ff;
}

/* mail body becomes a viewport that the inner letter "scrolls" through */
.mail-body {
  flex: 1;
  overflow: hidden;
  background: #fff;
  position: relative;
}
.mail-inner {
  padding: 14px 18px 24px;
  transition: transform 900ms cubic-bezier(.65,.01,.18,1);
  will-change: transform;
}
.mail-fade-top, .mail-fade-bottom {
  position: absolute; left: 0; right: 0; height: 28px;
  pointer-events: none; z-index: 2;
}
.mail-fade-top { top: 0; background: linear-gradient(to bottom, #fff, rgba(255,255,255,0)); }
.mail-fade-bottom { bottom: 0; background: linear-gradient(to top, #fff, rgba(255,255,255,0)); }

.mail-from {
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}
.mail-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #1f1f1f 0%, #0a0a0a 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.mail-meta { flex: 1; min-width: 0; font-size: 13px; line-height: 1.35; }
.mail-meta .mm-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.mail-meta .mm-row-sub { margin-top: 2px; }
.mail-meta .name { font-weight: 600; color: #000; font-size: 14px; letter-spacing: -0.01em; }
.mail-meta .time { color: #8e8e93; font-size: 12px; font-weight: 400; flex-shrink: 0; }
.mail-meta .addr { color: #8e8e93; font-size: 12px; }
.mail-meta .addr .chev { color: #c7c7cc; margin-left: 2px; }
.mail-meta .star { color: #c7c7cc; font-size: 14px; }

.mail-subject {
  font-weight: 700;
  font-size: 18px; line-height: 1.25;
  color: #000;
  margin: 4px 0 14px;
  letter-spacing: -0.015em;
  position: relative;
}
.mail-text {
  font-size: 14.5px; line-height: 1.55;
  color: #1c1c1e;
  letter-spacing: -0.005em;
}
.mail-text p { margin: 0 0 12px; }
.mail-text p.mail-pd {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid #f0f0f0;
  color: #48484a; font-size: 13.5px;
}
.mail-text strong { font-weight: 600; }

/* iOS-style bottom toolbar */
.phone-mailtoolbar {
  display: flex; align-items: center; gap: 24px;
  padding: 12px 24px 22px;
  background: #fff;
  border-top: 1px solid #ececec;
  color: #0a84ff;
  font-size: 14px;
  font-weight: 500;
}
.phone-mailtoolbar .mt-reply { margin-left: auto; }

/* highlight overlays — subtle pill, smooth crossfade */
.mail-hl {
  display: inline;
  position: relative;
  padding: 1px 3px;
  margin: 0 -3px;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  transition:
    background 600ms cubic-bezier(.4,0,.2,1),
    color 600ms cubic-bezier(.4,0,.2,1);
}
.mail-hl.active {
  background: rgba(0,71,255,0.10);
  color: var(--pl-blue-700);
  box-shadow: 0 0 0 0.5px rgba(0,71,255,0.12);
}

/* ========== INBOX CINEMATIC ========== */
.inbox-layer, .mail-layer {
  position: absolute; inset: 50px 0 0 0;
  display: flex; flex-direction: column;
  background: #fff;
  transition: opacity 600ms cubic-bezier(.4,0,.2,1);
}
.inbox-layer.is-hidden, .mail-layer.is-hidden {
  opacity: 0; pointer-events: none;
}
.mail-layer { z-index: 2; }
.inbox-layer { z-index: 1; }

/* mail-layer "push" entrance from below + zoom-in */
.mail-layer.is-entering {
  animation: mail-push 850ms cubic-bezier(.65,.01,.18,1) both;
}
@keyframes mail-push {
  0%   { transform: translateY(8%) scale(0.96); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* inbox zoom collapse when opening */
.inbox-layer.is-zooming {
  animation: inbox-zoom 850ms cubic-bezier(.65,.01,.18,1) forwards;
}
@keyframes inbox-zoom {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.06); opacity: 0; }
}

.inbox-header {
  padding: 8px 18px 12px;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  flex-shrink: 0;
}
.inbox-header .ih-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px;
  color: #0a84ff;
  font-weight: 500;
  margin-bottom: 4px;
}
.inbox-header .ih-filter { color: #0a84ff; font-size: 14px; }
.inbox-header .ih-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  font-size: 28px; font-weight: 700; letter-spacing: -0.02em;
  margin: 4px 0 8px; color: #000;
}
.ih-search {
  background: #efeff0; border-radius: 10px;
  padding: 7px 10px;
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; color: #8e8e93;
}
.ih-search-icon { font-size: 14px; }

.inbox-list {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* Rows fade in (transition, not keyframe) so .is-dim and .is-hl can
   override opacity/transform via normal cascade. */
.inbox-row {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 11px 16px 11px 14px;
  border-bottom: 1px solid #f4f4f5;
  background: #fff;
  position: relative;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 520ms cubic-bezier(.22,1,.36,1),
    transform 520ms cubic-bezier(.22,1,.36,1),
    filter  420ms cubic-bezier(.4,0,.2,1),
    box-shadow 420ms cubic-bezier(.4,0,.2,1),
    background 420ms cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
.inbox-row.is-armed { opacity: 1; transform: translateY(0); }

.inbox-row.is-dim {
  opacity: 0.32;
  transform: translateY(0);
  filter: grayscale(1) blur(0.4px);
}
.inbox-row.is-hl {
  opacity: 1;
  z-index: 3;
  box-shadow:
    0 14px 32px -10px rgba(0,71,255,0.42),
    0 0 0 1px rgba(0,71,255,0.22);
  background: linear-gradient(180deg, #fff, #f4f7ff);
  transform: translateY(-2px) scale(1.018);
}

.ir-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}
.ir-body { flex: 1; min-width: 0; }
.ir-top {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px;
}
.ir-from {
  font-weight: 600; color: #000;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 75%;
  letter-spacing: -0.01em;
}
.ir-time { color: #8e8e93; font-size: 12px; flex-shrink: 0; }
.ir-subject {
  font-size: 13px; color: #1c1c1e; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: 1px;
  letter-spacing: -0.005em;
}
.ir-preview {
  font-size: 12.5px; color: #8e8e93;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: 1px;
}
.ir-dot {
  position: absolute; left: 4px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: #0a84ff;
  box-shadow: 0 0 0 4px rgba(10,132,255,0.18);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(10,132,255,0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(10,132,255,0.05); }
}

.steps-list {
  display: flex; flex-direction: column;
  gap: 28px;
  padding: 28vh 0 40vh;
}
.step {
  opacity: 0;
  transform: translateY(24px);
  border: 1px solid var(--border);
  padding: 26px 30px;
  background: #fff;
  cursor: pointer;
  transition:
    opacity 900ms cubic-bezier(.22,1,.36,1),
    transform 1000ms cubic-bezier(.22,1,.36,1),
    border-color 500ms var(--ease-standard),
    box-shadow 500ms var(--ease-standard),
    background 500ms var(--ease-standard);
  will-change: opacity, transform;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.step.is-in {
  opacity: 1;
  transform: translateY(0);
}
.step::after {
  content: ""; position: absolute; right: 24px; top: 28px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); transition: all 300ms var(--ease-standard);
}
.step.active::after { background: var(--pl-blue-500); box-shadow: 0 0 0 4px rgba(0,71,255,0.15); }
.step.active {
  border-color: var(--pl-black);
  box-shadow: -4px 0 0 0 var(--pl-blue-500);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--fg-tertiary);
  margin-bottom: 8px;
}
.step.active .step-num { color: var(--pl-blue-500); }
.step h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--fg);
}
.step p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-secondary);
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all var(--dur-slow) var(--ease-standard);
}
.step.active p { max-height: 200px; opacity: 1; margin-top: 4px; }

/* ============ ¿CÓMO LO HAGO? — LIGHT / WHITE-BLACK-BLUE ============ */
.proceso-section {
  position: relative;
  background: #ffffff;
  color: #0a0a0a;
  padding: 160px 48px;
  overflow: hidden;
  isolation: isolate;
}
.proceso-section .section-inner { position: relative; z-index: 1; }

/* Background accents — soft blue wash on white */
.proceso-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.proceso-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,71,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,71,255,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 80%);
}
.proceso-glow {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.45;
  animation: proceso-float 14s ease-in-out infinite;
}
.proceso-glow-a {
  width: 520px; height: 520px;
  top: -120px; left: -80px;
  background: radial-gradient(circle, rgba(92,133,255,0.22), transparent 70%);
}
.proceso-glow-b {
  width: 480px; height: 480px;
  bottom: -140px; right: -60px;
  background: radial-gradient(circle, rgba(0,71,255,0.18), transparent 70%);
  animation-delay: -6s;
}
@keyframes proceso-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

/* Section header */
.proceso-section .proceso-eyebrow { color: #0047FF; }
.proceso-section .proceso-eyebrow::before { background: #0047FF; }
.proceso-title {
  color: #000;
  font-size: clamp(36px, 4.4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 920px;
  margin: 0 0 20px;
}
.proceso-title-accent {
  background: linear-gradient(90deg, #0047FF 0%, #5C85FF 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.proceso-lead {
  color: rgba(0,0,0,0.62) !important;
  max-width: 640px;
  margin: 0 0 72px;
}

/* Grid */
.proceso-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  counter-reset: proceso;
}

/* Card */
.proceso-card {
  position: relative;
  padding: 32px 32px 28px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 360px;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms var(--ease-standard) var(--delay, 0ms),
    transform 700ms var(--ease-standard) var(--delay, 0ms),
    border-color 300ms var(--ease-standard),
    background 300ms var(--ease-standard),
    box-shadow 300ms var(--ease-standard);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.proceso-card.is-in {
  opacity: 1; transform: translateY(0);
}
.proceso-card::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,71,255,0.55), rgba(92,133,255,0.0) 45%, rgba(0,71,255,0.45) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 350ms var(--ease-standard);
  pointer-events: none;
}
.proceso-card.is-hover::before { opacity: 1; }
.proceso-card.is-hover {
  background: #fafafa;
  border-color: rgba(0,71,255,0.22);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -16px rgba(0,71,255,0.22);
}

/* Card head: pill + kicker */
.proceso-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.proceso-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #0047FF;
  background: rgba(0,71,255,0.06);
  border: 1px solid rgba(0,71,255,0.22);
  border-radius: 999px;
  text-transform: uppercase;
}
.proceso-pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #0047FF;
  box-shadow: 0 0 0 0 rgba(0,71,255,0.5);
  animation: proceso-pill-pulse 2.4s ease-out infinite;
}
@keyframes proceso-pill-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,71,255,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(0,71,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,71,255,0); }
}
.proceso-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.42);
}

/* Body */
.proceso-card-body { display: flex; flex-direction: column; flex: 1; }

/* Icon block — replaces the old SVG glyphs */
.proceso-icon {
  position: relative;
  width: 72px; height: 72px;
  margin-bottom: 22px;
  display: grid; place-items: center;
}
.proceso-icon-ring {
  position: absolute; inset: 0;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(0,71,255,0.10), rgba(92,133,255,0.06));
  border: 1px solid rgba(0,71,255,0.22);
  transition: transform 600ms var(--ease-standard), border-color 300ms var(--ease-standard), background 300ms var(--ease-standard);
}
.proceso-icon-num {
  position: absolute; top: 6px; right: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(0,0,0,0.38);
}
.proceso-icon-svg {
  position: relative; width: 44px; height: 44px;
  color: #0047FF;
  transition: color 300ms var(--ease-standard), transform 600ms var(--ease-standard);
}
.proceso-icon-svg svg { width: 100%; height: 100%; display: block; }

/* Hover-driven icon motion */
.proceso-card.is-hover .proceso-icon-ring {
  transform: scale(1.04);
  background: linear-gradient(135deg, #0047FF, #5C85FF);
  border-color: #0047FF;
}
.proceso-card.is-hover .proceso-icon-svg { color: #ffffff; }
.proceso-card.is-hover .proceso-icon-num { color: rgba(255,255,255,0.85); }

/* Per-card icon micro-animations */
.proceso-glyph-pulse { animation: proceso-pulse 2.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes proceso-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.35); }
}
.proceso-glyph-rotate {
  animation: proceso-spin 12s linear infinite;
  transform-origin: 32px 32px;
}
@keyframes proceso-spin {
  to { transform: rotate(360deg); }
}

/* Title + lines */
.proceso-h3 {
  color: #000;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  max-width: 22ch;
}
.proceso-lines {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.proceso-line {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(0,0,0,0.72);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 500ms var(--ease-standard) var(--lineDelay, 0ms),
    transform 500ms var(--ease-standard) var(--lineDelay, 0ms);
}
.proceso-card.is-in .proceso-line { opacity: 1; transform: translateY(0); }
.proceso-line-bullet {
  flex-shrink: 0;
  width: 6px; height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: rgba(0,71,255,0.45);
  transition: background 300ms var(--ease-standard), transform 300ms var(--ease-standard);
}
.proceso-card.is-hover .proceso-line-bullet { background: #0047FF; transform: scale(1.2); }

/* Foot — animated progress bar */
.proceso-card-foot { margin-top: 24px; }
.proceso-progress {
  display: block;
  height: 2px; width: 100%;
  background: rgba(0,0,0,0.06);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.proceso-progress-fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #0047FF 0%, #5C85FF 100%);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1000ms var(--ease-standard) calc(var(--delay, 0ms) + 350ms);
}
.proceso-card.is-in .proceso-progress-fill { transform: scaleX(1); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .proceso-glow,
  .proceso-pill-dot,
  .proceso-glyph-pulse,
  .proceso-glyph-rotate { animation: none !important; }
  .proceso-card,
  .proceso-line,
  .proceso-progress-fill { transition: none !important; }
}

/* Mobile */
@media (max-width: 760px) {
  .proceso-section { padding: 96px 24px; }
  .proceso-grid { grid-template-columns: 1fr; gap: 16px; }
  .proceso-card { min-height: 0; padding: 26px 24px 22px; }
  .proceso-h3 { font-size: 21px; }
  .proceso-lead { margin-bottom: 48px; }
}

/* ============ POR QUE ============ */
.porque-section {
  background: var(--pl-black);
  color: #fff;
  padding: 140px 48px;
  overflow: hidden;
}
.porque-section h2 { color: #fff; }
.porque-section .lead { color: rgba(255,255,255,0.65); }
.porque-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 80px;
}
.porque-bullets { display: flex; flex-direction: column; gap: 20px; }
.porque-bullet {
  display: flex; gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  align-items: start;
}
.porque-bullet:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.porque-bullet .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--pl-blue-300);
  letter-spacing: 0.15em;
  min-width: 40px;
  padding-top: 4px;
}
.porque-bullet h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #fff;
  letter-spacing: -0.01em;
}
.porque-bullet p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  margin: 0;
}

/* notification phone */
.notif-stage {
  display: flex; justify-content: center;
  position: relative;
  min-height: 540px;
}
.notif-phone {
  width: 280px; height: 540px;
  background: linear-gradient(180deg, #1a1a1a, #0a0a0a);
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
  transform: rotate(8deg);
  position: relative;
}
.notif-screen {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #1a2540 0%, #0d1530 60%, #050810 100%);
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  padding: 18px;
}
.notif-time {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 64px;
  color: #fff;
  margin-top: 80px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.notif-date {
  text-align: center;
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  font-weight: 500;
}
.notif-list {
  position: absolute;
  bottom: 24px;
  left: 12px; right: 12px;
  display: flex; flex-direction: column;
  gap: 8px;
}
.notif-card {
  background: rgba(255,255,255,0.13);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 14px;
  padding: 12px;
  display: flex; gap: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  transform: translateY(28px) scale(0.94);
  filter: blur(6px);
  transition:
    opacity 700ms cubic-bezier(.22,1,.36,1),
    transform 700ms cubic-bezier(.22,1,.36,1),
    filter 700ms cubic-bezier(.22,1,.36,1),
    box-shadow 600ms var(--ease-standard),
    border-color 600ms var(--ease-standard);
}
.notif-stage.is-armed .notif-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.notif-stage.is-armed .notif-card:nth-child(1) { transition-delay: 0.6s; }
.notif-stage.is-armed .notif-card:nth-child(2) { transition-delay: 1.6s; }
.notif-stage.is-armed .notif-card:nth-child(3) { transition-delay: 2.7s; }

/* the "win" card — when the calendar confirmation lands, glow green */
.notif-card.is-win { will-change: box-shadow, border-color; }
.notif-stage.is-armed .notif-card.is-win {
  border-color: rgba(80, 220, 140, 0.55);
  box-shadow:
    0 0 0 1px rgba(80,220,140,0.4),
    0 14px 30px -10px rgba(60,200,120,0.55);
  animation: notif-win-pulse 1.4s cubic-bezier(.4,0,.2,1) 3.0s 2;
}
.notif-stage.is-armed .notif-card.is-win .notif-icon {
  background: linear-gradient(160deg, #34d27a, #0e9c52);
}
@keyframes notif-win-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(80,220,140,0.4), 0 14px 30px -10px rgba(60,200,120,0.55); }
  50%      { box-shadow: 0 0 0 2px rgba(80,220,140,0.7), 0 18px 38px -8px rgba(60,200,120,0.85); }
}

/* tiny phone haptic on each notification landing */
.notif-stage.is-armed .notif-phone {
  animation: notif-buzz 0.5s ease-out 0.6s, notif-buzz 0.5s ease-out 1.6s, notif-buzz 0.5s ease-out 2.7s;
}
@keyframes notif-buzz {
  0%   { transform: rotate(8deg) translateX(0); }
  20%  { transform: rotate(8deg) translateX(-2px); }
  40%  { transform: rotate(8deg) translateX(2px); }
  60%  { transform: rotate(8deg) translateX(-1.5px); }
  80%  { transform: rotate(8deg) translateX(1px); }
  100% { transform: rotate(8deg) translateX(0); }
}
.notif-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--pl-blue-500);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.notif-content { flex: 1; min-width: 0; }
.notif-app {
  font-family: var(--font-display);
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex; justify-content: space-between;
}
.notif-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin: 2px 0 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.notif-text {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ============ SOBRE MI ============ */
.sobre-section {
  padding: 140px 48px;
  background: var(--bg);
  position: relative;
}
.sobre-eyebrow-top {
  max-width: 1200px;
  margin: 0 auto 64px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-secondary);
  display: flex;
  align-items: center;
  gap: 14px;
}
.sobre-eyebrow-rule {
  width: 32px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.sobre-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.sobre-portrait-wrap {
  position: relative;
  background: var(--pl-black);
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
}
.sobre-portrait {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: grayscale(100%) contrast(1.05);
  transition: filter 600ms var(--ease-standard);
}
.sobre-portrait-wrap:hover .sobre-portrait {
  filter: grayscale(0%) contrast(1);
}
.sobre-portrait-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5));
  pointer-events: none;
}
.sobre-portrait-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  z-index: 2;
}
.sobre-portrait-tag .signature {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #fff;
  font-weight: 600;
  margin-bottom: 4px;
}

.sobre-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-secondary);
  margin-bottom: 24px;
}
.sobre-h {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 32px;
}
.sobre-bio { font-size: 17px; line-height: 1.6; color: var(--fg-secondary); }
.sobre-bio p { margin: 0 0 18px; }
.sobre-bio p:first-child { color: var(--fg); font-size: 19px; }
.sobre-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
  border-top: 1px solid var(--border);
}
.sobre-stat { padding: 24px 0; border-right: 1px solid var(--border); }
.sobre-stat:last-child { border-right: none; }
.sobre-stat .num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pl-black);
  line-height: 1;
}
.sobre-stat .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-secondary);
  margin-top: 8px;
}

/* --- editorial rebuild --- */
.sobre-grid { align-items: start; gap: 72px; }

.sobre-portrait-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sobre-credentials {
  margin: 0;
  border-top: 1px solid var(--pl-black);
  display: flex;
  flex-direction: column;
}
.sc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.sc-row dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-secondary);
  margin: 0;
}
.sc-row dd {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin: 0;
  letter-spacing: -0.005em;
}

.sobre-content { padding-top: 2px; }

.sobre-greeting {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.028em;
  font-weight: 700;
  margin: 0 0 40px;
  color: var(--pl-black);
}
.sobre-name {
  position: relative;
  display: inline-block;
  color: var(--accent);
}
.sobre-name::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px;
  bottom: 0.08em;
  height: 0.18em;
  background: var(--accent);
  opacity: 0.14;
  z-index: -1;
  border-radius: 1px;
}

.sobre-bio {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-secondary);
  max-width: 56ch;
}
.sobre-bio p { margin: 0 0 18px; }
.sobre-lead {
  color: var(--fg) !important;
  font-size: 21px !important;
  line-height: 1.45;
  margin-bottom: 32px !important;
  font-weight: 400;
}
.sobre-lead em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.sobre-credo {
  margin: 0 0 28px;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--pl-black);
  background: transparent;
}
.sobre-credo p {
  color: var(--pl-black);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 4px !important;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.sobre-credo p:last-child {
  margin-bottom: 0 !important;
  color: var(--fg-secondary);
  font-weight: 400;
}

.sobre-discipline {
  color: var(--fg-secondary);
}

.sobre-punch {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--pl-black);
  line-height: 1.05;
  margin: 36px 0 0;
  position: relative;
  padding-bottom: 6px;
  display: inline-block;
}
.sobre-punch::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 48px; height: 3px;
  background: var(--accent);
}

.sobre-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.sobre-principles span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 160ms var(--ease-standard), color 160ms var(--ease-standard);
}
.sobre-principles span i {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.sobre-principles span:hover {
  border-color: var(--pl-black);
}

/* Scripture editorial block */
.sobre-scripture {
  max-width: 1200px;
  margin: 120px auto 0;
  padding: 64px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 3px 1fr;
  gap: 40px;
  align-items: start;
}
.ss-bar {
  width: 3px;
  align-self: stretch;
  min-height: 140px;
  background: var(--accent);
  border-radius: 1px;
}
.ss-body { max-width: 760px; }
.ss-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-secondary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.ss-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.ss-quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.018em;
  color: var(--pl-black);
  font-weight: 500;
  position: relative;
  text-wrap: pretty;
}
.ss-quote em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.ss-open, .ss-close {
  font-family: var(--font-display);
  color: var(--accent);
  font-weight: 600;
  opacity: 0.55;
  padding: 0 2px;
}
.ss-cite {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--pl-black);
  display: flex;
  align-items: center;
  gap: 14px;
}
.ss-cite-rule {
  width: 32px; height: 1px;
  background: var(--pl-black);
  display: inline-block;
}

@media (max-width: 960px) {
  .sobre-section { padding: 80px 24px; }
  .sobre-eyebrow-top { margin-bottom: 32px; }
  .sobre-portrait-col { gap: 20px; }
  .sobre-greeting { margin-bottom: 28px; }
  .sobre-scripture {
    margin-top: 72px;
    padding-top: 40px;
    grid-template-columns: 3px 1fr;
    gap: 24px;
  }
  .ss-bar { min-height: 100px; }
}

/* ============ CTA ============ */
.cta-section {
  background: var(--pl-black);
  color: #fff;
  padding: 160px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(0,71,255,0.25), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(92,133,255,0.12), transparent 70%);
  pointer-events: none;
}
.cta-inner {
  max-width: 900px; margin: 0 auto;
  position: relative; z-index: 2;
}
.cta-eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pl-blue-300);
  margin-bottom: 32px;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.028em;
  color: #fff;
  margin: 0 0 32px;
  text-wrap: balance;
}
.cta-sub {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto 48px;
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 22px 36px;
  background: #fff;
  color: var(--pl-black);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-standard);
  text-decoration: none;
}
.cta-btn:hover { background: var(--pl-blue-500); color: #fff; transform: translateY(-2px); }
.cta-btn .arrow { transition: transform var(--dur-base) var(--ease-standard); }
.cta-btn:hover .arrow { transform: translate(4px, -4px); }

.cta-btn-row {
  display: inline-flex; align-items: center; gap: 14px;
  flex-wrap: wrap; justify-content: center;
}
.cta-btn-audit {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(184,164,255,0.45);
  font-weight: 600;
  padding: 22px 30px;
  position: relative;
  overflow: hidden;
}
.cta-btn-audit::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(75,0,130,0.20), rgba(124,58,237,0.10));
  opacity: 0; transition: opacity var(--dur-base) var(--ease-standard);
  pointer-events: none;
}
.cta-btn-audit:hover {
  background: transparent;
  color: #fff;
  border-color: #b8a4ff;
  transform: translateY(-2px);
}
.cta-btn-audit:hover::before { opacity: 1; }
.cta-btn-audit-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #b8a4ff;
  box-shadow: 0 0 0 0 rgba(184,164,255,0.55);
  animation: btn-audit-pulse 2.4s ease-out infinite;
  position: relative; z-index: 1;
}
.cta-btn-audit-free {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(184,164,255,0.20);
  color: #e2d7ff;
  margin-left: 4px;
  font-weight: 500;
  position: relative; z-index: 1;
}
@media (max-width: 560px) {
  .cta-btn-row { flex-direction: column; gap: 12px; width: 100%; }
  .cta-btn, .cta-btn-audit { width: 100%; justify-content: center; }
}
.cta-meta {
  margin-top: 40px;
  display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.cta-meta span { display: flex; align-items: center; gap: 8px; }

/* ============ FOOTER ============ */
.footer {
  background: var(--pl-black);
  color: rgba(255,255,255,0.6);
  padding: 64px 48px 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: end;
  flex-wrap: wrap; gap: 32px;
}
.footer-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #fff;
}
.footer-brand img { width: 28px; height: 28px; filter: invert(1); }
.footer-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero-grid, .mails-grid, .porque-grid, .sobre-grid, .como-grid {
    grid-template-columns: 1fr; gap: 48px;
  }
  .hero { padding: 100px 24px 60px; }
  .hero-spline { height: 380px; }
  .section, .mails-section, .porque-section, .sobre-section, .cta-section { padding: 80px 24px; }
  .nav { padding: 0 16px; }
  .nav-links { display: none; }
  .phone-stage {
    position: static;
    height: auto;
  }
  .steps-list { padding: 0; }
}

/* ============ TWEAKS overrides ============ */
[data-theme-mode="all-light"] .hero { background: var(--pl-white); color: var(--pl-black); }
[data-theme-mode="all-light"] .hero h1 { color: var(--pl-black); }
[data-theme-mode="all-light"] .hero h1 .accent,
[data-theme-mode="all-light"] .hero h1 .rotator { color: var(--pl-blue-500); }
[data-theme-mode="all-light"] .hero-sub { color: var(--fg-secondary); }
[data-theme-mode="all-light"] .hero-eyebrow { color: var(--fg-secondary); }
[data-theme-mode="all-light"] .hero-eyebrow::before { background: var(--fg-tertiary); }
[data-theme-mode="all-light"] .hero-meta { color: var(--fg-tertiary); }
[data-theme-mode="all-light"] .btn-primary { background: var(--pl-black); color: #fff; border-color: var(--pl-black); }
[data-theme-mode="all-light"] .btn-ghost { color: var(--pl-black); border-color: var(--fg-tertiary); }

[data-density="compact"] .section,
[data-density="compact"] .mails-section,
[data-density="compact"] .porque-section,
[data-density="compact"] .sobre-section { padding-top: 80px; padding-bottom: 80px; }
[data-density="compact"] .cta-section { padding-top: 100px; padding-bottom: 100px; }

[data-accent="black"] {
  --accent: var(--pl-black);
  --accent-hover: #1a1a1a;
}
[data-accent="black"] .hero h1 .accent,
[data-accent="black"] .hero h1 .rotator { color: var(--pl-white); border-bottom: 2px solid var(--pl-blue-300); }


/* =========================================================
   PL21 — Additions (v8): scroll indicator, laboratorio, FAQ,
   scroll-margins, mail timing polish, footer links.
   ========================================================= */

/* Smooth anchored scrolling clears the sticky nav */
html { scroll-behavior: smooth; }
section[id], .section[id] { scroll-margin-top: 88px; }

/* ---- Minimalist scroll indicator (mouse outline + Scroll label) ---- */
.hero-scroll {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 3;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: none !important;
  text-decoration: none;
  transition: color 200ms var(--ease-standard);
}
.hero-scroll:hover { color: rgba(255,255,255,0.92); }
.hero-scroll-mouse {
  width: 22px; height: 34px;
  border: 1.25px solid currentColor;
  border-radius: 12px;
  position: relative;
  display: inline-block;
  opacity: 0.85;
}
.hero-scroll-dot {
  position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 2px; height: 6px;
  background: currentColor;
  border-radius: 2px;
  animation: scroll-dot 1.8s cubic-bezier(.7,0,.3,1) infinite;
}
.hero-scroll-label { opacity: 0.7; }
@keyframes scroll-dot {
  0%   { transform: translate(-50%, 0); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translate(-50%, 14px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-dot { animation: none; opacity: 0.9; }
}
/* hide the OLD line indicator from the design (we replaced it) */
.hero-scroll-indicator { display: none !important; }

.hero h1 .rotator { padding-bottom: 2px; }

/* ============ MAILS — bullet timing polish ============ */
.steps-list { padding: 12vh 0 22vh; gap: 24px; }
.step {
  transition:
    opacity 720ms cubic-bezier(.22,1,.36,1),
    transform 820ms cubic-bezier(.22,1,.36,1),
    border-color 360ms var(--ease-standard),
    box-shadow 360ms var(--ease-standard),
    background 360ms var(--ease-standard);
}
.step.active p { transition: max-height 360ms var(--ease-standard), opacity 280ms var(--ease-standard) 80ms; }

/* ============ FAQ ============ */
.faq-section {
  background: var(--bg);
  color: var(--fg);
  padding: 140px 48px;
  position: relative;
}
.faq-section > .section-inner > h2 { margin-bottom: 16px; }
.faq-section > .section-inner > .lead { max-width: 640px; margin-bottom: 56px; }

.faq-list {
  max-width: 920px;
  border-top: 1px solid var(--pl-black);
}
.faq-row {
  border-bottom: 1px solid var(--border);
  transition: background 220ms var(--ease-standard);
}
.faq-row.is-open { background: var(--pl-paper); }

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 4px 22px 4px;
  text-align: left;
  color: var(--pl-black);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  transition: color 160ms var(--ease-standard);
}
.faq-question:hover { color: var(--accent); }
.faq-question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.faq-q-text { flex: 1; min-width: 0; }
.faq-q-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--pl-black);
  border-radius: 50%;
  position: relative;
  transition: background 220ms var(--ease-standard), border-color 220ms var(--ease-standard), transform 220ms var(--ease-standard);
}
.faq-q-icon::before,
.faq-q-icon::after {
  content: ""; position: absolute;
  background: var(--pl-black);
  top: 50%; left: 50%;
  transition: transform 240ms var(--ease-standard), background 220ms var(--ease-standard);
}
.faq-q-icon::before { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-q-icon::after  { width: 1.5px; height: 12px; transform: translate(-50%, -50%); }
.faq-question[aria-expanded="true"] .faq-q-icon {
  background: var(--pl-black);
  transform: rotate(180deg);
}
.faq-question[aria-expanded="true"] .faq-q-icon::before,
.faq-question[aria-expanded="true"] .faq-q-icon::after { background: #fff; }
.faq-question[aria-expanded="true"] .faq-q-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 360ms cubic-bezier(.22,1,.36,1);
}
.faq-answer p {
  margin: 0 4px 24px;
  padding-right: 56px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--fg-secondary);
  max-width: 70ch;
}

@media (max-width: 720px) {
  .faq-section { padding: 80px 24px; }
  .faq-answer p { padding-right: 0; font-size: 15.5px; }
}

/* ============ FOOTER — extra links row ============ */
.footer-inner {
  flex-wrap: wrap;
  align-items: end;
  row-gap: 24px;
}
.footer-links {
  display: inline-flex; gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0;
  margin-right: auto; margin-left: 32px;
}
.footer-links a {
  color: rgba(255,255,255,0.62);
  border: none;
  text-decoration: none;
  transition: color 160ms var(--ease-standard);
}
.footer-links a:hover { color: #fff; }

@media (max-width: 720px) {
  .footer-links { margin-left: 0; width: 100%; order: 2; }
  .footer-meta { order: 3; width: 100%; }
}

/* ============ A11y: focus-visible everywhere ============ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.nav-cta:focus-visible, .cta-btn:focus-visible, .btn:focus-visible {
  outline-offset: 4px;
}


/* =========================================================
   PL21 — Custom cursor (v9): outline ring + snap dot.
   Hides native cursor only on fine pointers.
   ========================================================= */
html.has-pl-cursor,
html.has-pl-cursor * { cursor: none !important; }

.pl-cursor {
  position: fixed;
  left: 0; top: 0;
  width: 28px; height: 28px;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  background: transparent;
  transition:
    width 260ms cubic-bezier(.22,1,.36,1),
    height 260ms cubic-bezier(.22,1,.36,1),
    background 220ms ease,
    border-color 220ms ease,
    opacity 200ms ease;
  will-change: transform, width, height;
  opacity: 1;
  /* hide while no mousemove has been observed (no flicker at 0,0) */
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
}

.pl-cursor-dot {
  width: 4px; height: 4px;
  background: #ffffff;
  border: 0;
  mix-blend-mode: difference;
}

.pl-cursor.is-hover {
  width: 54px; height: 54px;
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.95);
}

.pl-cursor.is-down {
  width: 22px; height: 22px;
}

.pl-cursor.is-out { opacity: 0; }

/* If the user opens a text input we want the system caret, not our ring.
   Tradeoff: ring stays but native cursor is restored on those targets. */
html.has-pl-cursor input,
html.has-pl-cursor textarea,
html.has-pl-cursor [contenteditable="true"] { cursor: text !important; }

/* Safety: never apply on touch / coarse pointers */
@media (pointer: coarse) {
  .pl-cursor { display: none !important; }
  html.has-pl-cursor,
  html.has-pl-cursor * { cursor: auto !important; }
}




/* =========================================================
   PL21 — Maquinaria (v10): animated pipeline of 6 nodes
   connected by traveling dots. Replaces the old lab-section.
   ========================================================= */

.maq-section {
  position: relative;
  background: #06070b;
  color: #fff;
  padding: 140px 48px 120px;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.maq-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0,71,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,71,255,0.05) 1px, transparent 1px),
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(0,71,255,0.12), transparent 65%);
  background-size: 80px 80px, 80px 80px, auto;
  mask-image: radial-gradient(ellipse 95% 70% at 50% 50%, #000 35%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 95% 70% at 50% 50%, #000 35%, transparent 90%);
}
.maq-inner { position: relative; z-index: 1; }

/* ---- Topbar (terminal-style) ---- */
.maq-topbar {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  margin-bottom: 48px;
}
.maq-topbar-left, .maq-topbar-right { display: inline-flex; align-items: center; gap: 10px; }
.maq-topbar-id     { color: rgba(255,255,255,0.85); font-weight: 600; }
.maq-topbar-status { color: var(--pl-blue-300); }
.maq-topbar-sep    { color: rgba(255,255,255,0.25); }
.maq-pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pl-blue-300);
  box-shadow: 0 0 0 0 rgba(92,133,255,0.6);
  animation: maq-pulse-dot 1.6s ease infinite;
  display: inline-block;
}
@keyframes maq-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(92,133,255,0.55); }
  50%      { box-shadow: 0 0 0 7px rgba(92,133,255,0); }
}

/* ---- Title + lead ---- */
.maq-eyebrow { color: rgba(255,255,255,0.55) !important; }
.maq-eyebrow::before { background: rgba(255,255,255,0.45) !important; }
.maq-title {
  color: #fff;
  font-size: clamp(36px, 4.6vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1.04;
  max-width: 960px;
  margin: 0 0 18px;
  text-wrap: balance;
}
.maq-title-accent {
  background: linear-gradient(90deg, #6ea1ff 0%, #b8cbff 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.maq-lead { color: rgba(255,255,255,0.65) !important; max-width: 640px; margin-bottom: 72px; }

/* ---- Flow (6 nodes + 5 connectors) ---- */
.maq-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  position: relative;
}

/* ---- Node ---- */
.maq-node {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 700ms cubic-bezier(.22,1,.36,1) var(--maq-delay, 0ms),
    transform 700ms cubic-bezier(.22,1,.36,1) var(--maq-delay, 0ms);
}
.maq-flow.is-in .maq-node {
  opacity: 1;
  transform: translateY(0);
}

.maq-node-card {
  position: relative;
  flex: 1; min-width: 0;
  padding: 22px 18px 22px;
  display: flex; flex-direction: column;
  gap: 10px;
  background: linear-gradient(180deg, rgba(10,12,22,0.85), rgba(6,7,11,0.85));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 2px;
  transition: border-color 360ms var(--ease-standard), background 360ms var(--ease-standard), transform 360ms var(--ease-standard);
}
.maq-node-card::before {
  /* idle activity halo — staggered per node so the whole row breathes */
  content: "";
  position: absolute; inset: -1px;
  border-radius: 2px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(92,133,255,0.0), rgba(92,133,255,0.0));
  opacity: 0;
  animation: maq-card-breathe 5s ease-in-out infinite;
  animation-delay: var(--maq-pulse-delay, 0s);
}
@keyframes maq-card-breathe {
  0%, 100% { opacity: 0; box-shadow: 0 0 0 0 rgba(92,133,255,0); }
  50%      { opacity: 1; box-shadow: 0 0 32px -6px rgba(92,133,255,0.18); }
}
.maq-node-card:hover {
  border-color: rgba(92,133,255,0.55);
  background: linear-gradient(180deg, rgba(16,22,42,0.92), rgba(8,10,18,0.92));
  transform: translateY(-2px);
}

.maq-node-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}
.maq-node-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  color: rgba(184,203,255,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(0,71,255,0.06), rgba(0,71,255,0.02));
  margin-top: 2px;
  margin-bottom: 6px;
  transition: color 300ms ease, border-color 300ms ease;
}
.maq-node-icon svg { width: 30px; height: 30px; display: block; }
.maq-node-card:hover .maq-node-icon {
  color: #fff;
  border-color: rgba(92,133,255,0.55);
}

.maq-node-label {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.maq-node-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.62);
  margin: 0;
}

/* ---- Connector (animated dots flow left → right) ---- */
.maq-connector {
  flex: 0 0 36px;
  align-self: center;
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(92,133,255,0.35), rgba(255,255,255,0.05));
}
.maq-connector::before,
.maq-connector::after {
  /* small arrowhead at the end of the connector */
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 6px; height: 6px;
  border-right: 1px solid rgba(92,133,255,0.55);
  border-top: 1px solid rgba(92,133,255,0.55);
  transform: translateY(-50%) rotate(45deg);
}
.maq-connector::after { display: none; }

.maq-dot {
  position: absolute;
  top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--pl-blue-300);
  box-shadow: 0 0 8px rgba(92,133,255,0.75);
  transform: translate(0, -50%);
  animation: maq-flow 2.4s cubic-bezier(.55,0,.45,1) infinite;
  will-change: transform, opacity;
}
.maq-dot:nth-child(1) { animation-delay: 0s;   }
.maq-dot:nth-child(2) { animation-delay: 0.8s; }
.maq-dot:nth-child(3) { animation-delay: 1.6s; }

@keyframes maq-flow {
  0%   { left: 0;     opacity: 0; transform: translate(0, -50%) scale(0.6); }
  15%  { opacity: 1; transform: translate(0, -50%) scale(1); }
  85%  { opacity: 1; transform: translate(0, -50%) scale(1); }
  100% { left: 100%;  opacity: 0; transform: translate(-100%, -50%) scale(0.6); }
}

@media (prefers-reduced-motion: reduce) {
  .maq-dot { animation: none; opacity: 0.5; left: 50%; }
  .maq-node-card::before { animation: none; opacity: 0; }
  .maq-node { transition: none; opacity: 1; transform: none; }
}

/* ---- Footer note ---- */
.maq-footer {
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.42);
  max-width: 720px;
  line-height: 1.55;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .maq-node-card  { padding: 18px 14px; }
  .maq-node-label { font-size: 17px; }
  .maq-node-desc  { font-size: 12.5px; }
  .maq-connector  { flex-basis: 28px; }
}

@media (max-width: 860px) {
  /* Below 860px, switch to vertical flow */
  .maq-section { padding: 80px 24px 64px; }
  .maq-topbar { font-size: 10px; padding: 10px 12px; flex-direction: column; gap: 8px; align-items: flex-start; }
  .maq-topbar-right { flex-wrap: wrap; }
  .maq-lead { margin-bottom: 48px; }

  .maq-flow {
    flex-direction: column;
    gap: 0;
    max-width: 460px;
    margin: 0 auto;
  }
  .maq-node { width: 100%; }
  .maq-node-card { padding: 20px 22px; flex-direction: row; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
  .maq-node-card > .maq-node-num   { order: 1; flex: 0 0 auto; }
  .maq-node-card > .maq-node-icon  { order: 0; flex: 0 0 auto; margin: 0; }
  .maq-node-card > .maq-node-label { order: 2; flex: 1 1 auto; align-self: center; margin-top: 2px; }
  .maq-node-card > .maq-node-desc  { order: 3; flex: 1 0 100%; margin-top: 4px; padding-left: 64px; }

  .maq-connector {
    flex: 0 0 32px;
    height: 32px;
    width: 1px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(92,133,255,0.35), rgba(255,255,255,0.05));
    margin: 0 auto;
  }
  .maq-connector::before {
    right: 50%;
    top: auto;
    bottom: -3px;
    transform: translateX(50%) rotate(135deg);
  }
  .maq-dot {
    top: 0;
    left: 50% !important;
    transform: translate(-50%, 0) !important;
    animation: maq-flow-v 2.4s cubic-bezier(.55,0,.45,1) infinite;
  }
  .maq-dot:nth-child(1) { animation-delay: 0s;   }
  .maq-dot:nth-child(2) { animation-delay: 0.8s; }
  .maq-dot:nth-child(3) { animation-delay: 1.6s; }
  @keyframes maq-flow-v {
    0%   { top: 0;    opacity: 0; transform: translate(-50%, 0) scale(0.6); }
    15%  { opacity: 1; transform: translate(-50%, 0) scale(1); }
    85%  { opacity: 1; transform: translate(-50%, 0) scale(1); }
    100% { top: 100%; opacity: 0; transform: translate(-50%, -100%) scale(0.6); }
  }
}


/* PL21 — CTA alternative (email contact) v12 */
.cta-alt {
  margin: 28px 0 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  text-align: center;
}
.cta-alt-mail {
  color: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 1px;
  transition: color 200ms ease, border-color 200ms ease;
}
.cta-alt-mail:hover {
  color: #fff;
  border-bottom-color: var(--pl-blue-300);
}


/* =========================================================
   PL21 — Mails cinematic flow (v13)
   - Active step: large, bold, accent bar + glow
   - Inactive steps: minimal one-liners
   - Smooth transitions between active states
   - mail-hl: dramatic glow + scale on activate
   ========================================================= */

/* Steps list — generous spacing, vertical timeline on left */
.mails-section .steps-list {
  padding: 18vh 0 24vh;
  gap: 16px;
  position: relative;
}

/* Subtle vertical timeline behind the steps */
.mails-section .steps-list::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 18vh;
  bottom: 24vh;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--border) 8%,
    var(--border) 92%,
    transparent 100%);
  pointer-events: none;
}

/* Override the old card-y look with a cleaner editorial layout */
.mails-section .step {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 18px 0 18px 56px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 520ms cubic-bezier(.22,1,.36,1),
    transform 620ms cubic-bezier(.22,1,.36,1),
    padding 480ms cubic-bezier(.22,1,.36,1);
  overflow: hidden;
}
.mails-section .step.is-in {
  opacity: 0.42;
  transform: translateY(0);
}
.mails-section .step.is-in:hover { opacity: 0.78; }

/* Active step: blow up, fully visible */
.mails-section .step.active {
  opacity: 1;
  padding: 28px 0 28px 64px;
}

/* Remove the old right-side dot indicator */
.mails-section .step::after { display: none; }

/* Number badge on the left — sits on the timeline */
.mails-section .step::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border);
  transition:
    background 360ms var(--ease-standard),
    border-color 360ms var(--ease-standard),
    width 360ms var(--ease-standard),
    height 360ms var(--ease-standard),
    box-shadow 360ms var(--ease-standard);
  box-sizing: border-box;
}
.mails-section .step.active::before {
  background: var(--accent);
  border-color: var(--accent);
  width: 16px;
  height: 16px;
  box-shadow: 0 0 0 4px rgba(0,71,255,0.18), 0 0 18px rgba(0,71,255,0.45);
  animation: step-dot-pulse 1.6s ease-in-out infinite;
}
@keyframes step-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0,71,255,0.18), 0 0 18px rgba(0,71,255,0.45); }
  50%      { box-shadow: 0 0 0 8px rgba(0,71,255,0.06), 0 0 22px rgba(0,71,255,0.6); }
}

/* Step number (the "01 / ASUNTO" text) */
.mails-section .step .step-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--fg-tertiary);
  margin-bottom: 6px;
  transition: color 360ms var(--ease-standard), letter-spacing 360ms var(--ease-standard);
}
.mails-section .step.active .step-num {
  color: var(--accent);
  letter-spacing: 0.28em;
}

/* Title — gets MUCH bigger when active */
.mails-section .step h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--fg);
  margin: 0;
  transition:
    font-size 480ms cubic-bezier(.22,1,.36,1),
    color 360ms var(--ease-standard),
    margin 360ms var(--ease-standard);
}
.mails-section .step.active h4 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--pl-black);
  margin-bottom: 12px;
}

/* Description — only visible when active */
.mails-section .step p {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fg-secondary);
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(6px);
  transition:
    max-height 520ms cubic-bezier(.22,1,.36,1),
    opacity 380ms cubic-bezier(.22,1,.36,1) 80ms,
    transform 480ms cubic-bezier(.22,1,.36,1) 80ms;
}
.mails-section .step.active p {
  max-height: 240px;
  opacity: 1;
  transform: translateY(0);
  max-width: 56ch;
}

@media (prefers-reduced-motion: reduce) {
  .mails-section .step,
  .mails-section .step::before,
  .mails-section .step h4,
  .mails-section .step p { transition: none !important; animation: none !important; }
  .mails-section .step.is-in { opacity: 1; }
}

/* =========================================================
   Email highlight — dramatic glow + subtle scale when active
   ========================================================= */
.mail-hl {
  position: relative;
  display: inline;
  padding: 1px 4px;
  margin: 0 -4px;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  transition:
    background 520ms cubic-bezier(.22,1,.36,1),
    color 520ms cubic-bezier(.22,1,.36,1),
    box-shadow 520ms cubic-bezier(.22,1,.36,1);
}
.mail-hl.active {
  background: rgba(0,71,255,0.12);
  color: var(--pl-blue-700);
  box-shadow:
    0 0 0 1px rgba(0,71,255,0.18),
    0 4px 18px -4px rgba(0,71,255,0.32);
  animation: mail-hl-pop 480ms cubic-bezier(.22,1,.36,1);
}
@keyframes mail-hl-pop {
  0%   { background: rgba(0,71,255,0.0); transform: scale(0.98); }
  35%  { background: rgba(0,71,255,0.22); transform: scale(1.015); }
  100% { background: rgba(0,71,255,0.12); transform: scale(1); }
}

/* Make the mail body transition smoother during scroll-driven re-center */
.mail-inner {
  transition: transform 720ms cubic-bezier(.4, 0, .15, 1);
}

@media (prefers-reduced-motion: reduce) {
  .mail-hl { transition: background 200ms linear; animation: none !important; }
  .mail-inner { transition: none; }
}

/* ============ XRAY — MICRO-SAAS LEAD MAGNET ============ */
.xray-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f7f5fb 100%);
  color: #000;
  padding: 140px 48px;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.xray-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 50% at 8% 0%, rgba(75,0,130,0.10), transparent 60%),
    radial-gradient(50% 40% at 100% 100%, rgba(124,58,237,0.10), transparent 60%);
}
.xray-inner { position: relative; z-index: 1; }

.xray-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.xray-copy { max-width: 560px; }
.xray-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4B0082;
  background: rgba(75,0,130,0.07);
  border: 1px solid rgba(75,0,130,0.22);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.xray-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4B0082;
  box-shadow: 0 0 0 0 rgba(75,0,130,0.5);
  animation: proceso-pill-pulse 2.4s ease-out infinite;
}
.xray-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #000;
  margin: 0 0 20px;
}
.xray-title-accent {
  background: linear-gradient(90deg, #4B0082 0%, #7C3AED 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.xray-lead {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(0,0,0,0.66);
  margin: 0 0 28px;
}
.xray-ctas {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.xray-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 250ms var(--ease-standard), box-shadow 250ms var(--ease-standard), background 250ms var(--ease-standard);
}
.xray-btn-primary {
  background: #000;
  color: #fff;
  box-shadow: 0 14px 32px -10px rgba(75,0,130,0.55);
}
.xray-btn-primary:hover {
  background: #4B0082;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -10px rgba(75,0,130,0.7);
}
.xray-domain-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(0,0,0,0.5);
}
.xray-bullets {
  display: flex; flex-wrap: wrap; gap: 14px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(0,0,0,0.55);
  letter-spacing: 0.04em;
}

/* "Cómo funciona en 3 pasos" — micro-explainer */
.xray-steps {
  list-style: none; padding: 0;
  margin: 8px 0 28px;
  display: flex; flex-direction: column;
  gap: 14px;
  border-left: 2px solid rgba(75,0,130,0.18);
  padding-left: 18px;
}
.xray-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 12px;
}
.xs-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4B0082, #7C3AED);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  margin-left: -30px;
  box-shadow: 0 4px 10px -2px rgba(75,0,130,0.35);
}
.xs-t {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: #000;
  letter-spacing: -0.005em;
}
.xs-d {
  display: block;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(0,0,0,0.62);
  margin-top: 2px;
}

/* Card mockup */
.xray-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.02),
    0 32px 80px -24px rgba(75,0,130,0.28);
  overflow: visible;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease-standard) 80ms, transform 800ms var(--ease-standard) 80ms;
}
.xray-card-stamp {
  position: absolute;
  top: -22px; right: -22px;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4B0082, #7C3AED);
  color: #fff;
  display: grid; place-items: center;
  text-align: center;
  transform: rotate(8deg);
  box-shadow:
    0 0 0 6px #fff,
    0 14px 32px -10px rgba(75,0,130,0.6);
  z-index: 3;
  animation: xcs-wobble 5.5s ease-in-out infinite;
}
.xray-card-stamp::before {
  content: ""; position: absolute; inset: 6px;
  border: 1px dashed rgba(255,255,255,0.5);
  border-radius: 50%;
  pointer-events: none;
}
.xcs-zero {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.xcs-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
  opacity: 0.85;
}
@keyframes xcs-wobble {
  0%, 100% { transform: rotate(8deg); }
  50%      { transform: rotate(-4deg); }
}
.xray-card-head { border-radius: 18px 18px 0 0; }
.xray-card-foot { border-radius: 0 0 18px 18px; }
.xray-section.is-in .xray-card { opacity: 1; transform: translateY(0); }
.xray-card-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: #fafafa;
}
.xray-window-dots { display: flex; gap: 6px; }
.xray-window-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #e0e0e0;
}
.xray-window-dots span:nth-child(1) { background: #ff5f57; }
.xray-window-dots span:nth-child(2) { background: #ffbd2e; }
.xray-window-dots span:nth-child(3) { background: #28c940; }
.xray-card-url {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(0,0,0,0.5);
  letter-spacing: 0.02em;
}
.xray-card-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  padding: 32px 28px;
  align-items: center;
}

/* Score ring */
.xray-score { position: relative; width: 168px; height: 168px; display: grid; place-items: center; }
.xray-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.xr-track { fill: none; stroke: rgba(0,0,0,0.07); stroke-width: 10; }
.xr-fill {
  fill: none;
  stroke: url(#xr-gradient);
  stroke: #4B0082;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 1400ms cubic-bezier(.22,1,.36,1) 300ms;
}
.xray-section.is-in .xr-fill { stroke-dashoffset: 71.9; } /* 78/100 → 22% remaining */
.xray-score-num {
  position: relative;
  display: flex; align-items: baseline; gap: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  color: #000;
  line-height: 1;
}
.xs-big { font-size: 52px; letter-spacing: -0.04em; }
.xs-slash { font-size: 16px; color: rgba(0,0,0,0.4); font-weight: 500; }
.xray-score-label {
  position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  white-space: nowrap;
}

/* Checks list */
.xray-checks {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.xray-check {
  display: flex; align-items: flex-start; gap: 12px;
  opacity: 0; transform: translateX(10px);
  transition: opacity 500ms var(--ease-standard) calc(400ms + var(--xd, 0ms)),
              transform 500ms var(--ease-standard) calc(400ms + var(--xd, 0ms));
}
.xray-section.is-in .xray-check { opacity: 1; transform: translateX(0); }
.xc-tick {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #4B0082;
  display: grid; place-items: center;
  margin-top: 2px;
  position: relative;
}
.xc-tick::after {
  content: ""; width: 9px; height: 5px;
  border-left: 1.8px solid #fff;
  border-bottom: 1.8px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.xc-body { display: flex; flex-direction: column; gap: 2px; }
.xc-k {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
}
.xc-d {
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(0,0,0,0.6);
}

.xray-card-foot {
  display: flex; gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: #fafafa;
}
.xray-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  color: rgba(0,0,0,0.65);
}
.xray-pill-cta {
  background: #4B0082;
  color: #fff;
  margin-left: auto;
}

@media (max-width: 960px) {
  .xray-section { padding: 96px 24px; }
  .xray-grid { grid-template-columns: 1fr; gap: 48px; }
  .xray-card-body { grid-template-columns: 1fr; justify-items: center; gap: 56px; padding: 32px 22px; }
  .xray-checks { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .xray-card, .xray-check, .xr-fill { transition: none !important; }
}

/* ============ SOBRE MI — NEW ELEMENTS (badge + pillars) ============ */
.sobre-portrait-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.78);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  z-index: 2;
}
.spb-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4B0082;
  box-shadow: 0 0 0 0 rgba(75,0,130,0.5);
  animation: proceso-pill-pulse 2.4s ease-out infinite;
}

.sobre-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0 32px;
}
.sp-card {
  position: relative;
  padding: 18px 18px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  transition: border-color 250ms var(--ease-standard), transform 250ms var(--ease-standard), box-shadow 250ms var(--ease-standard);
}
.sp-card:hover {
  border-color: #4B0082;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(75,0,130,0.35);
}
.sp-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #4B0082;
  margin-bottom: 10px;
}
.sp-card h5 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: #000;
  margin: 0 0 6px;
}
.sp-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--fg-secondary);
  margin: 0;
}
@media (max-width: 760px) {
  .sobre-pillars { grid-template-columns: 1fr; }
}

/* ===== TESTIMONIOS (prueba social — videos de clientes) ===== */
.testi-section { padding: clamp(64px, 9vw, 120px) 0; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.testi-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  transition: border-color 200ms ease, transform 200ms ease;
}
.testi-card:hover { border-color: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.testi-video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.testi-video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.testi-quote {
  margin: 16px 4px 10px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}
.testi-person { display: flex; flex-direction: column; gap: 2px; padding: 0 4px 4px; }
.testi-name { font-weight: 600; }
.testi-role { font-size: 13px; color: rgba(255, 255, 255, 0.55); }
