/* ==========================================================================
   migas.soy — hoja de estilos única
   --------------------------------------------------------------------------
   Sin frameworks, sin dependencias: un solo archivo CSS y dos fuentes
   auto-hospedadas. Todo el "look" (papel marrón claro + dibujos hechos a
   mano, estilo cuaderno de cuentos) sale de las variables de :root.
   Si querés cambiar la paleta, cambiá esas variables y listo.
   ========================================================================== */

/* --- 1. Fuentes ---------------------------------------------------------- */
@font-face {
  font-family: "Shantell Sans";
  src: url("../fonts/shantell-sans-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* --- 2. Variables ------------------------------------------------------- */
:root {
  /* Papeles */
  --papel:        #F2E3C9;  /* la hoja de fondo */
  --papel-claro:  #FBF4E5;  /* tarjetas y burbujas */
  --papel-hondo:  #E8D6B5;  /* franjas y fondos alternos */

  /* Tintas */
  --tinta:        #42301F;  /* tinta principal, casi negro-marrón */
  --tinta-2:      #6B4E36;  /* texto secundario */
  --tinta-3:      #75573A;  /* texto de apoyo */

  /* Colores de los dibujos */
  --marron:       #A96F3C;
  --terracota:    #C4663A;
  --dorado:       #E2A63E;
  --crema:        #FFF9EC;
  --verde:        #5A7746;
  --verde-claro:  #CBDAA9;
  --cielo:        #A9C4D4;
  --rojo:         #A5431F;

  /* Líneas y formas */
  --linea: 2.4px solid var(--tinta);
  --radio-mano: 20px 24px 18px 26px / 24px 18px 26px 20px;
  --radio-mano-2: 26px 16px 24px 18px / 18px 26px 16px 24px;
  --sombra: 5px 6px 0 rgba(66, 48, 31, .16);
  --sombra-suave: 3px 4px 0 rgba(66, 48, 31, .10);

  /* Tipografías */
  --fuente-titulo: "Shantell Sans", "Trebuchet MS", system-ui, sans-serif;
  --fuente-texto: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Medidas */
  --ancho: 1140px;
  --radio-borde: 14px;

  color-scheme: light;
}

/* --- 3. Reset mínimo ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--fuente-texto);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  line-height: 1.65;
  color: var(--tinta);
  background-color: var(--papel);
  /* Textura de papel: manchitas suaves que se repiten. */
  background-image:
    radial-gradient(1400px 700px at 50% -10%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 62%),
    radial-gradient(900px 500px at 110% 30%, rgba(226, 166, 62, .12), rgba(226, 166, 62, 0) 70%),
    radial-gradient(800px 600px at -10% 80%, rgba(169, 111, 60, .10), rgba(169, 111, 60, 0) 70%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Grano de papel (ruido SVG muy tenue) por encima de todo. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .13;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

img, svg { max-width: 100%; height: auto; }
img { display: block; }

/* --- 4. Tipografía ------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--fuente-titulo);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 1.4rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.6rem); }
h3 { font-size: clamp(1.22rem, 1.05rem + .8vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 800; color: var(--tinta); }

.lead {
  font-size: clamp(1.08rem, 1rem + .45vw, 1.32rem);
  color: var(--tinta-2);
  max-width: 46ch;
}

.mano { font-family: var(--fuente-titulo); font-weight: 600; }
.subtitulo { color: var(--tinta-2); }
.chico { font-size: .92rem; }
.tiny { font-size: .83rem; }
.centrado { text-align: center; }
.centrado .lead { margin-inline: auto; }

a { color: var(--rojo); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--tinta); }

::selection { background: var(--dorado); color: var(--tinta); }

/* --- 5. Layout ---------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--ancho);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

section { padding-block: clamp(2.6rem, 6vw, 5rem); }
section.tight { padding-block: clamp(1.6rem, 3.5vw, 2.6rem); }

.franja { background: var(--papel-hondo); border-block: var(--linea); }
.franja-clara { background: var(--papel-claro); border-block: var(--linea); }

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.8rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.medido { max-width: 62ch; margin-inline: auto; }
.estrecho { max-width: 74ch; }

/* --- 6. Saltar al contenido (accesibilidad) ----------------------------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--tinta);
  color: var(--crema);
  padding: .7rem 1.1rem;
  border-radius: 0 0 12px 0;
  font-weight: 700;
}
.skip:focus { left: 0; }

/* --- 7. Header ---------------------------------------------------------- */
.sitio-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(242, 227, 201, .93);
  backdrop-filter: blur(6px);
}
.sitio-header::after {
  /* Línea "dibujada a mano" del borde inferior. */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='10' viewBox='0 0 240 10'%3E%3Cpath d='M0 5c20-3 34 3 60 2s42-4 62-1 40 4 62 1 38-3 56-2' fill='none' stroke='%2342301F' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 240px 10px;
  opacity: .85;
  pointer-events: none;
}
.sitio-header.pegado { box-shadow: 0 8px 22px -18px rgba(66, 48, 31, .9); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .7rem;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--tinta);
}
.marca-logo { width: clamp(44px, 6vw, 56px); height: auto; }
.marca-nombre {
  font-family: var(--fuente-titulo);
  font-weight: 700;
  font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem);
  letter-spacing: -0.02em;
  line-height: 1;
}
.marca-nombre span { color: var(--terracota); }

