/* Talenkai — landing product */
:root {
  --navy: #0f1e35;
  --navy-mid: #162a47;
  --accent: #f5a623;
  --accent-dark: #d48e12;
  --bg: #f8f9fc;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --green: #059669;
  --red: #dc2626;
  --soft: #fff8eb;
  --max: 1120px;
  --nav-h: 68px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
.container-wide {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
}

/* ── i18n (mismo patrón que index.html) ─────────────── */
[data-lang] { display: none; }
.lang-es [data-lang="es"],
.lang-en [data-lang="en"] { display: block; }
.lang-es .inline-en { display: none; }
.lang-en .inline-es { display: none; }
.lang-es .inline-es,
.lang-en .inline-en { display: inline; }

.lang-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(245, 166, 35, 0.35);
}
.lang-toggle button,
.lang-toggle a {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 10px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.15s;
  text-decoration: none;
  display: inline-block;
}
.lang-toggle button.active,
.lang-toggle a.active {
  background: var(--accent);
  color: var(--navy);
}

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(15, 30, 53, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245, 166, 35, 0.18);
}
.nav-inner {
  position: relative;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
}
.nav-logo {
  height: 36px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.nav-links > a,
.nav-trigger {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
  background: none;
  border: none;
  font-family: var(--font-body);
  cursor: pointer;
  padding: 0.35rem 0.25rem;
}
.nav-links > a:hover,
.nav-trigger:hover,
.nav-item:hover > .nav-trigger { color: var(--accent); }
.nav-item { position: static; }
.nav-trigger {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.nav-cta-ghost {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff !important;
  padding: 0.45rem 0.85rem !important;
  border-radius: 6px;
  font-weight: 600 !important;
  background: transparent !important;
}
.nav-cta-ghost:hover { border-color: var(--accent); color: var(--accent) !important; }
.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: 0.35rem;
  padding-left: 1.1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}
.nav-links > .nav-actions > a,
.nav-links > .nav-actions > a.nav-login {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.35rem 0.25rem;
}
.nav-links > .nav-actions > a.nav-login:hover {
  color: var(--accent);
}
.nav-links > .lang-toggle {
  margin-left: 1.35rem;
}
/* Especifidad > .nav-links > a { background:none } */
.nav-links > a.nav-cta,
a.nav-cta {
  display: inline-flex;
  align-items: center;
  background: #f5a623 !important;
  color: #0a1526 !important;
  padding: 0.55rem 1.05rem !important;
  border-radius: 6px;
  border: none !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35),
    0 4px 16px rgba(245, 166, 35, 0.4);
}
.nav-links > a.nav-cta .inline-es,
.nav-links > a.nav-cta .inline-en,
a.nav-cta .inline-es,
a.nav-cta .inline-en { color: #0a1526 !important; }
.nav-links > a.nav-cta:hover,
a.nav-cta:hover {
  background: #ffb84d !important;
  color: #0a1526 !important;
  box-shadow:
    0 0 0 1px #fff,
    0 6px 20px rgba(245, 166, 35, 0.55);
}

.mega {
  display: none;
  position: absolute;
  top: calc(100% + 0px);
  left: 50%;
  transform: translateX(-50%);
  width: min(1040px, 96vw);
  background: #fff;
  color: var(--text);
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(15, 30, 53, 0.18);
  padding: 1rem 1.15rem;
  z-index: 120;
  padding-top: 1.15rem;
}
.mega::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 16px;
}
.mega-sm { width: min(420px, 92vw); }
/* Apertura vía JS (mega-open); evita dos paneles abiertos por :hover simultáneo */
.nav-item.has-mega.mega-open > .mega,
.nav-item.has-mega:focus-within > .mega { display: block; }
/* Producto y Soluciones: mismo borde inferior del navbar (nav-inner) */
.nav-item.has-mega > .mega:not(.mega-sm),
.nav-item.has-mega > .mega.mega-sm {
  position: absolute;
  top: 100%;
}
.nav-item.has-mega > .mega:not(.mega-sm) {
  left: 50%;
  transform: translateX(-50%);
  width: min(1040px, 96vw);
  max-height: calc(100vh - var(--nav-h) - 0.75rem);
  overflow-y: auto;
}
/* Soluciones: left vía JS bajo el trigger */
.nav-item.has-mega > .mega.mega-sm {
  left: 0;
  transform: none;
  width: min(420px, 92vw);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.25rem 0.45rem;
}
.mega-grid-2 { grid-template-columns: 1fr; }
.mega-link {
  display: block !important;
  padding: 0.55rem 0.75rem !important;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text) !important;
}
.mega-link:hover { background: var(--bg); }
.mega-link strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.mega-link span[data-lang],
.mega-link > span {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}
.mega-foot {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.btn-sm { padding: 0.55rem 0.9rem !important; font-size: 0.82rem !important; }
.btn-ghost-light {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--navy);
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}
.btn-ghost-light:hover { border-color: var(--navy); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(15, 30, 53, 0.98);
  padding: 1.25rem 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(245, 166, 35, 0.15);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0.65rem 0;
  font-weight: 500;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .mega { display: none !important; }
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent {
  background: var(--accent);
  color: #0a1526;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.35);
}
.btn-accent:hover { background: #ffb84d; color: #0a1526; }
.bg-navy .btn-accent,
.hero .btn-accent,
.cta-band .btn-accent {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.45),
    0 4px 18px rgba(245, 166, 35, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  padding: calc(var(--nav-h) + 4rem) 0 4.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(245, 166, 35, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(37, 99, 235, 0.12), transparent 50%),
    linear-gradient(160deg, #0a1526 0%, var(--navy) 45%, #132844 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2rem;
  align-items: center;
}
.hero > .container {
  width: min(100% - 2rem, 1240px);
}
.browser-frame {
  background: #0a1526;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.55rem 0.85rem;
  background: #121f33;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.browser-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4b5563;
}
.browser-chrome span:nth-child(1) { background: #f87171; }
.browser-chrome span:nth-child(2) { background: #fbbf24; }
.browser-chrome span:nth-child(3) { background: #34d399; }
.browser-chrome em {
  margin-left: 0.75rem;
  font-style: normal;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
}
.browser-frame img {
  width: 100%;
  height: auto;
  display: block;
  background: #f8f9fc;
}
.bg-white .browser-frame {
  box-shadow: 0 18px 48px rgba(15, 30, 53, 0.12);
  border-color: var(--line);
}
.bg-white .browser-chrome {
  background: #eef1f6;
  border-bottom-color: var(--line);
}
.bg-white .browser-chrome em { color: var(--muted); }

.feature-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.75rem 0;
  border-top: 1px solid var(--line);
}
.feature-row-rev .feature-copy { order: 2; }
.feature-row-rev .feature-media { order: 1; }
.feature-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.55rem;
}
.feature-h3 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 0.85rem;
}
.feature-copy > p {
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 42ch;
}
.feature-copy strong { color: var(--navy); font-weight: 650; }
.feature-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1rem;
  margin: 0 0 1.15rem;
}
.feature-checks li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text);
}
.feature-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
}
.text-cta {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
}
.text-cta:hover { color: var(--accent-dark); }

