/* Emprendo Ya — «Cerro de calaminas». Tokens, base y componentes compartidos. */
:root {
  --marca: #9333EA;
  --marca-osc: #7A1FCB;
  --marca-claro: #B370F0;
  --lavanda: #E1C6F9;
  --cobalto: #1F3BB3;
  --cobalto-osc: #162a85;
  --amarillo: #F2C230;
  --coral: #E8505B;
  --verde: #2BA58C;
  --lila: #7B4BD6;
  --naranjo: #F08A24;
  --tinta: #1A1A2E;
  --tinta-2: #3B3B55;
  --tinta-3: #5D5D78;
  --cielo: #EEF2FB;
  --cielo-2: #DFE6F6;
  --blanco: #FFFFFF;
  --linea: #CDD5EA;
  --ok: #1E8C5A;
  --error: #C4323E;

  --display: 'Bricolage Grotesque', 'Figtree', sans-serif;
  --texto: 'Figtree', system-ui, sans-serif;

  /* Escala estricta de tamaños (muestrario) */
  --t-xs: .8125rem; --t-s: .9375rem; --t-m: 1.0625rem; --t-l: 1.375rem;
  --t-xl: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --t-2xl: clamp(2.5rem, 1.4rem + 4.4vw, 4.5rem);
  --t-3xl: clamp(3rem, 1.2rem + 6.6vw, 6rem);

  --r: 6px; --r-l: 14px;
  --sombra: 0 2px 4px rgba(26, 26, 46, .06), 0 10px 24px -8px rgba(26, 26, 46, .18);
  --sombra-l: 0 4px 8px rgba(26, 26, 46, .08), 0 24px 48px -16px rgba(26, 26, 46, .32);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --calamina: repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 2px, rgba(255,255,255,0) 2px 9px, rgba(0,0,0,.10) 9px 11px, rgba(0,0,0,0) 11px 14px);
  --color-tienda: var(--marca);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font: 400 var(--t-m)/1.55 var(--texto); color: var(--tinta); background: var(--cielo); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--marca); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--marca-osc); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; font-weight: 800; }
