/**
 * Hola Chispabiz — Normalización base (Reset CSS ligero).
 *
 * @package HolaChispabiz
 */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    margin-block-start: 0.5rem;
    margin-block-end: 0.85rem;
    font-weight: 700;
    line-height: 1.25;
    color: #0a0a0a;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-block-start: 0;
    margin-block-end: 1rem;
}

a {
    color: #b8962e;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
    color: #0a0a0a;
    text-decoration: underline;
}

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

figure {
    margin: 0 0 1.25rem;
}

input,
button,
textarea,
select {
    font: inherit;
}

button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-block-end: 1.5rem;
}

th,
td {
    padding: 0.65rem 0.85rem;
    border: 1px solid #e5e7eb;
    text-align: start;
}

th {
    background-color: #f9fafb;
    font-weight: 600;
}

blockquote {
    margin: 1.25rem 0;
    padding-inline-start: 1.25rem;
    border-inline-start: 3px solid #d4af37;
    color: #4b5563;
}

pre,
code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

pre {
    overflow-x: auto;
    padding: 1rem;
    background: #0a0a0a;
    color: #f9fafb;
    border-radius: 6px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    inset-block-start: -100px;
    inset-inline-start: 16px;
    z-index: 99999;
    padding: 10px 18px;
    background: #0a0a0a;
    color: #d4af37;
    font-weight: 600;
    border: 2px solid #d4af37;
    border-radius: 4px;
}

.skip-link:focus {
    inset-block-start: 16px;
    width: auto;
    height: auto;
    clip: auto;
    text-decoration: none;
}
