/* ==========================================================================
   base.css — Reset, tipografía global, helpers, Lenis
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--graphite);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

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

ul { list-style: none; }

/* --- Tipografía global --- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

/* --- Helpers de layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.section { padding-block: var(--section-py); }

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--label-gray);
}

.eyebrow--on-dark { color: rgba(255, 255, 255, 0.6); }

/* --- Botones pill --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out),
              color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--lime {
  background: var(--lime-bright);
  color: var(--forest-deep);
}
.btn--lime:hover { background: #c6f13f; transform: translateY(-2px); }

.btn--outline-cream {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn--outline-cream:hover { border-color: var(--cream); background: rgba(255, 255, 255, 0.08); }

.btn--outline-dark {
  background: transparent;
  color: var(--graphite);
  border: 1px solid rgba(20, 20, 20, 0.25);
}
.btn--outline-dark:hover { border-color: var(--graphite); background: rgba(20, 20, 20, 0.04); }

/* --- Lenis --- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* --- Accesibilidad: reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Estado inicial de reveals (JS los anima; si no hay JS, se ven igual) */
.no-js-visible { opacity: 1; }
