/* ==========================================================================
   AE PROPERTY MANAGEMENT & CONSULT
   Archivo: css/reset.css

   Normalización general de estilos del navegador.
   Este archivo debe cargarse antes que variables.css y el resto de CSS.
   ========================================================================== */


/* ==========================================================================
   MODELO DE CAJA
   ========================================================================== */

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


/* ==========================================================================
   DOCUMENTO
   ========================================================================== */

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

body {
  min-height: 100vh;
  margin: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ==========================================================================
   MÁRGENES PREDETERMINADOS
   ========================================================================== */

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}


/* ==========================================================================
   LISTAS
   ========================================================================== */

ul,
ol {
  margin-top: 0;
}

ul[role="list"],
ol[role="list"] {
  margin: 0;
  padding: 0;
  list-style: none;
}


/* ==========================================================================
   ENLACES
   ========================================================================== */

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

a:not([class]) {
  text-decoration-skip-ink: auto;
}


/* ==========================================================================
   IMÁGENES Y CONTENIDO MULTIMEDIA
   ========================================================================== */

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

img,
video {
  height: auto;
}

iframe {
  max-width: 100%;
  border: 0;
}


/* ==========================================================================
   FORMULARIOS
   ========================================================================== */

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

button,
select {
  cursor: pointer;
}

button {
  padding: 0;
  border: 0;
  background: none;
}

textarea {
  resize: vertical;
}

textarea:not([rows]) {
  min-height: 10rem;
}

input,
textarea,
select {
  border-radius: 0;
}

input[type="search"] {
  appearance: none;
  -webkit-appearance: none;
}

button,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}


/* ==========================================================================
   TABLAS
   ========================================================================== */

table {
  border-collapse: collapse;
  border-spacing: 0;
}


/* ==========================================================================
   ELEMENTOS INTERACTIVOS
   ========================================================================== */

summary {
  cursor: pointer;
}

dialog {
  padding: 0;
  border: 0;
}


/* ==========================================================================
   TEXTO
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

p,
li,
figcaption {
  text-wrap: pretty;
}

address {
  font-style: normal;
}

strong,
b {
  font-weight: bolder;
}


/* ==========================================================================
   NAVEGACIÓN POR ANCLAS
   ========================================================================== */

:target {
  scroll-margin-block: 7rem;
}


/* ==========================================================================
   ELEMENTOS OCULTOS
   ========================================================================== */

[hidden] {
  display: none !important;
}


/* ==========================================================================
   UTILIDAD ACCESIBLE
   Oculta visualmente un elemento sin retirarlo de los lectores de pantalla.
   ========================================================================== */

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* ==========================================================================
   MOVIMIENTO REDUCIDO
   Respeta la configuración de accesibilidad del dispositivo.
   ========================================================================== */

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

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