/* Easy Find Job — presentación avanzada: tema claro, capas, sombras, acentos. Multi-página. */
/* Tipografías: solo pila del sistema (sin @import ni CDN de fuentes → sin filtración a terceros por carga de tipos). */

:root {
  /* Superficies */
  --bg-0: #dce7f4;
  --bg-1: #e8eef8;
  --bg-card: #ffffff;
  --bg-tint: #e6faf6;
  --bg-tint-2: #f4f8fc;
  /* Texto */
  --text: #0b1220;
  --text-2: #334155;
  --muted: #5c6b82;
  --faint: #8b9cb3;
  /* Acento (agua: confianza + acción) */
  --accent: #0d9488;
  --accent-600: #0a6c63;
  --accent-soft: rgba(13, 148, 136, 0.14);
  --accent-ring: rgba(13, 148, 136, 0.42);
  --accent-glow: rgba(13, 148, 136, 0.22);
  /* Secundario (cielo: enlaces) */
  --link: #0369a1;
  --link-h: #075985;
  /* CTA cálida */
  --cta: #ea580c;
  --cta-600: #c2410c;
  --bord: #d8e0ec;
  --bord-2: #c5cfde;
  --shadow: 0 1px 2px rgba(11, 18, 32, 0.05), 0 10px 28px rgba(11, 18, 32, 0.07);
  --shadow-h: 0 8px 24px rgba(11, 18, 32, 0.08), 0 28px 64px -18px rgba(11, 18, 32, 0.18);
  --r-max: 1180px;
  --pad-x: clamp(1rem, 4vw, 2.25rem);
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", sans-serif;
  --font-display: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-2);
  line-height: 1.65;
  font-size: clamp(0.98rem, 0.32vw + 0.92rem, 1.05rem);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(13, 148, 136, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 10%, rgba(99, 102, 241, 0.1) 0%, transparent 45%),
    radial-gradient(ellipse 60% 45% at 0% 30%, rgba(2, 132, 199, 0.1) 0%, transparent 50%),
    linear-gradient(168deg, var(--bg-0) 0%, var(--bg-1) 42%, #e4eaf5 100%);
}

h1,
h2,
h3,
.hero h1,
.page-hero h1,
.strip h2,
.stats-band__list strong {
  font-family: var(--font-display);
}

/* Textura sutil: puntos (claros) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background-image: radial-gradient(circle, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, black 0%, black 40%, transparent 100%);
}

a {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
}
a:hover {
  color: var(--link-h);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  color: var(--text);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-h);
  outline: 2px solid var(--accent);
}

.shell {
  position: relative;
  z-index: 1;
  max-width: var(--r-max);
  margin: 0 auto;
  padding: 0 var(--pad-x) 4rem;
}

/* —— Barra superior (flotante, clara) —— */
.top {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.15rem 0.85rem 1.35rem;
  margin: 0.5rem 0 1.25rem 0;
  background: color-mix(in srgb, var(--bg-card) 86%, transparent);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  border: 1px solid color-mix(in srgb, var(--bord) 75%, var(--accent));
  border-radius: 999px;
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255, 255, 255, 0.55) inset,
    0 -20px 50px -30px var(--accent-glow);
}

@media (max-width: 900px) {
  .top {
    flex-wrap: nowrap;
    padding-inline: 1rem;
  }

  .top nav {
    flex: 1 1 auto;
    min-width: 0;
  }

  .top nav ul {
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.35rem 0.75rem;
    overflow-x: auto;
    max-width: min(100%, calc(100vw - 6.5rem));
    padding-bottom: 2px;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--accent) 40%, transparent) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .top nav ul::-webkit-scrollbar {
    height: 4px;
  }

  .top nav ul::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--accent) 45%, var(--bord));
    border-radius: 99px;
  }
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}
.brand-link:hover {
  text-decoration: none;
  opacity: 0.9;
}
.brand-link img {
  width: 41.6px;
  height: 41.6px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.brand-link span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: flex-end;
}
nav a {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0.15rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
nav a:hover {
  color: var(--text);
  text-decoration: none;
  border-bottom-color: color-mix(in srgb, var(--accent) 50%, transparent);
}
nav a.is-active {
  color: var(--accent-600) !important;
  font-weight: 700;
  border-bottom-color: var(--accent);
}
nav .cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(165deg, #f97316 0%, var(--cta) 50%, var(--cta-600) 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(234, 88, 12, 0.35);
  border: none;
  margin-left: 0.2rem;
}
nav .cta:hover {
  text-decoration: none;
  filter: brightness(1.04);
  transform: translateY(-1px);
}
nav .muted {
  color: var(--faint);
  font-size: 0.8rem;
}

/* —— Hero inicio —— */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0.5rem 0 2.5rem;
  align-items: stretch;
}
@media (min-width: 900px) {
  .hero:not(.hero--split) {
    grid-template-columns: 1.12fr 0.88fr;
  }
}