@media (max-width: 900px) {
  .feature-row,
  .feature-row-rev {
    grid-template-columns: 1fr;
  }
  .feature-row-rev .feature-copy,
  .feature-row-rev .feature-media { order: unset; }
  .feature-checks { grid-template-columns: 1fr; }
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.15rem;
  max-width: 22ch;
}
.hero-lead {
  font-size: 1.1rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
  margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}
.hero-trust span::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}
.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--white);
}
.score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}
.score-row:last-child { border-bottom: none; }
.score-row strong { color: var(--accent); font-variant-numeric: tabular-nums; }
.hero-score {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.hero-score b {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
}
.hero-score span { color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero-visual { max-width: none; }
}

/* ── Sections ────────────────────────────────────────── */
section { padding: 5rem 0; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.75rem;
}
.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 0.85rem;
  max-width: 22ch;
}
.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 54ch;
  margin-bottom: 2.5rem;
}
.section-head { margin-bottom: 0.5rem; }

.bg-white { background: var(--white); }
.bg-navy {
  background: var(--navy);
  color: var(--white);
}
.bg-navy .section-h2 { color: var(--white); }
.bg-navy .section-lead { color: rgba(255, 255, 255, 0.7); }
.bg-navy .section-label { color: var(--accent); }

/* ── Audience cards ──────────────────────────────────── */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem 1.4rem;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
}
.card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.55rem;
}
.card p { color: var(--muted); font-size: 0.95rem; }
.card.muted-card::before { background: var(--muted); }
@media (max-width: 800px) {
  .cards-3 { grid-template-columns: 1fr; }
}

