/* El tema oscuro es el predeterminado del sitio: `data-theme` solo se fija
   para el claro. Los valores base son, por tanto, los del modo oscuro. */
.keycard-route {
  --kc-green: #24b83f;
  --kc-green-dark: #58d96f;
  --kc-ink: #f4f7f4;
  --kc-copy: rgba(244, 247, 244, .68);
  --kc-paper: #050706;
  --kc-surface: #0a0e0a;
  --kc-surface-alt: #080b08;
  --kc-card: #101410;
  --kc-icon-bg: rgba(36, 184, 63, .15);
  --kc-line: rgba(255, 255, 255, .12);
  background: var(--kc-paper);
}

html[data-theme="light"] .keycard-route {
  --kc-green-dark: #0b6f1d;
  --kc-ink: #090b09;
  --kc-copy: #555c55;
  --kc-paper: #f3f4f1;
  --kc-surface: #eff1ec;
  --kc-surface-alt: #f7f8f5;
  --kc-card: #ffffff;
  --kc-icon-bg: #e7f7e9;
  --kc-line: rgba(9, 11, 9, .14);
}

.keycard-route .ambient { display: none; }
.kc-page { position: relative; z-index: 1; overflow: hidden; color: var(--kc-ink); }
.kc-page h1, .kc-page h2, .kc-page h3, .kc-page p { margin-top: 0; }
.kc-kicker { display: block; color: var(--kc-green-dark); font: 850 11px/1.2 var(--ff-mono); letter-spacing: .16em; text-transform: uppercase; }

.kc-hero { padding: clamp(92px, 9vw, 140px) 0 0; background: #080a08; color: #fff; }
.kc-hero-grid { min-height: clamp(620px, 76vh, 780px); display: flex; align-items: center; justify-content: center; }
.kc-hero-copy { width: min(100%, 1080px); padding: 0 0 clamp(64px, 8vw, 96px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.kc-product-lockup { margin-bottom: 46px; display: flex; align-items: center; justify-content: center; gap: 14px; text-align: left; }
.kc-product-lockup img { width: 58px; height: 58px; display: block; object-fit: contain; }
.kc-product-lockup span { display: grid; gap: 5px; }
.kc-product-lockup strong { font-size: 20px; letter-spacing: -.035em; }
.kc-product-lockup small { color: rgba(255,255,255,.58); font: 750 9px/1 var(--ff-mono); letter-spacing: .12em; text-transform: uppercase; }
.kc-hero .kc-kicker { color: #58d96f; }
.kc-hero h1 { max-width: 980px; margin: 20px 0 24px; font-size: clamp(3.5rem, 7vw, 7.4rem); font-weight: 800; line-height: .91; letter-spacing: -.075em; text-wrap: balance; }
.kc-hero h1 em { color: #58d96f; font-style: normal; }
.kc-hero-copy > p { max-width: 760px; margin-bottom: 34px; color: rgba(255,255,255,.68); font-size: clamp(16px, 1.45vw, 20px); line-height: 1.62; }
.kc-store-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.kc-store-link { min-width: 190px; min-height: 64px; display: flex; align-items: center; gap: 12px; padding: 10px 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: #151815; color: #fff; transition: transform .2s, border-color .2s, background .2s; }
.kc-store-link:hover { transform: translateY(-2px); border-color: #58d96f; background: #1c221c; }
.kc-store-symbol { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; }
.kc-store-symbol img { width: 28px; height: 28px; display: block; object-fit: contain; }
.kc-store-link > span:last-child { display: grid; gap: 3px; }
.kc-store-link small { color: rgba(255,255,255,.55); font: 750 9px/1 var(--ff-mono); letter-spacing: .12em; text-transform: uppercase; }
.kc-store-link strong { font-size: 15px; }

.kc-facts { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.kc-facts > div { min-height: 112px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid rgba(255,255,255,.14); text-align: center; }
.kc-facts > div:last-child { border-right: 0; }
.kc-facts strong { font-size: 18px; }
.kc-facts span { margin-top: 7px; color: rgba(255,255,255,.5); font: 750 9px/1.2 var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; }

.kc-section { padding: clamp(78px, 9vw, 132px) 0; }
.kc-showcase { background: var(--kc-surface); }
.kc-showcase-grid { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1fr); align-items: center; gap: clamp(50px, 9vw, 150px); }
.kc-showcase-mark { min-height: 430px; display: grid; place-items: center; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.kc-showcase-mark img { width: min(260px, 70%); height: auto; display: block; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0,0,0,.16)); }
.kc-showcase-copy h2, .kc-section-head h2, .kc-connection h2 { margin: 18px 0 22px; font-size: clamp(2.5rem, 5vw, 5.4rem); font-weight: 800; line-height: .96; letter-spacing: -.065em; text-wrap: balance; }
.kc-showcase-copy > p, .kc-section-head > p, .kc-connection p { max-width: 660px; color: var(--kc-copy); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.65; }
.kc-point-list { margin-top: 30px; display: grid; gap: 12px; }
.kc-point-list span { display: flex; align-items: center; gap: 12px; font-weight: 750; }
.kc-point-list i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--kc-green); color: #061007; font-style: normal; }

.kc-features { background: var(--kc-surface-alt); }
.kc-section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .7fr); align-items: end; gap: 54px; margin-bottom: 48px; }
.kc-section-head h2 { max-width: 900px; margin-bottom: 0; }
.kc-section-head > p { margin-bottom: 6px; }
.kc-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--kc-line); border-left: 1px solid var(--kc-line); }
.kc-feature-grid article { min-height: 270px; padding: 32px; border-right: 1px solid var(--kc-line); border-bottom: 1px solid var(--kc-line); background: var(--kc-card); }
.kc-feature-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--kc-icon-bg); color: var(--kc-green-dark); font: 900 13px/1 var(--ff-mono); }
.kc-feature-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kc-feature-grid h3 { margin: 52px 0 12px; font-size: 21px; letter-spacing: -.025em; }
.kc-feature-grid p { margin-bottom: 0; color: var(--kc-copy); font-size: 14px; line-height: 1.65; }