/* Hero con foto: móvil = título → foto → texto+CTA; desktop = col izq (head+body) | foto alta */
.hero.hero--split {
  margin-top: 0.35rem;
  padding: clamp(1.15rem, 2.4vw, 1.85rem) clamp(1rem, 2.2vw, 1.65rem) clamp(1.35rem, 2.8vw, 2.1rem);
  border-radius: clamp(1.2rem, 2vw, 1.85rem);
  background:
    linear-gradient(
      152deg,
      color-mix(in srgb, var(--bg-card) 92%, transparent) 0%,
      color-mix(in srgb, var(--bg-tint) 42%, var(--bg-card)) 48%,
      color-mix(in srgb, var(--bg-card) 88%, transparent) 100%
    );
  border: 1px solid color-mix(in srgb, var(--bord) 65%, var(--accent));
  box-shadow: var(--shadow-h), 0 0 0 1px rgba(255, 255, 255, 0.65) inset;
}

.hero--split {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: 0;
}
.hero-headline,
.hero-body {
  min-width: 0;
}
.hero--split .hero-lead {
  max-width: none;
}

@media (min-width: 900px) {
  .hero--split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-rows: auto 1fr;
    gap: 1rem clamp(1.4rem, 3vw, 2.4rem);
    align-items: start;
  }
  .hero-headline {
    grid-column: 1;
    grid-row: 1;
  }
  .hero-body {
    grid-column: 1;
    grid-row: 2;
  }
  .hero-visual {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: center;
    display: block;
    min-height: unset;
    /* Antes 70 %; +0,5 → ancho completo de columna para la foto hero */
    max-width: 100%;
    width: 100%;
    margin-inline: auto;
    /* Solo leve elevación vertical; sin translateX para no pegar al borde derecho */
    transform: translateY(-1.5rem);
  }
  .hero-visual img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 1.05rem;
    object-fit: contain;
    object-position: center;
  }
}

.hero-visual {
  margin: 0;
  padding: 0.5rem;
  background: var(--bg-card);
  border-radius: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--bord) 85%, var(--accent));
  box-shadow:
    var(--shadow-h),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset,
    0 24px 80px -20px rgba(13, 148, 136, 0.18);
  overflow: hidden;
  position: relative;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}
@media (max-width: 899px) {
  .hero--split .hero-visual {
    max-width: 100%;
    margin-inline: auto;
    transform: translateY(-0.75rem);
  }
  .hero--split .hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1.1rem;
    object-fit: contain;
    object-position: center;
  }
}
.hero--split .hero-body {
  order: 3;
}
@media (min-width: 900px) {
  .hero--split .hero-body {
    order: unset;
  }
}
.hero--split .hero-headline {
  order: 1;
}
.hero--split .hero-visual {
  order: 2;
}

.hero-summary {
  margin: 0.25rem 0 1.75rem 0;
  padding: clamp(1.1rem, 2.2vw, 1.5rem) clamp(1rem, 2.4vw, 1.6rem) clamp(1.15rem, 2.4vw, 1.65rem);
  background: linear-gradient(145deg, #ffffff 0%, var(--bg-tint) 100%);
  border: 1px solid var(--bord);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(0.65rem, 1.8vw, 0.95rem);
}

.hero-summary__title {
  margin: 0.65rem 0 0 0.85rem;
  align-self: flex-start;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-600);
  font-weight: 800;
}

.hero-summary__grid {
  display: grid;
  gap: clamp(1.1rem, 3vw, 1.85rem);
  align-items: center;
  min-width: 0;
}

@media (min-width: 768px) {
  .hero-summary__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(1.25rem, 3.5vw, 2rem);
  }
}

.hero-summary__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  min-width: 0;
}

@media (min-width: 520px) {
  .hero-summary__chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.55rem;
  }
}

