/* Base común de todas las tarjetas PYMECARD (mínima, sin estilos de diseño). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; line-height: 1.5; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
img { max-width: 100%; height: auto; }
.pmc-icon { flex: none; }
.pmc-banner {
	position: sticky; top: 0; z-index: 10; padding: .6rem 1rem; text-align: center;
	background: #fff4c2; color: #3d3000; font: 600 .9rem/1.4 system-ui, sans-serif; border-bottom: 1px solid #e6d27a;
}
.pmc-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pmc-toast {
	position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
	background: #111; color: #fff; padding: .6rem 1rem; border-radius: .5rem; font: 500 .9rem system-ui, sans-serif;
}
.pmc-unavailable { display: grid; place-items: center; background: #f5f5f4; color: #1c1917; padding: 1rem; }
.pmc-unavailable main { max-width: 26rem; text-align: center; }
.pmc-unavailable h1 { font-size: 1.5rem; }
.pmc-unavailable a { color: #1d4ed8; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Texto solo para lectores de pantalla. */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Formulario "Envíanos un mensaje" (común a todos los modelos; usa sus colores). */
.pmc-cform { box-sizing: border-box; max-width: 40rem; margin: 2.5rem auto 0; padding: 1.4rem 1.25rem; width: calc(100% - 2rem); border-radius: 1rem; background: color-mix(in srgb, currentColor 6%, transparent); border: 1px solid color-mix(in srgb, currentColor 16%, transparent); font-family: var(--pmc-font); }
.pmc-cform-title { margin: 0 0 1rem; font: 700 1.35rem/1.2 var(--pmc-display); }
.pmc-cform form > p { margin: 0 0 .85rem; }
.pmc-cform-field label { display: block; font-weight: 600; margin-bottom: .3rem; }
.pmc-cform input[type=text], .pmc-cform textarea { box-sizing: border-box; width: 100%; min-height: 2.9rem; padding: .6rem .75rem; border: 1px solid #9ca3af; border-radius: .6rem; background: #fff; color: #111; font: 400 1rem/1.4 var(--pmc-font); }
.pmc-cform textarea { min-height: 6.5rem; resize: vertical; }
.pmc-cform input:focus-visible, .pmc-cform textarea:focus-visible, .pmc-cform-btn:focus-visible, .pmc-cform-check input:focus-visible { outline: 3px solid var(--pmc-primary-ink, currentColor); outline-offset: 2px; }
.pmc-cform [aria-invalid="true"] { border-color: #b91c1c; border-width: 2px; }
.pmc-cform-check label { display: flex; gap: .55rem; align-items: flex-start; line-height: 1.45; font-size: .95rem; }
.pmc-cform-check input { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .1rem; }
.pmc-cform-check a { color: inherit; }
.pmc-cform-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .6rem 1.4rem; border: 0; border-radius: .7rem; background: var(--pmc-primary); color: var(--pmc-on-primary); font: 700 1rem var(--pmc-display); cursor: pointer; }
.pmc-cform-btn:disabled { opacity: .6; cursor: wait; }
.pmc-cform-err { display: block; margin-top: .3rem; padding: .3rem .55rem; border-radius: .4rem; background: #fef2f2; color: #991b1b; font-size: .9rem; font-weight: 600; }
.pmc-cform-err[hidden], .pmc-cform-note[hidden] { display: none; }
.pmc-cform-note { margin: .5rem 0 0; padding: .6rem .8rem; border-radius: .6rem; background: #fff; color: #111; font-weight: 600; }
.pmc-cform-note.is-ok { background: #ecfdf5; color: #065f46; }
.pmc-cform-note.is-error { background: #fef2f2; color: #991b1b; }
.pmc-cform .pmc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