.nav ul {
  display: flex;
  align-items: center;
  gap: clamp(.4rem, 1.6vw, 1.2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a:not(.btn) {
  font-weight: 700;
  color: var(--tinta-2);
  text-decoration: none;
  padding: .4rem .2rem;
  border-bottom: 2.5px solid transparent;
}
.nav a:not(.btn):hover { color: var(--tinta); border-bottom-color: var(--dorado); }
.nav a[aria-current="page"] { color: var(--tinta); border-bottom-color: var(--terracota); }

.menu-btn {
  display: none;
  width: 48px; height: 44px;
  padding: 8px 10px;
  background: var(--papel-claro);
  border: var(--linea);
  border-radius: 14px 16px 12px 18px / 16px 12px 18px 14px;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: var(--tinta);
  border-radius: 3px;
  transition: transform .25s ease, opacity .2s ease;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- 8. Botones --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--fuente-titulo);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.15;
  padding: .78rem 1.35rem;
  border: var(--linea);
  border-radius: 16px 20px 14px 22px / 20px 14px 22px 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
  box-shadow: var(--sombra-suave);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--sombra); }
.btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 rgba(66, 48, 31, .12); }

.btn-primario { background: var(--tinta); color: var(--crema); }
.btn-primario:hover { background: #543d27; color: var(--crema); }

.btn-secundario { background: var(--papel-claro); color: var(--tinta); }

.btn-dorado { background: var(--dorado); color: var(--tinta); }

.btn-wa { background: var(--verde); color: var(--crema); }
.btn-wa:hover { background: #4C6A3A; color: var(--crema); }

.btn-chico { padding: .5rem .9rem; font-size: .95rem; }

.acciones { display: flex; flex-wrap: wrap; gap: .8rem; }
.acciones.centrado { justify-content: center; }

/* --- 9. Tarjetas "hechas a mano" ---------------------------------------- */
.tarjeta {
  background: var(--papel-claro);
  border: var(--linea);
  border-radius: var(--radio-mano);
  padding: clamp(1.1rem, 2.4vw, 1.7rem);
  box-shadow: var(--sombra-suave);
}
.tarjeta-girar-a { transform: rotate(-1.1deg); }
.tarjeta-girar-b { transform: rotate(1.1deg); }
.tarjeta h3 { margin-top: .35rem; }

.tarjeta .icono {
  width: 62px;
  height: 62px;
  margin-bottom: .5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--papel-claro);
  border: var(--linea);
  border-radius: 999px;
  padding: .35rem .9rem;
  font-family: var(--fuente-titulo);
  font-weight: 600;
  font-size: .95rem;
  box-shadow: var(--sombra-suave);
}

/* --- 10. Hero ----------------------------------------------------------- */
.hero { padding-block: clamp(1.6rem, 4vw, 3.4rem) clamp(2rem, 5vw, 4rem); }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.hero h1 { margin-top: .7rem; }
.hero h1 .resaltado {
  color: var(--terracota);
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: var(--dorado);
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}
.hero .lead { margin-bottom: 1.4rem; }

.hero-dibujo { position: relative; }
.hero-dibujo svg { width: 100%; height: auto; }

/* --- 11. Doodles flotantes ---------------------------------------------- */
.doodle { position: absolute; pointer-events: none; }
.flotar { animation: flotar 6s ease-in-out infinite; }
.flotar-lento { animation: flotar 9s ease-in-out infinite; }
@keyframes flotar {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-9px) rotate(-3deg); }
}

