/* Kinlig Sales kit (documentos comerciales), alineado a index premium */
:root {
  --brand: #912930;
  --brand-light: #b83640;
  --brand-soft: #c23a3a;
  --gold: var(--brand-light);
  --bg: #000000;
  --bg-elevated: #0d0d0d;
  --bg-card: #141414;
  --text: #f5f5f7;
  --muted: #86868b;
  --border: rgba(255, 255, 255, 0.08);
  --ok: #30d158;
  --warn: #facc15;
  --danger: #ff6b6b;
  --kinlig-row: rgba(145, 41, 48, 0.18);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --nav-h: 88px;
  --max: 920px;
  --max-wide: 1040px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  min-height: 100%;
  background: #000;
  background-image: linear-gradient(180deg, #000 0%, #060606 55%, #0c0c0c 100%);
}
body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.doc-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border);
  overflow: visible;
}
.doc-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  overflow: visible;
}
.doc-nav__logo {
  justify-self: start;
}
.doc-kit-nav {
  justify-self: center;
}
.doc-nav__actions {
  justify-self: end;
}
.doc-nav__logo img {
  height: 52px;
  width: auto;
  display: block;
}
.doc-nav__logo:hover { opacity: 0.9; text-decoration: none; }
.doc-kit-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  list-style: none;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}
.doc-kit-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.doc-kit-nav a:hover,
.doc-kit-nav a.is-active { color: var(--text); text-decoration: none; }
.doc-kit-nav a.is-active { color: var(--gold); }
.doc-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}
.doc-nav-user-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: linear-gradient(145deg, #5a1528 0%, #912930 48%, #b83640 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 225, 0.14),
    0 2px 10px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
}
.doc-nav-user-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.doc-nav-user-btn__icon {
  width: 20px;
  height: 20px;
  fill: #fff;
  pointer-events: none;
}
.doc-nav .lang-picker--nav {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}
.doc-nav .lang-picker--nav + .doc-nav-user-btn {
  margin-left: 2px;
}
.doc-btn-ghost {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 9px 14px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, border-color 0.2s;
}
.doc-btn-ghost:hover { color: var(--text); border-color: var(--gold); }
.doc-btn-primary {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184, 54, 64, 0.45);
  padding: 9px 16px;
  text-decoration: none;
  white-space: nowrap;
}
.doc-btn-primary:hover {
  color: #fff;
  border-color: var(--gold);
  background: rgba(145, 41, 48, 0.12);
  text-decoration: none;
}
/* Selector idioma · bandera circular + submenú */
.lang-picker {
  position: relative;
  flex-shrink: 0;
}
.lang-picker--nav {
  padding-right: 14px;
  margin-right: 4px;
  border-right: 1px solid var(--border);
}
.lang-picker__trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.lang-picker__trigger:hover,
.lang-picker.is-open .lang-picker__trigger {
  border-color: transparent;
  background: rgba(145, 41, 48, 0.12);
  box-shadow: none;
}
.lang-picker__flag-img {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  pointer-events: none;
}
.lang-picker__flag-img--current {
  width: 26px;
  height: 26px;
}
.lang-picker__option .lang-picker__flag-img {
  width: 22px;
  height: 22px;
}
.lang-picker__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 300;
  min-width: 168px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #121212;
  border: none;
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
}
.lang-picker__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.lang-picker__option:hover {
  background: rgba(255, 255, 255, 0.06);
}
.lang-picker__option.is-active {
  background: rgba(145, 41, 48, 0.18);
  color: var(--gold);
}
.lang-picker__option-label {
  flex: 1;
}

@media (max-width: 720px) {
  .doc-nav__inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    row-gap: 6px;
  }
  .doc-nav__logo {
    grid-column: 1;
    grid-row: 1;
  }
  .doc-nav__actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    flex-wrap: nowrap;
  }
  .doc-kit-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    padding-top: 2px;
    font-size: 10px;
    gap: 0.25rem 0.65rem;
  }
  .doc-btn-primary {
    padding: 9px 12px;
    font-size: 9px;
  }
}

.doc-main { padding: 2.5rem 0 4rem; }
.doc-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}
.doc-wrap--wide { max-width: var(--max-wide); }

