/* ===== RESET CSS MODERNO - AURA LV MINIMALISTA ===== */

/* ===== RESET BÁSICO ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== HTML Y BODY ===== */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #000000;
    background-color: #ffffff;
    font-weight: 300;
}

/* ===== ELEMENTOS DE TEXTO ===== */
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.2;
    font-family: 'Playfair Display', Georgia, serif;
    color: #000000;
    letter-spacing: 2px;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

p {
    color: #6b7280;
    font-weight: 300;
}

/* ===== ELEMENTOS MULTIMEDIA ===== */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ===== FORMULARIOS ===== */
input, button, textarea, select {
    font: inherit;
    color: inherit;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

input:focus, button:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

button {
    cursor: pointer;
    background: transparent;
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    min-height: 44px;
}

button:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* ===== ENLACES ===== */
a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #6b7280;
}

/* ===== LISTAS ===== */
ul, ol {
    list-style: none;
}

/* ===== TABLAS ===== */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ===== ELEMENTOS INTERACTIVOS ===== */
details, summary {
    display: block;
}

summary {
    cursor: pointer;
}

/* ===== ELEMENTOS EMBEBIDOS ===== */
iframe, embed, object {
    max-width: 100%;
}

/* ===== ELEMENTOS DE CÓDIGO ===== */
code, pre {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: #fafafa;
    padding: 0.25rem 0.5rem;
    border-radius: 0;
    font-size: 0.875em;
}

pre {
    padding: 1rem;
    overflow-x: auto;
    border: 1px solid #e5e7eb;
}

/* ===== ELEMENTOS DE CITACIÓN ===== */
blockquote {
    margin: 0;
    padding: 1rem;
    border-left: 3px solid #000000;
    background: #fafafa;
    font-style: italic;
}

/* ===== ELEMENTOS DE HORIZONTAL RULE ===== */
hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0;
}

/* ===== ELEMENTOS DE MARCADO ===== */
mark {
    background: #f5f5dc;
    color: #000000;
    padding: 0.125rem 0.25rem;
}

/* ===== ELEMENTOS DE SUBRAYADO ===== */
u {
    text-decoration: underline;
    text-decoration-color: #6b7280;
    text-underline-offset: 0.25em;
}

/* ===== ELEMENTOS DE TACHADO ===== */
s, del {
    text-decoration: line-through;
    text-decoration-color: #6b7280;
}

/* ===== ELEMENTOS DE SUBÍNDICE Y SUPERÍNDICE ===== */
sub, sup {
    font-size: 0.75em;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/* ===== ELEMENTOS DE ENTRADA ===== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="number"],
textarea {
    width: 100%;
    background: #ffffff;
    color: #000000;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    padding: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-height: 44px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* ===== ELEMENTOS DE SELECCIÓN ===== */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* ===== ELEMENTOS DE CHECKBOX Y RADIO ===== */
input[type="checkbox"],
input[type="radio"] {
    width: 1rem;
    height: 1rem;
    margin: 0;
    accent-color: #000000;
}

/* ===== ELEMENTOS DE RANGO ===== */
input[type="range"] {
    width: 100%;
    height: 0.5rem;
    background: #e5e7eb;
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    background: #000000;
    border-radius: 0;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 1.25rem;
    height: 1.25rem;
    background: #000000;
    border-radius: 0;
    cursor: pointer;
    border: none;
}

/* ===== ELEMENTOS DE ARCHIVO ===== */
input[type="file"] {
    padding: 0.5rem;
    border: 2px dashed #e5e7eb;
    border-radius: 0;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="file"]:hover {
    border-color: #000000;
    background: #ffffff;
}

/* ===== ELEMENTOS DE BOTÓN ===== */
button[type="submit"],
button[type="button"],
button[type="reset"],
input[type="submit"],
input[type="button"],
input[type="reset"] {
    background: #000000;
    color: #ffffff;
    border: 1px solid #000000;
    border-radius: 0;
    padding: 0.75rem 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
}

button[type="submit"]:hover,
button[type="button"]:hover,
button[type="reset"]:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
    background: transparent;
    color: #000000;
}

/* ===== ELEMENTOS DE CAMPO ===== */
fieldset {
    border: 1px solid #e5e7eb;
    border-radius: 0;
    padding: 1rem;
    margin: 1rem 0;
}

legend {
    padding: 0 0.5rem;
    font-weight: 400;
    color: #000000;
    letter-spacing: 1px;
}

/* ===== ELEMENTOS DE LABEL ===== */
label {
    display: block;
    font-weight: 400;
    color: #000000;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

/* ===== ELEMENTOS DE GRUPO ===== */
.form-group {
    margin-bottom: 1rem;
}

/* ===== ELEMENTOS DE VALIDACIÓN ===== */
input:invalid,
textarea:invalid,
select:invalid {
    border-color: #6b7280;
}

input:valid,
textarea:valid,
select:valid {
    border-color: #6b7280;
}

/* ===== ELEMENTOS DE DESHABILITADO ===== */
input:disabled,
button:disabled,
textarea:disabled,
select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #fafafa;
}

/* ===== ELEMENTOS DE SOLO LECTURA ===== */
input[readonly],
textarea[readonly] {
    background: #fafafa;
    cursor: not-allowed;
}

/* ===== ELEMENTOS DE REQUERIDO ===== */
input:required,
textarea:required,
select:required {
    border-left: 3px solid #000000;
}

/* ===== ELEMENTOS DE PLACEHOLDER ===== */
::placeholder {
    color: #6b7280;
    opacity: 1;
}

/* ===== ELEMENTOS DE AUTOFILL ===== */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
    -webkit-text-fill-color: #000000 !important;
}

/* ===== ELEMENTOS DE FOCUS VISIBLE ===== */
:focus-visible {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* ===== ELEMENTOS DE REDUCCIÓN DE MOVIMIENTO ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== ELEMENTOS DE ALTO CONTRASTE ===== */
@media (prefers-contrast: high) {
    * {
        border-color: #000000 !important;
        color: #000000 !important;
        background: #ffffff !important;
    }
}

/* ===== ELEMENTOS DE IMPRESIÓN ===== */
@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    a,
    a:visited {
        text-decoration: underline;
    }
    
    img {
        page-break-inside: avoid;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}
