/* SurfMyDesk · landing. Paleta clara del logo (rojo #980202) y tipografías Baloo 2 (títulos) e Inter (texto). */
:root {
  --red: #980202;
  --red-dark: #6f0101;
  --red-soft: #fbeaea;
  --ink: #1b1b1f;
  --muted: #55565e;
  --line: #e7e3e3;
  --bg: #ffffff;
  --band: #fbf8f8;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(60, 10, 10, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: "Baloo 2", Inter, sans-serif; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; text-align: center; margin-bottom: 1.2em; }
h3 { font-size: 1.3rem; font-weight: 700; }
code, kbd {
  font: 500 .88em/1.4 Consolas, "Cascadia Mono", monospace;
  background: var(--red-soft);
  border-radius: 6px;
  padding: .1em .4em;
}
kbd { background: #fff; border: 1px solid var(--line); border-bottom-width: 2px; }

.wrap { width: min(1140px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(780px, 100% - 32px); }
.center { text-align: center; }
.accent { color: var(--red); }
.fine { font-size: .88rem; color: var(--muted); }
section { padding: 88px 0; }
.band { background: var(--band); border-block: 1px solid var(--line); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

/* Barra superior */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--red); font: 800 1.5rem/1 "Baloo 2", sans-serif; font-style: italic; }
.brand b { font-weight: 800; color: var(--ink); }
.nav-links { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--red); }
.nav-links .lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.menu-btn { display: none; margin-left: auto; font: 600 .95rem Inter, sans-serif; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; color: var(--ink); cursor: pointer; }

/* Portada */
.hero { padding: 72px 0 80px; background: radial-gradient(1200px 500px at 85% 10%, var(--red-soft), transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-in > *, .grid > *, .plans > * { min-width: 0; }
h1, h2 { overflow-wrap: break-word; }
.eyebrow { font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin: 0 0 12px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.hero-logo { justify-self: center; width: min(420px, 100%); filter: drop-shadow(0 18px 30px rgba(152, 2, 2, .18)); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 12px;
  background: var(--red); color: #fff; text-decoration: none; font-weight: 700;
  border: 2px solid var(--red); transition: background .15s, transform .15s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--red); }
.btn-ghost:hover { background: var(--red-soft); color: var(--red-dark); }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; min-width: 0; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--red); color: #fff; font: 800 1.1rem "Baloo 2", sans-serif; margin-bottom: 14px;
}
.steps p { margin: .4em 0 0; color: var(--muted); }
.code { display: flex; align-items: stretch; background: #1d1416; border-radius: 10px; overflow: hidden; margin-top: 8px; }
.code code { flex: 1; min-width: 0; background: none; color: #f6e9e9; padding: 12px 14px; font-size: .8rem; overflow-x: auto; white-space: nowrap; border-radius: 0; }
.copy { border: 0; background: var(--red); color: #fff; font: 600 .85rem Inter, sans-serif; padding: 0 14px; cursor: pointer; }
.copy:hover { background: var(--red-dark); }

/* Tarjetas */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; box-shadow: var(--shadow); }
.card h3 { color: var(--red); }
.card p { margin: 0; color: var(--muted); }

/* Seguridad */
.checks { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; display: grid; gap: 14px; }
.checks li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 16px 52px; position: relative; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 18px; height: 18px; border-radius: 50%; background: var(--red); box-shadow: inset 0 0 0 5px var(--red-soft); }
.checks b { color: var(--ink); }

/* Precios */
.billing { display: flex; justify-content: center; gap: 4px; margin: 0 auto 32px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; width: max-content; }
.billing-opt { border: 0; background: none; border-radius: 999px; padding: 8px 18px; font: 600 .95rem Inter, sans-serif; color: var(--muted); cursor: pointer; }
.billing-opt.is-on { background: var(--red); color: #fff; }
.save { font-size: .75rem; font-weight: 700; color: inherit; opacity: .85; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; background: #fff; }
.plan-main { border: 2px solid var(--red); box-shadow: var(--shadow); }
.plan .price { font: 800 2.4rem/1 "Baloo 2", sans-serif; margin: .2em 0 .6em; }
.plan .price small { font: 500 .95rem Inter, sans-serif; color: var(--muted); }
.plan ul { padding-left: 1.1em; color: var(--muted); margin: 0 0 24px; flex: 1; }
.plan li { margin-bottom: .35em; }
.plan .btn { width: 100%; }
.plan .fine { margin: 12px 0 0; text-align: center; }

/* Preguntas */
details { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 12px; padding: 0 20px; }
summary { cursor: pointer; font-weight: 600; padding: 16px 0; }
details p { margin: 0 0 16px; color: var(--muted); }

/* Pie */
.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: .9rem; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot p { margin: 0; }

/* Páginas legales y 404 */
.doc { padding: 56px 0 80px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.doc h2 { text-align: left; font-size: 1.5rem; margin: 1.6em 0 .5em; }
.doc p, .doc li { color: var(--muted); }
.lost { text-align: center; padding: 60px 0; }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-logo { width: min(300px, 80%); grid-row: 1; }
  .steps, .grid, .plans { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 66px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-links .lang { border: 0; border-radius: 0; padding: 12px 4px; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
