/* =============================================================
   2. Reset y base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }

/* =============================================================
   3. Utilidades
   ============================================================= */
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: fixed; top: -100px; left: 12px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 0.6rem 1rem; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 12px; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--forest);
}
.section-title { font-size: clamp(2rem, 6vw, 3.4rem); margin: 0.5rem 0 1rem; max-width: 18ch; }
.lead { color: var(--ink-soft); font-size: 1.08rem; max-width: 58ch; margin-bottom: 2.6rem; }
section { padding-block: 84px; }

/* Revelado al bajar: el contenido es visible si el JS falla (solo se oculta con .js) */
.js .reveal {
  opacity: 0; translate: 0 26px;
  transition: opacity 0.8s var(--ease-out), translate 0.8s var(--ease-out);
}
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem; border-radius: 999px; font-weight: 700; font-size: 1rem;
  transition: transform 0.25s var(--ease-out), filter 0.25s, background 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--forest { background: var(--forest); color: #fff; }
.btn--forest:hover { background: var(--forest-2); }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { filter: brightness(1.06); }
.btn--light { background: var(--paper); color: var(--forest); }
