/* ============================================================
   EL TLACUACHE — ESTILOS COMPARTIDOS
   Importado por todas las páginas del sitio.
   Para estilos específicos del dashboard: /dashboard/styles.css
   ============================================================ */

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

/* ── TOKENS ── */
:root {
  --cream:    #F0F8FC;
  --paper:    #DFF0F7;
  --ink:      #005093;
  --caramel:  #003A6E;
  --cinnamon: #32B1CC;
  --gold:     #32B1CC;
  --muted:    #6E8FA0;
  --line:     rgba(0,80,147,.1);
  --line-inv: rgba(240,248,252,.07);
}

/* ── LENIS ── */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* ── BASE ── */
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Instrument Sans', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ── GRAIN ── */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 500; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ── CURSOR ── */
#cur  { position: fixed; width: 7px; height: 7px; background: var(--cinnamon); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); }
#curl { position: fixed; width: 34px; height: 34px; border: 1px solid rgba(50,177,204,.28); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); }

/* ── SECCIÓN BASE ── */
section { position: relative; z-index: 2; }

/* ── NAV BASE ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 4000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
}
.nav-logo {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 16px; text-decoration: none;
}
.nav-back {
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; transition: color .3s, gap .35s;
}
.nav-back:hover { gap: 14px; }

/* ── HLINE (helper de animación) ── */
.hline { display: block; overflow: hidden; }
.hline span { display: block; transform: translateY(112%); }

/* ── FOOTER ── */
footer { background: var(--ink); padding: 48px 24px 36px; position: relative; z-index: 2; }
.ft-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; gap: 16px; }
.ft-logo { font-family: 'Playfair Display', serif; font-style: italic; font-size: 22px; color: var(--cream); }
.ft-logo span { display: block; font-style: normal; font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 5px; font-family: 'Instrument Sans', sans-serif; }
.ft-links { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.ft-links a { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(250,245,235,.25); text-decoration: none; transition: color .3s; }
.ft-links a:hover { color: var(--cream); }
.ft-divider { height: 1px; background: rgba(250,245,235,.06); margin-bottom: 20px; }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ft-copy { font-size: 10px; color: rgba(250,245,235,.18); }
.ft-made { font-size: 10px; color: rgba(250,245,235,.12); }

/* ── DESKTOP ── */
@media(min-width:769px) {
  nav    { padding: 26px 52px; }
  footer { padding: 60px 52px 42px; }
}
