/* Sobre mí: lectura natural, retrato y navegación por capítulos. */
.about-page{background:#fff;color:var(--ink)}
.about-page .profile-hero{position:relative;overflow:hidden;padding:146px 0 76px;background:#fff;border-bottom:1px solid var(--line)}
.about-page .profile-hero:before{content:'';position:absolute;inset:0 0 0 auto;width:27%;background:var(--pale-blue);pointer-events:none}
.about-page .profile-inner{display:grid;grid-template-columns:1.14fr .86fr;align-items:center;gap:clamp(44px,6vw,90px);position:relative}
.about-page .profile-copy{min-width:0;padding-block:15px}
.about-page .profile-copy h1{display:flex;align-items:center;gap:12px;font:400 12px/1.5 var(--mono);text-transform:uppercase;color:var(--blue);margin:0 0 30px}
.about-page .profile-copy h1:before{content:'+';font-size:19px}
.about-page .profile-copy .lead{font-size:clamp(40px,4.25vw,64px);line-height:1.035;letter-spacing:-2.2px;font-weight:500;max-width:660px;margin:0 0 28px}
.about-page .profile-copy .lead>span{color:var(--blue)}
.about-page .profile-copy>p:not(.lead){font-size:17px;line-height:1.7;max-width:550px;margin:0}
.about-page .profile-actions{display:flex;align-items:center;gap:26px;margin-top:32px}
.about-page .profile-actions a{display:inline-flex;align-items:center;justify-content:space-between;gap:40px;min-height:50px;padding:13px 0;border-bottom:1px solid var(--blue);color:var(--blue);font:400 12px/1.5 var(--mono);text-decoration:none}
.about-page .profile-actions a span{font:400 23px/1 var(--sans);transition:transform .25s}
.about-page .profile-actions a:hover span{transform:translateY(3px)}
.about-page .profile-portrait{position:relative;min-width:0;margin:0;padding:14px;background:var(--blue);border-radius:4px;box-shadow:18px 18px 0 #293fcb12}
.about-page .profile-portrait picture{display:block;aspect-ratio:4/5;overflow:hidden;background:#d7d7d4}
.about-page .profile-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 43%;transition:transform .65s cubic-bezier(.2,.7,.2,1)}
.about-page .profile-photo-caption{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:15px 1px 1px;color:var(--white);font:400 10px/1.5 var(--mono)}
.about-page .profile-photo-caption span:last-child{color:#dce2ff}
.about-page .profile-journey{display:grid;grid-template-columns:238px minmax(0,1fr);gap:clamp(45px,6vw,90px);padding-block:88px 110px;position:relative;align-items:start}
.about-page .profile-index{position:sticky;top:128px;min-width:0;z-index:8;align-self:start}
.about-page .profile-toc{border-block:1px solid var(--line)}
.about-page .profile-toc summary{display:flex;justify-content:space-between;align-items:center;gap:16px;list-style:none;min-height:58px;padding-block:16px;cursor:pointer;color:var(--blue);font:400 11px/1.5 var(--mono);text-transform:uppercase}
.about-page .profile-toc summary::-webkit-details-marker{display:none}
.about-page .profile-toc summary>span:first-child{display:grid;gap:5px}
.about-page .profile-current{font:400 10px/1.4 var(--mono);text-transform:none;color:var(--muted)}
.about-page .profile-toc-chevron{font:400 22px/1 var(--sans);transition:transform .2s}
.about-page .profile-toc[open] .profile-toc-chevron{transform:rotate(45deg)}
.about-page .profile-toc nav{display:grid;padding-bottom:14px}
.about-page .profile-toc nav a{display:flex;align-items:center;gap:12px;min-height:54px;padding:12px 0;border-top:1px dotted var(--line);font:400 12px/1.5 var(--mono);color:var(--muted);text-decoration:none;transition:color .2s}
.about-page .profile-toc-number{display:grid;place-items:center;width:27px;height:27px;flex:0 0 27px;border:1px solid var(--line);border-radius:50%;font-size:9px;transition:background .2s,color .2s,border-color .2s}
.about-page .profile-toc a[aria-current="location"],.about-page .profile-toc a:hover{color:var(--blue)}
.about-page .profile-toc a[aria-current="location"] .profile-toc-number{background:var(--blue);color:var(--white);border-color:var(--blue)}
.about-page .profile-progress{height:2px;background:var(--line);margin-top:22px;overflow:hidden}
.about-page .profile-progress span{display:block;height:100%;background:var(--blue);transform:scaleX(var(--profile-progress,0));transform-origin:left}
.about-page .profile-chapters{position:relative;min-width:0;padding-left:37px;border-left:1px solid var(--line)}
.about-page .profile-chapters .story-section{position:relative;padding:0 0 66px;margin:0 0 64px;border:0;border-bottom:1px dotted var(--line);background:transparent;scroll-margin-top:132px}
.about-page .profile-chapters .story-section:last-child{padding-bottom:0;margin-bottom:0;border-bottom:0}
.about-page .profile-chapters .story-section>.wrap{width:100%;max-width:none;margin:0}
.about-page .profile-chapters .story-grid{display:block}
.about-page .profile-chapters .chapter{display:grid;place-items:center;position:absolute;left:-54px;top:1px;width:33px;height:33px;margin:0;background:#fff;border:1px solid var(--line);border-radius:50%;font-size:10px;transition:background .3s,color .3s,border-color .3s}
.about-page .profile-chapters .is-current .chapter{background:var(--blue);color:var(--white);border-color:var(--blue)}
.about-page .profile-chapters .story-heading h2{font-size:clamp(29px,2.55vw,38px);line-height:1.14;letter-spacing:-1.2px;max-width:740px;margin:0 0 25px}
.about-page .profile-chapters .story-copy{max-width:710px;padding:0;font-size:17px;line-height:1.75}
.about-page .profile-chapters .story-copy p{margin-bottom:23px}
.about-page .profile-chapters .story-copy p:last-child{margin-bottom:0}
.about-page .profile-chapters .story-copy a{color:var(--blue)}
.about-page .profile-chapters #seo-y-formacion .story-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:30px;align-items:center}
.about-page .profile-chapters .work-photo{width:100%;max-width:none;aspect-ratio:4/5;margin:0;box-shadow:10px 10px 0 var(--pale-blue)}
.about-page .profile-chapters .work-photo img{object-position:50% 42%}
.about-page .profile-chapters #experiencia-agencia .story-copy>p:last-child{padding:24px 26px;border-left:2px solid var(--blue);background:var(--pale-blue)}
.about-page .profile-chapters #ibarra{padding:34px 34px 38px;background:var(--blue);color:var(--white);border:0;border-radius:4px}
.about-page .profile-chapters #ibarra .chapter{top:35px;background:var(--blue);color:var(--white);border-color:var(--blue)}
.about-page .profile-chapters #ibarra .story-copy a{color:var(--white)}
.about-page .profile-chapters #ibarra a:focus-visible{outline-color:var(--white)}
.about-page .profile-chapters #formacion-actual .text-link{margin-top:28px;font:400 12px/1.6 var(--mono)}
.about-page .profile-chapters h2:focus-visible{outline:2px solid var(--blue);outline-offset:8px}
.about-page .profile-chapters #ibarra h2:focus-visible{outline-color:var(--white)}
.about-page .about-next{padding-block:90px 96px}
.about-page .about-next>.wrap{max-width:var(--max);display:grid;grid-template-columns:1fr 1fr;gap:0 80px}
.about-page .about-next h2{grid-column:1;grid-row:1/5;font-size:clamp(38px,3.55vw,54px);line-height:1.1;max-width:540px;margin:0}
.about-page .about-next p{grid-column:2;font-size:17px;line-height:1.7;max-width:570px}
.about-page .about-next .cta{margin-top:8px;margin-bottom:24px}
.about-page .about-next .text-link{font-size:13px}
.profile-ready .about-page .reveal.is-visible{animation:content-enter .65s cubic-bezier(.2,.7,.2,1) both;animation-delay:var(--reveal-delay,0ms)}
.profile-ready .about-page .profile-copy{animation:profile-enter .75s cubic-bezier(.2,.7,.2,1) both}
.profile-ready .about-page .profile-portrait{animation:profile-enter .85s cubic-bezier(.2,.7,.2,1) .08s both}
@keyframes profile-enter{from{opacity:.5;transform:translateY(18px)}to{opacity:1;transform:none}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.about-page .profile-portrait:hover img{transform:scale(1.025)}}
@media(max-width:1100px) and (min-width:901px){.about-page .profile-inner{gap:45px}.about-page .profile-copy .lead{font-size:47px}.about-page .profile-journey{grid-template-columns:204px minmax(0,1fr);gap:40px}.about-page .profile-chapters #seo-y-formacion .story-grid{grid-template-columns:1fr}.about-page .profile-chapters .work-photo{max-width:360px}}
@media(max-width:900px){.about-page .profile-hero{padding:128px 0 65px}.about-page .profile-inner{gap:36px;grid-template-columns:1fr 1fr}.about-page .profile-copy .lead{font-size:clamp(34px,4.8vw,44px);letter-spacing:-1.4px}.about-page .profile-copy>p:not(.lead){font-size:16px;line-height:1.65}.about-page .profile-copy h1{font-size:10px;gap:8px;margin-bottom:22px}.about-page .profile-photo-caption{font-size:8px;gap:4px}.about-page .profile-portrait{padding:10px}.about-page .profile-journey{display:block;padding-block:0 68px}.about-page .profile-index{top:84px;margin:0 0 38px;background:#fff;border-radius:0 0 4px 4px;box-shadow:0 5px 12px #20282008}.about-page .profile-toc{border-top:0}.about-page .profile-toc summary{min-height:62px;padding:12px 4px;font-size:10px}.about-page .profile-toc summary>span:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px}.about-page .profile-current{font-size:10px}.about-page .profile-toc nav{padding:0 8px 12px}.about-page .profile-toc nav a{min-height:49px;font-size:11px}.about-page .profile-progress{margin-top:0;position:absolute;bottom:0;left:0;right:0}.about-page .profile-chapters{margin-top:38px;padding-left:30px}.about-page .profile-chapters .chapter{left:-46px;width:31px;height:31px}.about-page .profile-chapters .story-section{scroll-margin-top:170px;margin-bottom:48px;padding-bottom:48px}.about-page .profile-chapters .story-heading h2{font-size:32px;max-width:650px}.about-page .profile-chapters #seo-y-formacion .story-grid{grid-template-columns:1.15fr .85fr;gap:26px}.about-page .profile-chapters #ibarra{padding:27px}.about-page .about-next>.wrap{grid-template-columns:1fr;gap:26px}.about-page .about-next h2{grid-column:auto;grid-row:auto;font-size:42px;max-width:650px}.about-page .about-next p{grid-column:auto;max-width:650px;margin-bottom:0}.about-page .about-next .cta{margin:0}.about-page .about-next{padding-block:65px}}
@media(max-width:600px){.about-page .profile-hero{padding:116px 0 42px}.about-page .profile-hero:before{width:35%;top:200px;bottom:44%}.about-page .profile-inner{display:grid;grid-template-columns:minmax(0,1fr);gap:0}.about-page .profile-copy{display:contents}.about-page .profile-copy h1{grid-row:1;font-size:10px;margin:0 0 20px;letter-spacing:-.2px}.about-page .profile-copy .lead{grid-row:2;font-size:clamp(31px,8.8vw,42px);line-height:1.08;letter-spacing:-1.3px;margin:0 0 26px}.about-page .profile-portrait{grid-row:3;width:100%;max-width:430px;justify-self:center;padding:9px;box-shadow:10px 10px 0 #293fcb12;margin-bottom:30px}.about-page .profile-portrait picture{aspect-ratio:1.12;max-height:370px}.about-page .profile-portrait img{object-position:50% 40%}.about-page .profile-photo-caption{font-size:9px;padding:12px 2px 2px;gap:8px}.about-page .profile-copy>p:not(.lead){grid-row:4;font-size:16px;line-height:1.65;max-width:none}.about-page .profile-actions{grid-row:5;margin-top:20px}.about-page .profile-actions a{font-size:11px;min-height:48px;gap:38px}.about-page .profile-index{top:83px;margin-bottom:32px}.about-page .profile-toc summary{min-height:61px}.about-page .profile-toc summary>span:first-child{display:grid;gap:3px}.about-page .profile-current{font-size:9px}.about-page .profile-chapters{padding-left:23px;margin-top:32px}.about-page .profile-chapters .chapter{left:-36px;width:25px;height:25px;font-size:8px;top:3px}.about-page .profile-chapters .story-section{margin-bottom:38px;padding-bottom:38px;scroll-margin-top:165px}.about-page .profile-chapters .story-heading h2{font-size:27px;line-height:1.16;letter-spacing:-.85px;margin-bottom:21px}.about-page .profile-chapters .story-copy{font-size:16px;line-height:1.7}.about-page .profile-chapters #seo-y-formacion .story-grid{display:flex;flex-direction:column;gap:26px;align-items:stretch}.about-page .profile-chapters .work-photo{max-width:360px;aspect-ratio:1.05}.about-page .profile-chapters #experiencia-agencia .story-copy>p:last-child{padding:20px 18px}.about-page .profile-chapters #ibarra{padding:23px 20px 26px}.about-page .profile-chapters #ibarra .chapter{top:24px}.about-page .profile-chapters #ibarra .story-heading h2{font-size:26px}.about-page .profile-journey{padding-bottom:50px}.about-page .about-next{padding-block:52px}.about-page .about-next h2{font-size:34px}.about-page .about-next p{font-size:16px}.about-page .about-next .text-link{font-size:12px}}
@media(prefers-reduced-motion:reduce){.profile-ready .about-page .reveal.is-visible,.profile-ready .about-page .profile-copy,.profile-ready .about-page .profile-portrait{animation:none}.about-page .profile-portrait img{transition:none;transform:none!important}.about-page .profile-actions a span{transition:none;transform:none}}

/* Revisión del usuario: el apartado de formación continua queda blanco. */
.about-page .profile-chapters #formacion-actual{background:#ffffff}

/* Apertura más compacta y proporcionada en escritorio. */
@media(min-width:1201px){
 .about-page .profile-hero{padding:124px 0 48px}
 .about-page .profile-inner{max-width:1560px;grid-template-columns:minmax(0,1fr) minmax(360px,500px);gap:clamp(40px,4vw,64px)}
 .about-page .profile-copy{padding-block:0}
 .about-page .profile-copy .lead{font-size:clamp(52px,3.8vw,80px);line-height:1.04;max-width:900px}
 .about-page .profile-copy>p:not(.lead){font-size:18px;max-width:700px}
 .about-page .profile-portrait picture{height:clamp(380px,40svh,470px);aspect-ratio:auto}
 .about-page .profile-portrait img{object-position:50% 45%}
}
