/* 1️⃣ Reset general */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 2️⃣ Tipografía base */
html {
  font-size: 100%; /* 16px por defecto */
  scroll-behavior: smooth;
}

body {
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}

/* 3️⃣ Enlaces */
a {
  color: inherit;
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: underline;   
}

/* 4️⃣ Imágenes y multimedia */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 5️⃣ Formularios */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

/* 6️⃣ Botones accesibles */
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* 7️⃣ Listas */
ul,
ol {
  list-style: none;
}

/* 8️⃣ Tablas */
table {
  border-collapse: collapse;
  width: 100%;
}

/* 9️⃣ Cabeceras semánticas */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
  font-weight: 600;
}

/* 10️⃣ Imágenes decorativas */
[aria-hidden="true"] {
  pointer-events: none;
}

/* ================================
   🧱 LAYOUT BASE
   ================================ */

.container {
  width: min(90%, 1200px);
  margin-inline: auto;
}

section {
  /* padding: 50px 0; */
  padding: 35px 0;
}

header,
footer {
  /* padding: 1.5rem 0; */
}

/* ================================
   📱 MOBILE FIRST MEDIA QUERIES
   ================================ */

/* Tablet */
@media (min-width: 768px) {
  body {
    font-size: 1.05rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  body {
    font-size: 1.1rem;
  }
}