/* Sema · landing (yosoysema.com)
   Colores de sema-paleta sobre el fondo crema rosado que pidió León para la landing (2026-11-11).
   Solo modo claro: la landing ya no cambia a oscuro.
   Sin build: este archivo se sirve tal cual. */

@font-face { font-family: "Unbounded"; src: url("/assets/fonts/unbounded.woff2") format("woff2"); font-weight: 600 800; font-style: normal; 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: "Figtree"; src: url("/assets/fonts/figtree.woff2") format("woff2"); font-weight: 400 700; font-style: normal; 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: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; 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: "Space Mono"; src: url("/assets/fonts/space-mono-700.woff2") format("woff2"); font-weight: 700; font-style: normal; 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; }

:root {
  color-scheme: light;
  /* Claro (principal) */
  --fondo: #F7EEF0;          /* crema rosado (solo landing): tinta 9.2, secundario 6.1, enlace 5.0 */
  --blanco: #FFFFFF;
  --ciruela: #483A58;        /* bandas oscuras: blanco 10.39, arena 7.36, lila 5.21 */
  --tinta: #483A58;
  --tinta-suave: #5E5768;
  --accion: #F79F79;
  --sobre-accion: #483A58;
  --firma: #D1B8FC;          /* lila suave de la referencia (ronda 3): tinta 5.5 */
  --firma-fuerte: #9A7FE6;   /* solo trazos finos decorativos */
  --sobre-firma: #483A58;
  --papel: #E7D7C1;          /* superficieSuave: boletos, globo, pie */
  --arena: #F4E1C6;          /* arena clara de la referencia: tarjeta y banda de preguntas */
  --coral: #F99BA0;          /* coral de la referencia: tarjeta y recortes; tinta 4.9 */
  --sobre-papel: #483A58;
  --enlace: #456990;         /* azul acero: 5.71 sobre blanco */
  --linea: #E7D7C1;          /* divisoria decorativa */
  --marco: #483A58;          /* filo de capturas y botones */
  --losa: #483A58;           /* sombra sólida del botón */
  --foco: #456990;
  --borrador: #B03A2E;       /* error/aviso: 6.02 sobre blanco */

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-ui: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-cita: "Instrument Serif", Georgia, serif;
  --f-boleto: "Space Mono", ui-monospace, "Courier New", monospace;

  --ancho: 72rem;
  --lado: clamp(1.25rem, 5vw, 2.5rem);
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--fondo);
  /* Grano de papel muy sutil (SVG en línea, sin imagen) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .28 0 0 0 0 .23 0 0 0 0 .35 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  color: var(--tinta);
  font: 400 1.0625rem/1.6 var(--f-ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--enlace); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; border-radius: 6px; }

.saltar {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--tinta); color: var(--fondo); padding: 0.75rem 1rem; border-radius: 10px; font-weight: 700;
}
.saltar:focus { top: 1rem; }

.envoltura { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: var(--lado); }

/* ── Encabezado ─────────────────────────────── */
.cabecera { position: relative; z-index: 5; }
.cabecera .envoltura { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; gap: 1rem; }
.marca { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--tinta); text-decoration: none; min-height: 44px; }
.marca img { width: auto; height: 44px; } /* logotipo oficial (public/logo-sema.png), solo reducido */
.cabecera nav { display: flex; gap: 1.1rem; }
.cabecera nav a { color: var(--tinta); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; padding-inline: 0.25rem; }