.hero-summary__chips li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  line-height: 1.35;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.hero-summary__media {
  margin: 0;
  padding: 0;
  border-radius: clamp(0.85rem, 2vw, 1.15rem);
  overflow: hidden;
  background: linear-gradient(160deg, #f8fafc 0%, #ecfdf5 100%);
  border: 1px solid color-mix(in srgb, var(--bord) 70%, var(--accent));
  box-shadow:
    var(--shadow-h),
    0 0 0 1px rgba(255, 255, 255, 0.85) inset;
  line-height: 0;
}

.hero-summary__media img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  object-fit: cover;
  object-position: 50% 28%;
  aspect-ratio: 16 / 10;
  max-height: min(238px, 36.4vw);
}

@media (max-width: 767px) {
  .hero-summary__media img {
    max-height: 182px;
    aspect-ratio: 16 / 11;
  }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin: 0 0 0.6rem 0;
  padding: 0.35rem 0.6rem;
  background: var(--accent-soft);
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
}

.hero h1 {
  margin: 0 0 1rem 0;
  font-size: clamp(2.15rem, 1.2rem + 4.2vw, 3.65rem);
  font-weight: 800;
  line-height: 1.04;
  color: var(--text);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-2);
  max-width: 46ch;
  margin: 0 0 1.4rem 0;
  line-height: 1.55;
}
.hero-lead strong {
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.9rem;
  align-items: center;
}

/* Botones (claros + primario cálido) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--bord-2);
  color: var(--text-2);
  background: var(--bg-card);
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover {
  text-decoration: none;
  box-shadow: var(--shadow);
  border-color: var(--bord);
  transform: translateY(-1px);
}
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #2dd4bf 0%, var(--accent) 38%, var(--accent-600) 100%);
  color: #fff !important;
  border: 1px solid color-mix(in srgb, var(--accent-600) 55%, #022c26);
  font-weight: 700;
  box-shadow: 0 4px 22px var(--accent-ring), 0 1px 0 rgba(255, 255, 255, 0.25) inset;
  transition:
    filter 0.2s var(--ease-out),
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.22) 45%, transparent 70%);
  transform: translateX(-120%) skewX(-12deg);
  pointer-events: none;
  transition: transform 0.55s var(--ease-out);
}

.btn-primary:hover {
  filter: brightness(1.04);
  text-decoration: none;
  box-shadow: 0 8px 32px var(--accent-ring), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

.btn-primary:hover::after {
  transform: translateX(220%) skewX(-12deg);
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary::after {
    display: none;
  }
}

/* Panel lateral (resumen) — claro */
.hero-aside {
  border-radius: var(--r-lg);
  padding: 1.5rem 1.35rem;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--bord));
  background:
    linear-gradient(145deg, #ffffff 0%, var(--bg-tint) 100%);
  box-shadow: var(--shadow-h);
  position: relative;
  overflow: hidden;
}
.hero-aside::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle at 100% 0%, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}
.hero-aside h2 {
  position: relative;
  margin: 0 0 0.6rem 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-600);
  font-weight: 800;
}
.protocol {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  white-space: pre-wrap;
}

/* —— Secciones título —— */
.section-h {
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 0.65rem + 0.2vw, 0.78rem);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-600);
  font-weight: 800;
  margin: 2.5rem 0 1.25rem 0;
  padding: 0.35rem 0 0.35rem 0.65rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: linear-gradient(90deg, var(--accent-soft), transparent 85%);
}