/* --- 12. Pasos ---------------------------------------------------------- */
.pasos { counter-reset: paso; }
.paso {
  position: relative;
  background: var(--papel-claro);
  border: var(--linea);
  border-radius: var(--radio-mano-2);
  padding: 1.6rem 1.3rem 1.3rem;
  box-shadow: var(--sombra-suave);
}
.paso::before {
  counter-increment: paso;
  content: counter(paso);
  position: absolute;
  top: -22px;
  left: 1.2rem;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  background: var(--dorado);
  border: var(--linea);
  border-radius: 50% 46% 52% 48% / 48% 52% 46% 52%;
  font-family: var(--fuente-titulo);
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: var(--sombra-suave);
}
.paso h3 { margin-top: .8rem; }

/* --- 13. Chat de ejemplo ------------------------------------------------ */
.chat {
  background: var(--papel-claro);
  border: var(--linea);
  border-radius: 22px 26px 20px 28px / 26px 20px 28px 22px;
  box-shadow: var(--sombra);
  overflow: hidden;
  max-width: 460px;
}
.chat-top {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1rem;
  background: var(--tinta);
  color: var(--crema);
}
.chat-top .chat-logo { width: 34px; height: 34px; flex: none; }
.chat-top .chat-nombre { font-family: var(--fuente-titulo); font-weight: 600; }
.chat-top .chat-estado {
  margin-left: auto;
  font-size: .78rem;
  background: rgba(255, 249, 236, .16);
  border-radius: 999px;
  padding: .15rem .6rem;
}
.chat-cuerpo {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  background: var(--papel-hondo);
}
.burbuja {
  max-width: 84%;
  padding: .6rem .9rem;
  border: 2px solid var(--tinta);
  border-radius: 16px 18px 18px 6px / 18px 16px 6px 18px;
  font-size: .96rem;
  line-height: 1.45;
  box-shadow: 2px 3px 0 rgba(66, 48, 31, .12);
}
.burbuja.bot { background: var(--papel-claro); align-self: flex-start; }
.burbuja.user {
  background: var(--verde-claro);
  align-self: flex-end;
  border-radius: 18px 16px 6px 18px / 16px 18px 18px 6px;
}
.chat-resumen {
  align-self: stretch;
  background: var(--crema);
  border: 2px dashed var(--tinta);
  border-radius: 14px;
  padding: .7rem .9rem;
  font-size: .92rem;
}
.chat-resumen b { display: block; font-family: var(--fuente-titulo); }

