/* KeMenjo · estilos propios de la página. El sistema base está en /assets/css/site.css */
:root {
  --accent: #34b05f;
  --accent-soft: #e3f6ea;
  --accent-ink: #1f7a42;
  --km-warm: #f08a24;
  --km-oro: #f2c230;
  --km-mint: #def5e6;
  --km-peach: #fff0dc;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --accent: #5fd08a; --accent-soft: #12281b; --accent-ink: #9be6b8; --km-mint: #112218; --km-peach: #2a2012; }
}
:root[data-theme="dark"] { --accent: #5fd08a; --accent-soft: #12281b; --accent-ink: #9be6b8; --km-mint: #112218; --km-peach: #2a2012; }

.muted { color: var(--ink-3); }

/* ---------- Hero ---------- */
.km-hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.km-hero .wrap { position: relative; display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
@media (min-width: 980px) { .km-hero .wrap { grid-template-columns: 1fr 1fr; } }
.km-hero h1 { font-size: clamp(52px, 8vw, 104px); margin: 22px 0 22px; }
.km-hero .hl { color: var(--accent); position: relative; }
.km-hero .hl::after {
  content: ""; position: absolute; left: 2%; right: 4%; bottom: .06em; height: .16em; z-index: -1;
  background: var(--km-oro); border-radius: 999px; transform: rotate(-1.5deg); opacity: .85;
}
.km-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.app-id { display: inline-flex; align-items: center; gap: 14px; }
.app-id img { width: 64px; height: 64px; border-radius: 16px; box-shadow: var(--shadow); }
.app-id strong { display: block; font: 800 24px/1 var(--font-display); }
.app-id span { color: var(--ink-3); font-weight: 600; font-size: 15px; }
.mini-proof { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--ink-2); font-size: 15px; }
.mini-proof b { font: 800 26px var(--font-display); color: var(--ink); margin-right: 6px; }
.store-badge.private { cursor: default; }

.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.blob.b1 { width: 520px; height: 520px; right: -120px; top: -80px; background: var(--km-blau); }
.blob.b2 { width: 380px; height: 380px; left: -140px; bottom: -120px; background: var(--km-rosa); }

.km-hero-art { position: relative; height: clamp(520px, 60vw, 660px); max-width: 600px; width: 100%; margin: 0 auto; }
.km-hero-art .phone { position: absolute; }
.km-hero-art .p-back { left: 52%; top: 2%; transform: rotate(7deg); }
.km-hero-art .p-front { left: 12%; top: 8%; transform: rotate(-4deg); }
.km-hero-art .p-back.in { transform: rotate(7deg); }
.km-hero-art .p-front.in { transform: rotate(-4deg); }
@media (max-width: 560px) {
  .km-hero-art { height: 520px; }
  .km-hero-art .p-front { left: 4%; }
  .km-hero-art .p-back { left: 40%; }
}
.flt { position: absolute; left: var(--x); top: var(--y); font-size: calc(var(--s) * .8); line-height: 1; z-index: 3;
  filter: drop-shadow(0 12px 16px rgba(0,0,0,.18)); animation: float 6.5s ease-in-out infinite; transform: rotate(var(--r)); }
.toast {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
  background: var(--surface); color: var(--ink); border-radius: 16px; padding: 10px 14px 10px 10px;
  font-size: 14px; box-shadow: var(--shadow-lg); max-width: 270px; line-height: 1.3;
  animation: float 8s ease-in-out infinite;
}
.toast .av { width: 30px; height: 30px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.toast .ok { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.toast.t1 { left: -2%; top: 40%; }
.toast.t2 { right: -2%; top: 76%; animation-delay: -3s; }
@media (max-width: 560px) { .toast.t1 { left: 0; top: 46%; } .toast.t2 { right: 0; } .flt { font-size: calc(var(--s) * .55); } }

/* ---------- Cinta ---------- */
.ribbon { padding: 18px 0; background: linear-gradient(90deg, var(--accent), #1f9d6b 50%, var(--km-warm)); overflow: hidden; display: grid; gap: 10px; transform: rotate(-1.5deg); margin: 0 -20px; box-shadow: var(--shadow); }
.ribbon .track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.ribbon .track.rev { animation-direction: reverse; animation-duration: 70s; }
.ribbon .chip-ill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: rgba(255,255,255,.95); color: #141a2e; font-weight: 700; font-size: 15px; white-space: nowrap; }
.ribbon .chip-ill i { font-style: normal; font-size: 22px; line-height: 1; }

/* ---------- Bento ---------- */
.bento { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(6, 1fr); } }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow); padding: clamp(24px, 3vw, 34px); display: grid; gap: 22px; align-content: start;
}
.tile h3 { font-size: clamp(24px, 2.4vw, 32px); }
.tile p { color: var(--ink-2); margin-top: 10px; }
.tile .tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); padding: 5px 11px; border-radius: 999px; margin-bottom: 14px; }
.tile .shot { display: flex; justify-content: center; }
.tile .shot.crop { margin: 0 calc(-1 * clamp(24px, 3vw, 34px)) calc(-1 * clamp(24px, 3vw, 34px)); height: 300px; overflow: hidden; align-items: flex-start; }
.tile .shot.crop img { width: min(320px, 82%); border-radius: 26px 26px 0 0; box-shadow: var(--shadow-lg); border: 6px solid #111; border-bottom: 0; }

@media (min-width: 760px) {
  .t-next { grid-column: span 4; grid-template-columns: 1fr auto; align-items: center; background: linear-gradient(135deg, var(--km-blau), var(--surface) 70%); }
  .t-next .shot { margin-bottom: -120px; }
  .t-turnos { grid-column: span 2; }
  .t-cal, .t-tiempo, .t-stats { grid-column: span 2; }
  .t-sync, .t-match { grid-column: span 3; }
  .t-season { grid-column: span 4; grid-template-columns: 1fr auto; align-items: center; }
  .t-auto { grid-column: span 2; }
}
.t-next .shot .phone { transform: rotate(4deg); }

.t-tiempo { background: linear-gradient(160deg, #e4f1ff, var(--surface) 70%); }
.wx { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wx div { background: var(--surface); border-radius: 16px; padding: 12px 6px; box-shadow: var(--shadow); display: grid; justify-items: center; gap: 4px; }
.wx small { color: var(--ink-3); font-weight: 700; font-size: 12px; }
.wx i { font-style: normal; font-size: 26px; }
.wx b { font: 800 18px var(--font-display); }
.wx em { font-style: normal; font-size: 12px; color: var(--accent-ink); font-weight: 700; }

.t-sync { background: linear-gradient(160deg, var(--km-rosa), var(--surface) 70%); }
.notes { display: grid; gap: 10px; }
.note { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.note:nth-child(2) { margin-left: 18px; } .note:nth-child(3) { margin-left: 36px; opacity: .85; }
.note b { display: block; color: var(--ink); font-size: 15px; }
.note .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; flex: none; font-size: 18px; }

.t-match { background: linear-gradient(160deg, #fff3d6, var(--surface) 70%); }
.score { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 18px; background: #10172e; color: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); max-width: 320px; margin: 0 auto; width: 100%; }
.score .team { width: 46px; height: 46px; border-radius: 50%; }
.score .home { background: linear-gradient(90deg, #2b53c9 0 50%, #a50044 50%); }
.score .away { background: linear-gradient(135deg, #f5f5f5, #9aa3b5); }
.score div { display: grid; justify-items: center; }
.score b { font: 800 34px var(--font-display); letter-spacing: .02em; }
.score small { color: #7fe093; font-weight: 700; }

.duo { display: flex; gap: 14px; justify-content: center; }
.duo .phone:first-child { transform: rotate(-4deg) translateY(10px); }
.duo .phone:last-child { transform: rotate(4deg); }
@media (max-width: 520px) { .duo .phone { --w: 150px !important; } }

.t-auto { background: linear-gradient(160deg, #e9e4ff, var(--surface) 70%); }
.refresh { display: grid; place-items: center; height: 110px; }
.refresh i { font-style: normal; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font: 800 44px/1 var(--font-display); box-shadow: var(--shadow-lg); animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .t-tiempo { background: linear-gradient(160deg, #142235, var(--surface) 70%); }
  :root:not([data-theme="light"]) .t-match { background: linear-gradient(160deg, #2a2414, var(--surface) 70%); }
  :root:not([data-theme="light"]) .t-auto { background: linear-gradient(160deg, #1d1a36, var(--surface) 70%); }
}
:root[data-theme="dark"] .t-tiempo { background: linear-gradient(160deg, #142235, var(--surface) 70%); }
:root[data-theme="dark"] .t-match { background: linear-gradient(160deg, #2a2414, var(--surface) 70%); }
:root[data-theme="dark"] .t-auto { background: linear-gradient(160deg, #1d1a36, var(--surface) 70%); }

/* ---------- Pasos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.steps li { position: relative; background: var(--surface); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: grid; gap: 10px; justify-items: start; }
.steps .emo { font-size: 54px; line-height: 1; margin-bottom: 6px; }
.steps h3 { font-size: 26px; }
.steps p { color: var(--ink-2); }
.steps .n { position: absolute; top: 22px; right: 26px; font: 800 64px/1 var(--font-display); color: var(--accent-soft); }

/* ---------- Privacidad ---------- */
.priv { background: #10261a; color: #eef1fb; border-radius: clamp(28px, 4vw, 48px); padding: clamp(32px, 6vw, 80px); display: grid; gap: 40px; position: relative; overflow: hidden; }
@media (min-width: 900px) { .priv { grid-template-columns: 1fr 1fr; align-items: center; } }
.priv::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; right: -160px; top: -200px; background: radial-gradient(circle, rgba(52,176,95,.45), transparent 65%); }
.priv h2 { font-size: clamp(36px, 5vw, 60px); margin: 18px 0; }
.priv p { color: #b9d0c1; font-size: 19px; margin-bottom: 28px; max-width: 30em; }
.priv .btn { background: var(--km-oro); color: #1a1405; }
.eyebrow.on-dark { background: rgba(242,194,48,.16); color: #f6d36a; }
.priv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.priv-list li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 18px 20px; display: grid; gap: 4px; }
.priv-list b { font-size: 17px; }
.priv-list span { color: #b9d0c1; font-size: 15px; }

/* ---------- Preguntas ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--surface); border-radius: 20px; padding: 20px 24px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 800 24px/1 var(--font-display); color: var(--accent); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin-top: 10px; }

/* ---------- Llamada final ---------- */
.cta { position: relative; overflow: hidden; text-align: center; display: grid; justify-items: center; gap: 16px;
  background: radial-gradient(120% 140% at 50% 0%, #6fdc98, #34b05f 45%, #1f8a5a 80%, #146b45); color: #fff;
  border-radius: clamp(28px, 4vw, 48px); padding: clamp(48px, 8vw, 100px) var(--gutter); }
.cta h2 { font-size: clamp(34px, 5vw, 60px); max-width: 13em; }
.cta p { font-size: 19px; opacity: .9; margin-bottom: 10px; }
.cta-icon { width: 120px; height: 120px; border-radius: 28px; box-shadow: 0 24px 50px -16px rgba(0,0,0,.5); animation: float 6s ease-in-out infinite; }
.btn.light { background: #fff; color: #10172e; }
.cta-flt { position: absolute; font-size: 64px; line-height: 1; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 12px 16px rgba(0,0,0,.25)); }
.cta-flt.f1 { left: 6%; top: 14%; --r: -14deg; }
.cta-flt.f2 { right: 7%; top: 18%; --r: 10deg; animation-delay: -2s; }
.cta-flt.f3 { left: 11%; bottom: 10%; --r: 6deg; animation-delay: -4s; }
.cta-flt.f4 { right: 12%; bottom: 12%; --r: -8deg; animation-delay: -1s; }
@media (max-width: 640px) { .cta-flt { font-size: 38px; } .cta-flt.f1, .cta-flt.f3 { left: 2%; } .cta-flt.f2, .cta-flt.f4 { right: 2%; } }

@media (prefers-reduced-motion: reduce) { .refresh i, .flt, .toast, .cta-flt, .cta-icon { animation: none; } }


/* ---------- KeMenjo: maquetas dibujadas con CSS (no son capturas) ---------- */
.km-app { background: var(--surface); border-radius: 34px; padding: 22px; box-shadow: var(--shadow-lg); width: var(--w, 290px); display: grid; gap: 16px; }
.km-app h4 { font: 800 15px var(--font-display); color: var(--ink-3); margin: 0; letter-spacing: .02em; }
.km-ringrow { display: flex; align-items: center; gap: 18px; }
.km-ring { --p: 62; width: 112px; height: 112px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--accent-soft) 0); }
.km-ring::before { content: ""; grid-area: 1/1; width: 82px; height: 82px; border-radius: 50%; background: var(--surface); }
.km-ring span { grid-area: 1/1; z-index: 1; display: grid; justify-items: center; font: 800 26px/1 var(--font-display); }
.km-ring small { font: 700 11px var(--font-body, inherit); color: var(--ink-3); margin-top: 2px; }
.km-left small { display: block; color: var(--ink-3); font-weight: 700; font-size: 13px; }
.km-left b { font: 800 30px/1.1 var(--font-display); }
.km-macros { display: grid; gap: 9px; }
.km-macro { display: grid; grid-template-columns: 62px 1fr 40px; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.km-macro i { display: block; height: 8px; border-radius: 999px; background: var(--accent-soft); position: relative; overflow: hidden; }
.km-macro i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 999px; background: var(--c, var(--accent)); }
.km-macro em { font-style: normal; font-weight: 700; color: var(--ink); text-align: right; }
.km-meals { display: grid; gap: 8px; }
.km-meal { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 9px 12px; border-radius: 14px; background: var(--accent-soft); }
.km-meal b { margin-left: auto; font-weight: 800; }

.km-hero-art { position: relative; height: clamp(500px, 58vw, 640px); max-width: 560px; width: 100%; margin: 0 auto; }
.km-hero-art .km-app { position: absolute; }
.km-hero-art .a1 { left: 8%; top: 6%; transform: rotate(-4deg); }
.km-hero-art .a2 { left: 50%; top: 42%; transform: rotate(5deg); --w: 250px; z-index: 2; }
@media (max-width: 560px) { .km-hero-art { height: 560px; } .km-hero-art .a1 { left: 0; --w: 270px; } .km-hero-art .a2 { left: 24%; --w: 230px; } }
.km-spark { width: 100%; height: 90px; display: block; }

.km-methods { display: flex; flex-wrap: wrap; gap: 10px; }
.km-methods span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--accent-soft); font-weight: 700; font-size: 15px; color: var(--accent-ink); }
.km-methods i { font-style: normal; font-size: 20px; }
.km-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.km-chips span { padding: 7px 13px; border-radius: 999px; font-weight: 700; font-size: 13px; background: var(--accent-soft); color: var(--accent-ink); }
.km-chips span.on { background: var(--accent); color: #fff; }
.km-bars { display: flex; align-items: flex-end; gap: 7px; height: 110px; padding-top: 6px; }
.km-bars i { flex: 1; border-radius: 8px 8px 3px 3px; background: var(--accent); height: var(--h); opacity: .9; }
.km-bars i.prev { background: var(--accent-soft); opacity: 1; }
.km-sug { background: var(--surface); border-radius: 20px; padding: 16px 18px; box-shadow: var(--shadow); display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.km-sug small { color: var(--ink-3); font-weight: 700; }
.km-sug b { color: var(--ink); }
.km-dl { height: 14px; border-radius: 999px; background: var(--accent-soft); overflow: hidden; }
.km-dl i { display: block; height: 100%; width: 68%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), #6fdc98); }
.km-dlinfo { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); font-weight: 700; }
.km-eye { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); font-size: 15px; color: var(--ink-2); }
.km-eye span { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.km-eye b { display: block; color: var(--ink); }
@media (min-width: 760px) {
  .k-wide { grid-column: span 4; }
  .k-third { grid-column: span 2; }
  .k-half { grid-column: span 3; }
}
.k-add { background: linear-gradient(135deg, var(--km-mint), var(--surface) 70%); }
.k-peach { background: linear-gradient(160deg, var(--km-peach), var(--surface) 70%); }
.k-mint { background: linear-gradient(160deg, var(--km-mint), var(--surface) 70%); }


/* Hero con capturas reales */
.km-hero-art .phone { position: absolute; }
.km-hero-art .p-back { left: 52%; top: 2%; transform: rotate(7deg); }
.km-hero-art .p-front { left: 12%; top: 8%; transform: rotate(-4deg); }
.km-hero-art .p-back.in { transform: rotate(7deg); }
.km-hero-art .p-front.in { transform: rotate(-4deg); }
@media (max-width: 560px) { .km-hero-art .p-front { left: 4%; } .km-hero-art .p-back { left: 40%; } }
.km-hero-art .toast.t1 { left: -2%; top: 46%; }

/* Salud */
.km-salud { display: grid; gap: 24px; align-items: center; }
@media (min-width: 980px) { .km-salud { grid-template-columns: 1.15fr .85fr; } }
.km-salud-list { display: grid; gap: 20px; }
.km-salud-art { align-items: flex-start; }