/* (clases bento heredadas por compatibilidad, tema claro) */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.bento-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--bord);
  background: var(--bg-card);
  padding: 1.35rem 1.2rem;
  min-height: 6rem;
  box-shadow: var(--shadow);
}
.bento-card h3 {
  margin: 0 0 0.45rem 0;
  color: var(--text);
  font-size: 1.05rem;
}
.bento-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.bento-card .tag {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.3rem;
}
.span-7 { grid-column: span 12; }
.span-5 { grid-column: span 12; }
.span-4 { grid-column: span 12; }
@media (min-width: 800px) {
  .span-7 { grid-column: span 7; }
  .span-5 { grid-column: span 5; }
  .span-4 { grid-column: span 4; }
}
.card-accent {
  border-color: color-mix(in srgb, var(--accent) 30%, var(--bord));
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-tint) 100%);
}
.card-glow {
  position: relative;
  overflow: hidden;
}
.card-glow::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 1rem;
  padding: 1.25rem 0 2.25rem 0;
  border-bottom: 1px solid var(--bord);
}
.metric b {
  display: block;
  font-size: 1.45rem;
  color: var(--text);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.metric span {
  font-size: 0.84rem;
  color: var(--muted);
}

/* Pasos (timeline) */
.steps {
  max-width: 40rem;
  margin: 2.5rem 0 0 0;
}
.step {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1.1rem;
  padding: 1.1rem 0 1.1rem 0.5rem;
  border-top: 1px solid var(--bord);
  margin-left: 0;
  border-left: 3px solid transparent;
  transition: border-color 0.2s, background 0.2s;
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.step:hover {
  background: rgba(255, 255, 255, 0.55);
  border-left-color: color-mix(in srgb, var(--accent) 50%, transparent);
}
.step:first-of-type {
  border-top: none;
}
.step-num {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #f1f5f9 100%);
  border: 1px solid var(--bord);
  color: var(--accent-600);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.step h4 {
  margin: 0 0 0.2rem 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* CTA final (claridad + borde) */
.strip {
  margin: 2.5rem 0 0 0;
  padding: 2.25rem 1.75rem;
  border-radius: var(--r-lg);
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid var(--bord);
  box-shadow: var(--shadow-h);
  position: relative;
  overflow: hidden;
}
.strip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 80%;
  max-width: 32rem;
  height: 4px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--accent) 20%, #38bdf8 80%, transparent);
  border-radius: 0 0 4px 4px;
  opacity: 0.7;
}
.strip h2 {
  position: relative;
  margin: 0 0 0.45rem 0;
  font-size: 1.4rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.strip p {
  position: relative;
  margin: 0 0 1.1rem 0;
  color: var(--text-2);
  font-size: 0.98rem;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}
.strip .actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bord);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
}
footer a {
  color: var(--link);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.footer-brand__mark {
  display: block;
  width: auto;
  height: 1.15em;
  max-height: 22px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

footer > span:last-child {
  flex: 1 1 min(100%, 28rem);
  line-height: 1.75;
  text-align: right;
}

@media (max-width: 720px) {
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer > span:last-child {
    text-align: center;
  }
}

.legal {
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 52ch;
  margin: 1.5rem 0 0 0;
  padding: 0.8rem 0.9rem;
  background: #fff;
  border: 1px dashed var(--bord-2);
  border-radius: var(--r-sm);
}

/* Páginas interiores */
.page-hero {
  padding: 0.5rem 0 1.75rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--bord);
  position: relative;
}
.page-hero h1 {
  margin: 0 0 0.65rem 0;
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.18;
  font-weight: 800;
}
.page-hero .lede {
  margin: 0;
  max-width: 55ch;
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.55;
}

.page-hero .lede-follow {
  margin: 0.75rem 0 0 0;
  max-width: 55ch;
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 1.55;
}

.prose {
  max-width: 48rem;
}
.prose h2 {
  font-size: 1.2rem;
  color: var(--text);
  margin: 1.75rem 0 0.55rem 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  padding-top: 0.25rem;
  border-top: 1px solid var(--bord);
}
/* Primer h2 bajo <main class="prose"> (tras .page-hero): sin rayita superior */
main.prose > h2:first-of-type {
  border-top: none;
  margin-top: 0.35rem;
  padding-top: 0;
}

.prose p,
.prose li {
  color: var(--text-2);
  font-size: 0.96rem;
  line-height: 1.65;
}
.prose a {
  color: var(--link);
}
.prose strong {
  color: var(--text);
}

/* Tarjetas de sección (home) */
.card-deck {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.1rem;
  margin: 1.5rem 0 2.5rem 0;
}
.svc-card {
  display: block;
  padding: 1.4rem 1.25rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--bord);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #38bdf8);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.svc-card:hover {
  text-decoration: none;
  box-shadow: var(--shadow-h);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--bord));
  transform: translateY(-3px);
}
.svc-card:hover::before {
  transform: scaleX(1);
}
.svc-card h2 {
  margin: 0 0 0.4rem 0;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.svc-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}
.svc-card .more {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.precio-tabla {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  margin: 1.25rem 0 1.5rem 0;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--bord);
}
.precio-tabla th,
.precio-tabla td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--bord);
}
.precio-tabla tr:last-child td {
  border-bottom: none;
}
.precio-tabla th {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  color: var(--text);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.precio-tabla td {
  color: var(--text-2);
  background: #fff;
}
.precio-tabla tr.destacada td {
  background: var(--bg-tint);
  box-shadow: inset 3px 0 0 var(--accent);
}
.precio-nota {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.5;
}

/* Nav activa: ya redefinida arriba */

/* Enlaces con botón en línea (prose) */
main.prose p a.btn,
main a.btn {
  text-decoration: none;
  color: var(--text-2);
}
.prose a.btn-primary {
  color: #fff !important;
}
.prose a.btn:hover {
  text-decoration: none;
}

/* —— Página «Cómo funciona» (layout + fases) —— */
main.page-como {
  max-width: min(56rem, 100%);
}

.page-hero--como {
  padding-bottom: 1.5rem;
  margin-bottom: 0.25rem;
}
.page-hero--como .hero-eyebrow {
  margin-bottom: 0.65rem;
}

.como-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0 0;
}
.como-hero-pills li {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-600);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  line-height: 1.35;
}

