/* ============================================================
   reset.css · normalize + variables globales
   Paleta: logo (marrón, oro/sol, celeste agua) + pergamino de la carta
   ============================================================ */

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

:root {
  /* ---- Paleta ---- */
  --paper:        #efe2c2;   /* pergamino claro */
  --paper-deep:   #e3d0a6;   /* pergamino sombra */
  --ink:          #2b2016;   /* tinta sepia */
  --ink-soft:     #5c4a35;   /* sepia suave */
  --line:         rgba(43, 32, 22, 0.16);
  --line-strong:  rgba(43, 32, 22, 0.34);

  --gold:         #c98a2e;   /* oro del logo */
  --gold-bright:  #e8ab4e;   /* oro claro (hover/glow) */
  --ember:        #b45a1f;   /* naranja tostado del sol del logo */
  --agua:         #4da7c9;   /* celeste del agua del logo (acento puntual) */
  --brown-900:    #241a11;   /* marrón profundo del círculo del logo */

  --card:         rgba(248, 239, 216, 0.72);
  --card-strong:  rgba(248, 239, 216, 0.92);
  --card-dark:    rgba(36, 26, 17, 0.84);

  /* ---- Tipografía (de la carta: serif clásica + caligráfica) ---- */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'EB Garamond', Georgia, serif;
  --font-label:   'Cinzel', 'Times New Roman', serif;
  --font-script:  'Great Vibes', cursive;

  /* ---- Sombras y radios ---- */
  --shadow-sm: 0 2px 10px rgba(36, 26, 17, 0.10);
  --shadow-md: 0 14px 40px rgba(36, 26, 17, 0.18);
  --shadow-lg: 0 30px 70px rgba(36, 26, 17, 0.30);
  --glow-gold: 0 0 0 1px rgba(201, 138, 46, 0.35), 0 18px 50px rgba(201, 138, 46, 0.24);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  /* ---- Layout ---- */
  --maxw: 1200px;
  --gutter: clamp(1.2rem, 4vw, 3rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  font-size: clamp(1rem, 0.55vw + 0.9rem, 1.12rem);
  background-color: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; }
em { font-style: italic; }

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

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