@charset "UTF-8";

/* --------------------------------------------------------------
   Lean Base Styles for EC Hereditas
   -------------------------------------------------------------- */

/* Box sizing & element reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  background: none;
  border: none;
}

main, section {
  width: 100%;
}

.stretched {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Basic typography helpers */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: inherit;
}

p {
  margin: 0;
}

ul, ol {
  padding-left: 1.2rem;
  margin: 0;
}

/* Utility wrappers */
.hidden {
  display: none !important;
}

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

.visually-hidden:focus,
.visually-hidden:active {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Simple flex helpers */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Minimal container helper (custom.css refines this) */
.container {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 0 20px;
}