.como-jump-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.35rem;
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0 0 1rem 0;
}
.como-jump-hint__lead {
  font-weight: 800;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-600);
}
.como-jump-hint__sep {
  color: var(--faint);
  user-select: none;
}
.como-jump-hint a {
  font-weight: 600;
}

.como-pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.45rem;
  padding: 1rem 1.15rem;
  margin: 0 0 1.75rem 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-tint-2) 100%);
  border: 1px solid var(--bord);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
}
.como-pipeline__sep {
  color: var(--faint);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0 0.1rem;
}

.como-timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem 0;
  counter-reset: como-phase;
}

.como-phase {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  margin: 0 0 1.15rem 0;
}
@media (min-width: 540px) {
  .como-phase {
    gap: 1.15rem 1.35rem;
  }
}

.como-phase__num {
  flex: 0 0 auto;
  width: 2.85rem;
  height: 2.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(160deg, #ffffff 0%, var(--bg-tint) 100%);
  border: 2px solid var(--accent);
  color: var(--accent-600);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
  box-shadow: 0 2px 10px var(--accent-soft);
  margin-top: 0.15rem;
}

.como-phase__inner {
  flex: 1;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--bord);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.3rem 1.35rem;
  box-shadow: var(--shadow);
  border-left: 4px solid color-mix(in srgb, var(--accent) 55%, var(--bord));
  transition: box-shadow 0.2s, border-color 0.2s;
}
.como-phase:hover .como-phase__inner {
  box-shadow: var(--shadow-h);
  border-left-color: var(--accent);
}

.page-como h2.como-phase__title {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  margin: 0 0 0.55rem 0;
  padding: 0;
  border: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.28;
}
.page-como .como-phase__head .como-phase__title {
  margin-bottom: 0;
}

.page-como .como-phase__hook {
  margin: 0 0 0.65rem 0;
  font-size: 0.96rem;
  color: var(--text-2);
  line-height: 1.62;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.55rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), #2dd4bf);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.como-callout {
  margin: 2rem 0 2.25rem 0;
  padding: 1.5rem 1.35rem 1.6rem;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 45%, var(--bg-tint) 100%);
  border: 1px solid var(--bord);
  box-shadow: var(--shadow);
}
.page-como h2.como-callout__title {
  margin: 0 0 1.1rem 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  border: none;
  padding: 0;
  line-height: 1.3;
}

.como-callout__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}
@media (min-width: 640px) {
  .como-callout__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.como-callout__cell {
  padding: 1rem 1rem 1.05rem;
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--r-md);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.como-callout__sub {
  margin: 0 0 0.4rem 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: var(--accent-600);
}
.como-callout__cell p {
  margin: 0 0 0.75rem 0;
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.45;
  flex: 1;
}
.como-callout__link {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--link);
  margin-top: auto;
}
.como-callout__link:hover {
  color: var(--link-h);
}

