/* 2. BASE — reset, tipografía, layout, utilidades y animaciones. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--navy); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.container { width: min(var(--max), 100% - 2rem); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #eef1f6; }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-bottom: 1rem; display: block; }
.section--navy .eyebrow { color: var(--light); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.section--navy .lead { color: #c9d2e0; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.rule { width: 56px; height: 2px; background: var(--gold); border: 0; margin: 1.4rem 0; }

/* Animaciones discretas */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
.noscript-msg { background: var(--light); padding: .8rem; text-align: center; }

/* Utilidades */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-lg { margin-top: 1.5rem; }
.mt-xl { margin-top: 3rem; }
.m-0 { margin: 0; }
.items-center { align-items: center; }
.gap-lg { gap: 3rem; }
.narrow { max-width: 760px; padding: 3rem 0 5rem; }