.doc-hero {
  text-align: center;
  padding: 2.5rem 1rem 2.75rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.doc-hero__logo img {
  height: clamp(72px, 14vw, 96px);
  width: auto;
  margin-bottom: 1.25rem;
}
.doc-hero h1 {
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin-bottom: 1rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.doc-hero .lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 auto 1.25rem;
}
.doc-eyebrow,
.doc-tagline {
  text-align: center;
}
.doc-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.doc-tagline {
  display: inline-block;
  border: 1px solid rgba(184, 54, 64, 0.35);
  color: var(--gold);
  padding: 0.45rem 1rem;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.doc-main h1 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.doc-main h2,
.doc-main h2.section {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin: 2.25rem 0 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.doc-main h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.65rem;
}
.doc-main p { margin-bottom: 0.85rem; }
.doc-main .lead { color: var(--muted); margin-bottom: 2rem; font-size: 1.05rem; }
.doc-main .muted { color: var(--muted); font-size: 0.92rem; }
.doc-main ul, .doc-main ol { margin: 0 0 1rem 1.25rem; }
.doc-main li { margin-bottom: 0.45rem; }

blockquote.doc-quote {
  border-left: 3px solid var(--brand);
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  margin: 1.5rem 0;
  font-size: 0.98rem;
  border-radius: 0 8px 8px 0;
}
blockquote.doc-quote strong { color: var(--gold); }

.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
th, td {
  border: 1px solid var(--border);
  padding: 0.75rem 0.9rem;
  text-align: left;
  vertical-align: top;
}
th {
  background: var(--bg-card);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
tr.kinlig td { background: var(--kinlig-row); }
tr.kinlig th { background: rgba(145, 41, 48, 0.35); color: #f5d0d4; }
.yes { color: var(--ok); }
.partial { color: var(--warn); }
.no { color: #e8a0a0; }
.legend { font-size: 0.88rem; color: var(--muted); margin-bottom: 1rem; }

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }
.plan {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  background: var(--bg-card);
}
.plan.featured {
  border-color: rgba(184, 54, 64, 0.5);
  box-shadow: 0 0 0 1px rgba(145, 41, 48, 0.2);
}
.plan .badge {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.plan .price {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.plan .price span { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.plan .note { font-size: 0.9rem; color: var(--muted); margin: 0.75rem 0 1rem; }
.plan ul { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; color: var(--muted); }
.plan li { padding: 0.35rem 0 0.35rem 1.25rem; position: relative; }
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.doc-internal {
  background: rgba(145, 41, 48, 0.08);
  border: 1px dashed rgba(184, 54, 64, 0.35);
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.doc-internal h3 { color: var(--gold); font-size: 0.95rem; margin-bottom: 0.75rem; }

.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}
.toc ol { margin-left: 1.25rem; }
.toc li { margin-bottom: 0.4rem; }
.toc a { color: var(--gold); }

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.step-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  margin-right: 0.75rem;
  font-size: 0.85rem;
}
.step-card h4 { display: inline; font-size: 1.02rem; vertical-align: middle; }
.step-card p { margin: 0.75rem 0 0 2.75rem; font-size: 0.92rem; color: var(--muted); }

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}
.pillar h4 { color: var(--gold); margin-bottom: 0.5rem; font-size: 0.95rem; }
.pillar ul { margin-left: 1rem; font-size: 0.9rem; color: var(--muted); }

.hero-remote {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(145, 41, 48, 0.12) 100%);
  border: 1px solid rgba(184, 54, 64, 0.35);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  margin: 2rem 0;
  text-align: center;
}
.hero-remote h3 { font-size: 1.2rem; color: var(--gold); margin-bottom: 1rem; }
.hero-remote .big { font-size: 1.1rem; font-weight: 600; }

.pulse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}
@media (max-width: 700px) { .pulse-grid { grid-template-columns: 1fr; } }
.pulse-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}
.pulse-card .dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}
.pulse-card .dot--ok { background: var(--ok); box-shadow: 0 0 10px rgba(48, 209, 88, 0.45); }
.pulse-card h4 {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.pulse-card p { font-size: 0.82rem; color: var(--muted); margin: 0; }

.feature-highlight {
  background: var(--bg-elevated);
  border-left: 3px solid var(--brand);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  border-radius: 0 10px 10px 0;
}
.feature-highlight strong { color: var(--gold); }

.doc-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid rgba(184, 54, 64, 0.35);
  border-radius: 14px;
}
.doc-cta h2 { margin-top: 0; border: none; }

.slide {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem;
  margin-bottom: 0.85rem;
  align-items: start;
}
.slide img {
  width: 120px;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 9/16;
  border: 1px solid var(--border);
}
@media (max-width: 520px) {
  .slide { grid-template-columns: 1fr; }
  .slide img { width: 100%; max-height: 200px; }
}
.slide .fase {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(145, 41, 48, 0.25);
  color: #f0b4bc;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.35rem;
}
.slide .num {
  font-weight: 800;
  color: var(--brand-soft);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.slide .hook { font-size: 1.02rem; font-weight: 600; margin: 0.25rem 0; }
.slide .hook em { color: var(--brand-light); font-style: normal; }
.slide .note { font-size: 0.86rem; color: var(--muted); margin: 0; }

/* Footer premium · kit comercial */
.kit-footer-premium {
  margin-top: 0;
  padding: 3.5rem 22px 3rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent 0%, rgba(145, 41, 48, 0.06) 40%, rgba(0, 0, 0, 0.4) 100%);
}
.kit-footer-premium__inner {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}
.kit-footer-premium__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.kit-footer-premium__logo {
  display: block;
  line-height: 0;
  transition: opacity 0.2s var(--ease);
}
.kit-footer-premium__logo:hover {
  opacity: 0.88;
  text-decoration: none;
}
.kit-footer-premium__logo img {
  height: 56px;
  width: auto;
  opacity: 0.95;
}
.kit-footer-premium__tag {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.kit-footer-premium__eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin: 0 0 1.25rem;
}
.kit-footer-premium__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 2rem;
}
.kit-footer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 128px;
  padding: 1.55rem 1.25rem;
  text-align: center;
  background: var(--bg-card);
  border: none;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
  overflow: hidden;
  transition:
    background 0.4s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.45s var(--ease);
}
.kit-footer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(
    108deg,
    #1a060c 0%,
    rgba(90, 22, 42, 0.82) 34%,
    rgba(145, 41, 48, 0.78) 58%,
    rgba(185, 48, 62, 0.62) 78%,
    rgba(210, 58, 78, 0.42) 100%
  );
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.kit-footer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  opacity: 0;
  box-shadow: inset 0 1px 0 rgba(255, 220, 225, 0.16);
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.kit-footer-card__title,
.kit-footer-card__desc {
  position: relative;
  z-index: 1;
  transition: color 0.4s var(--ease);
}
.kit-footer-card:hover {
  text-decoration: none;
  background: transparent;
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(200, 55, 80, 0.22),
    0 0 22px rgba(200, 55, 80, 0.38),
    0 0 48px rgba(140, 28, 48, 0.32),
    0 14px 44px rgba(0, 0, 0, 0.42);
}
.kit-footer-card:hover::before { opacity: 1; }
.kit-footer-card:hover::after { opacity: 1; }
.kit-footer-card.is-active {
  background: rgba(145, 41, 48, 0.1);
  box-shadow: none;
}
.kit-footer-card.is-active::before {
  opacity: 0.55;
  background: linear-gradient(
    108deg,
    #1a060c 0%,
    rgba(75, 18, 36, 0.88) 45%,
    rgba(130, 36, 52, 0.72) 100%
  );
}
.kit-footer-card__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
  max-width: 20em;
}
.kit-footer-card.is-active .kit-footer-card__title { color: var(--gold); }
.kit-footer-card:hover .kit-footer-card__title {
  color: #fff;
}
.kit-footer-card__desc {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: none;
  text-align: center;
  max-width: 20em;
  text-wrap: balance;
}
.kit-footer-card:hover .kit-footer-card__desc {
  color: rgba(255, 255, 255, 0.9);
}
.kit-footer-premium__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.kit-footer-premium__bar a {
  color: var(--muted);
  font-weight: 500;
}
.kit-footer-premium__bar a:hover { color: var(--text); }
.kit-footer-premium__dot {
  color: var(--border);
  user-select: none;
}
.kit-footer-premium__legal {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin: 0;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
@media (max-width: 1024px) {
  .kit-footer-premium__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .kit-footer-premium__grid {
    grid-template-columns: 1fr;
  }
  .kit-footer-premium {
    padding: 2.5rem 18px 2.25rem;
  }
}

.doc-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

hr.doc-hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* Kit · sin líneas grises entre secciones */
.doc-kit hr.doc-hr {
  display: none;
  margin: 0;
}

.doc-kit .doc-hero {
  border-bottom: none;
}

.doc-kit .doc-main h2.section,
.doc-kit h2.section,
.doc-kit .kit-section-intro {
  border: none;
  border-bottom: none;
  border-top: none;
}