.page-como .strip {
  margin-top: 0.5rem;
}
.page-como .strip h2 {
  border: none;
  padding: 0;
  margin: 0 0 0.45rem 0;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

/* Páginas foco: extensión, privacidad (bloques + callout) */
main.prose.page-focus {
  max-width: min(52rem, 100%);
}

.page-hero--focus {
  padding-bottom: 1.2rem;
  margin-bottom: 0.15rem;
}
.page-hero--focus .hero-eyebrow {
  margin-bottom: 0.6rem;
}

.page-focus h2.como-callout__title {
  margin: 0 0 1.1rem 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  border: none;
  padding: 0;
  line-height: 1.3;
}

.focus-timeline {
  list-style: none;
  padding: 0;
  margin: 0.2rem 0 2.1rem 0;
}
.focus-block {
  margin: 0 0 0.85rem 0;
}
.focus-block__inner {
  background: var(--bg-card);
  border: 1px solid var(--bord);
  border-radius: var(--r-lg);
  padding: 1.15rem 1.25rem 1.3rem;
  box-shadow: var(--shadow);
  border-left: 4px solid color-mix(in srgb, var(--accent) 55%, var(--bord));
  transition: box-shadow 0.2s, border-color 0.2s;
}
.page-trust .focus-block__inner {
  border-left-color: color-mix(in srgb, #0284c7 50%, var(--bord));
}
.focus-block:hover .focus-block__inner {
  box-shadow: var(--shadow-h);
  border-left-color: var(--accent);
}
.page-trust .focus-block:hover .focus-block__inner {
  border-left-color: #0284c7;
}
.page-focus h2.focus-block__title {
  margin: 0 0 0.5rem 0;
  font-size: clamp(1.02rem, 2.2vw, 1.15rem);
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.28;
  border: none;
  padding: 0;
}
.focus-block__head {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}
.focus-block__head .focus-block__title {
  margin-bottom: 0;
}
.focus-block__icon {
  flex: 0 0 2.25rem;
  width: 2.25rem;
  height: 2.25rem;
  margin-top: 0.08rem;
  color: var(--accent-600);
}
.page-trust .focus-block__icon {
  color: #0369a1;
}
.focus-block__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.page-focus .focus-block__body p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* Iconos en fases «Cómo funciona» */
.como-phase__head {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}
.como-phase__head .como-phase__title {
  margin-bottom: 0;
}
.como-phase__icon {
  flex: 0 0 1.65rem;
  width: 1.65rem;
  height: 1.65rem;
  margin-top: 0.18rem;
  color: var(--accent-600);
}
.como-phase__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.page-focus .como-callout {
  margin-top: 0.15rem;
}
.page-focus .strip {
  margin-top: 0.5rem;
}
.page-focus .strip h2 {
  border: none;
  padding: 0;
  margin: 0 0 0.45rem 0;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

/* —— Página precios —— */
.page-precios .hero-eyebrow {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.08) 0%, var(--accent-soft) 100%);
  border-color: color-mix(in srgb, #ea580c 22%, var(--accent));
}

.precio-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0 0;
}
.precio-hero-pills li {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-2);
  background: #fff;
  border: 1px solid var(--bord);
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  line-height: 1.35;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.precio-hero-pills a {
  font-weight: 700;
}

.precio-pipeline {
  background: linear-gradient(180deg, #fffdf8 0%, #fff 100%);
  border-color: color-mix(in srgb, #f59e0b 22%, var(--bord));
}

.precio-intro {
  margin: -0.35rem 0 1.15rem 0;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.55;
}

.precio-medios-pago {
  margin: -0.5rem 0 1.25rem 0;
  font-size: 0.88rem;
  max-width: 52ch;
  line-height: 1.5;
}

.plan-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}
@media (min-width: 900px) {
  .plan-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: stretch;
  }
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem 1.2rem 1.25rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--bord);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.plan-card:hover {
  box-shadow: var(--shadow-h);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--bord));
}
.plan-card--highlight {
  border-width: 1px;
  border-top: 3px solid var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-tint) 55%, #fff 100%);
  box-shadow: var(--shadow-h);
  z-index: 1;
}
@media (min-width: 900px) {
  .plan-card--highlight {
    transform: translateY(-4px);
  }
}

.plan-card__ribbon {
  position: absolute;
  top: 0.75rem;
  right: 0;
  background: linear-gradient(135deg, #f97316 0%, var(--cta-600) 100%);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.65rem 0.3rem 0.75rem;
  border-radius: 6px 0 0 6px;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
}

.plan-card__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.45rem;
}
.plan-card__badge--muted {
  color: var(--muted);
}
.plan-card__badge--accent {
  color: var(--accent-600);
}

.plan-card__name {
  margin: 0 0 0.45rem 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
}

.plan-card__pitch {
  margin: 0 0 1rem 0;
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.45;
  flex: 0 0 auto;
}