/* ── Pricing ─────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(15, 30, 53, 0.08);
}
.price-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.price-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0;
}
.price-amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.price-amount span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.price-card ul {
  list-style: none;
  margin: 0.25rem 0 0.75rem;
  padding: 0;
  flex: 1;
}
.price-card li {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.28rem 0;
  border-bottom: 1px solid var(--line);
}
.price-card li:last-child { border-bottom: none; }
.price-card .btn { width: 100%; text-align: center; margin-top: auto; }
.pricing-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.pricing-note a { color: var(--navy); font-weight: 600; text-decoration: underline; }
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── Pain grid ───────────────────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.pain {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
}
.pain h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.pain p { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 800px) {
  .pain-grid { grid-template-columns: 1fr; }
}

/* ── Steps ───────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.5rem 1.2rem;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}
.step p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* ── Features ────────────────────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.feat {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
}
.feat h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.feat p { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 800px) {
  .feat-grid { grid-template-columns: 1fr; }
}

/* ── Split ───────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
}
.list-check li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.6rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 0.95rem;
}
.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.weights {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
}
.weights h3 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.weight-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
}
.weight-row:last-child { border-bottom: none; }
.weight-row span:last-child {
  color: var(--accent-dark);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ── Before / after ──────────────────────────────────── */
.ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.ba-col {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
}
.ba-head {
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.ba-before .ba-head { background: #fef2f2; color: var(--red); }
.ba-after .ba-head { background: #ecfdf5; color: var(--green); }
.ba-col ul { padding: 0.5rem 1.25rem 1.1rem; }
.ba-col li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.ba-col li:last-child { border-bottom: none; }
.ba-before li::before { content: "× "; color: var(--red); font-weight: 700; }
.ba-after li::before { content: "✓ "; color: var(--green); font-weight: 700; }
@media (max-width: 700px) {
  .ba { grid-template-columns: 1fr; }
}

/* ── ROI ─────────────────────────────────────────────── */
.roi-assumptions {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}
.roi-assumptions strong {
  display: block;
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.roi-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.roi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem;
}
.roi-card .label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}
.roi-card .value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0.6rem;
}
.roi-card p { color: var(--muted); font-size: 0.88rem; }
.roi-scenarios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.scenario {
  background: var(--soft);
  border: 1px solid #f5e0b5;
  border-radius: 14px;
  padding: 1.4rem;
}
.scenario h3 {
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}
.scenario dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem 1rem;
  font-size: 0.9rem;
}
.scenario dt { color: var(--muted); }
.scenario dd { font-weight: 650; color: var(--navy); text-align: right; }
.scenario .total {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #f0d29a;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: var(--navy);
}
.scenario .total span:last-child { color: var(--accent-dark); font-size: 1.15rem; }
@media (max-width: 800px) {
  .roi-cards, .roi-scenarios { grid-template-columns: 1fr; }
}

/* ── Why ─────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.why {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem;
}
.why h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.why p { color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; }
@media (max-width: 700px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ── Timeline ────────────────────────────────────────── */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.tl {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
}
.tl .when {
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.tl h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.tl p { color: var(--muted); font-size: 0.88rem; }
@media (max-width: 800px) {
  .timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .timeline { grid-template-columns: 1fr; }
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.15rem 0;
  margin-bottom: 0.65rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--navy);
  list-style: none;
  padding: 1rem 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent-dark);
  font-weight: 700;
}
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details[open] summary::after { content: "–"; }
.faq details p {
  padding: 0.85rem 1.15rem 0;
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.7;
}
.faq details p:last-child {
  padding-bottom: 1.1rem;
}
.faq details p + p {
  padding-top: 0;
}
.faq details a { color: var(--navy); font-weight: 600; }

/* ── CTA / Form ──────────────────────────────────────── */
.cta {
  padding: 5rem 0 5.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(245, 166, 35, 0.2), transparent 55%),
    var(--navy);
  color: var(--white);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}
.cta .lead {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.5rem;
  max-width: 36ch;
}
.form-card {
  background: var(--white);
  color: var(--text);
  border-radius: 16px;
  padding: 1.5rem;
}
.form-card h3 {
  color: var(--navy);
  margin-bottom: 1rem;
  font-size: 1.15rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--text);
  background: var(--white);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.2);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-msg {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  min-height: 1.2em;
}
.form-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}
@media (max-width: 800px) {
  .cta-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  background: #0a1526;
  color: rgba(255, 255, 255, 0.55);
  padding: 2rem 0;
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.footer a:hover { color: var(--accent); }
.footer-logo {
  height: 32px;
  width: auto;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  font-weight: 700;
}
.footer-brand span { color: var(--accent); }

/* ── Product screenshots ─────────────────────────────── */
.shots {
  margin-top: 2.75rem;
}
.shot {
  margin: 0;
  background: #0a1526;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.shot figcaption {
  padding: 0.65rem 1rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.02em;
}
.shot-featured {
  margin-bottom: 1rem;
  box-shadow: 0 16px 40px rgba(15, 30, 53, 0.18);
}
.shots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.shots-note {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--muted);
}
@media (max-width: 900px) {
  .shots-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .shots-grid { grid-template-columns: 1fr; }
}

