/* ============================================
   EDP STUDIO — BASE STYLES
   Reset, body, tipografía global
   ============================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--paper);
  background: var(--ink);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Lenis smooth scroll */
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;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.005em;
  color: var(--paper);
}

h1 { font-size: var(--fs-mega); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }

p {
  line-height: 1.7;
  color: var(--gray-300);
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer; /* fallback si JS del cursor falla */
}

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

button {
  font-family: inherit;
  cursor: pointer; /* fallback si JS del cursor falla */
  background: none;
  border: none;
  color: inherit;
}

/* Cursor custom: solo se oculta cuando JS confirma que está activo */
@media (min-width: 992px) and (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor body,
  html.has-custom-cursor a,
  html.has-custom-cursor button {
    cursor: none;
  }
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Eyebrow / Label */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--space-2);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.eyebrow::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--orange);
}

/* Eyebrow centrado (usado en secciones CTA) */
.eyebrow--center {
  justify-content: center;
}

/* Acento de color naranja (utilidad global) */
.accent {
  color: var(--orange);
}

/* FOUC prevention */
[data-load-reset] {
  opacity: 0;
}

/* Selection */
::selection {
  background: var(--magenta);
  color: var(--paper);
}

/* Scrollbar (oculto pero accesible) */
::-webkit-scrollbar {
  width: 0;
  background: transparent;
}
