/* ==========================================================================
   synkraos.es
   ========================================================================== */

/* Las fuentes van servidas desde aquí, no desde Google. Dos motivos: la
   página carga sin depender de un tercero, y no se envía la IP de cada
   visitante a otro servidor, que en Europa es un asunto de protección de
   datos y no solo de velocidad. */
@font-face {
  font-family: 'Syne';
  src: url('../fonts/syne-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Syne';
  src: url('../fonts/syne-latin-ext.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dmsans-latin.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dmsans-latin-ext.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --green: #1d9e75;
  --green-light: #9fe1cb;
  --green-dark: #0f6e56;
  --green-glow: rgba(29, 158, 117, 0.35);
  --bg: #080808;
  --bg2: #0f0f0f;
  --bg3: #151515;
  --border: #1e1e1e;
  --border2: #2a2a2a;
  --text: #f0f0f0;

  /* Los grises estaban demasiado apagados sobre este negro. #555 daba 2,7
     de contraste, cuando el mínimo legible es 4,5. Estos cumplen:
     --text2 5,7 · --text3 4,7 · --dim 3,5 (solo para titulares grandes,
     que es donde el mínimo baja a 3). */
  --text2: #8a8a8a;
  --text3: #7a7a7a;
  --dim: #666;

  --red: #e24b4a;
  --amber: #ef9f27;
  --blue: #4a8fe2;
  --max: 1140px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }

/* La barra de arriba es fija: sin esto, al saltar a una sección el título
   queda escondido detrás. */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* Se ve solo al llegar con el tabulador. Para quien navega con teclado, es
   la diferencia entre entrar al contenido o recorrer el menú entero. */
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
}
.skip:focus { left: 8px; }

:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── NAV ── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 0.5px solid transparent;
}

.nav.scrolled {
  background: rgba(8, 8, 8, 0.92);
  border-bottom-color: var(--border);
  backdrop-filter: blur(20px);
}

.nav-logo img { height: 28px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta { display: flex; gap: 10px; align-items: center; }

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
}

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(8, 8, 8, 0.98);
  z-index: 99;
  padding: 24px 6%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  backdrop-filter: blur(20px);
}
.mobile-menu[hidden] { display: none; }

.mobile-menu a {
  font-size: 16px;
  color: var(--text2);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 0.5px solid var(--border);
}
.mobile-menu .btn { margin-top: 12px; border-bottom: none; color: #fff; }

/* ── BOTONES ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--green-glow);
}

.btn-ghost { background: transparent; color: var(--text2); border: 0.5px solid var(--border2); }
.btn-ghost:hover { color: var(--text); border-color: #444; }

.btn-lg { padding: 14px 28px; font-size: 14px; }
.btn-full { width: 100%; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 6% 80px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: min(800px, 120vw);
  height: 800px;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(29, 158, 117, 0.1);
  border: 0.5px solid rgba(29, 158, 117, 0.3);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--green-light);
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(38px, 7vw, 78px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero h1 .accent { color: var(--green); }
.hero h1 .dim { color: var(--dim); }

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text2);
  max-width: 560px;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 36px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-device {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  animation: fadeUp 0.8s 0.4s ease both;
}

/* La captura va enmarcada como una pantalla, con el mismo marco que tenía la
   maqueta dibujada: sin marco, una imagen oscura sobre fondo oscuro se
   confunde con la página y deja de leerse como «esto es el producto». */
/* El marco de dispositivo pone el borde y la sombra; aquí solo queda que la
   imagen ocupe su hueco. */
.hero-device img { display: block; width: 100%; height: auto; }

.hero-device figcaption {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text3);
  text-align: center;
}