.page-hero {
  padding: calc(var(--nav-h) + 2.5rem) 0 2rem;
  background: var(--bg);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
  line-height: 1.12;
  margin: 0.4rem 0 0.85rem;
}
.page-inner .page-hero .btn-navy { color: #fff; }
.feature-page-wrap {
  padding: 2.5rem 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.feature-page {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 2.5rem;
  align-items: start;
}
.feature-page-wrap .feature-block--includes {
  margin-top: 0.25rem;
}
.feature-page--multi {
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
}
.page-inner .container-wide {
  width: min(100% - 2rem, 1280px);
}
.feature-prose {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.75;
}
.feature-prose p { margin: 0 0 1.1rem; }
.feature-prose p:last-child { margin-bottom: 0; }
.feature-subh {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--navy);
  margin: 1.75rem 0 0.85rem;
}
.feature-cross {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.feature-cross a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.compare-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2.5rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 640px;
}
.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.compare-table th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.compare-table th:first-child { border-radius: 11px 0 0 0; }
.compare-table th:last-child { border-radius: 0 11px 0 0; }
.compare-table tbody tr:nth-child(even) { background: #f8fafc; }
.compare-table tbody tr:hover { background: var(--soft); }
.compare-table td:first-child {
  font-weight: 600;
  color: var(--navy);
  min-width: 12rem;
}
.compare-table td:not(:first-child) {
  text-align: center;
  color: var(--text);
  white-space: nowrap;
}
.cta-band {
  text-align: center;
  padding: 3rem 0;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.25rem;
}
.home-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.home-card {
  display: block;
  padding: 1.1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.home-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(15, 30, 53, 0.08);
}
.home-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}
.home-card span[data-lang] {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}
.home-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.25rem;
}
.home-shots .home-shot-lg,
.home-shots .browser-frame.home-shot-lg {
  grid-column: 1 / -1;
}
.home-shots .browser-frame {
  box-shadow: 0 24px 60px rgba(15, 30, 53, 0.16);
}
.home-shots .browser-frame img {
  width: 100%;
  height: auto;
  max-height: none;
}
.hero-visual .browser-frame {
  transform: scale(1.02);
  transform-origin: center right;
}
.hero-visual-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  padding-bottom: 1.5rem;
  perspective: 1200px;
  perspective-origin: 78% 42%;
}
.hero-visual-stack .browser-frame {
  transform-origin: center right;
  width: 100%;
  position: relative;
}
.hero-visual-stack .browser-frame:nth-child(1) {
  z-index: 3;
  transform: scale(1.02);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.42);
}
.hero-visual-stack .browser-frame:nth-child(2) {
  z-index: 2;
  margin-top: -4rem;
  margin-left: 58px;
  width: calc(100% - 58px);
  align-self: flex-end;
  transform: scale(1.005) translateX(14px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.36);
}
.hero-visual-stack .browser-frame:nth-child(3) {
  z-index: 1;
  margin-top: -5.5rem;
  margin-left: 116px;
  width: calc(100% - 116px);
  align-self: flex-end;
  transform: scale(0.98) translateX(26px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}
.feature-page-shots {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.feature-page-shots .browser-frame {
  box-shadow: 0 22px 56px rgba(15, 30, 53, 0.14);
}
.feature-page-shots .browser-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-page--compact-shot {
  grid-template-columns: minmax(280px, 1fr) minmax(0, auto);
}
.feature-page--compact-shot .feature-page-shots {
  justify-self: start;
}
/* Matching: dos capturas panorámicas apiladas a buen ancho */
.feature-page-shots--stack {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}
.feature-page-shots--stack .shot-lg {
  width: 100%;
}
.feature-page-shots--stack .shot-lg img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-page-shots--stack .shot-compact {
  width: min(100%, 400px);
  align-self: flex-start;
}
.feature-page-shots--stack .shot-compact-sm {
  width: min(100%, 280px);
  align-self: flex-start;
}
.feature-page-shots--stack .shot-compact-md {
  width: min(100%, 480px);
  align-self: flex-start;
}
.feature-page-shots--stack .shot-compact img,
.feature-page-shots--stack .shot-compact-sm img,
.feature-page-shots--stack .shot-compact-md img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-filters-secondary {
  margin: 0.5rem 0 1.25rem;
}
.feature-filters-secondary .shot-compact-wide {
  width: min(100%, 480px);
  box-shadow: 0 18px 44px rgba(15, 30, 53, 0.12);
}
.feature-filters-secondary .shot-compact-wide img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-filters-visual .shot-panel {
  max-width: 300px;
}

/* Story layout: texto + imagen alternados */
.feature-story {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  padding: 2.5rem 0 3.5rem;
}
.feature-block {
  display: grid;
  gap: 2rem 2.75rem;
  align-items: center;
}
.feature-block--copy {
  max-width: 40rem;
}
.feature-block--copy .feature-prose {
  margin: 0;
}
.feature-block--wide,
.feature-block--media {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  align-items: stretch;
}
.feature-block--wide .feature-block-copy {
  max-width: 46rem;
}
.feature-block--wide .browser-frame,
.feature-block--media .browser-frame {
  width: 100%;
  box-shadow: 0 22px 56px rgba(15, 30, 53, 0.14);
}
.feature-block--media {
  align-items: center;
}
.feature-block--media .browser-frame {
  width: min(100%, 1040px);
  margin-inline: auto;
}
.feature-block--wide .browser-frame img,
.feature-block--media .browser-frame img {
  width: 100%;
  height: auto;
  display: block;
}
/* Inbox: texto fluye alrededor de la captura */
.feature-block--wrap {
  display: flow-root;
}
.feature-block--wrap .shot-wrap {
  float: right;
  width: min(58%, 640px);
  margin: 0.1rem 0 1.35rem 2rem;
  box-shadow: 0 22px 56px rgba(15, 30, 53, 0.14);
}
.feature-block--wrap .shot-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-block--wrap .feature-prose {
  max-width: none;
}
.feature-block--wrap .feature-prose p {
  margin: 0 0 1.15rem;
}
.feature-block--wrap .feature-prose p:last-child {
  margin-bottom: 0;
}
.feature-block--includes {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: end;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.feature-block--includes .feature-subh {
  margin-top: 0;
}
.feature-block--includes .feature-cross {
  margin: 0;
  text-align: right;
}
/* Candidates: panel de filtros como pieza central */
.feature-filters {
  display: grid;
  grid-template-columns: minmax(200px, 270px) minmax(0, 1fr);
  gap: 2.5rem 3rem;
  align-items: start;
  padding: 2.5rem 0 3.5rem;
}
.feature-filters-visual {
  position: sticky;
  top: 5.5rem;
}
.feature-filters-visual .shot-panel {
  width: 100%;
  max-width: 270px;
  box-shadow: 0 22px 56px rgba(15, 30, 53, 0.16);
}
.feature-filters-visual .shot-panel img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-filters-copy .feature-prose {
  max-width: 40rem;
}
.feature-filters-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 1.75rem;
  margin: 1.75rem 0 2rem;
}
.feature-filters-point {
  padding-left: 0.85rem;
  border-left: 2px solid var(--accent);
}
.feature-filters-point strong {
  display: block;
  font-size: 0.98rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.feature-filters-point span {
  display: block;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}
.feature-filters-copy .feature-block--includes {
  margin-top: 0.5rem;
}
/* Emails: rejilla 3×2 con ancho de contenido amplio */
.feature-dual {
  --dual-content-width: 72rem;
  display: grid;
  grid-template-columns: minmax(48px, 64px) minmax(0, 1fr);
  gap: 2.5rem 2rem;
  align-items: start;
  padding: 2.5rem 0 3.5rem;
}
.feature-dual-spacer {
  min-height: 1px;
}
.feature-dual-main {
  min-width: 0;
  max-width: min(100%, var(--dual-content-width));
}
.feature-dual-main .feature-prose {
  max-width: var(--dual-content-width);
}
.feature-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 2rem;
  align-items: start;
  margin: 1.75rem 0 1.5rem;
  max-width: var(--dual-content-width);
}
.feature-dual-grid .feature-dual-shot {
  display: flex;
  align-items: flex-start;
  min-width: 0;
}
.feature-dual-grid .shot-dual-left,
.feature-dual-grid .shot-dual-right {
  width: 100%;
  max-width: 100%;
  box-shadow: 0 18px 44px rgba(15, 30, 53, 0.14);
}
.feature-dual-grid .shot-dual-left img,
.feature-dual-grid .shot-dual-right img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-dual-main .feature-block--includes {
  margin-top: 0.5rem;
  max-width: var(--dual-content-width);
}
@media (max-width: 900px) {
  .feature-dual {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .feature-dual-spacer {
    display: none;
  }
  .feature-dual-main,
  .feature-dual-main .feature-prose,
  .feature-dual-grid,
  .feature-dual-main .feature-block--includes {
    max-width: none;
  }
}
@media (max-width: 860px) {
  .feature-dual-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
/* Profile / Kanban: copy + visual showcase */
.feature-showcase {
  --showcase-width: 58rem;
  display: grid;
  grid-template-columns: minmax(80px, 120px) minmax(0, 1fr);
  gap: 2.5rem 2.5rem;
  align-items: start;
  padding: 2.5rem 0 3.5rem;
}
.feature-showcase--kanban {
  --showcase-width: 64rem;
}
.feature-showcase--freelance,
.feature-showcase--boutique,
.feature-showcase--matching,
.feature-showcase--contracts,
.feature-showcase--settings {
  --showcase-width: 76rem;
}
.feature-showcase--freelance .feature-showcase-col-1,
.feature-showcase--boutique .feature-showcase-col-1,
.feature-showcase--matching .feature-showcase-col-1,
.feature-showcase--contracts .feature-showcase-col-1,
.feature-showcase--settings .feature-showcase-col-1 {
  width: 34%;
}
.feature-showcase--freelance .feature-showcase-board .browser-frame,
.feature-showcase--freelance .feature-showcase-board--foot .feature-showcase-side-shot .browser-frame,
.feature-showcase--boutique .feature-showcase-board .browser-frame,
.feature-showcase--boutique .feature-showcase-board--foot .feature-showcase-side-shot .browser-frame,
.feature-showcase--matching .feature-showcase-board .browser-frame,
.feature-showcase--matching .feature-showcase-board--foot .feature-showcase-side-shot .browser-frame,
.feature-showcase--contracts .feature-showcase-board .browser-frame,
.feature-showcase--contracts .feature-showcase-board--foot .feature-showcase-side-shot .browser-frame,
.feature-showcase--settings .feature-showcase-board .browser-frame,
.feature-showcase--settings .feature-showcase-board--foot .feature-showcase-side-shot .browser-frame {
  width: 100%;
  max-width: none;
}
.feature-showcase--freelance .feature-showcase-board--foot,
.feature-showcase--boutique .feature-showcase-board--foot,
.feature-showcase--matching .feature-showcase-board--foot,
.feature-showcase--contracts .feature-showcase-board--foot,
.feature-showcase--settings .feature-showcase-board--foot {
  padding-top: 0.5rem;
}
.feature-showcase--freelance .feature-showcase-board--foot .feature-showcase-side-shot .browser-frame,
.feature-showcase--boutique .feature-showcase-board--foot .feature-showcase-side-shot .browser-frame,
.feature-showcase--matching .feature-showcase-board--foot .feature-showcase-side-shot .browser-frame,
.feature-showcase--contracts .feature-showcase-board--foot .feature-showcase-side-shot .browser-frame,
.feature-showcase--settings .feature-showcase-board--foot .feature-showcase-side-shot .browser-frame {
  box-shadow: 0 22px 56px rgba(15, 30, 53, 0.14);
}
.feature-showcase--freelance .feature-showcase-board--foot .feature-cross,
.feature-showcase--boutique .feature-showcase-board--foot .feature-cross,
.feature-showcase--matching .feature-showcase-board--foot .feature-cross,
.feature-showcase--contracts .feature-showcase-board--foot .feature-cross,
.feature-showcase--settings .feature-showcase-board--foot .feature-cross {
  margin: 0.85rem 0 0;
  text-align: right;
}
.feature-showcase-spacer {
  min-height: 1px;
}
.feature-showcase-main {
  min-width: 0;
  max-width: var(--showcase-width);
}
.feature-showcase-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.4fr) minmax(0, 0.6fr);
  gap: 2.25rem 2.5rem;
  align-items: start;
}
.feature-showcase--kanban .feature-showcase-grid {
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
}
.feature-showcase-copy .feature-prose {
  max-width: 22rem;
}
.feature-showcase-visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0;
}
.feature-showcase-visual .browser-frame {
  box-shadow: 0 22px 56px rgba(15, 30, 53, 0.14);
}
.feature-showcase-visual .browser-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-showcase-visual .shot-lg,
.feature-showcase-visual .shot-compact,
.feature-showcase-visual .shot-compact-sm {
  width: 100%;
  max-width: 100%;
}
.feature-showcase--profile .feature-showcase-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
  align-items: start;
}
.feature-showcase--profile .feature-showcase-visual .shot-lg {
  grid-column: 1 / -1;
}
.feature-showcase--profile .feature-showcase-visual .shot-compact {
  grid-column: 2;
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
}
.feature-showcase--kanban .feature-showcase-visual .shot-lg {
  width: 100%;
}
/* Showcase tabla 4×2 (kanban, profile, …) */
.feature-showcase--profile {
  --showcase-width: 64rem;
}
.feature-showcase-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.feature-showcase-col-1 {
  width: 40%;
}
.feature-showcase-col-2 {
  width: auto;
}
.feature-showcase-col-gap {
  width: 100px;
}
.feature-showcase-col-4 {
  width: 42%;
}
.feature-showcase-table td {
  vertical-align: top;
  padding: 0;
}
.feature-showcase-table tr:first-child td {
  padding-bottom: 1.25rem;
}
.feature-showcase-table .feature-showcase-board {
  padding-left: 1.75rem;
}
.feature-showcase-gap {
  width: 100px;
  padding: 0;
}
.feature-showcase-table .feature-showcase-copy .feature-prose {
  max-width: 28rem;
}
.feature-showcase-board .browser-frame {
  width: 100%;
  box-shadow: 0 22px 56px rgba(15, 30, 53, 0.14);
}
.feature-showcase-board .browser-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-showcase-includes {
  border-top: none;
  padding-top: 0;
  padding-right: 0;
}
.feature-showcase-includes .feature-subh {
  margin-top: 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}
