@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Raleway:wght@300;400&family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400&display=swap');

/* Páginas legales de JuntosEnForma: mismo estilo oscuro con cristal que la portada */
:root {
  --serif: 'Instrument Serif', Georgia, serif;
  --thin: 'Raleway', system-ui, sans-serif;
  --sans: 'Atkinson Hyperlegible', system-ui, sans-serif;
  --bg: #050807; --muted: rgba(255,255,255,.7); --faint: rgba(255,255,255,.5); --line: rgba(255,255,255,.1);
  --green: #2E8B6E; --green-light: #7FD3B5; --terra-action: #B4532E; --terra-light: #F2A47F;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: #fff; font-family: var(--sans); font-size: 1.05rem; line-height: 1.65; padding-inline: 20px; -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(60% 40% at 10% 0%, rgba(46,139,110,.22), transparent 70%), radial-gradient(50% 40% at 100% 10%, rgba(200,100,60,.18), transparent 70%); background-repeat: no-repeat; }
.wrap { max-width: 1080px; margin-inline: auto; }
a { color: var(--green-light); }
:focus-visible { outline: 2px solid var(--green-light); outline-offset: 3px; border-radius: 6px; }
mark { background: #FFE97A; color: #1B2826; padding: 0 .25em; border-radius: 4px; font-weight: 700; }

header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: .55rem .55rem .55rem 1.1rem; border-radius: 9999px; background: rgba(255,255,255,.03); box-shadow: inset 0 1px 1px rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.12); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--serif); font-size: 1.5rem; white-space: nowrap; }
.brand img { width: 52px; height: auto; display: block; }
.nav-shop { display: inline-flex; align-items: center; background: var(--terra-action); color: #fff; padding: .6em 1.3em; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav-shop { transition: background-color 150ms ease, scale 120ms cubic-bezier(0.23, 1, 0.32, 1); }
@media (hover: hover) and (pointer: fine) { .nav-shop:hover { background: #C8643C; } }
.nav-shop:active { scale: .97; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button { touch-action: manipulation; }
.nav-shop { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
footer.site a:active, .doc a:active { opacity: .65; }
body { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); }
header.top { margin-top: max(18px, env(safe-area-inset-top, 0px)); }

.doc { max-width: 780px; margin: 36px auto 64px; border-radius: 28px; padding: 44px; background: rgba(255,255,255,.025); box-shadow: inset 0 1px 1px rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.1); }
.doc .eyebrow { margin: 0; font-family: var(--thin); font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--terra-light); }
.doc h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1.02; letter-spacing: -.02em; margin: .3em 0 .2em; }
.doc .updated { color: var(--faint); font-size: .95rem; margin: 0 0 28px; }
.doc h2 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.1; margin: 38px 0 10px; }
.doc p, .doc li { color: rgba(255,255,255,.85); }
.doc strong { color: #fff; }
.doc ul { padding-left: 1.2em; display: grid; gap: 6px; }
.doc a, footer.site a { overflow-wrap: anywhere; }
.doc .back { display: inline-block; margin-top: 32px; font-weight: 700; }
.table-wrap { overflow-x: auto; }
.doc table { width: 100%; border-collapse: collapse; font-size: .98rem; table-layout: fixed; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.doc th { font-family: var(--thin); font-weight: 400; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--faint); }
.data { background: rgba(46,139,110,.14); border-radius: 16px; padding: 16px 20px; margin: 12px 0; box-shadow: inset 0 0 0 1px rgba(127,211,181,.2); }
.data p { margin: 4px 0; }

footer.site { border-top: 1px solid var(--line); padding-block: 32px 48px; display: grid; gap: 14px; color: var(--faint); font-size: .95rem; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer.site a { color: rgba(255,255,255,.8); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { footer.site a:hover { color: #fff; text-decoration: underline; } }
footer.site a[aria-current] { color: var(--terra-light); font-weight: 700; }
footer.site .brand { display: none; }

@media (max-width: 600px) {
  .doc { padding: 26px 18px; border-radius: 20px; margin-top: 20px; }
  .brand img { width: 42px; }
  .brand { font-size: 1.2rem; }
  .doc h2 { font-size: 1.5rem; }
}
@media (max-width: 360px) {
  header.top { gap: 8px; }
  .brand { gap: 6px; font-size: 1.05rem; }
  .brand img { width: 36px; }
  .nav-shop { padding: .55em 1em; }
  .doc th, .doc td { padding: 8px 6px; font-size: .9rem; }
}

.bn-g { color: #5FB27F; }
.bn-t { color: #E27A42; }

/* Versión crema: mismo fondo cálido que la tienda, tarjetas en blanco roto */
:root { --bg: #FAF7F0; --muted: #57534C; --faint: #6B665E; --line: rgba(43,43,43,.12); --green-light: #1E7A5C; --terra-light: #B4532E; }
body { color: #2B2B2B; background-image: radial-gradient(60% 40% at 10% 0%, rgba(52,180,138,.12), transparent 70%), radial-gradient(50% 40% at 100% 10%, rgba(224,106,64,.10), transparent 70%); }
.brand { color: #2B2B2B; }
header.top, .doc { background: #FFFDF8; box-shadow: 0 0 0 1px rgba(43,43,43,.07), 0 10px 28px rgba(60,40,20,.07); }
.doc p, .doc li { color: #3A3833; }
.doc strong { color: #2B2B2B; }
.data { background: rgba(52,180,138,.10); box-shadow: inset 0 0 0 1px rgba(30,122,92,.2); }
footer.site a { color: #3A3833; }
@media (hover: hover) and (pointer: fine) { footer.site a:hover { color: #1E7A5C; } }
.bn-g { color: #2A8F6C; }
.bn-t { color: #C2552C; }
