/* ==========================================================================
   GLOBAL.CSS - PALETA BOTÁNICA VERDE SALVIA, OLIVO, CREMA MARFIL Y DORADO
   MIS XV AÑOS - VALENTINA (MODELO 03 - ESTILO BOTÁNICO VERDE & DORADO)
   ========================================================================== */

:root {
  /* Paleta Base Papel Crema Marfil & Pergamino Cálido */
  --xv-paper: #faf6ee;
  --xv-paper-warm: #f3ecdd;
  --xv-cream-card: #fffdf8;
  --xv-outer-cream: #e8dec9;

  /* Verde Salvia / Verde Olivo Bosque (de la paleta oficial de la imagen) */
  --xv-forest: #5a6e4e;
  --xv-forest-dark: #435439;
  --xv-sage: #adc19e;
  --xv-sage-pill: #d3dbc7;
  --xv-sage-pill-hover: #c3cfb3;
  --xv-sage-soft: rgba(90, 110, 78, 0.12);

  /* Dorado Antiguo & Champagne (de la paleta oficial de la imagen) */
  --xv-ivory-swatch: #f1e6d0;
  --xv-champagne: #d7bf95;
  --xv-gold: #b08d4c;
  --xv-gold-bright: #c5a059;
  --xv-gold-light: #e5d2ab;
  --xv-gold-dark: #8c6b30;

  /* Compatibilidad con variables de componentes reutilizados */
  --xv-purple-band: #5a6e4e;
  --xv-purple-band-dark: #435439;
  --xv-lilac-num: #b08d4c;

  /* Textos y Bordes */
  --xv-text-dark: #2c2821;
  --xv-text-muted: #5e574a;
  --xv-border: #e2d7c1;
  --xv-border-gold: rgba(176, 141, 76, 0.42);

  /* Tipografías */
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-display: "Playfair Display", Georgia, serif;
  --font-script: "Great Vibes", cursive;
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--xv-paper);
}

body {
  background-color: var(--xv-paper);
  color: var(--xv-text-dark);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

::selection {
  background-color: var(--xv-forest);
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

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

/* Utilidades de Tipografía */
.font-serif {
  font-family: var(--font-serif);
}

.font-display {
  font-family: var(--font-display);
}

.font-script {
  font-family: var(--font-script);
}

.font-sans {
  font-family: var(--font-sans);
}

/* Textura de Papel Crema Marfil / Pergamino Fino */
.paper-texture {
  background-color: var(--xv-paper);
  background-image:
    radial-gradient(circle at 18% 15%, rgba(235, 224, 200, 0.45) 0%, transparent 42%),
    radial-gradient(circle at 84% 34%, rgba(221, 211, 187, 0.38) 0%, transparent 45%),
    radial-gradient(circle at 20% 66%, rgba(232, 221, 198, 0.35) 0%, transparent 42%),
    radial-gradient(circle at 82% 82%, rgba(215, 205, 180, 0.38) 0%, transparent 46%),
    radial-gradient(rgba(176, 141, 76, 0.14) 0.75px, transparent 0.75px),
    linear-gradient(180deg, #fcf9f2 0%, #f7f1e3 50%, #faf6ee 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 22px 22px, 100% 100%;
}

/* Utilidades generales */
.hidden {
  display: none !important;
}

.flex {
  display: flex !important;
}
