/* =============================================================================
   RV Aluminum — Reset propio
   Normaliza sin imponer estilo. Todo lo visual vive en base.css y components.css.
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: var(--rv-header-h);
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd,
ul, ol, fieldset, legend {
	margin: 0;
	padding: 0;
}

ul[class],
ol[class] {
	list-style: none;
}

h1, h2, h3, h4, h5, h6 {
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

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

img {
	height: auto;
	border-style: none;
}

svg {
	fill: currentColor;
}

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

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
	margin: 0;
}

button {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

textarea {
	resize: vertical;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
}

fieldset {
	border: 0;
}

hr {
	border: 0;
	border-top: 1px solid var(--rv-color-borde);
	height: 0;
}

[hidden] {
	display: none !important;
}

:focus-visible {
	outline: 2px solid var(--rv-color-foco);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