.feature-showcase-includes .list-check {
  display: block;
}
.feature-showcase-side {
  vertical-align: top;
}
.feature-showcase-side-shot .browser-frame {
  width: 100%;
  max-width: 520px;
  box-shadow: 0 22px 56px rgba(15, 30, 53, 0.14);
}
.feature-showcase-side-shot .browser-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-showcase-side .feature-cross {
  margin: 0.85rem 0 0;
  text-align: right;
}
.feature-showcase-main .feature-block--includes {
  margin-top: 2rem;
  max-width: var(--showcase-width);
}
.feature-showcase--kanban .feature-showcase-main .feature-block--includes {
  margin-top: 0;
}
.feature-showcase--kanban .feature-block--includes-footshot {
  border-top: none;
  padding-top: 0;
  margin-top: 0.5rem;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 400px);
  grid-template-rows: auto auto;
  align-items: start;
  gap: 0.75rem 2.5rem;
}
.feature-showcase--kanban .feature-includes-copy {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
}
.feature-showcase--kanban .feature-includes-timeline {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  margin-top: -0.35rem;
}
.feature-showcase--kanban .feature-includes-timeline .browser-frame {
  width: 100%;
  max-width: 380px;
  box-shadow: 0 22px 56px rgba(15, 30, 53, 0.14);
}
.feature-showcase--kanban .feature-includes-timeline .browser-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-showcase--kanban .feature-block--includes-footshot .feature-cross {
  grid-column: 2;
  grid-row: 2;
  text-align: right;
  align-self: end;
  margin: 0;
}
@media (max-width: 960px) {
  .feature-showcase {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .feature-showcase-spacer {
    display: none;
  }
  .feature-showcase-main,
  .feature-showcase-main .feature-block--includes {
    max-width: none;
  }
  .feature-showcase-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .feature-showcase-copy .feature-prose {
    max-width: none;
  }
  .feature-showcase--profile .feature-showcase-visual {
    grid-template-columns: 1fr;
  }
  .feature-showcase--profile .feature-showcase-visual .shot-lg,
  .feature-showcase--profile .feature-showcase-visual .shot-compact {
    grid-column: auto;
  }
  .feature-showcase--profile .feature-showcase-visual .shot-compact {
    width: min(100%, 420px);
    justify-self: center;
  }
  .feature-showcase--kanban .feature-block--includes-footshot {
    grid-template-columns: 1fr;
  }
  .feature-showcase--kanban .feature-includes-copy,
  .feature-showcase--kanban .feature-includes-timeline,
  .feature-showcase--kanban .feature-block--includes-footshot .feature-cross {
    grid-column: auto;
    grid-row: auto;
  }
  .feature-showcase--kanban .feature-includes-copy {
    grid-row: auto;
  }
  .feature-showcase--kanban .feature-includes-timeline {
    justify-self: center;
    margin-top: 0;
  }
  .feature-showcase--kanban .feature-includes-timeline .browser-frame {
    max-width: 360px;
  }
  .feature-showcase--kanban .feature-block--includes-footshot .feature-cross {
    text-align: left;
    align-self: auto;
  }
  .feature-showcase-table,
  .feature-showcase-table tbody,
  .feature-showcase-table tr,
  .feature-showcase-table td {
    display: block;
    width: 100%;
  }
  .feature-showcase-table .feature-showcase-board,
  .feature-showcase-table .feature-showcase-side {
    padding-left: 0;
    padding-top: 1.25rem;
  }
  .feature-showcase-gap {
    display: none;
  }
  .feature-showcase-includes {
    margin-top: 1.25rem;
  }
  .feature-showcase-side-shot .browser-frame {
    max-width: 500px;
  }
  .feature-showcase-side .feature-cross {
    text-align: left;
  }
  .feature-showcase--freelance .feature-showcase-board--foot .feature-cross,
  .feature-showcase--boutique .feature-showcase-board--foot .feature-cross,
  .feature-showcase--matching .feature-showcase-board--foot .feature-cross,
  .feature-showcase--contracts .feature-showcase-board--foot .feature-cross,
  .feature-showcase--settings .feature-showcase-board--foot .feature-cross {
    text-align: left;
  }
}
@media (max-width: 900px) {
  .feature-filters {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .feature-filters-visual {
    position: static;
    justify-self: center;
  }
  .feature-filters-visual .shot-panel {
    max-width: 280px;
  }
  .feature-filters-points {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .feature-block--wrap .shot-wrap {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.5rem;
  }
  .feature-block--includes {
    grid-template-columns: 1fr;
  }
  .feature-block--includes .feature-cross {
    text-align: left;
  }
}
/* Candidates filters: captura estrecha y alta */
.feature-block--narrow {
  grid-template-columns: minmax(0, 1.15fr) minmax(160px, 230px);
  align-items: start;
}
.feature-block--narrow.feature-block--rev {
  grid-template-columns: minmax(160px, 230px) minmax(0, 1.15fr);
}
.feature-block--narrow .shot-narrow {
  width: 100%;
  max-width: 230px;
  justify-self: end;
  box-shadow: 0 22px 56px rgba(15, 30, 53, 0.14);
}
.feature-block--narrow.feature-block--rev .shot-narrow {
  justify-self: start;
}
.feature-block--narrow .shot-narrow img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-block--md {
  grid-template-columns: 1fr 1.15fr;
}
.feature-block--md.feature-block--rev {
  grid-template-columns: 1.15fr 1fr;
}
.feature-block--md.feature-block--rev .feature-block-copy { order: 2; }
.feature-block--md.feature-block--rev .browser-frame { order: 1; }
.feature-block--narrow.feature-block--rev .feature-block-copy { order: 2; }
.feature-block--narrow.feature-block--rev .browser-frame { order: 1; }
@media (max-width: 860px) {
  .feature-block--narrow,
  .feature-block--narrow.feature-block--rev,
  .feature-block--md,
  .feature-block--md.feature-block--rev {
    grid-template-columns: 1fr;
  }
  .feature-block--narrow .shot-narrow,
  .feature-block--narrow.feature-block--rev .shot-narrow {
    justify-self: center;
    max-width: 260px;
  }
  .feature-block--narrow.feature-block--rev .feature-block-copy,
  .feature-block--narrow.feature-block--rev .browser-frame,
  .feature-block--md.feature-block--rev .feature-block-copy,
  .feature-block--md.feature-block--rev .browser-frame {
    order: unset;
  }
}

/* Candidates legacy grid (si se usa) */
.feature-page-shots--cand {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
#producto > .container,
#producto > .container-wide {
  width: min(100% - 2rem, 1280px);
}
.mm-label {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0.75rem 0 0.25rem;
}
.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 2.5rem 4rem;
  align-items: start;
}
.demo-copy .section-head {
  margin-bottom: 0;
}
.demo-copy .section-lead {
  margin-top: 0.85rem;
  max-width: 42ch;
}
.demo-points {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.demo-points li {
  position: relative;
  padding-left: 1.45rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.5;
}
.demo-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}
.demo-note {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  max-width: 44ch;
}
.demo-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.demo-note a:hover { color: #ffc966; }
.demo-form {
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.demo-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}
.demo-form input,
.demo-form select,
.demo-form textarea {
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font: inherit;
  width: 100%;
}
.demo-form select {
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: menulist;
}
.demo-form select option {
  background: var(--navy);
  color: #fff;
}
.demo-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.demo-form .hp { position: absolute; left: -9999px; }
.demo-msg { font-size: 0.9rem; min-height: 1.2em; }
@media (max-width: 900px) {
  .home-cards { grid-template-columns: repeat(2, 1fr); }
  .home-shots { grid-template-columns: 1fr; }
  .home-shots .home-shot-lg,
  .home-shots .browser-frame.home-shot-lg { grid-column: auto; }
  .feature-page,
  .feature-page--multi { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; gap: 2rem; }
  .demo-copy .section-lead { max-width: none; }
  .demo-note { max-width: none; }
  .demo-form .row-2 { grid-template-columns: 1fr; }
  .hero-visual .browser-frame { transform: none; }
  .hero-visual-stack .browser-frame:nth-child(1) { transform: none; }
  .hero-visual-stack .browser-frame:nth-child(2) {
    margin-top: -2.65rem;
    margin-left: 28px;
    width: calc(100% - 28px);
    transform: translateX(8px);
  }
  .hero-visual-stack .browser-frame:nth-child(3) {
    margin-top: -3.5rem;
    margin-left: 52px;
    width: calc(100% - 52px);
    transform: scale(0.99) translateX(14px);
  }
}

/* ── Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