/* --- 14. Lista de features / checklist ---------------------------------- */
.lista-tilde { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.lista-tilde li { position: relative; padding-left: 2rem; }
.lista-tilde li::before {
  content: "";
  position: absolute;
  left: 0; top: .28em;
  width: 1.25em; height: 1.25em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A7746' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13.5l5 5C11 16 17.5 8.5 21 5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* --- 15. Precios -------------------------------------------------------- */
.plan { display: flex; flex-direction: column; gap: .4rem; }
.plan.destacado { background: var(--crema); box-shadow: var(--sombra); position: relative; }
.plan .etiqueta {
  position: absolute;
  top: -.9rem; right: 1.1rem;
  background: var(--dorado);
  border: var(--linea);
  border-radius: 999px;
  padding: .1rem .7rem;
  font-family: var(--fuente-titulo);
  font-size: .82rem;
  font-weight: 700;
}
.plan .precio {
  font-family: var(--fuente-titulo);
  font-weight: 700;
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.7rem);
  line-height: 1;
  margin: .3rem 0;
}
.plan .precio small { font-size: .95rem; font-weight: 600; color: var(--tinta-2); }
.plan .detalle { color: var(--tinta-3); font-size: .88rem; }
.plan .lista-tilde { margin-top: .9rem; margin-bottom: 1.2rem; }
.plan .acciones { margin-top: auto; }

/* --- 16. FAQ ------------------------------------------------------------ */
.faq { display: grid; gap: .8rem; }
details.pregunta {
  background: var(--papel-claro);
  border: var(--linea);
  border-radius: 18px 22px 16px 24px / 22px 16px 24px 18px;
  padding: .2rem .3rem;
  box-shadow: var(--sombra-suave);
}
details.pregunta > summary {
  cursor: pointer;
  list-style: none;
  padding: .9rem 1.1rem;
  font-family: var(--fuente-titulo);
  font-weight: 600;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}
details.pregunta > summary::-webkit-details-marker { display: none; }
details.pregunta > summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--terracota);
}
details[open].pregunta > summary::after { content: "–"; }
details.pregunta .respuesta { padding: 0 1.1rem 1rem; color: var(--tinta-2); }

/* --- 17. Formulario ---------------------------------------------------- */
.form { display: grid; gap: 1rem; }
.campo { display: grid; gap: .35rem; }
.campo label { font-family: var(--fuente-titulo); font-weight: 600; }
.campo input, .campo textarea, .campo select {
  font: inherit;
  color: var(--tinta);
  background: var(--crema);
  border: 2.2px solid var(--tinta);
  border-radius: 14px 16px 12px 18px / 16px 12px 18px 14px;
  padding: .7rem .9rem;
  width: 100%;
}
.campo textarea { min-height: 9rem; resize: vertical; }
.campo :is(input, textarea, select):focus-visible {
  outline: 3px solid var(--dorado);
  outline-offset: 2px;
}
.campo .ayuda { font-size: .85rem; color: var(--tinta-3); }
.form-nota {
  margin-top: 1rem;
  padding: .9rem 1.1rem;
  background: var(--verde-claro);
  border: var(--linea);
  border-radius: 16px 20px 14px 22px / 20px 14px 22px 16px;
  font-weight: 700;
}
[hidden] { display: none !important; }

/* --- 18. CTA final ----------------------------------------------------- */
.cta-final {
  background: var(--tinta);
  color: var(--crema);
  border-block: var(--linea);
  position: relative;
  overflow: hidden;
}
.cta-final h2 { color: var(--crema); }
.cta-final p { color: rgba(255, 249, 236, .86); }
.cta-final .btn-secundario { background: var(--papel-claro); }
.cta-doodles { position: absolute; inset: 0; pointer-events: none; opacity: .5; }

/* --- 19. Footer -------------------------------------------------------- */
.sitio-footer { background: var(--papel-hondo); border-top: var(--linea); padding-top: 2.5rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  padding-bottom: 2rem;
}
.footer-marca { display: flex; flex-direction: column; gap: .5rem; }
.footer-marca .fila { display: flex; align-items: center; gap: .6rem; }
.footer-marca img { width: 46px; }
.sitio-footer h4 { margin-bottom: .6rem; }
.sitio-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.sitio-footer a { color: var(--tinta-2); text-decoration: none; font-weight: 600; }
.sitio-footer a:hover { color: var(--rojo); text-decoration: underline; }
.footer-legal {
  border-top: 2px dashed rgba(66, 48, 31, .35);
  padding-block: 1.1rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  color: var(--tinta-3);
}