/* =========================================================
   Experiencia conectada
   El texto manda a la izquierda; a la derecha las dos apps
   se muestran apiladas y unidas por un cable, que es lo que
   la sección quiere contar: una sesión, dos aplicaciones.
   ========================================================= */
.kc-connection {
  margin: 0 clamp(8px, 1vw, 16px) clamp(8px, 1vw, 16px);
  padding: clamp(64px, 7vw, 100px) 0;
  border-radius: 32px;
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(255,255,255,.34), transparent 52%),
    var(--kc-green);
}

.kc-connection-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .78fr);
  align-items: center;
  gap: clamp(44px, 6vw, 88px);
}

.kc-connection .kc-kicker,
.kc-connection h2,
.kc-connection p { color: #061007; }
.kc-connection h2 { max-width: 620px; margin-bottom: 18px; font-size: clamp(2.35rem, 3.9vw, 4.05rem); }
.kc-connection p { max-width: 560px; opacity: .74; }

.kc-connection-points {
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
  list-style: none;
}

.kc-connection-points li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #061007;
  font-size: 14.5px;
  font-weight: 700;
}

.kc-connection-points span {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(6,16,7,.16);
  font-size: 11px;
  font-weight: 900;
}

.kc-connection-cta {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding: 0 24px;
  border-radius: 999px;
  background: #061007;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}

.kc-connection-cta:hover { transform: translateY(-2px); opacity: .88; }
.kc-connection-cta span { font-size: 16px; }

.kc-connection-visual {
  min-width: 0;
  display: grid;
  gap: 0;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid rgba(6,16,7,.14);
  border-radius: 28px;
  background: rgba(255,255,255,.55);
  box-shadow: 0 26px 60px rgba(4,16,6,.13);
}

.kc-connection-app {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 16px;
  border: 1px solid rgba(6,16,7,.12);
  border-radius: 20px;
  background: #fff;
}

.kc-connection-app-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

.kc-connection-app-icon img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: contain;
}

