/* Estilos de la página para corredores, el aviso de privacidad y la página 404.
   Los informes llevan sus estilos adentro, para que cada uno funcione solo. */
:root { --ink: #1d2b36; --muted: #5f6f7a; --sea: #1f6f8b; --sea-d: #185a71; --sea-l: #e6f1f5; --sea-xl: #f4f9fb;
        --good: #2d7958; --line: #dfe6ea; color-scheme: light; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font: 16px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
       color: var(--ink); background: #fff; }
img, svg { display: block; max-width: 100%; }
a { color: var(--sea); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.envoltura { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Barra de arriba */
.barra { border-bottom: 1px solid var(--line); background: #fff; }
.barra .envoltura { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none;
        font-size: 18px; font-weight: 700; line-height: 1.2; }
.logo small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.barra .contacto { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* Portada */
.portada { padding: 32px 0 44px; background: linear-gradient(180deg, var(--sea-xl), #fff); }
.portada .envoltura { display: grid; gap: 36px; align-items: center; }
.volanta { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sea); }
h1 { font-size: 32px; line-height: 1.15; letter-spacing: -.02em; margin: 10px 0 14px; }
.bajada { font-size: 18px; max-width: 38em; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.boton { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px;
         border: 2px solid var(--sea); border-radius: 12px; font-size: 17px; font-weight: 700; line-height: 1.2;
         text-align: center; text-decoration: none; }
.boton.primario { background: var(--sea); color: #fff; }
.boton.primario:hover { background: var(--sea-d); border-color: var(--sea-d); }
.boton.secundario { background: #fff; color: var(--sea); }
.boton:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.nota { margin-top: 14px; font-size: 15px; color: var(--muted); }
.celular { justify-self: center; width: min(320px, 82vw); aspect-ratio: 390 / 700; overflow: hidden; background: #fff;
           border: 10px solid var(--ink); border-radius: 36px; box-shadow: 0 24px 48px rgba(29, 43, 54, .18); }
.celular img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Secciones */
.bloque { padding: 44px 0; }
.bloque.suave { background: var(--sea-xl); }
h2 { font-size: 26px; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 8px; }
h3 { font-size: 18px; line-height: 1.3; margin-bottom: 4px; }
.intro { color: var(--muted); max-width: 40em; margin-bottom: 24px; }
.pasos, .grilla { display: grid; gap: 16px; list-style: none; }
.pasos { counter-reset: paso; }
.pasos li, .grilla li { position: relative; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.pasos li { padding-left: 66px; }
.pasos li::before { counter-increment: paso; content: counter(paso); position: absolute; left: 18px; top: 18px; width: 32px;
                    height: 32px; border-radius: 50%; background: var(--sea); color: #fff; font-weight: 700;
                    display: flex; align-items: center; justify-content: center; }
.pasos p, .grilla p { color: var(--muted); }

/* Precio */
.precio { max-width: 560px; margin: 0 auto; padding: 24px; background: #fff; border: 2px solid var(--sea); border-radius: 20px; }
.etiqueta { display: inline-block; padding: 4px 10px; border-radius: 99px; background: var(--sea-l); color: var(--sea);
            font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.monto { margin: 12px 0 2px; font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.monto small { font-size: 18px; font-weight: 600; color: var(--muted); }
.precio ul { display: grid; gap: 10px; margin: 16px 0 22px; list-style: none; }
.precio li { position: relative; padding-left: 28px; }
.precio li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--good); font-weight: 800; }
.precio .boton { width: 100%; }
.cupo { margin-top: 12px; font-size: 15px; color: var(--muted); text-align: center; }

/* Preguntas */
.preguntas { display: grid; gap: 12px; max-width: 760px; }
.preguntas details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.preguntas summary { position: relative; display: flex; align-items: center; min-height: 52px; padding: 14px 48px 14px 18px;
                     font-weight: 600; cursor: pointer; list-style: none; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: "+"; position: absolute; right: 18px; font-size: 22px; color: var(--sea); }
.preguntas details[open] summary::after { content: "−"; }
.preguntas details p { padding: 0 18px 16px; color: var(--muted); }

/* Texto largo: privacidad y 404 */
.texto { max-width: 760px; padding-top: 32px; padding-bottom: 56px; }
.texto h1 { font-size: 30px; }
.texto h2 { font-size: 20px; margin: 28px 0 8px; }
.texto p, .texto li { margin-bottom: 10px; }
.texto ul { padding-left: 22px; }
.texto .fecha { color: var(--muted); }

/* Pie */
.pie { padding: 20px 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.pie .envoltura { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; }
.pie a { display: inline-flex; align-items: center; min-height: 44px; }

/* Botón fijo abajo, solo en el celular */
.fija { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(29, 43, 54, .06); }
.fija .boton { width: 100%; }
.con-fija { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

@media (min-width: 720px) {
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .portada { padding: 56px 0 64px; }
  .portada .envoltura { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .bloque { padding: 64px 0; }
  .pasos { grid-template-columns: repeat(3, 1fr); }
  .grilla { grid-template-columns: repeat(2, 1fr); }
  .fija { display: none; }
  .con-fija { padding-bottom: 0; }
}
@media (min-width: 960px) {
  .grilla { grid-template-columns: repeat(3, 1fr); }
}
@media print {
  .fija, .barra .contacto { display: none; }
}