/* --- 20. Migas (miguitas de pan decorativas) ---------------------------- */
.miguitas { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

/* --- 21. Reveal al scrollear ------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* --- 22. Responsive ---------------------------------------------------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-dibujo { order: -1; width: 100%; max-width: 480px; margin-inline: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-marca { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--papel);
    border-bottom: var(--linea);
    padding: .6rem 1rem 1.1rem;
    display: none;
    box-shadow: 0 18px 26px -22px rgba(66, 48, 31, .9);
  }
  .nav.abierto { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav a:not(.btn) { display: block; padding: .7rem .4rem; border-bottom: 2px dashed rgba(66, 48, 31, .25); }
  .nav .btn { margin-top: .6rem; }
}

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  body { line-height: 1.6; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* --- 23. Foco visible -------------------------------------------------- */
:focus-visible { outline: 3px solid var(--dorado); outline-offset: 2px; border-radius: 6px; }

/* --- 24. Impresión ----------------------------------------------------- */
@media print {
  .sitio-header, .cta-final, .menu-btn, body::after { display: none; }
  body { background: #fff; }
}

/* --- 25. Tablas (página de precios) ------------------------------------- */
.tabla-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: .2rem; }
.tabla {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--papel-claro);
  border: var(--linea);
  border-radius: var(--radio-mano);
  overflow: hidden;
  font-size: .98rem;
}
.tabla th, .tabla td { padding: .8rem 1rem; text-align: left; border-bottom: 2px dashed rgba(66, 48, 31, .22); vertical-align: middle; }
.tabla thead th {
  background: var(--papel-hondo);
  font-family: var(--fuente-titulo);
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 2.4px solid var(--tinta);
}
.tabla tbody tr:last-child th, .tabla tbody tr:last-child td { border-bottom: none; }
.tabla tbody th { font-weight: 700; font-family: var(--fuente-titulo); }
.tabla .si, .tabla .no { font-weight: 800; text-align: center; }
.tabla .si { color: var(--verde); }
.tabla .no { color: var(--tinta-3); }
.tabla caption { caption-side: bottom; padding-top: .7rem; font-size: .85rem; color: var(--tinta-3); text-align: left; }

/* --- 26. Nota / aviso --------------------------------------------------- */
.nota {
  border: 2px dashed var(--tinta);
  background: var(--crema);
  border-radius: 18px 22px 16px 24px / 22px 16px 24px 18px;
  padding: 1rem 1.2rem;
  font-size: .97rem;
}
.nota strong { font-family: var(--fuente-titulo); }

/* --- 27. Pasos largos (timeline simple) --------------------------------- */
.paso-largo { display: grid; grid-template-columns: 70px 1fr; gap: 1.2rem; align-items: start; }
.paso-largo .numero {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  background: var(--dorado);
  border: var(--linea);
  border-radius: 50% 46% 52% 48% / 48% 52% 46% 52%;
  font-family: var(--fuente-titulo);
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: var(--sombra-suave);
}
.paso-largo + .paso-largo { margin-top: 1.6rem; padding-top: 1.6rem; border-top: 2px dashed rgba(66, 48, 31, .3); }
@media (max-width: 560px) {
  .paso-largo { grid-template-columns: 1fr; gap: .6rem; }
}

