/* ============================================
   Los Repertoristas — Base
   Reset, tipografía, layout helpers, botones
   ============================================ */

/* ── Reset ────────────────────────────────── */
*,
*::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-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--lr-ink);
  background-color: var(--lr-bg);
  overflow-x: hidden;
}

/* Textura papel — grain sutil que da calidez de folio a toda la página */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.235;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 300px 300px;
}

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

a {
  color: var(--lr-brand);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--lr-brand-80);
  text-decoration: underline;
}

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

ul, ol {
  list-style: none;
}

/* ── Tipografía ──────────────────────────── */
h1, h2, h3, .heading {
  font-family: var(--font-heading);
  color: var(--lr-ink);
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw + 0.5rem, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.4rem, 2vw + 0.5rem, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lr-brand);
  margin-bottom: var(--space-xs);
}

/* ── Layout helpers ──────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

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

.section--dark {
  background-color: var(--lr-ink);
  color: var(--lr-bg);
}

.section--dark h2,
.section--dark h3,
.section--dark .heading {
  color: var(--lr-bg);
}

.text-center {
  text-align: center;
}

/* ── Botones ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--lr-brand);
  color: #ffffff;
}

.btn--primary:hover {
  background-color: var(--lr-brand-80);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--lr-brand-24);
}

.btn--secondary {
  background-color: transparent;
  color: var(--lr-ink);
  border: 1.5px solid var(--lr-ink-24);
}

.btn--secondary:hover {
  border-color: var(--lr-ink);
  background-color: var(--lr-ink-08);
  text-decoration: none;
}

.btn--white {
  background-color: #ffffff;
  color: var(--lr-ink);
}

.btn--white:hover {
  background-color: var(--lr-bg);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* ── Divider visual ──────────────────────── */
.divider-img {
  height: 360px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.divider-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--lr-bg) 0%,
    transparent 15%,
    transparent 85%,
    var(--lr-bg) 100%
  );
}

/* ── Animaciones de entrada ──────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
