/* KimeQ · web de presentación */
:root {
  --bg: #0a0e1a; --bg2: #0d1222; --card: #111729; --ink: #e6e9ff; --ink2: #c7cdf0; --ink3: #b9c0e3; --dim: #8b93b8;
  --acc: #22d3ee; --coral: #f59e7b;
  --h: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --b: Inter, 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --cycle: 24s;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--b); -webkit-font-smoothing: antialiased; }
a { color: var(--acc); }
a:hover { color: #67e8f9; }
h1, h2, h3 { font-family: var(--h); margin: 0; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.mono { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.acc { color: var(--acc); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--acc); color: #06121a; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* ---------- portada ---------- */
.hero { position: relative; min-height: max(720px, 100svh); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.media { position: absolute; inset: 0; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; animation: kqfade var(--cycle) infinite; animation-delay: var(--d); }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kqzoom var(--cycle) infinite; animation-delay: var(--d); }
@keyframes kqfade { 0% { opacity: 0 } 3% { opacity: 1 } 25% { opacity: 1 } 28% { opacity: 0 } 100% { opacity: 0 } }
@keyframes kqzoom { 0% { transform: scale(1.08) } 28% { transform: scale(1) } 100% { transform: scale(1) } }
.hud-wrap { position: absolute; left: max(32px, calc(50% - 608px)); bottom: 96px; }
.hud-wrap > div { position: relative !important; }
.hud-wrap.right { left: auto; right: max(32px, calc(50% - 608px)); } /* web 0.61.2: foto con la ciclista a la izquierda */
.shade { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 50% at 50% 50%, rgba(10,14,26,.72), rgba(10,14,26,.15) 75%),
              linear-gradient(to bottom, rgba(10,14,26,.6), rgba(10,14,26,0) 22%, rgba(10,14,26,0) 70%, var(--bg)); }

.top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; max-width: 1280px; margin: 0 auto; padding: 24px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--acc); }
.tools { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px 3px 3px 10px; border-radius: 999px;
  border: 1px solid rgba(230,233,255,.3); background: rgba(10,14,26,.45); }
.lang svg { margin-right: 4px; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 38px; padding: 0 10px;
  border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-decoration: none; color: var(--ink); }
