/*
 * Reset base mínimo + estilos de documento.
 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body.okip-body {
    margin: 0;
    background: var(--okip-color-bg);
    color: var(--okip-color-text);
    font-family: var(--okip-font-base);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4 {
    line-height: 1.15;
}

button {
    font: inherit;
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--okip-color-accent-2);
    outline-offset: 3px;
}

/* Solo lectores de pantalla (visualmente oculto, accesible) */
.okip-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Skip link accesible */
.okip-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--okip-color-accent);
    color: #fff;
    padding: .6rem 1rem;
    border-radius: 0 0 8px 0;
}
.okip-skip-link:focus {
    left: 0;
}
