/* V20 · last-in-cascade light mode audit.
   Every chapter uses cool pale paper, mineral-blue interactive surfaces and
   dark readable text. Old sepia/coffee tokens are not permitted here. */
html[data-theme="light"]{
 --bg:#f9f5f0;--bg2:#f3efea;--surface:#fff;--surface2:#fcf8f3;
 --black:#f9f5f0;--black-2:#f5f1ec;--white:#2d3033;--cream:#2d3033;
 --ink:#2d3033;--paper:#f6fbfc;--paper-2:#f3efea;
 --gold:#626364;--gold-2:#7c7d7e;--gold-glow:rgba(104,105,106,.16);
 --mark:#626364;--yellow:#626364;--yellow-2:#7c7d7e;
 --line-dark:rgba(92,93,94,.25);--line-light:rgba(92,93,94,.20);
 --muted-light:#636465;--muted-dark:#636465;--ice:#5d5e5f;
 color-scheme:light;
}
html[data-theme="light"] body,html[data-theme="light"] .deck{background:#f9f5f0!important;color:#2d3033!important}
html[data-theme="light"] .site-header {background:rgba(252,248,243,.97)!important;border-bottom:1px solid rgba(91,92,93,.23)!important}
html[data-theme="light"] .site-header :is(.brand-text b,.brand-mark) {color:#323538!important}
html[data-theme="light"] .site-header .brand-mark {background:#f1ede8!important;border-color:#b7b3ae!important}
html[data-theme="light"] .site-header .brand-text small {color:#696a6b!important}
html[data-theme="light"] .site-header .main-nav>button {color:#4b4c4d!important;background:transparent}
html[data-theme="light"] .site-header .main-nav>button:hover,
html[data-theme="light"] .site-header .main-nav>button:focus-visible {color:#313437!important;background:#ebe7e2!important}
html[data-theme="light"] .site-header .main-nav>.nav-recruiter,
html[data-theme="light"] .site-header .main-nav>.nav-present {background:#f4f0eb!important;border:1px solid #c7c3be!important;color:#4b4c4d!important}
html[data-theme="light"] .site-header :is(.header-cta,.seg-btn[aria-pressed="true"]) {background:#5f6061!important;color:#fff!important;border-color:#5f6061!important}
html[data-theme="light"] .site-header .seg {background:#f4f0eb!important;border-color:#c2beb9!important}
html[data-theme="light"] .site-header .seg-btn {color:#515253!important}
html[data-theme="light"] .site-header .seg-btn[aria-pressed="true"] {color:#fff!important}
html[data-theme="light"] .os-rail {background:#f4f0eb!important;border-right:1px solid #d2cec9!important}
html[data-theme="light"] .os-rail :is(.os-rail-status,.os-rail-hint,.os-rail-brand small) {color:#68696a!important}
html[data-theme="light"] .os-rail :is(.os-rail-brand b,.os-rail-status strong) {color:#4c4d4e!important}
html[data-theme="light"] .os-rail .os-rail-item {color:#565758!important}
html[data-theme="light"] .os-rail-item[aria-current="true"] {background:#e8e4df!important;border-color:#a5a6a7!important;color:#4a4b4c!important}
html[data-theme="light"] .deck-controls {background:rgba(251,247,242,.98)!important;border-color:#c2beb9!important;box-shadow:0 5px 20px rgba(80,81,82,.12)!important}
html[data-theme="light"] .deck-controls :is(button,span) {color:#3f4245!important}
html[data-theme="light"] .deck-controls button {background:#f7f3ee!important;border-color:#d0ccc7!important}
html[data-theme="light"] .deck-controls button:hover {background:#ede9e4!important}
html[data-theme="light"] .top-progress i {background:#717273!important}

/* Chapter canvases. All twelve must be readable without a forced-dark exception. */
html[data-theme="light"] :is(#inicio,#modelo,#sistemas,#demos,#metodo,#ruta,#trayectoria,#experiencia,#experiencia-2,#capacidades,#formacion,#contacto).slide {
 background:radial-gradient(ellipse at 84% 23%,rgba(125,126,127,.11),transparent 52%),#f9f5f0!important;
 color:#2e3134!important;
}
html[data-theme="light"] :is(#modelo,#demos,#metodo,#trayectoria,#experiencia,#experiencia-2,#capacidades,#formacion,#ruta) :is(.slide-index,.eyebrow) {color:#5e5f60!important}
html[data-theme="light"] :is(#modelo,#demos,#metodo,#trayectoria,#experiencia,#experiencia-2,#capacidades,#formacion,#ruta) :is(h2,h2 em) {color:#2f3235!important}
html[data-theme="light"] :is(#modelo,#demos,#metodo,#trayectoria,#experiencia,#experiencia-2,#capacidades,#formacion,#ruta) .pd18-heading h2 em {color:#666768!important}
html[data-theme="light"] :is(#modelo,#demos,#metodo,#trayectoria,#experiencia,#experiencia-2,#capacidades,#formacion,#ruta) :is(.pd18-heading>p:last-child,.gb-panel-lead,.gb-demos-lead) {color:#656667!important}

/* 00 COVER, preserving its approved typographic arrangement. */
html[data-theme="light"] #inicio.pd16-cover .pd16-cover-field {opacity:.35}
html[data-theme="light"] #inicio :is(.pd16-name span,.pd16-role,.pd16-thesis,.pd16-lead,.pd16-cover-top span) {color:#34373a!important}
html[data-theme="light"] #inicio .pd16-name strong {color:#666768!important}
html[data-theme="light"] #inicio .pd16-thesis em {color:#6e6f70!important}
html[data-theme="light"] #inicio .pd16-os {background:linear-gradient(135deg,#fff,#f4f0eb)!important;border-color:#c8c4bf!important;box-shadow:0 22px 48px rgba(79,80,81,.11)!important}
html[data-theme="light"] #inicio .pd16-os :is(header,footer,li) {border-color:#ddd9d4!important}
html[data-theme="light"] #inicio .pd16-os :is(span,strong) {color:#414447!important}
html[data-theme="light"] #inicio .pd16-os small {color:#696a6b!important}
html[data-theme="light"] #inicio .pd16-proof-strip {border-color:#d4d0cb!important}
html[data-theme="light"] #inicio .pd16-proof-strip :is(b,small) {color:#4e4f50!important}
html[data-theme="light"] #inicio .gb-actions .primary {background:#656667!important;border-color:#656667!important;color:#fff!important}
html[data-theme="light"] #inicio .gb-actions .ghost {background:#fff!important;border:1px solid #b4b0ab!important;color:#525354!important}

/* 01 MODEL: inherited dark gradient cards become deliberate readable paper. */
html[data-theme="light"] #modelo.pd20-model .pd20-model-track>li,
html[data-theme="light"] #modelo.pd20-model .pd20-model-track>li:nth-child(n+5),
html[data-theme="light"] #modelo.pd20-model .pd20-model-track>li:nth-child(4) {background:linear-gradient(135deg,#fff,#f5f1ec)!important;border-color:#cdc9c4!important;box-shadow:0 6px 22px rgba(102,103,104,.065)!important}
html[data-theme="light"] #modelo.pd20-model .pd20-model-track>li:last-child {background:linear-gradient(140deg,#eae6e1,#f8f4ef)!important;border-color:#8d8e8f!important}
html[data-theme="light"] #modelo.pd20-model .pd20-model-track>li>span {color:#606162!important}
html[data-theme="light"] #modelo.pd20-model .pd20-model-track>li>strong {color:#323538!important}
html[data-theme="light"] #modelo.pd20-model .pd20-model-track>li>small {color:#616263!important}
html[data-theme="light"] #modelo :is(.pd20-model-journey-title,.pd20-model-proof-head) {color:#606162!important}
html[data-theme="light"] #modelo .pd20-model-outcome {background:#f2eee9!important;border-color:#d0ccc7!important}
html[data-theme="light"] #modelo .pd20-model-outcome span {color:#5e5f60!important}
html[data-theme="light"] #modelo .pd20-model-outcome strong {color:#414447!important}
html[data-theme="light"] #modelo.pd20-model .pd20-model-proof>a {background:linear-gradient(135deg,#fff,#f8f4ef)!important;border-color:#d1cdc8!important}
html[data-theme="light"] #modelo.pd20-model .pd20-model-proof>a:hover {background:#efebe6!important}
html[data-theme="light"] #modelo.pd20-model .pd20-model-proof>a :is(b,em) {color:#575859!important}
html[data-theme="light"] #modelo.pd20-model .pd20-model-proof>a span {color:#656667!important}

/* 02 CASE */
html[data-theme="light"] #sistemas.pd19-case .gb-star-main {background:linear-gradient(155deg,#fff,#f7f3ee)!important;border-color:#d0ccc7!important;color:#333639!important}
html[data-theme="light"] #sistemas :is(.gb-star-head h2,.gb-star-main h3,.gb-star-main h2,.gb-star-metrics strong,.gb-star-main strong) {color:#303336!important}
html[data-theme="light"] #sistemas :is(.gb-star-head h2 em,.gb-star-lead,.gb-star-main p,.gb-star-points li,.proof-note) {color:#606162!important}
html[data-theme="light"] #sistemas .gb-star-metrics>div {background:#f2eee9!important;border-color:#d3cfca!important}
html[data-theme="light"] #sistemas .pd19-os-flow {background:#f5f1ec!important;border-color:#d3cfca!important}
html[data-theme="light"] #sistemas .pd19-os-flow :is(strong,small) {color:#545556!important}
html[data-theme="light"] #sistemas .tag-row span {background:#faf6f1!important;border-color:#d2cec9!important;color:#5e5f60!important}

/* 03 PUBLIC WORK (the brown cards being reported). */
html[data-theme="light"] #demos .gb-demo-card {background:linear-gradient(150deg,#fff,#faf6f1)!important;border:1px solid #d2cec9!important;box-shadow:0 14px 36px rgba(74,75,76,.09)!important}
html[data-theme="light"] #demos .gb-demo-card:before {background:linear-gradient(90deg,#7c7d7e,#8f9091)!important}
html[data-theme="light"] #demos .gb-demo-card :is(h3,.gb-demo-code) {color:#383b3e!important}
html[data-theme="light"] #demos .gb-demo-card h3 em {color:#6d6e6f!important}
html[data-theme="light"] #demos .gb-demo-card p {color:#636465!important}
html[data-theme="light"] #demos .gb-demo-card :is(.tag-row span,.gb-demo-badge) {background:#f5f1ec!important;border-color:#cac6c1!important;color:#58595a!important}
html[data-theme="light"] #demos .gb-demo-actions .primary {background:#636465!important;border-color:#636465!important;color:#fff!important}
html[data-theme="light"] #demos .gb-demo-actions .ghost {background:#fff!important;border:1px solid #b9b5b0!important;color:#545556!important}
html[data-theme="light"] #demos .gb-demos-foot {color:#616263!important}
html[data-theme="light"] #demos .gb-demos-foot a {color:#5b5c5d!important;background:#f2eee9!important;border-color:#d6d2cd!important}

/* 04 METHOD */
html[data-theme="light"] #metodo .pd18-method-flow .gb-step {background:linear-gradient(155deg,#fff,#f6f2ed)!important;border-color:#d1cdc8!important;box-shadow:0 8px 28px rgba(69,72,75,.07)!important}
html[data-theme="light"] #metodo .pd18-method-flow .gb-step :is(h3,.gb-step-num) {color:#545556!important}
html[data-theme="light"] #metodo .pd18-method-flow .gb-step p {color:#5f6061!important}
html[data-theme="light"] #metodo .pd18-method-flow .gb-step b {color:#626364!important}
html[data-theme="light"] #metodo .pd18-method-case {background:linear-gradient(120deg,#f0ece7,#faf6f1)!important;border-color:#cbc7c2!important}
html[data-theme="light"] #metodo .pd18-method-case :is(h3,p,small) {color:#404346!important}
html[data-theme="light"] #metodo .pd18-case-tags span {color:#535455!important;border-color:#cac6c1!important;background:#f6fbfc!important}
html[data-theme="light"] #metodo .pd18-method-case a {color:#515253!important;border-color:#9b9c9d!important;background:#fff!important}

/* 05 ATLAS: country boundaries stay visible on pale cartography. */
html[data-theme="light"] #ruta.pd18-atlas .pd17-atlas-head :is(h2,p) {color:#3f4245!important}
html[data-theme="light"] #ruta.pd18-atlas .pd17-atlas-head h2 em {color:#6f7071!important}
html[data-theme="light"] #ruta.pd18-atlas .pd17-atlas-map {background:linear-gradient(155deg,#ebe7e2,#d8d4cf)!important;border-color:#c7c3be!important}
html[data-theme="light"] #ruta.pd18-atlas .pd19-real-land path {fill:#bcb8b3!important;stroke:#7e7f80!important;stroke-opacity:.88!important}
html[data-theme="light"] #ruta.pd18-atlas .pd19-map-crosshair {stroke:#646566!important;opacity:.6}
html[data-theme="light"] #ruta.pd18-atlas .pd17-atlas-map-label {color:#535455!important}
html[data-theme="light"] #ruta.pd18-atlas .pd17-atlas-map-label b {color:#626364!important}
html[data-theme="light"] #ruta.pd18-atlas .pd17-atlas-stage {background:linear-gradient(150deg,#fff,#f4f0eb)!important;border-color:#cdc9c4!important}
html[data-theme="light"] #ruta.pd18-atlas .pd17-atlas-stage :is(h3,.pd17-stage-kicker,.pd17-stage-top strong) {color:#46494c!important}
html[data-theme="light"] #ruta.pd18-atlas .pd17-atlas-stage :is(p,strong,small,span) {color:#606162!important}
html[data-theme="light"] #ruta.pd18-atlas .pd17-atlas-stops button,
html[data-theme="light"] #ruta.pd18-atlas .pd19-atlas-toolbar button {background:#faf6f1!important;border-color:#bdb9b4!important;color:#515253!important}
html[data-theme="light"] #ruta.pd18-atlas .pd17-atlas-stops button[aria-pressed="true"],
html[data-theme="light"] #ruta.pd18-atlas .pd19-atlas-toolbar button[aria-pressed="true"] {background:#606162!important;border-color:#606162!important;color:#fff!important}
html[data-theme="light"] #ruta.pd18-atlas .pd17-atlas-stops button[aria-pressed="true"] span {color:#fff!important}
html[data-theme="light"] #ruta.pd18-atlas .pd18-city-nodes button {background:#5f6061!important;border-color:#fff!important;color:#fff!important}
html[data-theme="light"] #ruta.pd18-atlas .pd18-city-nodes button[aria-pressed="true"] {background:#34373a!important;border-color:#f4f0eb!important}
html[data-theme="light"] #ruta.pd18-atlas .pd19-map-status,
html[data-theme="light"] #ruta.pd18-atlas .pd18-map-caption {background:rgba(253,249,244,.94)!important;color:#545556!important;border-color:#bdb9b4!important}
html[data-theme="light"] #ruta.pd18-atlas .pd17-stage-link {color:#4f5051!important;border-color:#a5a6a7!important;background:#f7f3ee!important}

/* 06 EVOLUTION: retain geometry, switch background + text coherently. */
html[data-theme="light"] #trayectoria .pd18-evo-rail li {background:linear-gradient(155deg,#fff,#f5f1ec)!important;border-color:#d2cec9!important}
html[data-theme="light"] #trayectoria .pd18-evo-rail li.is-current {background:linear-gradient(145deg,#ede9e4,#f9f5f0)!important;border-color:#9b9c9d!important}
html[data-theme="light"] #trayectoria .pd18-evo-rail :is(li>span,strong,small) {color:#595a5b!important}
html[data-theme="light"] #trayectoria .pd18-evo-rail p {color:#636465!important}
html[data-theme="light"] #trayectoria .pd18-evo-rail em {color:#5f6061!important}
html[data-theme="light"] #trayectoria .pd18-evo-message {background:#f0ece7!important;border-color:#cfcbc6!important;color:#4c4d4e!important}
html[data-theme="light"] #trayectoria .pd18-evo-message strong {color:#434649!important}

/* 07–08 EXPERIENCE: brand artwork preserved; roles become readable light cards. */
html[data-theme="light"] :is(#experiencia,#experiencia-2) :is(.gb-panel,.gb-exp-panel) {background:linear-gradient(155deg,#fff,#f9f5f0)!important;border-color:#d0ccc7!important;color:#3a3d40!important}
html[data-theme="light"] :is(#experiencia,#experiencia-2) .gb-role {background:#fcf8f3!important;border:1px solid #dcd8d3!important;color:#3c3f42!important}
html[data-theme="light"] :is(#experiencia,#experiencia-2) .gb-role:hover {background:#f0ece7!important;border-color:#9a9b9c!important}
html[data-theme="light"] :is(#experiencia,#experiencia-2) .gb-role :is(.gb-role-co,.gb-role-title,.gb-role-topline) {color:#3d4043!important}
html[data-theme="light"] :is(#experiencia,#experiencia-2) .gb-role :is(.gb-role-sum,.gb-role-dates,.gb-role-tag) {color:#626364!important}
html[data-theme="light"] :is(#experiencia,#experiencia-2) .gb-panel-bar {background:#7c7d7e!important}

/* 09 CAPABILITIES */
html[data-theme="light"] #capacidades .pd18-cap-grid article,
html[data-theme="light"] #capacidades .pd18-cap-grid article:nth-child(3),
html[data-theme="light"] #capacidades .pd18-cap-grid article:nth-child(4),
html[data-theme="light"] #capacidades .pd18-cap-grid article:nth-child(5) {background:linear-gradient(150deg,#fff,#f6f2ed)!important;border-color:#d2cec9!important;box-shadow:0 12px 27px rgba(86,87,88,.06)!important}
html[data-theme="light"] #capacidades .pd18-cap-grid h3 {color:#45484b!important}
html[data-theme="light"] #capacidades .pd18-cap-grid :is(p,small) {color:#636465!important}
html[data-theme="light"] #capacidades .pd18-cap-grid a {color:#595a5b!important;border-color:#a0a1a2!important}

/* 10 EDUCATION, original content unchanged, palette unified */
html[data-theme="light"] #formacion .gb-edu-panel {background:linear-gradient(150deg,#fff,#f7f3ee)!important;border:1px solid #cfcbc6!important;color:#3c3f42!important;box-shadow:0 16px 38px rgba(91,92,93,.08)!important}
html[data-theme="light"] #formacion .gb-edu-head {background:#f5f1ec!important;border-bottom-color:#d4d0cb!important}
html[data-theme="light"] #formacion .gb-edu-head :is(h2,.gb-panel-lead) {color:#3b3e41!important}
html[data-theme="light"] #formacion .builder-note {background:#fcf8f3!important;border-color:#d5d1cc!important}
html[data-theme="light"] #formacion .builder-note :is(span,li) {color:#555657!important}
html[data-theme="light"] #formacion .education-list {background:#fefaf5!important;border-color:#dfdbd6!important}
html[data-theme="light"] #formacion .education-list :is(.eyebrow,li,li b) {color:#4e4f50!important}
html[data-theme="light"] #formacion .education-list li {border-bottom-color:#e5e1dc!important}

/* 11 CONTACT, dark expressive art is replaced with a cool luminous panel */
html[data-theme="light"] #contacto.pd19-contact {background:#f9f5f0!important}
html[data-theme="light"] #contacto .pd19-contact-copy h2 {color:#303336!important}
html[data-theme="light"] #contacto .pd19-contact-copy h2 em {color:#696a6b!important}
html[data-theme="light"] #contacto :is(.pd19-contact-lead,.pd19-contact-location) {color:#646566!important}
html[data-theme="light"] #contacto .pd19-contact-link {background:linear-gradient(155deg,#fff,#f7f3ee)!important;border-color:#d2cec9!important;color:#323538!important}
html[data-theme="light"] #contacto .pd19-contact-link:hover {background:#eeeae5!important}
html[data-theme="light"] #contacto .pd19-link-symbol {background:#eeeae5!important;color:#5b5c5d!important}
html[data-theme="light"] #contacto .pd19-contact-link :is(small,strong) {color:#4f5051!important}
html[data-theme="light"] #contacto .pd19-contact-languages {background:#f1ede8!important;border-color:#d0ccc7!important}
html[data-theme="light"] #contacto .pd19-contact-languages :is(span,strong,small) {color:#4d4e4f!important}
html[data-theme="light"] #contacto .pd19-contact-visual {background:radial-gradient(circle at 50% 30%,rgba(146,147,148,.23),transparent 58%),linear-gradient(155deg,#efebe6,#f8fcfd)!important;border-color:#d1cdc8!important}
html[data-theme="light"] #contacto .pd19-contact-manifesto :is(small,p,span) {color:#474a4d!important}
html[data-theme="light"] #contacto .pd19-contact-manifesto p em {color:#636465!important}
html[data-theme="light"] #contacto .pd19-contact-proof a {background:#efebe6!important;border-color:#c6c2bd!important;color:#515253!important}
html[data-theme="light"] #contacto .pd19-contact-secondary {background:#fff!important;border-color:#b3afaa!important;color:#525354!important}
html[data-theme="light"] #contacto .pd19-contact-primary {background:#636465!important;border-color:#636465!important;color:#fff!important}

/* The recruiter brief and dialogs are light in light mode too. */
html[data-theme="light"] #recruiter-dialog.pd17-brief {background:#fefaf5!important;color:#323538!important;border:1px solid #cac6c1!important}
html[data-theme="light"] #recruiter-dialog.pd17-brief h2,
html[data-theme="light"] #recruiter-dialog.pd17-brief .pd17-brief-lead {color:#404346!important}
html[data-theme="light"] #recruiter-dialog .pd17-brief-scene {background:#f0ece7!important;border-color:#d1cdc8!important}
html[data-theme="light"] #recruiter-dialog .pd17-brief-story :is(h3,p) {color:#434649!important}
html[data-theme="light"] #recruiter-dialog .pd17-brief-chapters button {background:#f4f0eb!important;border-color:#d2cec9!important;color:#525354!important}
html[data-theme="light"] #recruiter-dialog .pd17-brief-chapters button[aria-pressed="true"] {background:#e1ddd8!important;border-color:#777879!important}
html[data-theme="light"] #recruiter-dialog .pd17-brief-chapters button small {color:#656667!important}
html[data-theme="light"] :is(#experience-dialog,#command-dialog) {background:#fefaf5!important;color:#404346!important;border:1px solid #c2beb9!important}
html[data-theme="light"] :is(#experience-dialog,#command-dialog) :is(h2,p,small,header) {color:#424548!important}

/* Preserve ≥40px hit areas and keep footer/navigation focus clear. */
html[data-theme="light"] :where(button,a,input):focus-visible {outline:2px solid #5f6061!important;outline-offset:3px}
@media(max-width:1180px){
 html[data-theme="light"] .site-header>.main-nav.open {background:#fdf9f4!important;border-color:#d1cdc8!important}
}