.lang a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.btn-ghost { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(230,233,255,.4); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.menu { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(230,233,255,.35);
  background: rgba(10,14,26,.35); align-items: center; justify-content: center; cursor: pointer; }

.copy { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; padding: 120px 24px 170px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 26px; }
.eyebrow { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: #a5f3fc; font-weight: 600; }
.eyebrow.dim { color: var(--dim); }
.copy h1 { font-weight: 800; font-size: clamp(44px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -0.035em; }
.lead { font-size: 20px; line-height: 1.55; color: #d3d8f5; max-width: 640px; }
.lead .m { display: none; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn-app, .btn-kofi, .btn-coral { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; font-family: var(--h); }
.btn-app { background: var(--acc); color: #06121a; }
.btn-app:hover { background: #67e8f9; color: #06121a; }
.btn-kofi { background: rgba(10,14,26,.55); border: 1.5px solid var(--coral); color: #ffe4d6; font-weight: 600; padding: 0 24px; }
.btn-kofi:hover { color: #fff; background: rgba(245,158,123,.15); }
.btn-coral { background: var(--coral); color: #2a1208; }
.btn-coral:hover { background: #f8b597; color: #2a1208; }
.micro { font-size: 14px; color: var(--ink3); }

.index { position: absolute; z-index: 3; left: 0; right: 0; bottom: 36px; max-width: 1280px; margin: 0 auto; padding: 0 32px; display: flex; gap: 20px; }
.ix { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ix .bar { height: 2px; background: rgba(230,233,255,.25); overflow: hidden; }
.ix .bar i { display: block; height: 2px; background: var(--acc); transform-origin: left; transform: scaleX(0);
  animation: kqprog var(--cycle) infinite linear; animation-delay: var(--d); }
.ix span { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
@keyframes kqprog { 0% { transform: scaleX(0) } 25% { transform: scaleX(1) } 25.1% { transform: scaleX(0) } 100% { transform: scaleX(0) } }

/* ---------- secciones ---------- */
.sec { padding: 120px 32px 100px; }
.sec-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; max-width: 640px; }
.sec-head p { font-size: 18px; line-height: 1.6; color: var(--ink3); max-width: 460px; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 36px; }
.pillar { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid rgba(230,233,255,.14); }
.ph { display: flex; align-items: center; justify-content: space-between; }
.pillar h3 { font-size: 24px; letter-spacing: -0.01em; }
.pillar p { font-size: 16px; line-height: 1.6; color: var(--ink3); }

.band { background: var(--bg2); padding: 110px 0; }
.band h2 { font-size: clamp(32px, 3.6vw, 50px); margin-bottom: 44px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: 24px; background: var(--card); border: 1px solid rgba(230,233,255,.1); }
.sh { display: flex; align-items: center; justify-content: space-between; }
.sic { width: 56px; height: 56px; border-radius: 16px; background: rgba(34,211,238,.12); display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 26px; }
.step p { font-size: 16px; line-height: 1.6; color: var(--ink3); }
.chips { list-style: none; margin: 44px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 16px; border-radius: 999px; background: #121a30; font-size: 15px; color: #dfe4ff; }

.name { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 48px; align-items: center; padding-top: 130px; padding-bottom: 130px; }
.kanji { font-family: 'Noto Serif JP', serif; font-size: clamp(110px, 15vw, 230px); line-height: 1; display: flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.kanji span { font-family: var(--h); font-weight: 800; color: var(--acc); font-size: .62em; }
.name-copy { display: flex; flex-direction: column; gap: 22px; }
.name-copy h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; }
.name-copy p { font-size: 18px; line-height: 1.7; color: var(--ink2); }

.sec-support { padding: 0 32px 120px; }
.support { max-width: 1080px; margin: 0 auto; border-radius: 32px; padding: 72px 40px; text-align: center;
  background: radial-gradient(ellipse 70% 90% at 50% 0%, #3b2a3f, #141a2e 70%); border: 1px solid rgba(245,158,123,.35);
  display: flex; flex-direction: column; align-items: center; gap: 22px; }
.support h2 { font-size: clamp(30px, 3.4vw, 46px); max-width: 720px; }
.support p { font-size: 18px; line-height: 1.6; color: #d9cfe0; max-width: 600px; }
.support .note { font-size: 14px; color: #c9bccf; }

.foot { border-top: 1px solid rgba(230,233,255,.1); padding: 36px 0; }
.foot-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.foot nav a { color: var(--ink3); }
.copyr { font-size: 14px; color: var(--dim); }
.disc { margin-top: 20px; font-size: 13px; line-height: 1.6; color: var(--dim); }

/* ---------- tableta: menú plegado ---------- */
@media (max-width: 1080px) {
  .menu { display: inline-flex; }
  .nav { display: none; position: absolute; top: 84px; right: 32px; flex-direction: column; gap: 0; min-width: 220px;
    background: rgba(13,18,34,.97); border: 1px solid rgba(230,233,255,.15); border-radius: 16px; padding: 8px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 10px; }
  .nav a:hover { background: rgba(230,233,255,.06); }
}

/* ---------- móvil: foto arriba, texto debajo ---------- */
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .hero { min-height: 0; display: block; }
  .media { position: relative; aspect-ratio: 4 / 5; }
  .shade { background: linear-gradient(to bottom, rgba(10,14,26,.65), rgba(10,14,26,0) 26%, rgba(10,14,26,0) 70%, var(--bg)); }
  .top .btn-ghost, .lang svg { display: none; }
  /* web 0.62.5: datos superpuestos también en el móvil, más pequeños, en la parte baja de la foto */
  .hud-wrap { left: 16px; bottom: 34px; transform: scale(.78); transform-origin: left bottom; }
  .hud-wrap.right { left: auto; right: 16px; transform-origin: right bottom; }
  .top { padding: 16px 20px; gap: 10px; }
  .top .brand svg { height: 30px !important; width: auto; }
  .lang { padding: 3px; }
  .lang a { min-height: 36px; }
  .nav { top: 72px; right: 20px; left: 20px; }
  .index { bottom: 14px; padding: 0 20px; gap: 6px; }
  .ix span { display: none; }
  .ix .bar { height: 3px; border-radius: 2px; }
  .ix .bar i { height: 3px; }
  .copy { padding: 16px 20px 40px; text-align: left; align-items: stretch; gap: 16px; }
  .eyebrow { display: none; }
  .copy h1 { font-size: 34px; line-height: 1.05; }
  .lead { font-size: 16px; }
  .lead .d { display: none; }
  .lead .m { display: inline; }
  .ctas { flex-direction: column; align-items: stretch; }
  .micro { font-size: 13px; }
  .sec { padding: 80px 20px 64px; }
  .band { padding: 72px 0; }
  .step { padding: 24px; }
  .name { padding-top: 72px; padding-bottom: 72px; gap: 24px; }
  .sec-support { padding: 0 20px 72px; }
  .support { padding: 48px 22px; border-radius: 24px; }
  .support .ctas { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .slide img, .ix .bar i { animation: none; }
  .slide.first { opacity: 1; }
}

/* ---------- páginas legales ---------- */
.top-static { position: static; }
.legal { max-width: 780px; margin: 0 auto; padding: 24px 32px 96px; }
.legal .back { margin: 0 0 28px; font-size: 15px; }
.legal .back a { text-decoration: none; }
.legal h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; }
.legal .date { margin-top: 10px; font-size: 14px; color: var(--dim); }
.legal .summary { margin: 28px 0 8px; padding: 18px 20px; border-radius: 14px; background: var(--card); border: 1px solid rgba(34,211,238,.25); font-size: 17px; line-height: 1.6; color: var(--ink); }
.legal h2 { margin: 40px 0 12px; font-size: 21px; letter-spacing: -0.01em; color: #bcd0ff; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: #d1d5db; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; margin: 0; display: grid; gap: 8px; }
.legal code { font-family: var(--mono); font-size: .9em; color: #c6cbe8; }
@media (max-width: 760px) {
  .top-static { padding: 16px 20px; }
  .top-static .btn-ghost { display: none; }
  .legal { padding: 12px 20px 64px; }
}

/* ---------- manual ---------- */
.manual-cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.btn-manual { gap: 10px; min-height: 48px; padding: 0 20px; }
.manual-cta span { font-size: 15px; color: var(--ink3); }

/* ---------- carrusel de capturas de la app (15/11/2026) ---------- */
.shots-sec { padding-top: 96px; }
.shots-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.shots-head h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; }
.frame { max-width: 1120px; margin: 0 auto; border-radius: 18px; overflow: hidden; background: var(--card);
  border: 1px solid rgba(230,233,255,.14); box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(34,211,238,.06); }
.frame-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; background: #0f1527; border-bottom: 1px solid rgba(230,233,255,.08); }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(230,233,255,.18); }
.frame-bar i:first-child { background: #f87171; } .frame-bar i:nth-child(2) { background: #fbbf24; } .frame-bar i:nth-child(3) { background: #34d399; }
.frame-bar span { margin-left: 14px; padding: 4px 14px; border-radius: 8px; background: rgba(230,233,255,.06); font: 500 12px var(--mono); color: var(--dim); }
.track { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.shot a { display: block; }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; }
.shots-ctrl { max-width: 1120px; margin: 22px auto 0; display: flex; align-items: center; gap: 18px; }
.arrow { flex: none; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: transparent; color: var(--ink); border: 1px solid rgba(230,233,255,.22); }
.arrow:hover { border-color: var(--acc); color: var(--acc); }
.caps { flex: 1; min-width: 0; display: grid; text-align: center; }
.cap { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .35s; }
.cap.on { opacity: 1; visibility: visible; }
.cap h3 { font-size: 22px; letter-spacing: -0.01em; }
.cap p { margin-top: 6px; font-size: 16px; line-height: 1.55; color: var(--ink3); }
.dots { display: flex; justify-content: center; gap: 4px; margin-top: 16px; }
.dot { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: rgba(230,233,255,.28); transition: all .25s; }
.dot.on::before { width: 22px; border-radius: 4px; background: var(--acc); }
.shots-note { margin-top: 10px; text-align: center; font-size: 13px; color: var(--dim); }
@media (max-width: 760px) {
  .shots-sec { padding-top: 56px; }
  .shots-head { margin-bottom: 20px; }
  .frame { border-radius: 12px; }
  .frame-bar { height: 28px; padding: 0 10px; gap: 6px; }
  .frame-bar i { width: 8px; height: 8px; }
  .frame-bar span { display: none; }
  .shots-ctrl { gap: 10px; margin-top: 16px; }
  .arrow { width: 40px; height: 40px; }
  .cap h3 { font-size: 18px; }
  .cap p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .track { scroll-behavior: auto; } .cap { transition: none; } }

/* web 0.64.2: la foto de ciclismo del móvil es de gravel; la del ordenador, de BTT (mismo corte que <picture>: 760 px) */
.hud-m { display: none; }
@media (max-width: 760px) { .hud-d { display: none; } .hud-m { display: inline; } }