/* --- 28. Precio destacado en texto -------------------------------------- */
.subrayado { text-decoration: underline; text-decoration-style: wavy; text-decoration-color: var(--dorado); text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* --- 29. Capturas del panel (hechas en HTML, no son imágenes) ------------ */
.mock {
  background: var(--papel-claro);
  border: var(--linea);
  border-radius: 18px 22px 16px 24px / 22px 16px 24px 18px;
  box-shadow: var(--sombra);
  overflow: hidden;
}
.mock-barra {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .85rem;
  background: var(--papel-hondo);
  border-bottom: 2.4px solid var(--tinta);
  font-family: var(--fuente-titulo);
  font-weight: 600;
  font-size: .92rem;
}
.mock-puntitos { display: flex; gap: .28rem; flex: none; }
.mock-puntitos i { width: 11px; height: 11px; border: 2px solid var(--tinta); border-radius: 50%; display: block; }
.mock-cuerpo { padding: 1rem; display: grid; gap: .55rem; }
.mock-tabs { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .3rem; }
.mock-tab {
  font-size: .8rem;
  padding: .12rem .6rem;
  border: 2px solid var(--tinta);
  border-radius: 999px;
  background: var(--crema);
  white-space: nowrap;
}
.mock-tab.activo { background: var(--tinta); color: var(--crema); }
.mock-fila {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: .6rem;
  align-items: center;
  background: var(--crema);
  border: 2px solid var(--tinta);
  border-radius: 12px;
  padding: .45rem .7rem;
  font-size: .9rem;
}
.mock-fila b { font-family: var(--fuente-titulo); font-weight: 600; }
.mock-fila .detalle { color: var(--tinta-3); font-size: .8rem; display: block; }
.mock-precio { font-weight: 800; font-variant-numeric: tabular-nums; }
.mock-stock {
  font-size: .76rem;
  font-weight: 800;
  padding: .04rem .5rem;
  border: 2px solid var(--tinta);
  border-radius: 999px;
  background: var(--verde-claro);
  white-space: nowrap;
}
.mock-stock.bajo { background: var(--dorado); }
.mock-stock.cero { background: #E7B9A6; }

.chip {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  padding: .08rem .6rem;
  border: 2px solid var(--tinta);
  border-radius: 999px;
  background: var(--papel-hondo);
  white-space: nowrap;
}
.chip.confirmar { background: #E7B9A6; }
.chip.proceso { background: var(--dorado); }
.chip.entrega { background: var(--cielo); }
.chip.listo { background: var(--verde-claro); }

/* Tablet de la cocina */
.tablet {
  background: var(--tinta);
  border-radius: 24px;
  padding: 13px;
  box-shadow: var(--sombra);
}
.tablet .mock { border-radius: 12px; }
.comandas { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: .7rem; }
.comanda {
  background: var(--crema);
  border: 2.4px solid var(--tinta);
  border-radius: 14px;
  padding: .6rem .7rem;
  font-size: .85rem;
  box-shadow: 2px 3px 0 rgba(66, 48, 31, .12);
}
.comanda .comanda-top { display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin-bottom: .3rem; }
.comanda .nro { font-family: var(--fuente-titulo); font-weight: 700; }
.comanda .hora { color: var(--tinta-3); font-weight: 700; font-size: .78rem; }
.comanda ul { list-style: none; margin: .3rem 0 0; padding: 0; display: grid; gap: .18rem; }
.comanda li { display: flex; justify-content: space-between; gap: .6rem; border-bottom: 1px dashed rgba(66, 48, 31, .25); padding-bottom: .15rem; }
.comanda li:last-child { border-bottom: none; }
.comanda li span:first-child { font-weight: 700; }

/* Reglas del bot */
.reglas-mock {
  background: var(--crema);
  border: 2.4px solid var(--tinta);
  border-radius: 16px;
  padding: .9rem 1rem;
  font-size: .92rem;
  line-height: 1.6;
  box-shadow: inset 0 0 0 5px var(--papel-claro);
}
.reglas-mock p { margin: 0 0 .45rem; }
.reglas-mock p:last-child { margin-bottom: 0; }
.reglas-mock .etq { color: var(--terracota); font-weight: 800; }

/* --- 30. Formulario: trampa para bots y aviso de error ------------------ */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  margin-top: 1rem;
  padding: .9rem 1.1rem;
  background: #F0CBBE;
  border: var(--linea);
  border-radius: 16px 20px 14px 22px / 20px 14px 22px 16px;
  font-weight: 700;
}
