/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Sales Module — /platform/sales/
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── Global tokens (not inherited from home.css on this page) ── */
:root {
  --c-negro:    #1F1C1B;
  --c-gris-600: #585858;
  --c-gris-400: #A0A0A0;
  /* Fluid type scale — matches home.css (375 → 1440 viewport) */
  --step-5: clamp(2rem, 1.648rem + 1.5vw, 3rem);   /* 32 → 48px */
  --step-6: clamp(2.25rem, 1.634rem + 2.63vw, 4rem); /* 36 → 64px */
  --step-4: clamp(1.5rem, 1.324rem + 0.75vw, 2rem); /* 24 → 32px */
  --step-3: clamp(1.25rem, 1.162rem + 0.38vw, 1.5rem);
  --step-1: clamp(1rem, 0.912rem + 0.38vw, 1.25rem);
}

/* Short viewports (landscape laptops) — same override as home.css */
@media (max-height: 750px) and (min-width: 768px) {
  :root {
    --step-5: clamp(1.625rem, 1.2rem + 1.2vw, 2.25rem); /* 26 → 36px */
    --step-6: clamp(1.875rem, 1.3rem + 1.8vw, 3rem);    /* 30 → 48px */
    --step-4: clamp(1.25rem, 1.1rem + 0.55vw, 1.625rem);
    --step-3: clamp(1.125rem, 1rem + 0.35vw, 1.375rem);
  }
}

/* ── Design Tokens ── */
#sales {
  --s-accent: #F32A73;
  --s-accent-light: #FDE8F0;
  --s-negro: #1F1C1B;
  --s-off-white: #F7F6F0;
  --s-gris-600: #585858;
  --s-gris-400: #A0A0A0;
  --s-gris-200: #E3E3E3;
  --s-gris-100: #F6F6F6;
  background: var(--s-negro);
}

/* ── Base ── */
#sales section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

#sales h2 {
  font-size: var(--step-5);
  font-weight: 400;
  color: var(--c-negro);
  letter-spacing: -0.03em;
  line-height: 110%;
  margin: 0 0 20px;
}

#sales p {
  color: var(--c-gris-600);
  line-height: 170%;
  margin: 0;
}

/* ── Eyebrow ── */
.s-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: var(--c-gris-400);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.s-eyebrow--light { color: rgba(255,255,255,0.5); }
.s-eyebrow svg { width: 10px; height: 12px; flex-shrink: 0; }

/* ── Button ── */
.s-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Geist', sans-serif;
  letter-spacing: -0.48px;
  line-height: 1;
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}
.s-btn--accent {
  background: var(--s-accent);
  color: #fff;
}
.s-btn--accent:hover { background: #D91F63; }

/* ── Placeholder ── */
.s-placeholder {
  margin-top: 48px;
  padding: 80px 40px;
  border: 2px dashed var(--s-gris-200);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.s-placeholder p {
  font-size: 14px;
  color: var(--s-gris-400);
  max-width: 500px;
  line-height: 170%;
  margin: 0;
}
.s-placeholder--wide {
  max-width: 100%;
}
.s-placeholder--on-dark {
  border-color: rgba(255,255,255,0.2);
}
.s-placeholder--on-dark p {
  color: rgba(255,255,255,0.4);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1. HERO
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sales-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px !important;
  max-width: none !important;
  overflow: hidden;
  background: transparent;
}

.sales-hero__content {
  max-width: 800px;
  position: relative;
  z-index: 2;
  margin-top: -100px;
}

/* Sales hero iso */
#sales-hero-iso {
  filter: blur(12px);
  opacity: 0;
  transition: filter 1.2s cubic-bezier(.22,1,.36,1),
              opacity 0.8s ease;
}
#sales-hero-iso.hero-iso--revealed {
  filter: blur(0px);
  opacity: 1;
}

.sales-hero__eyebrow {
  display: block;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.96px;
  line-height: 1.1;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22,1,.36,1);
}
.sales-hero__eyebrow.sales-title--revealed {
  opacity: 1;
  transform: translateY(0);
}

.sales-hero h1 {
  font-size: var(--step-6);
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 110%;
  margin: 0 0 24px;
  transform: scale(1.2);
  opacity: 0;
  transition: transform .8s cubic-bezier(.22,1,.36,1),
              opacity .5s ease;
}
.sales-hero h1.sales-title--revealed {
  transform: scale(1);
  opacity: 1;
}

