/* Base, layout y componentes comunes */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--tinta);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-size: var(--t-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 1em 1.8em;
  font: 600 var(--t-sm)/1 var(--f-texto);
  letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border: 1px solid currentColor; border-radius: var(--radio);
  background: transparent; color: inherit; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn--solid { background: var(--naranja); border-color: var(--naranja); color: var(--blanco); }
.btn--solid:hover { background: var(--naranja-2); border-color: var(--naranja-2); }
.btn--ghost:hover { background: var(--blanco); color: var(--bosque); }

/* Imagen a sangre */
.bleed { position: relative; height: 100svh; min-height: 520px; overflow: hidden; color: var(--blanco); }
.bleed > img, .bleed > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.45) 100%); }
.bleed__txt { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: clamp(32px, 8vh, 96px); max-width: 760px; }

/* Aparición al scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Acceso rápido a Instagram (junto a un botón) */
.link-ig { display: flex; width: fit-content; align-items: center; gap: 8px; margin: 18px 0 0; color: var(--azul-texto); font-weight: 600; font-size: var(--t-sm); letter-spacing: .03em; text-decoration: none; }
.link-ig svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.link-ig .punto { fill: currentColor; stroke: none; }
.link-ig:hover { color: var(--naranja-texto); }
.sec--oscura .link-ig { color: #FFE0C7; }