.device-outer {
  background: #111;
  border-radius: 18px;
  border: 1px solid #222;
  padding: 10px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.device-screen { background: #0a0a0a; border-radius: 10px; overflow: hidden; }

.ds-topbar {
  background: #0f0f0f;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 0.5px solid #1a1a1a;
}

.ds-logo { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 800; }
.ds-logo span { color: var(--green); }

.ds-status { font-size: 10px; color: var(--text3); display: flex; align-items: center; gap: 6px; }

.ds-dot { width: 5px; height: 5px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }

.ds-body { padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.ds-panel { background: #111; border: 0.5px solid #1e1e1e; border-radius: 8px; padding: 10px; }

.ds-pt {
  font-size: 8px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.ds-metric {
  background: #0f0f0f;
  border-radius: 5px;
  padding: 7px;
  border: 0.5px solid #1a1a1a;
  margin-bottom: 4px;
}

.ds-ml { font-size: 7px; color: var(--text3); text-transform: uppercase; }
.ds-mv { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 800; color: var(--green); }

.ds-item {
  background: #0f0f0f;
  border-radius: 5px;
  padding: 6px 7px;
  margin-bottom: 4px;
  border: 0.5px solid #1e1e1e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.ds-item-title { font-size: 9px; color: #ccc; }
.ds-chip { font-size: 7px; padding: 2px 6px; border-radius: 5px; font-weight: 600; white-space: nowrap; }

.chip-green { background: #1a2e24; color: var(--green); }
.chip-amber { background: #2e2a1a; color: var(--amber); }
.chip-blue { background: #1a2430; color: var(--blue); }

/* ── SECCIONES ── */
.section { padding: 96px 6%; }
.section-inner { max-width: var(--max); margin: 0 auto; }

.section-label {
  font-size: 10px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 500;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.section-title .dim { color: var(--dim); }
.section-title .accent { color: var(--green); }

.section-sub {
  font-size: 15px;
  color: var(--text2);
  max-width: 520px;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 48px;
}

.sep { border: none; border-top: 0.5px solid var(--border); margin: 0; }

.center { text-align: center; }
.center .section-sub { margin-inline: auto; }

/* ── BARRA DE SECTORES ── */
.trust-bar {
  padding: 28px 6%;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-label { font-size: 10px; color: var(--text3); text-transform: uppercase; letter-spacing: 2px; }
.trust-items { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.trust-item { font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700; color: var(--text3); }

/* ── PASOS ── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.step-card {
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: 14px;
  padding: 28px 22px;
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--green);
  opacity: 0.45;
  margin-bottom: 12px;
}

.step-title { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--text2); line-height: 1.65; font-weight: 300; }

/* ── TARJETAS ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
}

.feat-card { background: var(--bg2); padding: 30px 26px; transition: background 0.2s; }
.feat-card:hover { background: var(--bg3); }

.feat-icon {
  width: 40px;
  height: 40px;
  background: rgba(29, 158, 117, 0.1);
  border: 0.5px solid rgba(29, 158, 117, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
}

.feat-title { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.feat-desc { font-size: 13px; color: var(--text2); line-height: 1.7; font-weight: 300; }

/* ── SECTORES ── */
.sectors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }

.sector-card {
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.sector-card:hover { border-color: rgba(29, 158, 117, 0.4); transform: translateY(-2px); }

.sector-icon { font-size: 28px; margin-bottom: 10px; }
.sector-name { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; }

/* ── QUÉ INCLUYE ── */
.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; text-align: left; }

.package-card {
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}

.package-card:hover { transform: translateY(-2px); }
.package-card.featured { border-color: var(--green); }

.package-badge {
  display: inline-block;
  background: rgba(29, 158, 117, 0.15);
  color: var(--green);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.package-name {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.package-desc { font-size: 13px; color: var(--text2); line-height: 1.65; margin-bottom: 14px; font-weight: 300; }
.package-desc strong { color: var(--text); font-weight: 600; }

/* Con tres tarjetas de texto largo, la del medio destacada quedaba más alta
   que las otras dos y la fila se veía descuadrada. */
.package-card { display: flex; flex-direction: column; }
.package-list { margin-top: auto; }

.package-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.package-list li {
  font-size: 12px;
  color: var(--text2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 300;
}

.package-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  font-size: 10px;
  margin-top: 2px;
}

.info-banner {
  margin-top: 32px;
  background: rgba(29, 158, 117, 0.06);
  border: 0.5px solid rgba(29, 158, 117, 0.2);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  text-align: left;
}

.info-banner p { font-size: 14px; color: var(--text2); max-width: 560px; line-height: 1.6; }
.info-banner strong { color: var(--text); }

/* ── CONTACTO ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.contact-meta { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.contact-meta-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text2); }

.contact-form-box {
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}

.form-group { margin-bottom: 16px; }

.form-label { display: block; font-size: 12px; color: var(--text2); margin-bottom: 6px; font-weight: 500; }
.form-opt { color: var(--text3); font-weight: 400; }

.form-input {
  width: 100%;
  background: var(--bg3);
  border: 0.5px solid var(--border2);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 16px; /* menos de 16 y el iPhone hace zoom solo al escribir */
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-input:focus { border-color: var(--green); }
.form-input::placeholder { color: var(--text3); }
.form-input:user-invalid { border-color: var(--red); }

textarea.form-input { resize: vertical; min-height: 110px; }

/* Casilla de consentimiento. La caja no se encoge (`flex-shrink: 0`) porque
   con el texto a dos líneas en el móvil se quedaba en un rectángulo aplastado,
   y una casilla que no parece una casilla no se marca. */
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; }
.form-consent input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--green); cursor: pointer; }
.form-consent label { font-size: 12.5px; color: var(--text2); line-height: 1.55; cursor: pointer; }
.form-consent a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

.form-hint { font-size: 11.5px; color: var(--text3); line-height: 1.6; margin-top: 12px; }
.form-hint a { color: var(--text2); }

.form-msg { border-radius: 8px; padding: 12px 14px; font-size: 13px; margin-top: 12px; display: none; }
.form-msg.show { display: block; }
.form-msg.success { background: rgba(29, 158, 117, 0.1); border: 0.5px solid rgba(29, 158, 117, 0.3); color: var(--green-light); }
.form-msg.error { background: rgba(226, 75, 74, 0.1); border: 0.5px solid rgba(226, 75, 74, 0.3); color: #ff8a8a; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 720px; margin: 0 auto; text-align: left; }

.faq-item {
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-q {
  padding: 18px 20px;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }

.faq-q span { color: var(--green); font-size: 18px; transition: transform 0.2s; }
.faq-item[open] .faq-q span { transform: rotate(45deg); }

.faq-a {
  padding: 0 20px 18px;
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
  font-weight: 300;
}

/* ── CTA ── */
.cta-final { padding: 100px 6%; text-align: center; }

.cta-final h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.cta-final h2 .accent { color: var(--green); }

.cta-final p { font-size: 15px; color: var(--text2); max-width: 480px; margin: 0 auto 32px; font-weight: 300; line-height: 1.7; }

.cta-note { margin-top: 16px; font-size: 11px; color: var(--text3); }

/* ── PIE ── */
.footer {
  padding: 40px 6%;
  border-top: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo img { height: 22px; opacity: 0.9; }
.footer-copy { font-size: 11px; color: var(--text3); }

.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a { font-size: 11px; color: var(--text3); text-decoration: none; }
.footer-links a:hover { color: var(--text2); }

/* ── ENTRADAS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Solo se ocultan si hay JavaScript para volver a enseñarlas. Sin la clase
   .js en <html>, todo se ve desde el primer momento. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.visible { opacity: 1; transform: none; }

/* Hay gente que marca en su sistema que no quiere animaciones, a veces por
   mareos o migrañas. Se respeta. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-btn { display: block; }
  .ds-body { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid { grid-template-columns: 1fr; }
  .info-banner { flex-direction: column; text-align: center; }
  .info-banner p { text-align: center; }
  .section { padding: 72px 6%; }
  .hero { padding-top: 108px; }
}

/* ---------------------------------------------------------------- LEGAL --
   Las páginas legales comparten cabecera y pie con la portada pero no llevan
   ninguna de sus animaciones: son texto que hay que poder leer y, sobre todo,
   imprimir o guardar en PDF si alguien lo pide. Por eso el ancho es más
   estrecho que el de la web (mejor medida de lectura) y los titulares no
   dependen de JavaScript para verse.
*/
.legal { max-width: 760px; margin: 0 auto; padding: calc(var(--nav-h) + 56px) 24px 96px; }
.legal h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; }
.legal .legal-updated { font-size: 12px; color: var(--text3); margin-bottom: 40px; }
.legal h2 { font-size: 19px; margin: 40px 0 12px; letter-spacing: -0.01em; }
.legal h3 { font-size: 15px; margin: 24px 0 8px; color: var(--text); }
.legal p, .legal li { font-size: 14.5px; line-height: 1.75; color: var(--text2); }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 20px; }
.legal li { margin-bottom: 7px; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--text); font-weight: 600; }

.legal table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 13.5px; }
.legal th, .legal td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text2); }
.legal th { color: var(--text); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
/* Una tabla ancha se desplaza dentro de su caja; la página nunca. */
.legal .tabla-scroll { overflow-x: auto; }

/* Los datos que faltan por rellenar se marcan en rojo a propósito: así es
   imposible publicar la página sin darse cuenta de que siguen ahí. */
.legal .pendiente {
  color: var(--red);
  background: rgba(226, 75, 74, 0.1);
  border: 1px dashed rgba(226, 75, 74, 0.45);
  border-radius: 5px;
  padding: 1px 7px;
  font-weight: 600;
  font-size: 0.92em;
  white-space: nowrap;
}
.legal .aviso-pendiente {
  border: 1px dashed rgba(226, 75, 74, 0.45);
  background: rgba(226, 75, 74, 0.07);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 36px;
}
.legal .aviso-pendiente p { margin: 0; color: var(--text2); font-size: 13.5px; }

@media print {
  .nav, .mobile-menu, .footer-links, .skip, .aviso-pendiente { display: none; }
  .legal { padding-top: 0; }
  .legal p, .legal li, .legal td, .legal th { color: #000; }
}

/* ------------------------------------------------------------- CAPTURAS --
   Capturas reales del producto. Una sola columna a propósito: son pantallas
   densas, y a media anchura no se lee ni un número. Vale más enseñar tres
   grandes que seis que no se ven.
*/
.capturas { display: grid; gap: 44px; margin-top: 44px; }

.capturas figure { margin: 0; }

.capturas img { display: block; width: 100%; height: auto; }

.capturas figcaption {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text2);
  max-width: 620px;
}

.capturas figcaption strong { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------------ BETA -------
   El aviso de que esto está en pruebas. Va arriba del todo y en todas las
   páginas, y por eso empuja la barra de navegación hacia abajo en vez de
   flotar encima: un aviso que se pueda tapar con el desplazamiento no cumple
   su función.
*/
.beta-bar {
  position: relative;
  z-index: 60;
  background: color-mix(in srgb, var(--amber) 12%, var(--bg));
  border-bottom: 1px solid color-mix(in srgb, var(--amber) 32%, transparent);
  color: var(--text2);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
  padding: 9px 20px;
}
.beta-bar strong { color: var(--amber); font-weight: 600; }

/* La navegación va fija arriba; con el aviso delante tiene que empezar por
   debajo de él, o lo tapa. */
body:has(.beta-bar) .nav { top: 39px; }
@media (max-width: 620px) {
  .beta-bar { font-size: 11.5px; padding: 8px 14px; }
  body:has(.beta-bar) .nav { top: 54px; }
}

/* ------------------------------------------------------------- MARCOS ----
   Las capturas van dentro de un dispositivo dibujado.

   No es adorno: una captura suelta sobre fondo oscuro se confunde con la
   página y el visitante no termina de leerla como «esto es un programa de
   verdad, funcionando». Metida en una tablet, se entiende de un vistazo qué
   es y dónde se usa — que además es el argumento: esto vive en el mostrador,
   no en un ordenador de oficina.

   Está hecho con CSS y no con una imagen de marco por dos razones: pesa cero
   y se adapta solo a cualquier proporción de captura.
*/
.marco {
  position: relative;
  border-radius: 22px;
  padding: 14px;
  background: linear-gradient(160deg, #2a2a2a 0%, #141414 40%, #1c1c1c 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 2px 0 rgba(255, 255, 255, 0.04) inset,
    0 40px 90px rgba(0, 0, 0, 0.75);
}

/* El brillo del borde superior, que es lo que hace que parezca un objeto y no
   un rectángulo gris. */
.marco::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), transparent 35%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.marco__pantalla {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.9) inset;
}

.marco__pantalla img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* La cámara de la tablet, arriba al centro. Un detalle pequeño, pero es el que
   convierte «un rectángulo con borde» en «una tablet». */
.marco--tablet .marco__pantalla::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  z-index: 2;
}

@media (max-width: 620px) {
  .marco { padding: 8px; border-radius: 16px; }
  .marco__pantalla { border-radius: 7px; }
}
