/* ==========================================================
   ARKAN — páginas de servicio (livianas, sin JS)
   ========================================================== */
:root {
  --bg: #07060b;
  --bg-2: #0d0b14;
  --surface: #121019;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f1ff;
  --muted: #a9a3bf;
  --pink: #ff2e97;
  --lime: #c6ff1a;
  --cyan: #22d3ff;
  --orange: #ff7a1a;
  --grad: linear-gradient(90deg, var(--pink), var(--orange) 35%, var(--lime) 68%, var(--cyan));
  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --gutter: clamp(20px, 5vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.ico { width: 1.1em; height: 1.1em; flex: none; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* nav */
.pnav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 20px;
  padding: 14px var(--gutter);
  background: rgba(7, 6, 11, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; letter-spacing: 0.06em; text-decoration: none; min-height: 44px; }
.brand svg { width: 30px; height: 30px; }
.pnav__links { display: flex; gap: 22px; margin-left: auto; }
.pnav__links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.pnav__links a:hover { color: var(--text); }
@media (max-width: 760px) { .pnav__links { display: none; } .pnav .btn { margin-left: auto; } }

/* botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 1px solid var(--line-2);
  font-weight: 600; text-decoration: none;
  transition: transform 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: var(--lime); color: #07060b; border-color: var(--lime); box-shadow: 0 10px 30px -12px var(--lime); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 0.92rem; }

/* encabezado */
.phero { position: relative; padding: clamp(64px, 10vw, 130px) 0 clamp(48px, 7vw, 90px); overflow: hidden; }
.phero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--pink) 22%, transparent), transparent 70%);
  pointer-events: none;
}
.crumbs { position: relative; font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--lime); }
.phero h1 {
  position: relative; margin: 18px 0 0; max-width: 18ch;
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(2.1rem, 5.6vw, 4.6rem); line-height: 1.04; letter-spacing: -0.03em;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phero__lead { position: relative; max-width: 40rem; margin: 24px 0 0; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); }
.phero__cta { position: relative; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }
.facts li { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.9rem; color: var(--muted); }
.facts b { color: var(--text); font-weight: 600; }

/* contenido */
.psec { padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.label { font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); margin: 0; }
.psec h2 { margin: 12px 0 0; max-width: 22ch; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.7rem); line-height: 1.1; letter-spacing: -0.02em; }
.psec h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; margin: 0 0 8px; }
.prose { max-width: 44rem; margin-top: 22px; color: var(--muted); }
.prose p { margin: 0 0 1em; }
.prose strong { color: var(--text); font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 36px; }
.card {
  position: relative; padding: 26px; border: 1px solid var(--line-2); border-radius: 20px; background: var(--bg-2);
}
.card::before { content: ""; position: absolute; left: 26px; top: 0; width: 40px; height: 3px; background: var(--c, var(--lime)); border-radius: 0 0 3px 3px; box-shadow: 0 0 14px var(--c, var(--lime)); }
.card p { margin: 0; color: var(--muted); }
.card .n { display: block; font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.14em; color: var(--c, var(--lime)); margin-bottom: 10px; }

/* planes */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 36px; }
.plan { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line-2); border-radius: 22px; background: var(--bg-2); }
.plan--hot { border-color: color-mix(in srgb, var(--lime) 60%, transparent); box-shadow: 0 20px 60px -30px var(--lime); }
.plan__kind { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0; }
.plan h3 { font-size: 1.5rem; margin: 8px 0 4px; }
.plan__price { margin: 0 0 14px; font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; }
.plan__price small { font-family: var(--f-body); font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.plan ul { margin: 0 0 22px; padding: 0; list-style: none; color: var(--muted); }
.plan li { padding: 7px 0 7px 22px; border-top: 1px solid var(--line); position: relative; }
.plan li::before { content: "✦"; position: absolute; left: 0; color: var(--lime); font-size: 0.8em; top: 9px; }
.plan .btn { margin-top: auto; }
.note { margin-top: 22px; color: var(--muted); font-size: 0.95rem; }

/* pasos */
.steps { counter-reset: s; display: grid; gap: 14px; margin: 36px 0 0; padding: 0; list-style: none; max-width: 52rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-display); font-weight: 900; font-size: 1.6rem; line-height: 1.2; color: var(--lime); }
.steps p { margin: 0; color: var(--muted); }

/* trabajos */
.work { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 36px; }
.work a { display: block; text-decoration: none; border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; background: var(--bg-2); transition: transform 0.3s, border-color 0.3s; }
.work a:hover { transform: translateY(-4px); border-color: var(--lime); }
.work img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.work div { padding: 18px 20px 22px; }
.work p { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }

/* preguntas */
.faq { margin-top: 30px; max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.6rem; color: var(--lime); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 46rem; }

/* más páginas */
.more { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 30px; }
.more a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 16px; text-decoration: none; font-weight: 600; transition: border-color 0.25s, color 0.25s; }
.more a:hover { border-color: var(--cyan); color: var(--cyan); }

/* cierre */
.pcta { padding: clamp(70px, 10vw, 140px) 0; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(60% 80% at 50% 100%, color-mix(in srgb, var(--lime) 12%, transparent), transparent 70%); }
.pcta h2 { margin: 0 auto; max-width: 18ch; font-family: var(--f-display); font-weight: 900; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.05; letter-spacing: -0.03em; }
.pcta p { color: var(--muted); margin: 18px auto 30px; max-width: 34rem; }
.pfoot { padding: 30px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.pfoot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.pfoot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.pfoot nav a { text-decoration: none; }
.pfoot nav a:hover { color: var(--text); }
