/* Páginas de contenido de cootime.es (generadas con scripts/web/build.py). Sin dependencias externas. */
:root { --bg: #050510; --card: #0c0c22; --card2: #11112b; --fg: #e8eaf2; --soft: #a3a8bd; --line: rgba(255,255,255,.1); --green: #10b981; --green2: #34d399; --violet: #818cf8; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--violet); }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* Cabecera */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(5,5,16,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 14px; min-height: 60px; }
.site-head .logo { color: #fff; display: inline-flex; flex: none; }
.site-head nav { display: flex; gap: 4px; overflow-x: auto; flex: 1; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.site-head nav::-webkit-scrollbar { display: none; }
.site-head nav a { color: var(--soft); text-decoration: none; font-size: 15px; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.site-head nav a:hover, .site-head nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
.btn { display: inline-block; border: 0; border-radius: 12px; padding: 12px 20px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center; }
.btn-main { color: #04130d; background: linear-gradient(135deg, var(--green), var(--green2)); }
.btn-main:hover { color: #04130d; filter: brightness(1.08); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.22); background: transparent; }
.btn-ghost:hover { border-color: #fff; }
.site-head .btn { padding: 9px 14px; font-size: 14px; flex: none; }
@media (max-width: 640px) {
  .site-head .wrap { flex-wrap: wrap; padding-top: 8px; padding-bottom: 6px; gap: 6px 12px; }
  .site-head .logo { margin-right: auto; }
  .site-head nav { order: 3; flex-basis: 100%; margin: 0 -8px; }
}

/* Migas y cabecera de página */
.crumbs { font-size: 14px; color: var(--soft); padding: 22px 0 0; }
.crumbs a { color: var(--soft); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.hero { padding: 18px 0 30px; }
.kicker { color: var(--green2); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; }
h1 { font-size: clamp(30px, 5.2vw, 46px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 16px; color: #fff; }
.lead { font-size: clamp(18px, 2.4vw, 21px); color: #cfd3e3; margin: 0 0 22px; max-width: 760px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.note { color: var(--soft); font-size: 14px; margin: 12px 0 0; }

/* Contenido */
main section { padding: 26px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(23px, 3.4vw, 30px); line-height: 1.2; letter-spacing: -.01em; color: #fff; margin: 0 0 14px; }
h3 { font-size: 19px; color: #fff; margin: 0 0 6px; line-height: 1.3; }
p { margin: 0 0 14px; }
main ul, main ol { margin: 0 0 14px; padding-left: 22px; }
main li { margin-bottom: 7px; }
strong { color: #fff; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin: 16px 0 6px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.card p { margin: 0; color: #c5c9d9; font-size: 16px; }
.card .tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--green2); border: 1px solid rgba(52,211,153,.35); border-radius: 999px; padding: 1px 9px; margin-bottom: 8px; }
.box { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 12px; padding: 14px 16px; margin: 16px 0; }
.box p:last-child { margin-bottom: 0; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 14px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: rgba(16,185,129,.16); color: var(--green2); font-weight: 700; text-align: center; line-height: 30px; font-size: 15px; }

/* Tablas: se deslizan de lado en pantallas estrechas */
.tablewrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 16px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--card2); color: #fff; font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }

/* Planes */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 18px 0; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; }
.plan.best { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; }
.plan .name { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin: 0 0 6px; }
.plan.best .name { color: var(--green2); }
.plan .price { font-size: 38px; font-weight: 800; color: #fff; line-height: 1.1; margin: 0; }
.plan .price small { font-size: 16px; font-weight: 600; color: var(--soft); }
.plan .inc { color: var(--soft); font-size: 15px; margin: 4px 0 0; }
.plan .extra { color: var(--green2); font-weight: 600; font-size: 15px; margin: 2px 0 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.plan li { padding-left: 24px; position: relative; font-size: 16px; color: #d5d8e6; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green2); font-weight: 700; }

/* Preguntas */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 14px 16px; font-weight: 600; color: #fff; list-style: none; position: relative; padding-right: 42px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 16px; top: 11px; font-size: 22px; color: var(--green2); font-weight: 400; }
details[open] summary::after { content: "–"; }
details .a { padding: 0 16px 14px; color: #cfd3e3; }
details .a p:last-child { margin-bottom: 0; }

/* Llamada final, páginas relacionadas y pie */
.cta-band { background: linear-gradient(135deg, rgba(16,185,129,.14), rgba(99,102,241,.14)); border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px; margin: 30px 0; text-align: center; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: #cfd3e3; max-width: 620px; margin: 0 auto 16px; }
.cta-band .cta-row { justify-content: center; }
.related { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 12px 0 0; }
.related a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: #fff; font-weight: 600; }
.related a span { display: block; color: var(--soft); font-weight: 400; font-size: 14px; }
.related a:hover { border-color: var(--green); }
.site-foot { border-top: 1px solid var(--line); margin-top: 30px; padding: 26px 0 34px; color: var(--soft); font-size: 14px; }
.site-foot .cols { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 18px; }
.site-foot h4 { color: #fff; font-size: 14px; margin: 0 0 8px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 5px; }
.site-foot a { color: var(--soft); text-decoration: none; }
.site-foot a:hover { color: #fff; }
.updated { color: var(--soft); font-size: 14px; }
.center { text-align: center; }

/* Capturas reales de la aplicación */
.shot { margin: 4px 0 36px; }
.shot img { display: block; width: 100%; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.55); background: #f8fafc; }
.shot figcaption { color: var(--soft); font-size: 14px; line-height: 1.5; margin-top: 12px; text-align: center; }
.shot-phone img { max-width: 290px; margin: 0 auto; border-radius: 28px; border: 7px solid #1b1b3a; }
.shot-tablet img { max-width: 720px; margin: 0 auto; border-radius: 20px; border: 9px solid #1b1b3a; }
