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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--hdh-steel);
  background-color: var(--hdh-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--hdh-black);
  line-height: 1.15;
}

h1 {
  font-weight: 800;
  font-size: 32px;
  line-height: 1.05;
}

h2 {
  font-weight: 700;
  font-size: 26px;
}

h3 {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
}

@media (min-width: 768px) {
  h1 { font-size: 52px; }
  h2 { font-size: 36px; }
  h3 { font-size: 24px; }
}

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

/* Overline */
.overline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--hdh-ember);
}

/* Caption */
.caption {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--hdh-silver);
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-2xl) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-3xl) 0;
  }
}

/* Utilidades */
.text-center { text-align: center; }
.text-ember { color: var(--hdh-ember); }
.text-white { color: #fff; }
.text-steel { color: var(--hdh-steel); }
.text-steel-mid { color: var(--hdh-steel-mid); }
.bg-black { background-color: var(--hdh-black); }
.bg-bone { background-color: var(--hdh-bone); }
.bg-ember { background-color: var(--hdh-ember); }
.bg-white { background-color: var(--hdh-white); }

/* Visualmente oculto pero accesible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}