h1 { font-size: var(--t-2xl); } h2 { font-size: var(--t-xl); } h3 { font-size: var(--t-l); letter-spacing: -.015em; } h4 { font-size: var(--t-m); }
p { margin: 0 0 1em; }
::selection { background: var(--amarillo); color: var(--tinta); }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 2px; border-radius: 3px; box-shadow: 0 0 0 5px var(--tinta); }
input, select, textarea, button { font: inherit; color: inherit; }
* { scrollbar-width: thin; scrollbar-color: var(--tinta-3) transparent; }
.num { font-variant-numeric: tabular-nums; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.envoltura { width: min(1200px, 100% - 2rem); margin-inline: auto; }
.mute { color: var(--tinta-3); }
.peq { font-size: var(--t-s); }
.salto { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }

/* ---------- Botones ---------- */
.btn { --b: var(--tinta); --c: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.25em; border: 2px solid var(--b); border-radius: var(--r); background: var(--b); color: var(--c); font-weight: 700; font-size: var(--t-m); line-height: 1.1; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s; box-shadow: 0 3px 0 rgba(26,26,46,.35); }
.btn:hover { color: var(--c); transform: translateY(-2px); box-shadow: 0 6px 0 rgba(26,26,46,.35); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(26,26,46,.35); }
.btn[disabled], .btn.desactivado { opacity: .45; pointer-events: none; }
.btn-amarillo { --b: var(--amarillo); --c: var(--tinta); }
.btn-cobalto { --b: var(--marca); }
.btn-coral { --b: var(--coral); }
.btn-verde { --b: var(--verde); }
.btn-tienda { --b: var(--color-tienda); }
.btn-borde { --b: transparent; --c: var(--tinta); border-color: var(--tinta); box-shadow: none; }
.btn-borde:hover { background: var(--tinta); --c: #fff; box-shadow: none; }
.btn-whatsapp { --b: #1FAF5A; }
.btn-chico { min-height: 38px; padding: .45em .85em; font-size: var(--t-s); }
.btn-grande { min-height: 56px; padding: .85em 1.6em; font-size: var(--t-l); }
.btn-ancho { width: 100%; }
.enlace-btn { background: none; border: 0; padding: 0; color: var(--marca); text-decoration: underline; cursor: pointer; font-weight: 600; }
.enlace-btn.peligro { color: var(--error); }

/* ---------- Calamina (material) ---------- */
.calamina { background-color: var(--c, var(--marca)); background-image: var(--calamina); }
.ventana { position: relative; background: var(--tinta); border: 7px solid #fff; border-radius: 3px; box-shadow: inset 0 0 0 2px rgba(26,26,46,.25), 0 6px 0 rgba(26,26,46,.2); overflow: hidden; }
.ventana > video, .ventana > img { width: 100%; height: 100%; object-fit: cover; }
.letrero { display: inline-flex; align-items: center; gap: .4em; background: #fff; color: var(--tinta); font: 800 var(--t-s)/1 var(--display); padding: .45em .7em; border-radius: 3px; box-shadow: 0 3px 0 rgba(26,26,46,.25); letter-spacing: -.01em; }
.sello-demo { font: 700 .6875rem/1 var(--texto); text-transform: uppercase; letter-spacing: .06em; background: var(--tinta); color: var(--amarillo); padding: .35em .5em; border-radius: 2px; }

/* ---------- Encabezado público ---------- */
.cabecera { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--cielo) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea); }
.cabecera .envoltura { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.marca { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--tinta); font: 800 1.35rem/1 var(--display); letter-spacing: -.03em; }
.marca:hover { color: var(--tinta); }
.marca .casita { width: 34px; height: 34px; }
.marca b { color: var(--marca); }
.nav-principal { display: flex; gap: 1.25rem; margin-left: auto; align-items: center; }
.nav-principal a { color: var(--tinta); text-decoration: none; font-weight: 600; font-size: var(--t-s); }
.nav-principal a:hover { color: var(--marca); text-decoration: underline; }
.boton-menu { display: none; margin-left: auto; background: none; border: 0; padding: .5rem; cursor: pointer; }
.boton-menu .ico { width: 28px; height: 28px; }
@media (max-width: 860px) {
  .boton-menu { display: block; }
  .nav-principal { position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--cielo); border-bottom: 2px solid var(--tinta); padding: .5rem 1rem 1rem; transform: translateY(-120%); transition: transform .35s var(--ease); margin: 0; }
  .nav-principal.abierto { transform: none; }
  .nav-principal a { padding: .85rem 0; border-bottom: 1px solid var(--linea); font-size: var(--t-m); }
  .nav-principal .btn { margin-top: .75rem; }
}

/* ---------- Mensajes ---------- */
.mensajes { position: fixed; z-index: 90; left: 50%; bottom: 1rem; transform: translateX(-50%); width: min(520px, calc(100% - 2rem)); display: grid; gap: .5rem; }
.mensaje { display: flex; gap: .75rem; align-items: center; padding: .85rem 1rem; border-radius: var(--r); background: var(--tinta); color: #fff; box-shadow: var(--sombra-l); font-weight: 600; animation: subir .5s var(--ease) both; }
.mensaje.success .ico { color: var(--amarillo); } .mensaje.error { background: var(--error); } .mensaje.info .ico { color: #8FB0FF; }
.mensaje button { margin-left: auto; background: none; border: 0; color: inherit; cursor: pointer; opacity: .7; }
@keyframes subir { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Formularios ---------- */
.campo { display: grid; gap: .35rem; margin-bottom: 1rem; }
.campo > label, .etiqueta { font-weight: 700; font-size: var(--t-s); }
.campo input:not([type=checkbox]):not([type=radio]):not([type=file]), .campo select, .campo textarea, .entrada {
  width: 100%; min-height: 48px; padding: .7rem .85rem; border: 2px solid var(--linea); border-radius: var(--r); background: #fff; transition: border-color .15s; }
.campo textarea { min-height: 96px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus, .entrada:focus { border-color: var(--marca); outline: none; box-shadow: 0 0 0 3px rgba(147,51,234,.2); }
.campo input::placeholder, .campo textarea::placeholder { color: #7A7A92; }
.campo .ayuda { font-size: var(--t-xs); color: var(--tinta-3); }
.campo .errores, .errores-form { color: var(--error); font-size: var(--t-s); font-weight: 600; margin: 0; padding: 0; list-style: none; }
.campo.con-error input, .campo.con-error select, .campo.con-error textarea { border-color: var(--error); }
.errores-form { background: #FDECEE; border: 2px solid var(--error); border-radius: var(--r); padding: .75rem 1rem; margin-bottom: 1rem; }
.check { display: flex; gap: .6rem; align-items: center; font-weight: 600; margin-bottom: .75rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--marca); }
.campo input[type=file] { padding: .6rem; border: 2px dashed var(--linea); border-radius: var(--r); background: #fff; width: 100%; }
.fila-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 1rem; }
.opciones-radio { display: grid; gap: .5rem; }
.opcion { display: flex; gap: .75rem; align-items: center; padding: .85rem 1rem; border: 2px solid var(--linea); border-radius: var(--r); background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.opcion:hover { border-color: var(--tinta-3); }
.opcion:has(input:checked) { border-color: var(--tinta); background: color-mix(in srgb, var(--color-tienda) 8%, #fff); box-shadow: 0 3px 0 var(--tinta); }
.opcion input { accent-color: var(--tinta); width: 18px; height: 18px; }
.opcion .derecha { margin-left: auto; font-weight: 700; }
.colores { display: flex; gap: .5rem; flex-wrap: wrap; }
.color-op { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--linea); cursor: pointer; background: var(--c); background-image: var(--calamina); transition: transform .2s var(--ease), box-shadow .2s; }
.color-op:hover { transform: scale(1.08); }
.color-op[aria-pressed=true] { box-shadow: 0 0 0 3px var(--tinta); transform: scale(1.1); }

/* ---------- Tablas ---------- */
.tabla-env { overflow-x: auto; background: #fff; border: 2px solid var(--tinta); border-radius: var(--r-l); }
table.tabla { width: 100%; border-collapse: collapse; font-size: var(--t-s); }
.tabla th { text-align: left; font-weight: 700; padding: .75rem 1rem; background: var(--cielo); border-bottom: 2px solid var(--tinta); white-space: nowrap; }
.tabla td { padding: .75rem 1rem; border-bottom: 1px solid var(--linea); vertical-align: middle; }
.tabla tr:last-child td { border-bottom: 0; }
.tabla tbody tr:hover { background: #F7F9FE; }
.tabla .der { text-align: right; } .tabla .cen { text-align: center; }
.tabla a.fila-enlace { color: var(--tinta); font-weight: 700; text-decoration: none; }
.tabla a.fila-enlace:hover { color: var(--marca); text-decoration: underline; }
.miniatura { width: 48px; height: 48px; border-radius: 4px; object-fit: cover; background: var(--cielo-2); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--linea); }

/* ---------- Etiquetas de estado ---------- */
.estado { display: inline-flex; align-items: center; gap: .35em; padding: .25em .6em; border-radius: 3px; font-size: var(--t-xs); font-weight: 700; white-space: nowrap; background: var(--cielo-2); color: var(--tinta); }
.estado::before { content: ''; width: .5em; height: .5em; border-radius: 50%; background: currentColor; }
.estado.nuevo { background: #FFF3C7; color: #7A5600; } .estado.preparando { background: #E1E8FF; color: var(--marca); }
.estado.listo, .estado.enviado { background: #DDF5EE; color: #146C55; } .estado.entregado, .estado.pagado { background: #DFF3E7; color: var(--ok); }
.estado.cancelado, .estado.rechazado { background: #FDE5E7; color: var(--error); } .estado.pendiente { background: #FFF3C7; color: #7A5600; }

/* ---------- Pestañas ---------- */
.pestanas { display: flex; gap: .35rem; flex-wrap: wrap; }
.pestanas a { padding: .45em .8em; border-radius: 20px; text-decoration: none; color: var(--tinta); font-weight: 700; font-size: var(--t-s); border: 2px solid transparent; }
.pestanas a:hover { border-color: var(--linea); }
.pestanas a[aria-current=page] { background: var(--tinta); color: #fff; }

/* ---------- Pie ---------- */
.pie { background: var(--tinta); color: #C9CCE0; padding: 3.5rem 0 2rem; margin-top: 4rem; }
.pie a { color: #fff; }
.pie .marca { color: #fff; } .pie .marca b { color: var(--amarillo); }
.pie-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 2rem; }
.pie h4 { color: #fff; font-size: var(--t-s); margin-bottom: .75rem; }
.pie ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; font-size: var(--t-s); }
.pie-final { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #34344E; font-size: var(--t-xs); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 760px) { .pie-grid { grid-template-columns: 1fr 1fr; } .pie-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Tarjeta-superficie ---------- */
.superficie { background: #fff; border: 2px solid var(--tinta); border-radius: var(--r-l); padding: 1.5rem; }
.vacio { text-align: center; padding: 3rem 1.5rem; border: 2px dashed var(--tinta-3); border-radius: var(--r-l); background: rgba(255,255,255,.5); }
.vacio h3 { margin-bottom: .35rem; }
.vacio .btn { margin-top: 1rem; }

/* ---------- Páginas de cuenta (centradas) ---------- */
.pagina-centrada { min-height: calc(100vh - 68px); display: grid; place-items: start center; padding: 3rem 1rem; }
.caja-form { width: min(460px, 100%); }
.caja-form.ancha { width: min(980px, 100%); }
.caja-form h1 { font-size: var(--t-xl); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Comunidad (compartido) ---------- */
.globo { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--coral); color: #fff; font: 800 .68rem/18px var(--texto); text-align: center; }
.estrellas { color: #E0A100; letter-spacing: .05em; }
.verif { display: inline-flex; vertical-align: -.15em; color: var(--marca); } .verif .ico { width: 1.05em; height: 1.05em; fill: var(--lavanda); }
.verif.grande .ico { width: .7em; height: .7em; }
.comentario { padding: .7rem 0; border-bottom: 1px solid var(--linea); } .comentario p { margin: 0 0 .25rem; font-size: var(--t-s); }
.respuesta { margin: .35rem 0 0 1rem !important; padding: .5rem .75rem; background: var(--cielo); border-radius: var(--r); font-size: var(--t-s); }
.caja-comentar { display: flex; gap: .5rem; align-items: center; margin-top: .75rem; flex-wrap: wrap; } .caja-comentar .entrada { flex: 1; min-width: 12rem; min-height: 42px; }
.denunciar-mini { font-size: var(--t-xs); color: var(--tinta-3); margin-left: .4rem; }
.menu-post { position: relative; } .menu-post summary { list-style: none; cursor: pointer; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; }
.menu-post summary::-webkit-details-marker { display: none; }
.menu-post > div { position: absolute; right: 0; top: 100%; z-index: 20; min-width: 180px; background: #fff; border: 1.5px solid var(--tinta); border-radius: var(--r); box-shadow: var(--sombra-l); padding: .35rem; display: grid; }
.menu-post > div a { padding: .55rem .7rem; color: var(--tinta); text-decoration: none; font-size: var(--t-s); border-radius: 4px; } .menu-post > div a:hover { background: var(--cielo); }
.banda-vivo { display: flex; gap: .75rem; align-items: center; margin: .5rem 1rem 1rem; padding: .65rem .85rem; border: 2px solid var(--tinta); border-radius: var(--r-l); background: #fff; color: var(--tinta); text-decoration: none; font-size: var(--t-s); }
.banda-vivo .ico:last-child { margin-left: auto; } .banda-vivo.al-aire { border-color: var(--coral); background: #FFF1F2; }
.punto-vivo { flex: none; font: 800 .7rem var(--texto); letter-spacing: .05em; padding: .3em .55em; border-radius: 3px; background: var(--tinta); color: #fff; }
.al-aire .punto-vivo, .punto-vivo.al-aire { background: var(--coral); animation: latir 1.6s ease-in-out infinite; }
@keyframes latir { 50% { opacity: .55; } }
.cupon-seguir { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin: 1.5rem 0 0; padding: .8rem 1rem; border: 2px dashed var(--color-tienda, var(--marca)); border-radius: var(--r-l); background: #fff; font-size: var(--t-s); }
.cupon-seguir > .ico { color: var(--color-tienda, var(--marca)); width: 26px; height: 26px; } .cupon-seguir span { flex: 1; min-width: 12rem; }
.codigo-cupon { font-family: ui-monospace, monospace; background: var(--amarillo); padding: .1em .45em; border-radius: 3px; }
.aviso-intermediario { font-size: var(--t-xs); color: var(--tinta-3); border-top: 1px solid var(--linea); padding-top: .75rem; }
.chips-check { display: flex; flex-wrap: wrap; gap: .35rem; } .chips-check ul { display: contents; } .chips-check li { list-style: none; }
.chips-check label { display: inline-flex; gap: .35rem; align-items: center; padding: .35rem .6rem; border: 1.5px solid var(--linea); border-radius: 20px; font-size: var(--t-xs); font-weight: 600; cursor: pointer; background: #fff; }
.chips-check label:has(input:checked) { border-color: var(--tinta); background: var(--lavanda); }

/* ---------- Veterinaria: tipo de negocio, agenda, fichas y QR ---------- */
.tipo-negocio { border: 0; padding: 0; margin: 0 0 1.5rem; }
.opciones-tipo { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .6rem; margin-top: .5rem; }
.opcion-tipo { display: grid; gap: .15rem; padding: .85rem 1rem; border: 2px solid var(--linea); border-radius: var(--r); background: #fff; color: var(--tinta); text-decoration: none; }
.opcion-tipo:hover { border-color: var(--tinta-3); color: var(--tinta); }
.opcion-tipo[aria-current] { border-color: var(--tinta); background: color-mix(in srgb, var(--marca) 8%, #fff); box-shadow: 0 3px 0 var(--tinta); }
.opcion-tipo.deshabilitada { opacity: .55; border-style: dashed; }
.estado.confirmada, .estado.atendida { background: #DDF5EE; color: #146C55; }
.estado.no_asistio, .estado.cancelada { background: #FDE5E7; color: var(--error); }
.estado.verificada { background: #DDF5EE; color: #146C55; }
.alerta-alergia { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.15rem; border: 2px solid var(--error); border-radius: var(--r-l); background: #FDE5E7; color: #7d1720; margin-bottom: 1rem; }
.alerta-alergia b { display: block; font: 800 var(--t-m)/1.2 var(--display); }
.alerta-alergia p { margin: .2rem 0 0; white-space: pre-line; color: var(--tinta); }
.ficha-cab { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.25rem; }
.ficha-cab h1 { margin: 0; font-size: var(--t-xl); }
.ficha-foto { width: 88px; height: 88px; flex: none; border-radius: 50%; border: 2px solid var(--tinta); background: var(--lavanda); object-fit: cover; display: grid; place-items: center; font: 800 2rem var(--display); color: var(--marca-osc); }
.ficha-datos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .75rem 1rem; margin: 0 0 1rem; }
.ficha-datos dt { font-size: var(--t-xs); color: var(--tinta-3); font-weight: 600; }
.ficha-datos dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.ficha-texto { white-space: pre-line; margin: 0 0 .75rem; }
.lista-simple { list-style: none; padding: 0; margin: 0; }
.lista-simple li { display: flex; gap: .75rem; align-items: flex-start; justify-content: space-between; padding: .75rem 0; border-bottom: 1px solid var(--linea); }
.lista-simple li:last-child { border-bottom: 0; }
.tarjetas-mascotas { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.tarjeta-mascota { display: flex; gap: .85rem; align-items: center; padding: 1rem; background: #fff; border: 2px solid var(--tinta); border-radius: var(--r-l); color: var(--tinta); text-decoration: none; }
.tarjeta-mascota:hover { color: var(--tinta); box-shadow: 0 3px 0 var(--tinta); }
.tarjeta-mascota .ficha-foto { width: 56px; height: 56px; font-size: 1.4rem; }
.qr-caja { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.qr-caja img { width: 150px; height: 150px; background: #fff; border: 2px solid var(--tinta); border-radius: var(--r); padding: 6px; }
.horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; }
.horas label { display: block; text-align: center; padding: .6rem .25rem; border: 2px solid var(--linea); border-radius: var(--r); background: #fff; cursor: pointer; font-weight: 700; }
.horas label:has(input:checked) { border-color: var(--tinta); background: var(--amarillo); }
.horas input { position: absolute; opacity: 0; pointer-events: none; }
.dias { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .4rem; }
.dias a { flex: none; display: grid; text-align: center; min-width: 58px; padding: .45rem .5rem; border: 2px solid var(--linea); border-radius: var(--r); background: #fff; color: var(--tinta); text-decoration: none; font-size: var(--t-xs); }
.dias a b { font-size: var(--t-m); }
.dias a[aria-current] { border-color: var(--tinta); background: var(--tinta); color: #fff; }
.agenda-cita { display: grid; grid-template-columns: 64px 1fr auto; gap: .5rem 1rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--linea); }
.agenda-cita:last-child { border-bottom: 0; }
.agenda-cita .hora { font: 800 var(--t-l)/1 var(--display); }
.agenda-cita .acciones { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
.agenda-cita form { display: inline; }
@media (max-width: 640px) { .agenda-cita { grid-template-columns: 56px 1fr; } .agenda-cita .acciones { grid-column: 1 / -1; justify-content: flex-start; } }
.horario-dia { display: grid; grid-template-columns: 150px 1fr 1fr; gap: .75rem; align-items: center; padding: .4rem 0; border-bottom: 1px solid var(--linea); }
.horario-dia input[type=time] { width: 100%; }
.servicios-vet { display: grid; gap: .6rem; margin: 0 0 2rem; }
.servicio-vet { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 1rem 1.15rem; background: #fff; border: 2px solid var(--tinta); border-radius: var(--r-l); }
.servicio-vet .precio { font: 800 var(--t-l) var(--display); }
.app-centro > .vet-app { margin: 0 1rem; }
.qr-publico { width: min(640px, 100% - 2rem); margin: 1.5rem auto 3rem; }
@media print { .no-imprimir { display: none !important; } body { background: #fff; } }
.vet-app .bloque, .qr-publico .bloque { background: #fff; border: 2px solid var(--tinta); border-radius: var(--r-l); padding: 1.25rem 1.4rem; margin-bottom: 1.25rem; }
.vet-app .bloque > h2, .qr-publico .bloque > h2 { font-size: var(--t-l); }
.galeria-pacientes { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .75rem; }
.galeria-pacientes figure { margin: 0; background: #fff; border: 2px solid var(--tinta); border-radius: var(--r-l); overflow: hidden; }
.galeria-pacientes img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.galeria-pacientes figcaption { padding: .5rem .7rem; font-size: var(--t-xs); }
.galeria-pacientes form { padding: 0 .7rem .6rem; }
