/* Avatar branding, after Álex's CV site: Inter + JetBrains Mono, black ink, warm slate greys,
   Student Experience green as the accent (soft marker on light, text on dark), pill buttons, uppercase mono labels.
   Loaded after each page's own <style>, so it only restyles; layout and menu stay as they are. */
:root {
  --green: #00b2a9;           /* Student Experience corporate green */
  --green-soft: rgba(0, 178, 169, .35); /* marker behind black text */
  --graphite: #333333;        /* Avatar logo ground */
  --slate-50: #F7F7F4; --slate-200: #E3E3DB; --slate-400: #8F8F87; --slate-500: #666666; --slate-800: #1F1F1F;
  --sans: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --monof: "JetBrains Mono", ui-monospace, Menlo, monospace;
  /* deck tokens (index*.html) */
  --rojo: #000000; --blackbueno: var(--slate-800); --casiblanco: var(--slate-50); --gris: var(--slate-400); --muted: var(--slate-500);
  --regular: var(--sans); --medium: var(--sans); --bold: var(--sans);
  /* full-proposal tokens (detalle*.html) */
  --ink: var(--slate-800); --soft: var(--slate-50); --line: var(--slate-200); --accent: #000000;
  --display: var(--sans); --body: var(--sans); --mono: var(--monof);
}
body { font-family: var(--sans); letter-spacing: 0; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .big, .mult { font-family: var(--sans); font-weight: 900; letter-spacing: -.02em; }
b, strong { font-family: var(--sans); font-weight: 700; }

/* ---------- deck ---------- */
.slide.dark { background: var(--graphite); }
.dark { --rojo: var(--green); }
.kicker { font-family: var(--monof); font-weight: 700; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.ninety { color: var(--slate-400); }
/* accent words: green marker on light, green text on dark */
.red { color: inherit; background: linear-gradient(transparent 58%, var(--green-soft) 58%, var(--green-soft) 92%, transparent 92%); padding: 0 .08em; }
.dark .red, .results .red { color: var(--green); background: none; padding: 0; }
.big { color: var(--rojo); }
.slide:not(.dark) .rule .big { box-shadow: inset 0 -.18em 0 var(--green-soft); justify-self: start; }
.mult { color: var(--green); }
.results { background: var(--graphite); }
.results .kicker { color: var(--green); }
ul.plain li::marker { color: var(--slate-800); }
.dark ul.plain li::marker { color: var(--green); }
th { font-family: var(--monof); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-500); }
.facts .k, .kpi-col h3 span { font-family: var(--monof); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.kpi-col h3 span { color: var(--rojo); }
.lifecycle span { font-family: var(--sans); font-weight: 600; border-radius: 999px; padding: 8px 14px; }
.lifecycle span:not(:last-child)::after { color: var(--slate-400); }
.dark .lifecycle span:not(:last-child)::after { color: var(--green); }
.field input { font-family: var(--sans); border-bottom-color: var(--slate-400); }
.field input:focus { border-bottom-color: #000; }
.pilot-card { border-radius: 2px; }
a.plain-link { text-decoration-color: var(--green); text-decoration-thickness: 3px; }

/* pill buttons */
.cta { font-family: var(--sans); font-weight: 900; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; height: 44px; padding: 0 26px; border-radius: 999px; background: #000; color: #fff; transition: background .2s, color .2s; }
.dark .cta { background: var(--green); color: #000; }
.cta:hover, .cta:focus-visible { background: var(--green); color: #000; }
.dark .cta:hover, .dark .cta:focus-visible { background: #fff; color: #000; }
.lang-btn { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--slate-50); border: 1px solid var(--slate-200); font-family: var(--sans); font-weight: 900; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #000; }
body.on-dark .lang-btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.lang-btn:hover, .lang-btn:focus-visible, body.on-dark .lang-btn:hover { background: var(--green); border-color: var(--green); color: #000; }

/* menu: same layout and behaviour, new colours and type */
.menu-label { font-family: var(--sans); font-weight: 900; font-size: 13px; letter-spacing: .15em; text-transform: uppercase; color: #000; }
.menu-current { font-family: var(--monof); font-weight: 700; font-size: 11px; letter-spacing: .08em; color: var(--slate-500); }
body.on-dark .menu-current { color: var(--green); }
.menu-btn:hover .menu-label { color: #000; background: var(--green); }
.nav { background-color: #fff; }
.nav a.item { font-family: var(--sans); font-weight: 800; letter-spacing: -.02em; justify-self: start; }
.nav a.item:hover, .nav a.item:focus-visible, .nav a.item.current { color: #000; background: linear-gradient(transparent 62%, var(--green-soft) 62%, var(--green-soft) 90%, transparent 90%); }
.close::before, .close::after { background-color: #000; }
.mouse-icon { border-color: var(--green); }
.mouse-icon::after { background: var(--green); }

/* Avatar logo: white mark on a tile painted with the same graphite as the dark slides */
.logo-tile { display: inline-block; width: 88px; height: 88px; background: var(--graphite); line-height: 0; }
.logo-tile img { width: 100%; height: 100%; display: block; }
.logo-tile-s { width: 56px; height: 56px; }
@media (max-width: 560px) { .site-header .logo-tile, .nav .logo-tile { width: 64px; height: 64px; } }

/* ---------- full proposal ---------- */
.titleblock { border-top-color: var(--green); border-top-width: 6px; }
.thesis aside { border-left-color: var(--green); }
.total .num { color: #000; box-shadow: inset 0 -.2em 0 var(--green-soft); }
.road > div::before { font-family: var(--monof); font-weight: 700; color: var(--slate-500); }
.close:not(button) { background: var(--graphite); }
.close:not(button) .label, .close:not(button) .red, .close:not(button) .big { color: var(--green); background: none; }
.close:not(button) a { color: #fff; text-decoration-color: var(--green); }
#b-co { background: var(--green) !important; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.legend span:first-child { --c: var(--green) !important; }
.site nav a:hover, .site nav a:focus-visible { color: #000; background: var(--green); }
.calc input:focus-visible { outline-color: #000; }

/* keep the language pill clear of the menu label, whatever the current section is called */
.menu-current { max-width: 150px; text-align: right; }
.site-header ~ .lang-btn, .site-header .lang-btn { right: calc(var(--pad) + 172px); top: calc(var(--pad) + env(safe-area-inset-top, 0px) - 6px); }

/* client name on the cover, in its own brand colour */
.client { color: var(--green); font-weight: 900; }

/* sample clause on the offer slide: struck-through before, bold after */
.clause { border-left: 4px solid var(--green); padding: 4px 0 4px 18px; display: grid; gap: 6px; max-width: 900px; font-size: 15px; line-height: 1.5; }
.clause s { color: rgba(255,255,255,.55); }
.clause b { color: #fff; font-weight: 600; }

/* phase strip: six steps read left to right instead of a table */
.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.strip li { display: grid; align-content: start; gap: 8px; padding: 16px 14px 18px; background: var(--slate-50); border-top: 4px solid var(--green); font-size: 14px; line-height: 1.45; }
.strip li b { font-size: 18px; line-height: 1.2; font-weight: 800; }
.strip li em { font-style: normal; font-family: var(--monof); font-size: 10.5px; letter-spacing: .04em; color: var(--slate-500); margin-top: 4px; }
@media (max-width: 1100px) { .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .strip { grid-template-columns: 1fr 1fr; } }