/* ── Boleto (kit: etiquetas cortas en mayúsculas) ───────── */
.boleto {
  --diente: 5px;
  display: inline-block;
  font: 700 0.8125rem/1 var(--f-boleto); letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--firma); color: var(--sobre-firma);
  padding: 0.5rem 0.9rem;
  -webkit-mask: radial-gradient(circle at 0 50%, #0000 var(--diente), #000 calc(var(--diente) + 0.5px)) left / 51% 100% no-repeat,
                radial-gradient(circle at 100% 50%, #0000 var(--diente), #000 calc(var(--diente) + 0.5px)) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 50%, #0000 var(--diente), #000 calc(var(--diente) + 0.5px)) left / 51% 100% no-repeat,
                radial-gradient(circle at 100% 50%, #0000 var(--diente), #000 calc(var(--diente) + 0.5px)) right / 51% 100% no-repeat;
}

/* ── Gato en sticker lila (404) ─────────────────────────────── */
.sticker-gato { flex: none; width: 148px; padding: 10px; background: var(--firma); border: 3px solid var(--sobre-firma); border-radius: 26px; rotate: -3deg; }
.lienzo { position: relative; width: 100%; aspect-ratio: 443 / 429; }
.lienzo img, .lienzo svg { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }

/* ── Botones de tienda (deshabilitados: silenciosos, sin relleno durazno) ─────────────────────────────── */
.tiendas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.tienda {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.45rem;
  flex: 1 1 9.5rem; max-width: 12rem; min-height: 4.5rem; padding: 0.75rem 0.9rem 0.8rem;
  background: var(--blanco); color: var(--tinta);
  border: 2px solid var(--tinta); border-radius: 16px;
  font: inherit; text-align: left; cursor: not-allowed;
}
.tienda strong { font: 800 clamp(1rem, 4.2vw, 1.125rem)/1.15 var(--f-display); white-space: nowrap; }
.tienda .boleto { font-size: 0.75rem; padding: 0.3rem 0.6rem; }
.boleto-papel { background: var(--papel); color: var(--sobre-papel); }

/* ── Preguntas ─────────────────────────────── */
.preguntas { padding-block: clamp(3rem, 8vw, 5.5rem); border-top: 1px solid var(--linea); }
.preguntas h2 { font-size: clamp(1.75rem, 6vw, 2.75rem); margin-bottom: 1.5rem; }
.preguntas .lista { max-width: 46rem; }
details { border-bottom: 1px solid var(--linea); }
details:first-of-type { border-top: 1px solid var(--linea); }
summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 3.5rem; padding-block: 0.9rem;
  font: 700 1.0625rem/1.35 var(--f-ui);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(currentColor, currentColor) center / 100% 2.5px no-repeat,
              linear-gradient(currentColor, currentColor) center / 2.5px 100% no-repeat;
  transition: transform 0.2s ease;
}
details[open] summary::after { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { summary::after { transition: none; } }
details .respuesta { padding-bottom: 1.25rem; color: var(--tinta-suave); max-width: 40rem; }
details .respuesta p + p, details .respuesta ol, details .respuesta p + ol { margin-top: 0.6rem; }
details .respuesta ol { padding-left: 1.25rem; margin-bottom: 0; }

/* ── Pie en ciruela con canto rasgado ─────────────────────────────── */
.pie { background: var(--ciruela); color: var(--blanco); position: relative; padding-block: 3.5rem 2.5rem; margin-top: 3rem; }
.pie::before {
  content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 14px; background: var(--ciruela);
  clip-path: polygon(0 100%, 0 45%, 4% 10%, 9% 60%, 15% 20%, 21% 70%, 27% 15%, 33% 55%, 40% 5%, 46% 65%, 52% 25%, 59% 60%, 66% 10%, 72% 55%, 79% 20%, 85% 70%, 91% 15%, 96% 55%, 100% 25%, 100% 100%);
}
.pie .envoltura { display: grid; gap: 2rem; }
.pie .marca { color: var(--blanco); }
.pie .columnas { display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: 1.75rem 2rem; }
.pie h2 { font: 700 1rem/1.3 var(--f-ui); color: var(--papel); margin-bottom: 0.35rem; letter-spacing: 0; }
.pie ul { list-style: none; margin: 0; padding: 0; }
.pie a { color: var(--blanco); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.pie .red { gap: 0.2rem 0.55rem; flex-wrap: wrap; overflow-wrap: normal; }
.pie .red svg { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.pie .red .punto { fill: currentColor; }
.pie .red[aria-disabled="true"] { cursor: default; }
.pie .pronto { color: var(--papel); font-weight: 400; }
.pie :focus-visible { outline-color: var(--firma); }
.pie .legal { font-size: 0.9375rem; color: var(--papel); }
@media (min-width: 56rem) { .pie .envoltura { grid-template-columns: 14rem 1fr; align-items: start; } .pie .legal { grid-column: 1 / -1; } }

/* ── Páginas de texto (soporte, privacidad, términos) ───────── */
.pagina { padding-block: clamp(2.25rem, 6vw, 4.5rem) clamp(3rem, 8vw, 5rem); }
.pagina .envoltura { max-width: 46rem; }
.pagina h1 { font-size: clamp(2.25rem, 9vw, 3.75rem); }
.pagina h2 { font-size: clamp(1.25rem, 4.5vw, 1.6rem); margin-top: 2.75rem; margin-bottom: 0.75rem; }
.pagina h3 { font: 700 1.125rem/1.35 var(--f-ui); margin-top: 1.5rem; margin-bottom: 0.4rem; }
.pagina p, .pagina li { max-width: 40rem; }
.pagina p + p { margin-top: 0.85rem; }
.pagina ul, .pagina ol { padding-left: 1.25rem; margin: 0.6rem 0 0; }
.pagina li + li { margin-top: 0.35rem; }
.intro { font-size: 1.15rem; color: var(--tinta-suave); margin-top: 1rem; }
.correo-grande { display: inline-block; margin-top: 0.5rem; font: 800 clamp(1.15rem, 5vw, 1.6rem)/1.25 var(--f-display); overflow-wrap: anywhere; min-height: 44px; padding-block: 0.4rem; }

.aviso-borrador {
  margin-top: 1.5rem; padding: 1rem 1.15rem; border: 2px dashed var(--borrador); border-radius: 12px;
  font-weight: 600;
}
.aviso-borrador strong { color: var(--borrador); display: block; margin-bottom: 0.35rem; }
.revisar { border-left: 4px solid var(--borrador); padding-left: 0.9rem; margin-top: 1rem; }
.revisar > .etiqueta { display: block; font: 700 1rem/1.35 var(--f-ui); color: var(--borrador); margin-bottom: 0.3rem; }
.hueco { font-weight: 700; color: var(--borrador); }
.indice { margin-top: 1.75rem; padding: 1rem 0; border-block: 1px solid var(--linea); }
.indice ol { columns: 1; }
@media (min-width: 40rem) { .indice ol { columns: 2; column-gap: 2rem; } }

/* ── 404 ─────────────────────────────── */
.perdido { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 3rem; }
.perdido .sticker-gato { width: 170px; margin: 0 auto 1.75rem; }
.perdido .lienzo { aspect-ratio: 389 / 426; }
.perdido h1 { font-size: clamp(2rem, 8vw, 3.25rem); }
.perdido p { margin: 1rem auto 0; max-width: 26rem; color: var(--tinta-suave); }
.boton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.5rem; margin-top: 2rem;
  background: var(--accion); color: var(--sobre-accion); border: 2px solid var(--marco); border-radius: 16px;
  box-shadow: 0 4px 0 var(--losa); font: 800 1.0625rem/1 var(--f-display); text-decoration: none;
}
.boton:hover { text-decoration: none; translate: 0 1px; box-shadow: 0 3px 0 var(--losa); }
.boton:active { translate: 0 4px; box-shadow: 0 0 0 var(--losa); }


.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Índice de las páginas legales: cada enlace con 44 px de alto para el dedo */
.indice a { display: inline-flex; align-items: center; min-height: 44px; }
.indice li + li { margin-top: 0; }
