/* ===================================================================
   R&E GLAMOUR — global.css
   Variables, reset, tipografía base y utilidades
   =================================================================== */

:root {
  /* Paleta */
  --color-bg: #0F0A0A;
  --color-surface: #1A1212;
  --color-surface-2: #241818;
  --color-rose: #E8B4B8;
  --color-rose-deep: #C9858A;
  --color-gold: #D4AF7A;
  --color-gold-soft: #E8D2A8;
  --color-gold-bright: #E8C892;
  --color-cream: #F5EBE0;
  --color-cream-dark: #E8DBC9;
  --color-text: #F5EBE0;
  --color-text-muted: #B8A89C;
  --color-text-dark: #2A1F1F;

  /* Tipografía */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Espaciado fluido */
  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 1.5vw, 1rem);
  --space-md: clamp(1rem, 2.5vw, 1.5rem);
  --space-lg: clamp(2rem, 5vw, 4rem);
  --space-xl: clamp(3rem, 8vw, 7rem);
  --space-2xl: clamp(4rem, 12vw, 10rem);

  /* Layout */
  --container: min(1280px, 92vw);
  --container-narrow: min(960px, 92vw);
  --container-wide: min(1480px, 96vw);

  /* Misc */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --shadow-rose: 0 20px 60px -20px rgba(232, 180, 184, 0.25);
  --shadow-gold: 0 20px 60px -20px rgba(212, 175, 122, 0.3);
  --shadow-deep: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
  --transition: 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  --transition-slow: 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  position: relative;
}

img, picture, video, svg, canvas, iframe {
  max-width: 100%;
}

img, picture, video, svg {
  display: block;
  height: auto;
}

button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

/* ============== TIPOGRAFÍA ============== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.5vw, 3.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-gold);
  display: inline-block;
}

.eyebrow--rose { color: var(--color-rose); }

p { color: var(--color-text); }
.muted { color: var(--color-text-muted); }

::selection {
  background: var(--color-gold);
  color: var(--color-bg);
}

/* ============== LAYOUT UTILIDADES ============== */
.container { width: var(--container); margin-inline: auto; }
.container-narrow { width: var(--container-narrow); margin-inline: auto; }
.container-wide { width: var(--container-wide); margin-inline: auto; }

.section { padding-block: var(--space-xl); position: relative; }
.section--hero { padding-block: 0; }
.section--tight { padding-block: var(--space-lg); }
.section--cream { background-color: var(--color-cream); color: var(--color-text-dark); }
.section--cream h1, .section--cream h2, .section--cream h3, .section--cream h4 { color: var(--color-text-dark); }
.section--cream .muted { color: rgba(42, 31, 31, 0.7); }
.section--surface { background-color: var(--color-surface); }

.flow > * + * { margin-top: 1rem; }
.flow-lg > * + * { margin-top: 1.5rem; }

.grid { display: grid; gap: var(--space-md); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }

.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.text-rose { color: var(--color-rose); }
.italic { font-style: italic; }

.divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: var(--space-sm) auto;
}

.divider--left { margin-inline: 0; background: linear-gradient(90deg, var(--color-gold), transparent); }

/* ============== ACCESIBILIDAD ============== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px; left: 0;
  background: var(--color-gold);
  color: var(--color-bg);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s;
}

.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* ============== SCROLLBAR ============== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-surface-2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-gold); }

/* Cursor personalizado eliminado a petición del cliente */

/* ============== REDUCED MOTION ============== */
/* Bloque eliminado a propósito — el cliente quiere las animaciones siempre.
   Para volver a respetar la preferencia, restaurar el @media que estaba aquí. */
