/* Guías, barrios y privacidad (`src/web/`, `npm run web:paginas`). Mismo estilo que la portada: fondo blanco,
   letra de Apple, azul de iOS. Páginas para leer: una columna angosta y letra cómoda. */
:root {
  --bg: #ffffff; --bg-alt: #f5f5f7; --ink: #1d1d1f; --muted: #6e6e73; --line: #d2d2d7;
  --blue: #0071e3; --link: #0066cc; --brand: #11833e; --wa: #25d366;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --max: 1120px; --texto: 680px; --nav: 52px;
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 18px; line-height: 1.6; letter-spacing: -.011em; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 600; line-height: 1.15; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.col { max-width: var(--texto); margin-inline: auto; }

/* Barra */
.top {
  position: sticky; top: 0; z-index: 10; height: var(--nav);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.brand { color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand i { width: 28px; height: 28px; border-radius: 8px; background: url(/favicon.svg) center / 100% no-repeat; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 13px; }
.nav a:not(.pill) { color: var(--ink); opacity: .78; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px;
  border-radius: 980px; background: var(--blue); color: #fff; font-size: 17px; font-weight: 500;
}
.pill:hover { text-decoration: none; filter: brightness(1.08); }
.nav .pill { min-height: 28px; padding: 0 14px; font-size: 13px; position: relative; }
.nav .pill::before { content: ""; position: absolute; inset: -8px -6px; }
@media (max-width: 560px) { .nav a:not(.pill) { display: none; } }

/* Cabeza de la página */
.migas { font-size: 13px; color: var(--muted); padding-top: 28px; }
.migas ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.migas li + li::before { content: "›"; margin-right: 4px; }
.migas a { color: var(--muted); }
.cabeza { padding-block: 28px 8px; }
.kicker { font-size: 15px; font-weight: 600; color: var(--brand); margin-bottom: 10px; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); letter-spacing: -.03em; }
.bajada { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: var(--muted); line-height: 1.42; margin-top: 16px; }
.firma { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 14px; color: var(--muted); line-height: 1.35; }
.firma img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.firma b { color: var(--ink); font-weight: 600; display: block; }

/* El texto */
.texto { padding-block: 24px 8px; }
.texto > * + * { margin-top: 1.1em; }
.texto h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); letter-spacing: -.02em; margin-top: 1.9em; }
.texto h3 { font-size: 1.15rem; margin-top: 1.5em; }
.texto ul, .texto ol { padding-left: 1.3em; }
.texto li + li { margin-top: .45em; }
.texto strong { font-weight: 600; }
.resumen { background: var(--bg-alt); border-radius: 18px; padding: 20px 24px; font-size: 17px; }
.resumen h2 { font-size: 15px; letter-spacing: 0; margin: 0 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.resumen ul { margin: 0; }
.ojo { border-left: 3px solid var(--brand); padding: 2px 0 2px 16px; color: var(--ink); }
.tabla { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.tabla th, .tabla td { text-align: left; vertical-align: top; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); }
.tabla th { font-weight: 600; }
.tabla-scroll { overflow-x: auto; }
.fuentes { font-size: 14px; color: var(--muted); }
.fuentes li + li { margin-top: .3em; }

/* Preguntas */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 24px; line-height: .9; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--ink); }

/* Invitación */
.invita { margin-block: 48px 8px; background: var(--bg-alt); border-radius: 24px; padding: 32px 28px; text-align: center; }
.invita h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); letter-spacing: -.02em; }
.invita p { color: var(--muted); margin: 10px auto 20px; max-width: 30em; }
.invita .acts { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: center; }
.invita .wa { color: var(--ink); font-weight: 500; }

/* Más para leer */
.mas { padding-block: 40px 64px; }
.mas h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.tarjetas { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.tarjetas a { display: block; height: 100%; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; color: var(--ink); }
.tarjetas a:hover { text-decoration: none; border-color: var(--muted); }
.tarjetas b { display: block; font-weight: 600; line-height: 1.3; }
.tarjetas span { display: block; font-size: 15px; color: var(--muted); margin-top: 6px; line-height: 1.4; }

/* Pie (igual que la portada) */
footer { border-top: 1px solid var(--line); padding-block: 28px 36px; font-size: 12px; color: var(--muted); line-height: 1.5; }
footer .wrap { display: grid; gap: 10px; }
footer .rowf { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
footer a { position: relative; }
footer a::before { content: ""; position: absolute; inset: -10px -6px; }

/* La foto con interfaz de iOS (como en la portada): notificación de Sofjes arriba y la respuesta en burbuja abajo */
.shot {
  position: relative; overflow: hidden; border-radius: 28px; isolation: isolate; container-type: inline-size;
  background: var(--bg-alt); aspect-ratio: 16 / 10; margin-top: 28px;
}
.shot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.shot::before { content: ""; position: absolute; inset: 0 0 auto; height: 40%; z-index: -1; background: linear-gradient(rgba(0,0,0,.28), transparent); }
.ui { position: absolute; z-index: 2; font-size: clamp(11px, 2.6cqw, 15px); line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.glass { background: rgba(246,246,248,.82); border: .5px solid rgba(255,255,255,.7); box-shadow: 0 12px 34px -10px rgba(0,0,0,.30), 0 2px 6px rgba(0,0,0,.08); backdrop-filter: blur(26px) saturate(1.8); -webkit-backdrop-filter: blur(26px) saturate(1.8); }
.noti { left: 4%; right: 4%; top: 5%; max-width: 30em; display: flex; gap: .75em; align-items: center; padding: .75em .9em; border-radius: 1.4em; animation: baja .6s .2s both cubic-bezier(.2,.8,.2,1); }
.noti .ap { width: 2.5em; height: 2.5em; border-radius: .65em; flex: none; background: url(/favicon.svg) center / 100% no-repeat; }
.noti .tx { min-width: 0; flex: 1; }
.noti .r1 { display: flex; justify-content: space-between; gap: 8px; font-size: .8em; color: var(--muted); }
.noti .r1 b { font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: .95em; color: var(--ink); }
.noti .ms { display: block; margin-top: .1em; }
.thread { right: 4%; bottom: 6%; max-width: 70%; display: flex; flex-direction: column; animation: sube .5s 1s both cubic-bezier(.2,.8,.2,1); }
.b { position: relative; padding: .55em .9em; border-radius: 1.25em; }
.b.me { align-self: flex-end; background: #0a84ff; color: #fff; }
.b::after { content: ""; position: absolute; bottom: 0; right: -.32em; width: .8em; height: 1em; background: inherit;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 15'%3E%3Cpath d='M0 0C0 7 3 12 12 15C4 15 1 13 0 11Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 15'%3E%3Cpath d='M0 0C0 7 3 12 12 15C4 15 1 13 0 11Z'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
@keyframes baja { from { opacity: 0; transform: translateY(-14px) scale(.97); } }
@keyframes sube { from { opacity: 0; transform: translateY(12px) scale(.95); } }
@media (prefers-reduced-motion: reduce) { .noti, .thread { animation: none; } }
/* Sticker (la bandera argentina en la sección para argentinos) */
.shot > img.sticker { position: absolute; inset: auto auto 7% 5%; width: clamp(44px, 13cqw, 84px); height: auto; z-index: 2; border-radius: 8px;
  transform: rotate(-9deg); filter: drop-shadow(0 8px 12px rgba(0,0,0,.28)); outline: 3px solid #fff; animation: sube .5s 1.3s both cubic-bezier(.2,.8,.2,1); }
