/*---------------------------------------
  TYPOGRAPHY
  Reglas base para texto: encabezados, párrafos,
  enlaces. Los tamaños de h1-h6 ya son fluidos
  (clamp) en variables.css; responsive.css ajusta
  únicamente lo que necesita un tope extra.
-----------------------------------------*/
body {
    background-color: var(--surface-color);
    font-family: var(--body-font-family);
    color: var(--p-color);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-color);
    font-family: var(--body-font-family);
    letter-spacing: -0.01em;
    line-height: 1.15;
}

h1,
h2,
h3 {
    font-weight: var(--font-weight-bold);
}

h4,
h5,
h6 {
    font-weight: var(--font-weight-semibold);
}

h1 {
    font-size: var(--h1-font-size);
    line-height: 1.08;
}

h2 {
    font-size: var(--h2-font-size);
}

h3 {
    font-size: var(--h3-font-size);
}

h4 {
    font-size: var(--h4-font-size);
}

h5 {
    font-size: var(--h5-font-size);
    line-height: 1.3;
}

h6 {
    font-size: var(--h6-font-size);
    line-height: 1.3;
}

p {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-light);
    line-height: 1.7;
}

ul li {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-light);
}

a,
button {
    touch-action: manipulation;
    transition: all var(--transition-fast);
}

a {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover-color);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.custom-btn:focus-visible,
.nav-link:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

b,
strong {
    font-weight: var(--font-weight-bold);
}

/* Etiqueta corta en mayúsculas que antecede a un título de sección
   (ej. "SOBRE NOSOTROS" arriba de un h2), reutilizable en todo el sitio. */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--eyebrow-font-size);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--secondary-color);
}

.section-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.section-eyebrow--center {
    justify-content: center;
}

/* Título de sección genérico, usado en listados y galerías */
#pageHeaderTitle {
    margin: 2rem 0;
    text-transform: uppercase;
    text-align: center;
    font-size: 2.5rem;
}
