/* Páginas secundarias de cada marca (legal/*.html: privacidad, términos, eliminación de datos, borrar mis datos,
   facturación y sus términos) y las de las apps de Orientasis que piden Apple y Google (legal/driver-*.html en
   driver.orientasis.com.mx y legal/ordenes-*.html en ordenes.orientasis.com.mx, con el logo de Orientasis) con el diseño del acceso del Admin (assets/login/login-hero.css, que va antes): foto
   con degradado y logo de la marca a la izquierda, el contenido en panel blanco a la derecha. En escritorio la foto
   se queda fija mientras se lee; en pantallas angostas queda como franja arriba y se va con el texto. Lo corto
   (buscar un pedido, «Listo») queda centrado como en el acceso; lo largo empieza arriba. */
body.sf-pg{margin:0;background:#fff;color:#181e31;font-family:'Century Gothic',Poppins,'Segoe UI',system-ui,sans-serif;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}
.sf-pg *{box-sizing:border-box}
.sf-pg [hidden]{display:none !important}
.sf-pg .sf-lh{min-height:100vh;min-height:100dvh}
.sf-pg a.sf-lh-brand{color:#fff;text-decoration:none}
.sf-pg .sf-lh-form{flex-direction:column;overflow:visible;padding:40px 40px 64px}
.sf-pg-doc{width:100%;max-width:640px;margin:auto}
.sf-pg-doc.is-form{max-width:480px}
.sf-pg-doc > *{animation:sfPgRise .5s cubic-bezier(.2,.7,.2,1) both}
.sf-pg-doc > :nth-child(2){animation-delay:.05s}
.sf-pg-doc > :nth-child(n+3){animation-delay:.1s}
@keyframes sfPgRise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (min-width:821px){
  .sf-pg .sf-lh-hero{position:sticky;top:0;align-self:flex-start;height:100vh;height:100dvh}
}
@media (max-width:820px){
  .sf-pg .sf-lh-form{padding:24px 20px 52px}
}
html:has(body.sf-pg){scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html:has(body.sf-pg){scroll-behavior:auto}
  .sf-pg-doc > *{animation:none}
  .sf-pg .btn{transition:none}
}

/* Texto */
.sf-pg-doc a.back{display:inline-block;margin:0 0 26px;color:#5f6675;font-size:13px;font-weight:700;text-decoration:none}
.sf-pg-doc a.back:hover{color:#181e31}
.sf-pg-doc h1{margin:0;font-weight:700;font-size:30px;line-height:1.15;letter-spacing:-.3px;color:#181e31;text-wrap:balance}
.sf-pg-doc h1 + p{margin-top:14px}
.sf-pg-doc .updated{margin:8px 0 24px;padding-bottom:22px;border-bottom:1px solid #e3e6ec;color:#5f6675;font-size:13px;font-weight:500}
.sf-pg-doc h2{margin:32px 0 8px;font-size:17px;font-weight:700;line-height:1.3;color:#181e31;scroll-margin-top:20px}
.sf-pg-doc h2 ~ h3{margin:22px 0 6px;font-size:15.5px;line-height:1.35}
.sf-pg-doc h3{margin:0 0 8px;font-size:18px;font-weight:700;color:#181e31}
.sf-pg-doc p,.sf-pg-doc li{font-size:15px;line-height:1.65;color:#3a4152}
.sf-pg-doc p{margin:0 0 14px}
.sf-pg-doc ul,.sf-pg-doc ol{margin:0 0 14px;padding-left:22px}
.sf-pg-doc li{margin:0 0 8px;padding-left:2px}
.sf-pg-doc li::marker{color:#0b7a6c;font-weight:700}
.sf-pg-doc strong{color:#181e31;font-weight:700}
.sf-pg-doc a{color:#0b7a6c;font-weight:700;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px;overflow-wrap:anywhere}
.sf-pg-doc a:hover{color:#095f54}
.sf-pg-doc .box{margin:24px 0;padding:16px 18px;border-radius:14px;background:#f4f6f8;border:1px solid #e3e6ec;font-size:14.5px;line-height:1.6;color:#3a4152}
.sf-pg-doc .box p{font-size:14.5px}
.sf-pg-doc .box p:last-child{margin-bottom:0}
.sf-pg-doc .muted,.sf-pg-doc .note{font-size:13px;line-height:1.55;color:#5f6675}
.sf-pg-doc .muted{margin-top:32px}
.sf-pg-doc .note{margin:16px 0 0}
.sf-pg-doc .sub{margin:8px 0 26px;color:#5f6675;font-size:14.5px;font-weight:500;line-height:1.5}

/* Formularios (facturación y borrar mis datos) */
.sf-pg-doc .card{margin:0 0 14px;padding:18px;border:1px solid #e3e6ec;border-radius:16px;background:#fff}
.sf-pg-doc .card h2{margin:0 0 12px;font-size:11.5px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;line-height:1.5;color:#0b7a6c}
.sf-pg-doc .card ul{margin:0;padding-left:20px}
.sf-pg-doc .card li{font-size:14px;line-height:1.55}
.sf-pg-doc .card li:last-child{margin-bottom:0}
.sf-pg-doc label{display:block;margin:14px 0 6px;font-size:12.5px;font-weight:700;color:#3a4152}
.sf-pg-doc input,.sf-pg-doc select,.sf-pg-doc textarea{display:block;width:100%;height:48px;margin:0;padding:0 14px;border-radius:12px;border:1.5px solid #cfd5df;background:#fff;color:#181e31;font-family:inherit;font-size:16px;font-weight:600;outline:none}
.sf-pg-doc textarea{height:auto;min-height:84px;padding:12px 14px;line-height:1.5;resize:vertical}
.sf-pg-doc select{appearance:none;-webkit-appearance:none;padding-right:40px;cursor:pointer;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23181e31' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center/14px}
.sf-pg-doc input:focus,.sf-pg-doc select:focus,.sf-pg-doc textarea:focus{border-color:#0b7a6c}
.sf-pg-doc input::placeholder,.sf-pg-doc textarea::placeholder{color:#8b93a3;font-weight:500}
.sf-pg-doc input[readonly]{background:#f4f6f8}
.sf-pg-doc .hint{margin-top:6px;font-size:12px;line-height:1.45;font-weight:500;color:#5f6675}
.sf-pg .btn{display:block;width:100%;height:50px;margin-top:20px;border:none;border-radius:12px;background:#00e0bd;color:#0b1220;font-family:inherit;font-size:15px;font-weight:700;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease}
.sf-pg .btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 24px rgba(0,224,189,.32)}
.sf-pg .btn:focus-visible{outline:3px solid #0b7a6c;outline-offset:2px}
.sf-pg .btn:disabled{opacity:.5;cursor:not-allowed}
.sf-pg-doc .msg{display:none;margin-top:14px;padding:12px 14px;border-radius:12px;font-size:13.5px;font-weight:600;line-height:1.45}
.sf-pg-doc .msg.err{display:block;background:#fdecea;border:1px solid #f3b8b1;color:#b93a2b}
.sf-pg-doc .msg.ok{display:block;background:#e6f7f3;border:1px solid #a9e2d6;color:#0b6b5f}
.sf-pg-doc .center{text-align:center}
.sf-pg-doc .big-ok{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin:0 auto 16px;border-radius:50%;background:#e6f7f3;color:#0b7a6c;font-size:30px;font-weight:700;line-height:1}
.sf-pg-doc #loading{padding:40px 0;text-align:center;color:#5f6675;font-size:14px;font-weight:600}

/* Índice de los avisos largos: anclas a cada sección (los títulos ya traen su número) */
.sf-pg-doc .toc{margin:24px 0 8px;padding:16px 18px;border-radius:14px;background:#f4f6f8;border:1px solid #e3e6ec}
.sf-pg-doc .toc-t{margin:0 0 8px;font-size:11.5px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;color:#0b7a6c}
.sf-pg-doc .toc ol{margin:0;padding:0;list-style:none;columns:2;column-gap:24px}
.sf-pg-doc .toc li{margin:0;padding:0;break-inside:avoid;font-size:14px;line-height:1.4}
.sf-pg-doc .toc a{display:block;padding:6px 0;color:#181e31;font-weight:600;text-decoration:none}
.sf-pg-doc .toc a:hover{color:#0b7a6c;text-decoration:underline}
@media (max-width:560px){.sf-pg-doc .toc ol{columns:1}}

/* Tablas de los avisos (Dato / De dónde sale / Para qué). En celular cada fila es una tarjeta con sus etiquetas. */
.sf-pg-doc .tabla{margin:14px 0 18px;border:1px solid #e3e6ec;border-radius:14px;overflow:hidden}
.sf-pg-doc table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.5}
.sf-pg-doc th,.sf-pg-doc td{padding:11px 14px;text-align:left;vertical-align:top;border-bottom:1px solid #e3e6ec;color:#3a4152}
.sf-pg-doc th{background:#f4f6f8;color:#181e31;font-size:12px;font-weight:700;letter-spacing:.4px;text-transform:uppercase}
.sf-pg-doc td:first-child{color:#181e31;font-weight:700}
.sf-pg-doc tbody tr:last-child td{border-bottom:none}
@media (max-width:560px){
  .sf-pg-doc .tabla{border:none;border-radius:0;overflow:visible}
  .sf-pg-doc table,.sf-pg-doc tbody,.sf-pg-doc tr,.sf-pg-doc td{display:block;width:100%}
  .sf-pg-doc thead{display:none}
  .sf-pg-doc tr{margin:0 0 10px;padding:12px 14px;border:1px solid #e3e6ec;border-radius:14px}
  .sf-pg-doc td{padding:0;border:none}
  .sf-pg-doc td:first-child{margin-bottom:6px;font-size:15px}
  .sf-pg-doc td + td{margin-top:6px;font-size:14px}
  .sf-pg-doc td[data-label] + td::before{content:attr(data-label);display:block;font-size:11px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:#0b7a6c}
}

/* Eliminar la cuenta de repartidor (driver-eliminar-cuenta.html) */
.sf-pg-doc .card.keep h2{color:#5f6675}
.sf-pg-doc input.code{height:56px;font-size:24px;letter-spacing:8px;text-align:center;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.sf-pg .btn.danger{background:#c62828;color:#fff}
.sf-pg .btn.danger:hover:not(:disabled){box-shadow:0 10px 24px rgba(198,40,40,.28)}
.sf-pg .btn.ghost{height:44px;margin-top:8px;background:transparent;color:#5f6675;font-size:14px}
.sf-pg .btn.ghost:hover:not(:disabled){transform:none;box-shadow:none;color:#181e31}