.kc-connection-app-copy { min-width: 0; display: grid; gap: 3px; }
.kc-connection-app-copy strong { color: #061007; font-size: 16px; letter-spacing: -.02em; }
.kc-connection-app-copy small { color: #4d574f; font-size: 12px; line-height: 1.4; }

.kc-connection-app-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--kc-green, #24b83f);
  box-shadow: 0 0 0 5px rgba(36,184,63,.18);
}

/* El cable que une las dos apps. */
.kc-connection-wire {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.kc-connection-wire i {
  width: 2px;
  height: 26px;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, rgba(6,16,7,.32), transparent);
}

.kc-connection-wire small {
  padding: 5px 12px;
  border: 1px solid rgba(6,16,7,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  color: #1d2a20;
  font: 800 9.5px/1 var(--ff-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.keycard-route .support-section { padding-top: 64px; }
.keycard-route .support-grid.support-grid-social { gap: 10px; }
.keycard-route .support-grid-social .support-card {
  min-width: 0;
  min-height: 76px;
  flex-direction: row;
  justify-content: flex-start;
  padding: 11px 13px;
  border-radius: 16px;
  text-align: left;
}
.keycard-route .support-social-main { width: 100%; min-width: 0; gap: 11px; }
.keycard-route .support-social-main > div:last-child { min-width: 0; overflow: hidden; }
.keycard-route .support-social-ico { width: 36px; height: 36px; flex-basis: 36px; border-radius: 11px; }
.keycard-route .support-social-ico img { width: 20px; height: 20px; }
.keycard-route .support-grid-social .support-card h3 { margin-bottom: 3px; font-size: 14px; }
.keycard-route .support-grid-social .support-card small,
.keycard-route .support-grid-social .support-card small > span {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.keycard-route .site-footer { margin-top: 0; }

@media (max-width: 980px) {
  .kc-showcase-grid, .kc-connection-grid { grid-template-columns: 1fr; }
  .kc-hero-grid { min-height: 600px; }
  .kc-facts { grid-template-columns: repeat(2, 1fr); }
  .kc-facts > div { border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
  .kc-facts > div:nth-child(even) { border-right: 0; }
  .kc-facts > div:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .kc-showcase-mark { min-height: 330px; }
  .kc-section-head { grid-template-columns: 1fr; gap: 18px; }
  .kc-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .kc-hero { padding-top: 72px; }
  .kc-product-lockup { margin-bottom: 40px; }
  .kc-hero h1 { font-size: clamp(3.15rem, 15vw, 4.7rem); }
  .kc-store-actions { width: min(100%, 380px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .kc-store-link { width: 100%; min-width: 0; min-height: 58px; gap: 8px; padding: 9px 12px; }
  .kc-store-symbol { width: 25px; height: 25px; flex-basis: 25px; }
  .kc-store-symbol img { width: 24px; height: 24px; }
  .kc-store-link small { font-size: 7.5px; }
  .kc-store-link strong { font-size: 12px; }
  .kc-facts > div { min-height: 92px; padding: 18px; }
  .kc-section { padding: 76px 0; }
  .kc-showcase-mark { min-height: 260px; }
  .kc-showcase-copy h2, .kc-section-head h2, .kc-connection h2 { font-size: clamp(2.35rem, 11vw, 3.4rem); }
  .kc-feature-grid { grid-template-columns: 1fr; }
  .kc-feature-grid article { min-height: 230px; padding: 26px; }
  .kc-feature-grid h3 { margin-top: 40px; }
  .kc-connection { border-radius: 26px; padding: 56px 0; }
  .kc-connection-visual { padding: 14px; border-radius: 22px; }
  .kc-connection-app { gap: 12px; padding: 13px; border-radius: 16px; }
  .kc-connection-app-icon img { width: 40px; height: 40px; border-radius: 12px; }
  .kc-connection-app-copy strong { font-size: 14.5px; }
  .kc-connection-app-copy small { font-size: 11px; }
  .kc-connection-wire { gap: 9px; padding: 11px 8px; }
  .kc-connection-wire small { padding: 4px 9px; font-size: 8.5px; letter-spacing: .07em; }
  .kc-connection-points li { font-size: 13px; }
  .kc-connection-cta { width: 100%; justify-content: space-between; }
  .keycard-route .support-grid.support-grid-social { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keycard-route .support-grid-social .support-card { min-height: 70px; padding: 9px 10px; }
  .keycard-route .support-social-main { gap: 9px; }
  .keycard-route .support-social-ico { width: 34px; height: 34px; flex-basis: 34px; }
  .keycard-route .support-grid-social .support-card h3 { font-size: 12px; }
  .keycard-route .support-grid-social .support-card small,
  .keycard-route .support-grid-social .support-card small > span { font-size: 8px; }
}

@media (max-width: 360px) {
  .keycard-route .support-grid.support-grid-social { grid-template-columns: 1fr; }
  .keycard-route .support-grid-social .support-card { min-height: 66px; }
}