.plan-card__price {
  margin: 0 0 0.25rem 0;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.plan-card__currency {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  margin-right: 0.1rem;
}
.plan-card__period {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.plan-card__alt-price {
  margin: 0 0 0.85rem 0;
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.4;
}
.plan-card__save {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--accent-600);
  font-weight: 700;
}

.plan-card__cap {
  margin: 0 0 0.85rem 0;
  font-size: 0.88rem;
  color: var(--text-2);
  padding: 0.55rem 0.65rem;
  background: var(--bg-tint-2);
  border-radius: var(--r-sm);
  border: 1px solid var(--bord);
}
.plan-card__cap-note {
  font-size: 0.72rem;
  color: var(--faint);
  font-weight: 600;
}

.plan-card__bullets {
  margin: 0 0 1rem 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}
.plan-card__bullets li {
  margin: 0.35rem 0;
}

.plan-card__foot {
  margin-top: auto;
  padding-top: 0.25rem;
}
.plan-card__cta {
  width: 100%;
  justify-content: center;
}
.plan-card__soon {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.55rem 0.5rem;
  background: #f8fafc;
  border-radius: var(--r-sm);
  border: 1px dashed var(--bord-2);
}

.precio-tabla-wrap {
  margin: 0 0 2rem 0;
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--bord);
  box-shadow: var(--shadow);
}
.precio-tabla--enhanced {
  margin: 0;
  border: none;
  box-shadow: none;
}
.precio-tabla--enhanced th[scope="row"] {
  font-weight: 800;
  color: var(--text);
  background: #fafbfc;
}
.precio-tabla--enhanced td,
.precio-tabla--enhanced th {
  vertical-align: middle;
}
.th-sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
}