#sales .sales-hero__desc {
  font-size: 1.15rem;
  line-height: 170%;
  color: #fff;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  transform: translateY(16px);
  opacity: 0;
  transition: transform .7s cubic-bezier(.22,1,.36,1) .15s,
              opacity .5s ease .15s;
}
#sales .sales-hero__desc.sales-title--revealed {
  transform: translateY(0);
  opacity: 1;
}

.sales-hero h1 em {
  font-style: normal;
  color: #fff;
}

/* ── Scroll hint mouse ── */
.sales-hero__scroll-hint {
  margin-top: 40px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease .4s, transform .6s cubic-bezier(.22,1,.36,1) .4s;
}
.sales-hero__scroll-hint.sales-title--revealed {
  opacity: 1;
  transform: translateY(0);
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid #fff;
  border-radius: 12px;
  position: relative;
  margin: 0 auto;
}
.scroll-mouse__wheel {
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  50%  { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Hero text scroll-driven 3D effect ── */
.sales-hero__content {
  transition: transform 0.3s ease-out, filter 0.3s ease-out, opacity 0.3s ease-out;
}

.sales-hero__visual {
  margin-top: 64px;
  width: 100%;
  max-width: 960px;
  position: relative;
  z-index: 2;
}

.sales-hero__visual .s-placeholder {
  border-color: rgba(255,255,255,0.2);
}
.sales-hero__visual .s-placeholder p {
  color: rgba(255,255,255,0.4);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SKILL SDR SPLIT CARD
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.skill-crm-wrap {
  max-width: 900px;
  margin: 64px auto 0;
  position: relative;
  overflow: visible;
}
.skill-crm {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 48px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.07);
  position: relative;
  background: #161513;
  height: 420px;
}

/* ── Left: editor (X-ray overlay, clipped until hover) ── */
.skill-crm__editor {
  background: #161513;
  display: flex;
  flex-direction: column;
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: inset(0 100% 0 0);
  -webkit-clip-path: inset(0 100% 0 0);
  transition: clip-path 0.4s cubic-bezier(.22,.61,.36,1), -webkit-clip-path 0.4s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
}
.skill-crm__scanline {
  position: absolute;
  top: -40px;
  bottom: -40px;
  width: 1px;
  background: linear-gradient(to bottom, transparent 0%, rgba(60,58,56,0.12) 8%, rgba(60,58,56,0.35) 20%, rgba(60,58,56,0.5) 50%, rgba(60,58,56,0.35) 80%, rgba(60,58,56,0.12) 92%, transparent 100%);
  z-index: 10;
  pointer-events: none;
  transition: left 0.4s cubic-bezier(.22,.61,.36,1), opacity 0.35s ease;
  left: 0;
  opacity: 0;
}
.skill-crm__editor-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sk-dots { display: flex; gap: 6px; }
.sk-dots i {
  width: 10px; height: 10px; border-radius: 50%;
  display: block;
}
.sk-dots i:nth-child(1) { background: #FF5F57; }
.sk-dots i:nth-child(2) { background: #FEBC2E; }
.sk-dots i:nth-child(3) { background: #28C840; }
.sk-filename {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.02em;
}
/* Markdown editor style */
.skill-crm__editor-md {
  flex: 1;
  overflow: auto;
  background: #161513;
  padding: 0 20px 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.sk-md {
  font-family: 'Geist Mono', 'Fira Mono', 'Menlo', monospace;
  font-size: 12px;
  color: #F7F6F0;
  background: transparent;
  border: none;
  padding: 18px 0 0 0;
  margin: 0;
  line-height: 1.7;
  white-space: pre;
  overflow-x: auto;
  min-height: 100%;
}
.skill-crm__editor-header {
  padding: 14px 20px 8px;
  flex-shrink: 0;
}
.skill-crm__editor-rules {
  flex: 1;
  overflow: hidden;
  position: relative;
  padding: 0 20px;
}
.skill-crm__editor-rules::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 48px;
  background: linear-gradient(to bottom, transparent, #161513);
  pointer-events: none;
  z-index: 2;
}
/* Remove old flex shrink for label/comment in new layout */
.sk-rules-track {
  animation: lf-scroll 16s linear infinite;
}
.skill-crm:hover .sk-rules-track {
  animation-play-state: paused;
}
/* Remove old rule block styles in markdown mode */
/* Skill label */
.sk-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #F32A73;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sk-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.07);
}
/* Comment line */
.sk-comment {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.22);
  line-height: 1.5;
  margin-bottom: 6px;
}
/* Rule block */
.sk-rule {
  border-radius: 8px;
  padding: 9px 12px;
  margin-bottom: 4px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
}
.sk-rule--active {
  background: rgba(243,42,115,0.08);
  border-color: rgba(243,42,115,0.25);
}
.sk-if {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  line-height: 1.5;
}
.sk-kw  { color: #C084FC; }  /* purple - keyword */
.sk-prop { color: #7DD3FC; }  /* blue - property */
.sk-op  { color: #94A3B8; }  /* gray - operator */
.sk-val  { color: #86EFAC; }  /* green - value */

/* Markdown typewriter syntax tokens */
.sk-c-title   { color: #F32A73; font-weight: 600; }
.sk-c-h2      { color: #7DD3FC; font-weight: 500; }
.sk-c-comment { color: #FBBF24; }
.sk-line--comment:first-of-type { margin-top: 12px; }
.sk-c-sep     { color: rgba(255,255,255,0.12); }
.sk-c-kw      { color: #C084FC; }
.sk-c-prop    { color: #7DD3FC; }
.sk-c-op      { color: #94A3B8; }
.sk-c-val     { color: #86EFAC; }
.sk-c-name    { color: #FBBF24; }
.sk-c-role    { color: rgba(255,255,255,0.3); font-size: 11px; }

/* Blinking cursor */
.sk-cursor {
  color: #FBBF24;
  animation: sk-blink 0.8s step-start infinite;
  font-weight: 400;
  user-select: none;
}
@keyframes sk-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Line-by-line reveal animation ── */
div.sk-md {
  white-space: normal; /* lines handle their own whitespace */
}
.sk-line {
  display: block;
  white-space: pre;
  line-height: 1.7;
  opacity: 0;
}
.sk-line--empty {
  height: 12px;
}

/* Rule lines: fast horizontal scan (terminal print effect) */
.sk-line--rule {
  clip-path: inset(0 100% 0 0);
  opacity: 1; /* clip-path handles visibility */
}
.sk-line--rule.sk-line--visible {
  animation: sk-scan 0.18s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes sk-scan {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

/* Non-rule lines: quick fade + subtle slide up */
.sk-line--visible:not(.sk-line--rule) {
  animation: sk-fade 0.12s ease forwards;
}
@keyframes sk-fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Cursor line: same fade, stays invisible until last */
.sk-line--cursor {
  margin-top: 2px;
}
.sk-then {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  padding-left: 16px;
  margin-top: 3px;
}
.sk-then strong { color: #FBBF24; font-weight: 500; } /* gold - name */
.sk-then em     { color: rgba(255,255,255,0.3); font-style: normal; font-size: 11px; }

/* ── Right: assignments feed (base layer, always visible) ── */
.skill-crm__feed {
  display: flex;
  flex-direction: column;
  background: #fff;
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.skill-crm__feed-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #F0F0EE;
}
.skill-crm__feed-bar .sk-filename {
  color: #1F1C1B;
}
.lf-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4ade80;
  flex-shrink: 0;
}
.lf-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: lf-pulse 1.5s ease-in-out infinite;
}
@keyframes lf-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(74,222,128,0); }
}
.lf-title {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  color: #585858;
}
.lf-count {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: #A0A0A0;
}
.skill-crm__viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.skill-crm__viewport::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 56px;
  background: linear-gradient(to bottom, transparent, #fff);
  pointer-events: none;
  z-index: 2;
}
.skill-crm__track {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Card drop-in from top with bounce */
/* Staggered internal item entrance */
.sa-card__item {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.sa-card__item--in {
  opacity: 1;
  transform: translateY(0);
}

/* Assignment card */
.sa-card {
  padding: 11px 16px;
  border-bottom: 1px solid #F7F6F0;
}
.sa-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.sa-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.sa-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--s-negro);
  flex: 1;
  letter-spacing: -0.01em;
}
.sa-origin {
  font-size: 11px;
  color: #A0A0A0;
  background: #F6F6F6;
  padding: 2px 7px;
  border-radius: 100px;
}
/* ── Two-phase card bottom ── */
.sa-card__bottom-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 0;
  white-space: nowrap;
  overflow: hidden;
}
.sa-card__bottom-wrap {
  position: relative;
  height: 18px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.sa-bottom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Analyzing state (default — visible) */
.sa-bottom--analyzing {
  opacity: 1;
  transform: translateY(0);
}
/* Resolved state (default — hidden below) */
.sa-bottom--resolved {
  opacity: 0;
  transform: translateY(6px);
}
/* When card resolves: swap states */
.sa-card--resolved .sa-bottom--analyzing {
  opacity: 0;
  transform: translateY(-6px);
}
.sa-card--resolved .sa-bottom--resolved {
  opacity: 1;
  transform: translateY(0);
}

/* Spinner */
.sa-spinner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #E3E3E3;
  border-top-color: #F32A73;
  animation: sa-spin 0.65s linear infinite;
  flex-shrink: 0;
}
@keyframes sa-spin {
  to { transform: rotate(360deg); }
}

/* Analyzing label */
.sa-analyzing-text {
  font-size: 11px;
  color: #F32A73;
  font-weight: 500;
}

/* Fuente badge — shown always */
.sa-new-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 500;
  color: #585858;
  background: #F6F6F6;
  padding: 2px 7px;
  border-radius: 100px;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

/* Country badge — shown in resolved row */
.sa-country-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 500;
  color: #585858;
  background: #F6F6F6;
  padding: 2px 7px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Origin tag in resolved row */
.sa-origin--resolved {
  margin-left: auto;
}

/* Animated dots */
.sa-dots {
  display: flex;
  gap: 2px;
  align-items: center;
}
.sa-dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #C0BEB8;
  display: block;
  animation: sa-dot-bounce 1s ease-in-out infinite;
}
.sa-dots i:nth-child(2) { animation-delay: 0.16s; }
.sa-dots i:nth-child(3) { animation-delay: 0.32s; }
@keyframes sa-dot-bounce {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50%       { opacity: 1;   transform: translateY(-2px); }
}

/* Avatar scanning pulse (while analyzing) */
.sa-avatar--scanning {
  animation: sa-avatar-scan 1s ease-in-out infinite;
}
@keyframes sa-avatar-scan {
  0%, 100% { filter: brightness(1) saturate(1); }
  50%       { filter: brightness(1.25) saturate(1.4); }
}

.sa-arrow {
  color: #A0A0A0;
  font-size: 11px;
}
.sa-resolved-label {
  font-size: 11px;
  color: #A0A0A0;
  flex-shrink: 0;
}
.sa-agent {
  font-size: 12px;
  color: #585858;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sa-agent strong {
  color: var(--s-negro);
  font-weight: 600;
}
.sa-ai-badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #F32A73;
  background: #FDE8F0;
  padding: 2px 7px;
  border-radius: 100px;
  white-space: nowrap;
}

/* Counter footer — status bar pinned to bottom */
.skill-crm__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #F7F6F0;
  border-top: 1px solid #EEEDE7;
}
.sc-counter {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.sc-counter__num {
  font-family: 'Geist Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--s-negro);
  letter-spacing: -0.03em;
  line-height: 1;
  transition: color 0.15s;
}
.sc-counter__num.sc-flash {
  animation: sc-flash 0.4s ease;
}
@keyframes sc-flash {
  0%   { color: #F32A73; transform: scale(1.08); }
  100% { color: var(--s-negro); transform: scale(1); }
}
.sc-counter__label {
  font-size: 11px;
  color: #A0A0A0;
  white-space: nowrap;
  margin-left: 4px;
}
.sc-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  color: #F32A73;
  background: #FDE8F0;
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
}
.sc-badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #F32A73;
  animation: lf-pulse 1.5s ease-in-out infinite;
}

/* ── Entrance animation ── */
.skill-crm {
  opacity: 0;
  transform: translateY(32px);
  transition: none;
}
.skill-crm.crm--visible {
  animation: crm-reveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes crm-reveal {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.skill-crm.crm--visible .skill-crm__editor {
  animation: crm-panel 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}
.skill-crm.crm--visible .skill-crm__feed {
  animation: crm-panel 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}
@keyframes crm-panel {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .skill-crm, .skill-crm__editor, .skill-crm__feed {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Responsive: stack on mobile */
@media (max-width: 640px) {
  .sales-hero {
    justify-content: flex-start;
    padding-top: 100px !important;
    padding-bottom: 0 !important;
    overflow: hidden;
  }
  .sales-hero h1 {
    font-size: clamp(1.625rem, 5.5vw, 2.25rem);
  }
  .sales-hero__content {
    margin-top: 0;
  }
  #sales .sales-hero__desc {
    font-size: 1rem;
  }
  #sales-hero-iso {
    top: auto !important;
    bottom: 0 !important;
    height: 50% !important;
  }
  #sales-hero-iso img {
    object-fit: cover !important;
    object-position: center center !important;
  }
  .skill-crm {
    grid-template-columns: 1fr;
    height: auto;
    margin: 40px auto 0;
  }
  .skill-crm__editor {
    position: relative;
    inset: auto;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    pointer-events: auto;
    min-height: auto;
    padding-bottom: 20px;
  }
  .skill-crm__scanline {
    display: none;
  }
  .skill-crm__feed {
    position: relative;
    inset: auto;
    display: flex;
    border-left: none;
    border-top: 1px solid #F0F0EE;
    height: 280px;
  }
  .sk-md {
    font-size: 11px;
    white-space: normal;
    word-break: break-word;
    padding: 14px 0 0 0;
  }
  .sk-line {
    font-size: 11px;
    white-space: pre-wrap;
    word-break: break-word;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LEAD FEED (kept for reference)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.lead-feed {
  max-width: 600px;
  margin: 56px auto 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 40px rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.06);
  background: #fff;
}

.lead-feed__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--s-negro);
}
.lf-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4ade80;
  flex-shrink: 0;
}
.lf-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: lf-pulse 1.5s ease-in-out infinite;
}
@keyframes lf-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(74,222,128,0); }
}
.lf-title {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
}
.lf-today {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

/* Scrolling viewport */
.lead-feed__viewport {
  height: 288px;
  overflow: hidden;
  position: relative;
}
.lead-feed__viewport::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  background: linear-gradient(to bottom, transparent, #fff);
  pointer-events: none;
  z-index: 2;
}
.lead-feed__track {
  animation: lf-scroll 14s linear infinite;
}
.lead-feed:hover .lead-feed__track {
  animation-play-state: paused;
}
@keyframes lf-scroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* Individual card */
.lf-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border-bottom: 1px solid #F0F0EE;
  background: #fff;
}
.lf-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lf-info {
  flex: 1;
  min-width: 0;
}
.lf-info strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--s-negro);
  letter-spacing: -0.01em;
}
.lf-info span {
  display: block;
  font-size: 12px;
  color: #A0A0A0;
  margin-top: 1px;
}
.lf-badge {
  font-size: 11px;
  font-weight: 600;
  color: #02A270;
  background: #ECFDF5;
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Footer */
.lead-feed__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: #F7F6F0;
  border-top: 1px solid #EEEDE7;
  font-size: 12px;
  color: #585858;
}
.lf-models {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.lf-models img {
  height: 13px;
  width: auto;
  opacity: 0.45;
  filter: grayscale(1);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTIONS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sales-section {
  padding-top: 120px !important;
  padding-bottom: 120px !important;
}

.sales-section__desc {
  font-size: 1.05rem;
  max-width: 700px;
  margin-bottom: 0;
}

/* Dark variant */
.sales-section--dark {
  background: var(--s-negro);
  max-width: none !important;
  padding-left: 24px;
  padding-right: 24px;
}
.sales-section--dark h2 {
  color: #fff;
}
.sales-section--dark .sales-section__desc {
  color: rgba(255,255,255,0.7);
}
.sales-section--dark .s-eyebrow,
.sales-section--dark .s-eyebrow--light {
  color: rgba(255,255,255,0.5);
}
.sales-section--dark > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CTA
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sales-cta {
  text-align: center;
  padding: 120px 24px !important;
}
.sales-cta h2 {
  margin-bottom: 16px;
}
.sales-cta p {
  font-size: 1.05rem;
  margin-bottom: 32px;
  color: var(--s-gris-600);
}