.page-precios-blocks.focus-timeline {
  margin-bottom: 1.5rem;
}
.page-precios .focus-block__inner {
  border-left-color: color-mix(in srgb, #ea580c 45%, var(--bord));
}
.page-precios .focus-block:hover .focus-block__inner {
  border-left-color: #ea580c;
}
.page-precios .focus-block__icon {
  color: #c2410c;
}

.precio-nota-control {
  margin: 0 0 1.35rem 0;
  padding: 1rem 1.15rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-2);
  background: linear-gradient(135deg, #eff6ff 0%, #fff 55%);
  border: 1px solid color-mix(in srgb, #3b82f6 28%, var(--bord));
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
}

.precio-nota-control p {
  margin: 0;
}

.precio-nota-control strong {
  color: var(--text);
}

.precio-disclaimer {
  margin: 0 0 1.75rem 0;
  padding: 1rem 1.15rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-2);
  background: linear-gradient(135deg, #fffbeb 0%, #fff 50%);
  border: 1px solid color-mix(in srgb, #f59e0b 35%, var(--bord));
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
}
.precio-disclaimer p {
  margin: 0;
}
.precio-disclaimer strong {
  color: var(--text);
}

.page-precios .como-callout {
  margin-top: 0.25rem;
}

/* Avisos legales: bloque explícito para completar antes de producción */
main.prose .legal-completar {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--bord));
  background: color-mix(in srgb, var(--bg-tint) 88%, var(--bg-card));
}

main.prose .legal-completar h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

main.prose .legal-completar ul {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
}

.legal-placeholder {
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
  color: var(--accent-600);
}

/* Identificación del titular / responsable (términos y privacidad) */
main.prose dl.legal-datos {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  border: 1px solid color-mix(in srgb, var(--bord) 85%, transparent);
  background: var(--bg-card);
}

main.prose dl.legal-datos dt {
  margin: 0.65rem 0 0.15rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

main.prose dl.legal-datos dt:first-of-type {
  margin-top: 0;
}

main.prose dl.legal-datos dd {
  margin: 0;
  font-size: 0.95rem;
}

main.prose ul.legal-cofundadores {
  margin: 0.25rem 0 0;
  padding-left: 1.2rem;
  list-style-type: disc;
}


/* === EFJ responsive (mantener alineado a css/efj-responsive.css) === *//* Easy Find Job — capa responsive (cargar último, después de estilos-sitio / home-merge / variante). */

html {
  overflow-x: clip;
}
@supports not (overflow: clip) {
  html {
    overflow-x: hidden;
  }
}

img,
picture,
video,
svg {
  max-width: 100%;
  height: auto;
}

main.prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Hero-merge: simulador y bloques anchos */
.home-section--elevated {
  padding: clamp(1rem, 3vw, 1.5rem) clamp(0.85rem, 3vw, 1.35rem);
}

@media (max-width: 560px) {
  .shell {
    padding-left: clamp(0.75rem, 3.2vw, 1rem);
    padding-right: clamp(0.75rem, 3.2vw, 1rem);
  }

  .top {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    border-radius: var(--r-lg);
    padding: 0.7rem 0.85rem;
    margin-inline: 0;
  }

  .brand-link {
    align-self: flex-start;
  }

  .top nav {
    width: 100%;
  }

  .top nav ul {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow-x: visible;
    gap: 0.4rem 0.75rem;
  }

  nav .cta {
    margin-left: 0;
    margin-top: 0.1rem;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 0.88rem + 3.4vw, 3.65rem);
    line-height: 1.08;
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .hero-lead {
    font-size: 1.02rem;
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .strip {
    padding: 1.45rem 1rem;
  }

  .btn {
    min-height: 44px;
    padding: 0.65rem 1rem;
  }

  .stats-band {
    padding: 1rem 0.9rem;
  }
}

@media (max-width: 380px) {
  .brand-link span {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }
}

/* Flujo immersive (recorrido / pasos de perfil) */
@media (max-width: 720px) {
  .glass-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    border-radius: var(--radius-lg);
    padding: 10px 12px;
  }

  .glass-nav {
    max-width: 100%;
    justify-content: flex-start;
  }

  .glass-nav--full {
    flex-wrap: wrap;
  }

  .page {
    padding: 18px 14px 80px;
  }

  .hero {
    padding: clamp(16px, 4vw, 28px);
  }
}

/* Páginas interior, precios y variante avanzada */
@media (max-width: 640px) {
  .page-hero h1 {
    font-size: clamp(1.35rem, 0.62rem + 3.4vw, 2.25rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .page-hero .lede,
  .page-hero .lede-follow {
    max-width: none;
  }

  .va-flow-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .va-flow-strip__hub {
    white-space: normal;
    text-align: center;
  }

  .va-step-rail__list {
    justify-content: center;
    border-radius: var(--r-lg);
  }

  .como-jump-hint {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .precio-tabla-wrap {
    -webkit-overflow-scrolling: touch;
  }

  .plan-card__price {
    font-size: clamp(1.6rem, 1rem + 2.8vw, 2rem);
  }

  .plan-card {
    padding: 1.15rem 1rem 1.1rem;
  }

  .home-quick-nav {
    border-radius: var(--r-lg);
    justify-content: flex-start;
    padding: 0.65rem 0.85rem;
    margin-inline: 0;
  }

  .hero-wedge {
    max-width: none;
    font-size: 0.88rem;
  }

  .perfil-cards {
    grid-template-columns: 1fr;
  }

  .perfil-hub {
    padding-left: clamp(0.65rem, 3vw, 1rem);
    padding-right: clamp(0.65rem, 3vw, 1rem);
  }

  .auth-panel {
    margin: 1.5rem auto;
    max-width: none;
    width: 100%;
  }

  /* Evita zoom automático en inputs en iOS/Safari móvil */
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
  select,
  textarea {
    font-size: max(16px, 0.95rem);
  }
}

/* Portada: beneficios y simulador un poco más aire en móvil estrecho */
@media (max-width: 640px) {
  .home-benefits {
    grid-template-columns: 1fr;
  }

  .sim-grid {
    grid-template-columns: 1fr;
  }

  .compare-grid {
    gap: 0.75rem;
  }
}

/* Variante “cómo funciona” / extensión: demos tipo ventana */
@media (max-width: 520px) {
  .como-real-field {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    align-items: stretch;
  }

  .como-real-field__label {
    font-size: 0.52rem;
  }

  .como-real__body {
    padding: 0.55rem 0.55rem 0.65rem;
    min-height: 0;
  }

  .como-real__chrome {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .como-real__url {
    font-size: 0.52rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Demo extensión: la insignia sigue en esquina; menos padding reservado al mock del sitio */
  .como-real--extension .como-real__viewport {
    min-height: 9.5rem;
  }

  .como-real--extension .como-real__site {
    padding-right: 0.5rem;
  }

  .como-real-ext {
    max-width: min(calc(100% - 0.7rem), 11.5rem);
  }

  .como-real-ext__panel {
    width: min(11.4rem, calc(100vw - 3.5rem));
  }

  .como-phase__num {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.95rem;
  }

  .como-phase__inner {
    padding: 1rem 0.9rem 1.1rem;
  }
}

/* Orbit pipeline portada: quita 3D que recorta en bordes del viewport */
@media (max-width: 640px) {
  .pipeline-core img {
    transform: none;
  }
}

/* Flujo recorrido (immersive): grillas y tableros a una columna */
@media (max-width: 640px) {
  .flow-grid,
  .kpi-grid,
  .compare-grid,
  .feature-grid,
  .timeline {
    grid-template-columns: 1fr;
  }
}

/* Prose: código y pre sin desbordar */
main.prose pre,
main.prose code {
  max-width: 100%;
}

main.prose pre {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.65rem 0.75rem;
  font-size: 0.82rem;
}